Run the wsdl2Java with specified classpath in which the log4j.properties locates. Reason: In Axis1.1,you can find a log4j.properties in the axis.jar;but in axis1.2,the axis.jar no longer include it.So you should do it by handle.
Best Regards, Robert Zhang Email:[EMAIL PROTECTED] Tel:86-010-62014411-2437 ----- 原邮件 ----- 从: "Miller, Janet" <[EMAIL PROTECTED]> 日期: 星期三, 六月 29日, 2005 下午11:10 主题: RE: Problem running WSDL2Java > But I am not even using Tomcat when I run the wsdl2Java. > > -----Original Message----- > From: Patrick Quinn [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 29, 2005 10:41 AM > To: [email protected] > Subject: RE: Problem running WSDL2Java > > > I'm a newbie too, but I thought I'd reply in case somebody else > doesn'tget back to you. I think you are meant to include a > log4j.propertiesfile in the $CATALINA_HOME/common/lib area. Maybe > this is related to the > problem? Just guessing, sorry! Pat > > -----Original Message----- > From: Miller, Janet [mailto:[EMAIL PROTECTED] > Sent: 29 June 2005 15:29 > To: [email protected] > Subject: Problem running WSDL2Java > > > I am a newbie. I have just installed Axis and tried to WSDL2Java for > the first time, but I am getting the following error: > > log4j:WARN No appenders could be found for logger > (org.apache.axis.i18n.ProjectR esourceBundle). log4j:WARN Please > initialize the log4j system properly. > > > Why do I need to have log4j setup to run the WSDL2Java utility? The > Axis documentation doesn't say anything about this or how to do this. > Where does the log4j.xml file need to be? Does anyone have a basic > log4j.xml file that they could point me to that will work with > WSDL2Java? > > Thanks, > > Jan > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ >
