axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Ranabahu" <ajith.ranab...@gmail.com>
Subject Re: [AXIS2] Problem to engage a module at the client side
Date Mon, 10 Jul 2006 08:59:07 GMT
Hi,
Did you enable the SOAPmonitor ? please check your Axis2.xml to see whether
there are any SOAPMonitor handlers engaged in the client side

Ajith


On 7/10/06, Fabien Couble <fabien.couble.externe@capgemini.com> wrote:
>
>  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
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute, or
> use this message or any part thereof. If you receive this message in error,
> please notify the sender immediately and delete all copies of this message.
>
>


-- 
Ajith Ranabahu

Mime
View raw message