You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Baruah Montoo-CMB035 <mo...@motorola.com> on 2004/05/17 23:59:06 UTC

Error using CommonsHTTPSender

Hello,
I have come across this error and would like some kind of feedback or strategy to debug this. Any help would be appreciated.

Here's the scenario:
I am trying to replace the transport layer so i modified client-config.wsdd and changed HTTPClient to CommonsHTTPClient.
I also put this in my classpath before axis.jar as mentioned in previous thread.
I compiled CommonsHTTPSender.java and added the CommonsHTTPSender.class to the original axis.jar.
I do a jar -tf axis.jar and see org/apache/axis/transport/http/CommonsHTTPSender.class

but when i excute my driver i get this exception:

Retrieving value for property :IsPortAddress
Value was :https://something.com:8004/soap/rpc
java.lang.NoClassDefFoundError: org/apache/axis/transport/http/CommonsHTTPSender (wrong name: CommonsHTTPSender)
        at java.lang.ClassLoader.defineClass0(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.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
        at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:112)
        at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:196)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:310)
        at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:296)
        at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:470)
        at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:282)
        at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:283)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:179)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at WsnLicenseActivation.MotWsn_MC000046BindingStub.wsnLicenseActivation(MotWsn_MC000046BindingStub.java:157)
        at com.motorola.wsn.online.wpi.WpiInterface.WPI_GetLicenseThread.run(WPI_GetLicenseThread.java:118)
        at java.lang.Thread.run(Unknown Source)
 Driver Threw Exception : com.motorola.wsn.online.wpi.WpiInterface.WPI_ApplicationException:  Timeout bash-2.05# ls
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at WsnLicenseActivation.MotWsn_MC000046BindingStub.wsnLicenseActivation(MotWsn_MC000046BindingStub.java:157)
        at com.motorola.wsn.online.wpi.WpiInterface.WPI_GetLicenseThread.run(WPI_GetLicenseThread.java:118)
        at java.lang.Thread.run(Unknown Source)
 Driver Threw Exception : com.motorola.wsn.online.wpi.WpiInterface.WPI_ApplicationException:  Timeout