• Post Reply Bookmark Topic Watch Topic
  • New Topic

error : urgent  RSS feed

 
Mike Jeya
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying to develop a webservice using Tomcat and Axis.
I got the following error, when I tried to do the following command.
java org.apache.axis.wsdl.WSDL2Java TestServiceName.wsdl -s -d Session �Nhttp://localhost:8080/axis/services/TestPortName=testservice
Since I am very new webserives, I am not able to solve this
Can anyone help me on this?
The error log is here.
C:\webservices>java org.apache.axis.wsdl.WSDL2Java TestServiceName.wsdl -s -d Se
ssion -Nhttp://localhost:8080/axis/services/TestPortName=testservice
Exception in thread "main" java.lang.ExceptionInInitializerError: org.apache.com
mons.logging.LogConfigurationException: java.lang.reflect.InvocationTargetExcept
ion
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:532)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:272)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:7
6)
at org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBu
ndle.java:92)
at org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.jav
a:71)
at org.apache.axis.utils.Messages.<clinit>(Messages.java:75)
at org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:99)
 
Mike Jeya
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved that problem..
That is just a classpath problem of Log4j.jar
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!