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 Priya Agrawal <to...@gmail.com> on 2008/05/20 00:20:18 UTC

Problem in deploying .aar file

Hello,I am getting following error in deployment of service aar file. Is i
am missing some jar files.
this Web axisService has deployment faultsError:
org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut 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:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831) at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720) at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at
org.apache.catalina.core.StandardService.start(StandardService.java:448) at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at
org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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.catalina.startup.Bootstrap.start(Bootstrap.java:295) at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by:
org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut 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 samples.databinding.StockQuoteServiceMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut 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
samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
is: java.lang.ClassNotFoundException:
samples.databinding.StockQuoteServiceMessageReceiverInOut 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:
samples.databinding.StockQuoteServiceMessageReceiverInOut at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1363)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
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

Re: Problem in deploying .aar file

Posted by Thilina Gunarathne <cs...@gmail.com>.
Looks like you are code generating your web service skeleton using
wsdl2java. Do you use the provided ant build to create the aar
package.. Unzip your .aar file and see whether you have the
StockQuoteServiceMessageReceiverInOut.class file inside
samples.databinding directory...

Also in anycase did you change the name or package of the generated
skeleton file.. If so you would need to change the message receiver
class accordingly in your services.xml file..

thanks,
Thilina

On Mon, May 19, 2008 at 5:20 PM, Priya Agrawal <to...@gmail.com> wrote:
> Hello,
>
> I am getting following error in deployment of service aar file. Is i am
> missing some jar files.
>
> this Web axisService has deployment faults
>
> Error: org.apache.axis2.deployment.DeploymentException: Processing
> Operations Modules ClassNotFoundException Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
> Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: Processing Operations
> Modules ClassNotFoundException Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
> Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: Processing Operations
> Modules ClassNotFoundException Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
> Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: Processing Operations
> Modules ClassNotFoundException Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
> Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut 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:1139)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831) at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720) at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at
> org.apache.catalina.core.StandardService.start(StandardService.java:448) at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at
> org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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.catalina.startup.Bootstrap.start(Bootstrap.java:295) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by:
> org.apache.axis2.deployment.DeploymentException: Processing Operations
> Modules ClassNotFoundException Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
> Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: Processing Operations
> Modules ClassNotFoundException Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
> Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut 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 samples.databinding.StockQuoteServiceMessageReceiverInOut;
> nested exception is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
> Error in loading message receiver
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut 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
> samples.databinding.StockQuoteServiceMessageReceiverInOut; nested exception
> is: java.lang.ClassNotFoundException:
> samples.databinding.StockQuoteServiceMessageReceiverInOut 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:
> samples.databinding.StockQuoteServiceMessageReceiverInOut at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1363)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
> 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
>



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org