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 rakesh0006 <ra...@gmail.com> on 2012/09/22 15:42:31 UTC

Re: Fwd: Working memory class not found Error in axis2 services


Error: org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules with an error of The following error occurred during
schema generation: java.lang.ClassNotFoundException: Class Not found :
org.drools.WorkingMemory at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:147)
at
org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:79)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:582)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:201)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:271)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:189)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:110)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:257)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:74)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:486)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:406) 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:1150) 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(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) 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 with an error of The following error occurred during schema
generation: java.lang.ClassNotFoundException: Class Not found :
org.drools.WorkingMemory at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:381)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:98)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:140)
... 36 more Caused by: org.apache.axis2.deployment.DeploymentException: The
following error occurred during schema generation:
java.lang.ClassNotFoundException: Class Not found : org.drools.WorkingMemory
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:346)
... 38 more Caused by: java.lang.RuntimeException:
java.lang.ClassNotFoundException: Class Not found : org.drools.WorkingMemory
at
org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:88)
at java.lang.ClassLoader.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.ws.java2wsdl.SchemaGenerator.(SchemaGenerator.java:121) at
org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:306) at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:339)
... 38 more Caused by: java.lang.ClassNotFoundException: Class Not found :
org.drools.WorkingMemory at
org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:84)
... 46 more

My directory structure for the .aar file is as follows.....

Pricing.aar
.......com (package of my java classes)
.......lib  ( drools lib jar files)
........META-INF
         ........services.xml file

Also when i comment the code for  creation of working memory and the
insertion of elements and the firing of rules...... and then prepare the
.aar file and deploy it......It deploys without any errors.. ( but i cant
utilise that service as no rules are fired....)
Cant anyone  please tell me....whats the problem...and how should i put the
drools lib files and where should i place them in my .aar file?


-- 
Regards
Kiran Narasareddy





-- 
Kiran Narasareddy
Computers make very fast, very accurate mistakes.



-- 
View this message in context: http://old.nabble.com/Fwd%3A-Working-memory-class-not-found-Error-in-axis2-services-tp21049002p34465861.html
Sent from the Axis - User mailing list archive at Nabble.com.


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