You can add it to the service itself, have a look -
https://www.packtpub.com/books/content/apache-axis2-web-services-writing-axis2-module
Deepal
Hi,
I guess they are dependent on some other application to be up.
Did you mean I should keep the external dependencies inside
/home/cecadmin/apache-tomcat-5.5.20/webapps/axis2/WEB-INF/lib folder.I
am sending you the aar file that I am trying to deploy.
Regards
*From:*Deepal jayasinghe [mailto:deep...@gmail.com]
*Sent:* Thursday, April 23, 2015 12:52 PM
*To:* java-dev@axis.apache.org
*Subject:* Re: faulty services
Do those classes have any external dependencies ? if so add them under
libs directory.
Deepal
Hi,
I have checked inside the aar file. The class
“ProductionMessageReceiverInOut” exists inside the folder
hierarchy in the form of .class file.
Whats the workaround for that ?
Regards
*From:*Deepal jayasinghe [mailto:deep...@gmail.com]
*Sent:* Thursday, April 23, 2015 11:11 AM
*To:* java-dev@axis.apache.org <mailto:java-dev@axis.apache.org>
*Subject:* Re: faulty services
As I can see your service aar file is missing some classes. Make
sure all the required classes are there in the aar file.
Deepal
Hi,
I have the following issue
Faulty Services
/home/cecadmin/apache-tomcat-5.5.20/webapps/axis2/WEB-INF/services/Production.aar
<http://10.10.155.152:6080/axis2/services/ListFaultyServices?serviceName=/home/cecadmin/apache-tomcat-5.5.20/webapps/axis2/WEB-INF/services/Production.aar>
On clicking to the above link ,I am getting the error
below ,whats the issue?
This Web axisService has deployment faults
Error: org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules ClassNotFoundException
Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
ClassNotFoundException Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules ClassNotFoundException
Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
ClassNotFoundException Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules ClassNotFoundException
Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
ClassNotFoundException Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules ClassNotFoundException
Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
ClassNotFoundException Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:139)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:528)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:88)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:252)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:72)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:392)
at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:592) at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by:
org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules ClassNotFoundException
Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
ClassNotFoundException Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules ClassNotFoundException
Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
ClassNotFoundException Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:99)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:133)
... 35 more Caused by:
org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules ClassNotFoundException
Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is:
org.apache.axis2.deployment.DeploymentException:
ClassNotFoundException Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:332)
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:96)
... 37 more Caused by:
org.apache.axis2.deployment.DeploymentException:
ClassNotFoundException Error in loading message receiver
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at
org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:179)
at
org.apache.axis2.deployment.DescriptionBuilder.processMessageReceivers(DescriptionBuilder.java:155)
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:200)
... 38 more Caused by: java.lang.ClassNotFoundException:
au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java:164) at
org.apache.axis2.util.Loader.loadClass(Loader.java:158)
at
org.apache.axis2.util.Loader.loadClass(Loader.java:130)
at
org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:175)
... 40 more
------------------------------------------------------------------------
============================================================================================================================
Disclaimer: This message and the information contained herein
is proprietary and confidential and subject to the Tech
Mahindra policy statement, you may review the policy at
http://www.techmahindra.com/Disclaimer.html externally
http://tim.techmahindra.com/tim/disclaimer.html internally
within TechMahindra.
============================================================================================================================
------------------------------------------------------------------------
============================================================================================================================
Disclaimer: This message and the information contained herein is
proprietary and confidential and subject to the Tech Mahindra
policy statement, you may review the policy at
http://www.techmahindra.com/Disclaimer.html externally
http://tim.techmahindra.com/tim/disclaimer.html internally within
TechMahindra.
============================================================================================================================
------------------------------------------------------------------------
============================================================================================================================
Disclaimer: This message and the information contained herein is
proprietary and confidential and subject to the Tech Mahindra policy
statement, you may review the policy at
http://www.techmahindra.com/Disclaimer.html externally
http://tim.techmahindra.com/tim/disclaimer.html internally within
TechMahindra.
============================================================================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org