Hi, finally I've solved my problem: I set up this variables:
export AXIS_HOME=/usr/local/apache-tomcat-5.5.23/webapps/axis export AXIS_LIB=$AXIS_HOME/WEB-INF/lib export AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/commons- discovery-0.2.jar:$AXIS_LIB/commons-logging.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log4j-1.2.8.jar:$AXIS_LIB/activation.jar:$AXIS_LIB/mailapi.jar:$AXIS_LIB/axis-ant.jar:$AXIS_LIB/xml-apis.jar:$AXIS_LIB/xercesImpl.jar export CLASSPATH=/usr/local/apache-tomcat-5.5.23/common/lib/jsp- api.jar:/usr/local/apache-tomcat-5.5.23/common/lib/servlet-api.jar and now it works fine, I can deploy my web services without receiving any error or warning. Simone. 2007/6/15, Simone <[EMAIL PROTECTED]>:
Hi, I've already put my log4j.properties in my AXISCLASSPATH, and also in my CLASSPATH, but i've the same warn message. I also read some of << axis "log4j:WARN Please initialize the log4j system properly" >> results in google, but i can't resolve my problem. the code is ok, because is a old web service created and deployed on other machine some times ago. What's the problem? Thanks Simone. 2007/6/14, Raghu Upadhyayula < [EMAIL PROTECTED]>: > > Hi Simone, > > It looks like your log4j.properties file is not in the > classpath. I got this error before, but when I put my log4j.properties > in the classpath, it went away. > > Thanks > Raghu > > -----Original Message----- > From: Glen Mazza [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 14, 2007 11:54 AM > To: [email protected] > Subject: Re: Deploying Web Services LOG4J WARN > > I would look at some of the 681 hits that Googling > << axis "log4j:WARN Please initialize the log4j system properly" >> > returns. Let us know if that helped or not. > > Glen > > > Am Donnerstag, den 14.06.2007, 11:50 +0200 schrieb Simone: > > Hi, > > i've installed tomcat 5.5, jdk 1.5 and axis 1.4 on fedora 6, and it > > works fine. > > > > when i try to deploy a web service with this command: > > > > java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient > > -lhttp://localhost:8080/axis/services/AdminService webservices.wsdd > > > > i receive this message: > > > > log4j:WARN No appenders could be found for logger > > (org.apache.axis.i18n.ProjectResourceBundle). > > log4j:WARN Please initialize the log4j system properly. > > Processing file webservices.wsdd > > <Admin>Done processing</Admin> > > > > The service is shown in > > http://localhost:8080/axis/servlet/AxisServlet, but i want to know why > > appear this warning. > > > > i've read old mailing list, and i add the log4j.proprerties in > > axisclasspath, but whithout changes. > > > > What can i do? > > > > Thanks for help. > > > > Simone. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
