Hello, 

I developed a Web Service using apache Axis in Tomcat 5.5.23 and the
implementation code sets two run time system properties:

System.setProperty("org.uddi4j.TransportClassName",
"org.uddi4j.transport.ApacheAxisTransport");

and

System.setProperty("javax.wsdl.factory.WSDLFactory",
"edu.uga.cs.lsdis.sawsdl.impl.factory.WSDLFactoryImpl");

When I create objects of classes that use those properties i get exceptions
and errors like "java.lang.reflect.InvocationTargetException",
"java.lang.NullPointerException", "java.lang.ClassCastException" and
"WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory
implementation."... It really seems that axis cant find those classes used
to set System properties (WSDLFactoryImpl and ApacheAxisTransport).

If I run the same code as a standalone application I get no problems. I did
put all the libs used by the web service implementation on axis WEBINF\lib
but the problems remain. What can be the cause of this problems? Is there a
better way to define System properties? Should one put the libs elsewhere in
Tomcat besides axis WEBINF\lib folder?

Many Thanks!
-- 
View this message in context: 
http://www.nabble.com/System-Property%3A-Axis-cant-find-class-tp25369718p25369718.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to