|
Hello,
I still have a problem to engage a module at the
client side.
To engage the module, I just put the following
command in my client code:
ConfigurationContext configContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem("D:/eclipse_workspace/axis2",
"D:/eclipse_workspace/axis2/conf/axis2.xml");
sender = new ServiceClient(configContext,
null);
sender.engageModule(new QName(Constants.MODULE_ADDRESSING)); sender.engageModule(new QName("logging")); sender.setOptions(options); sender.sendReceiveNonBlocking(payload, callback); But an exception is raised at the client side. The
exception is the following:
Exception in thread "Axis2 Task" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.apache.axis2.handlers.soapmonitor.SOAPMonitorHandler.invoke(SOAPMonitorHandler.java:107) at org.apache.axis2.engine.Phase.invoke(Phase.java:381) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473) at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:610) at org.apache.axis2.transport.http.HTTPWorker.processRequest(HTTPWorker.java:292) at org.apache.axis2.transport.http.server.SimpleConnectionThread.run(SimpleConnectionThread.java:92) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Unknown Source)
Please, help me because I'm very confused. Fabien
|
- [AXIS2] Problem to engage a module at the client side Fabien Couble
- Re: [AXIS2] Problem to engage a module at the client s... Ajith Ranabahu
- Re: [AXIS2] Problem to engage a module at the clie... Fabien Couble
- Re: [AXIS2] Problem to engage a module at the ... Ajith Ranabahu
- Re: [AXIS2] Problem to engage a module at ... Fabien Couble
- Re: [AXIS2] Problem to engage a modul... Ajith Ranabahu
- Re: [AXIS2] Problem to engage a m... Fabien Couble
- Re: [AXIS2] Problem to engage a module at ... Fabien Couble
- Re: [AXIS2] Problem to engage a modul... Fabien Couble
- Re: [AXIS2] Problem to engage a m... Fabien Couble
