incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav" <rohit.ya...@citrix.com>
Subject Review Request: Fix rampart artifacts used in awsapi
Date Mon, 17 Sep 2012 10:41:42 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/7128/
-----------------------------------------------------------

Review request for cloudstack, Prasanna Santhanam, Hugo Trippaers, and edison su.


Description
-------

Download original patch and git am <patch>:
http://bhaisaab.org/patches/cloudstack/0001-Maven-Fix-rampart-version-in-awsapi.patch

discussion on rampart:
http://markmail.org/message/epf7kyw4gfno2lst?q=list:org.apache.ws.rampart-dev+java.lang.NoClassDefFoundError:+org/apache/axis2/wsdl/codegen/extension/ModulePolicyExtension#query:list%3Aorg.apache.ws.rampart-dev%20java.lang.NoClassDefFoundError%3A%20org%2Fapache%2Faxis2%2Fwsdl%2Fcodegen%2Fextension%2FModulePolicyExtension+page:1+mid:q7b4epwshaobktgf+state:results

ant debug log:
   [java] java.lang.NoClassDefFoundError: org/apache/axis2/receivers/AbstractInOutMessageReceiver
     [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
     [java] 	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
     [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
     [java] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
     [java] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
     [java] 	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     [java] 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1667)
     [java] 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
     [java] 	at java.lang.Class.forName0(Native Method)
     [java] 	at java.lang.Class.forName(Class.java:169)
     [java] 	at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
     [java] 	at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
     [java] 	at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:191)
     [java] 	at org.apache.axis2.deployment.ModuleBuilder.processOperations(ModuleBuilder.java:270)
     [java] 	at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:208)
     [java] 	at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:516)
     [java] 	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71)
     [java] 	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
     [java] 	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
     [java] 	at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)
     [java] 	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)
     [java] 	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
     [java] 	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)
     [java] 	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)
     [java] 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
     [java] 	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)
     [java] 	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)
     [java] 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
     [java] 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
     [java] 	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
     [java] 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
     [java] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
     [java] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
     [java] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
     [java] 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
     [java] 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
     [java] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
     [java] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
     [java] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
     [java] 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
     [java] 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
     [java] 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
     [java] 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
     [java] 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
     [java] 	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
     [java] 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
     [java] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
     [java] 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     [java] 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
     [java] Caused by: java.lang.ClassNotFoundException: org.apache.axis2.receivers.AbstractInOutMessageReceiver
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     [java] 	... 59 more
     [java] [ERROR] The rampart-1.5.mar module, which is not valid, caused org/apache/axis2/modules/Module
     [java] java.lang.NoClassDefFoundError: org/apache/axis2/modules/Module
     [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
     [java] 	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
     [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
     [java] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
     [java] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
     [java] 	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     [java] 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1667)
     [java] 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
     [java] 	at java.lang.Class.forName0(Native Method)
     [java] 	at java.lang.Class.forName(Class.java:169)
     [java] 	at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
     [java] 	at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
     [java] 	at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:67)
     [java] 	at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:106)
     [java] 	at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:516)
     [java] 	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:71)
     [java] 	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
     [java] 	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
     [java] 	at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)
     [java] 	at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)
     [java] 	at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
     [java] 	at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)
     [java] 	at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)
     [java] 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
     [java] 	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)
     [java] 	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)
     [java] 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
     [java] 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
     [java] 	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
     [java] 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
     [java] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
     [java] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
     [java] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
     [java] 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
     [java] 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
     [java] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
     [java] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
     [java] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
     [java] 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
     [java] 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
     [java] 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
     [java] 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
     [java] 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
     [java] 	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
     [java] 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
     [java] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
     [java] 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     [java] 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
     [java] Caused by: java.lang.ClassNotFoundException: org.apache.axis2.modules.Module
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     [java] 	... 58 more
     [java] [INFO] Deploying module: soapmonitor-1.5.1 - file:/usr/local/apache-tomcat-6.0.33/webapps7080/awsapi/WEB-INF/modules/soapmonitor-1.5.1.mar
     [java] [INFO] Deploying module: metadataExchange-1.5.1-impl - file:/usr/local/apache-tomcat-6.0.33/lib/mex-1.5.1-impl.jar


Diffs
-----

  awsapi/pom.xml a583384 
  pom.xml 17ea050 

Diff: https://reviews.apache.org/r/7128/diff/


Testing
-------

mvn -P deps
ant build-all deploy-server
ant debug # works for me


Thanks,

Rohit Yadav


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message