Attaching the log
On Mon, May 4, 2009 at 12:09 PM, Hari Krishna Korrapati <
[email protected]> wrote:
> Hi,
>
> Facing dependency issue with the use of Axis and CommonsHTTPSender, the
> following is the description
>
> System Details:
> Apache Geronimo 2.0.2
> commons-httpclient 3.1
>
> My application is using basic axis configuration to make calls from
> client(deployed as part of web application on Geronimo) to Web services.
> When i changed the web application configuration to use CommonsHTTPSender
> instead HTTPSender, it says class not found (log attached)
>
> When i stop the following 2 services in Geronimo, the dependency issue goes
> away
> org.apache.geronimo.configs/axis/2.0.2/car
> org.apache.geronimo.configs/axis-deployer/2.0.2/car
>
> How is it linked to the above system modules of Geronimo?
>
> Alternative:
> If i change the configuration in Axis jar available in Geronimo repository,
> there is no issue. But I don't prefer to change the jars in Application
> server.
>
> Thanks and Regards,
> Hari Krishna
--
Regards,
Hari
java.lang.NoClassDefFoundError:
org/apache/commons/httpclient/UsernamePasswordCredentials
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
at
org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:157)
at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at
org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
at
org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
samples.aws.api.component.AwsServiceSoapBindingStub.search(AwsServiceSoapBindingStub.java:726)
at
samples.dao.ejb.LockboxEntityBeanHelp.getReportList(LockboxEntityBeanHelp.java:2413)
at
samples.dao.ejb.LockboxEntityBean.getReportList(LockboxEntityBean.java:275)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.openejb.core.entity.EntityContainer.invoke(EntityContainer.java:218)