axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shyameni Wijekoon <shyame...@gmail.com>
Subject Service deployment error
Date Sun, 10 Apr 2011 04:25:11 GMT
Hi all,
I am using axis2 1.5.1 war distribution with rampart1.7.0 in tomcat. When I
try deploy a service it gives the following error. The service is a simple
rampart-policy example in rampart distribution.

[INFO] The sample01.aar service, which is not valid, caused
java.lang.NoSuchMethodError:
org.apache.neethi.Policy.normalize(Z)Lorg/apache/neethi/Policy;
        at
org.apache.ws.secpolicy11.builders.TransportTokenBuilder.build(TransportTokenBuilder.java:44)
        at
org.apache.neethi.AssertionBuilderFactory.build(AssertionBuilderFactory.java:99)
        at
org.apache.neethi.PolicyEngine.processOperationElement(PolicyEngine.java:225)
        at
org.apache.neethi.PolicyEngine.getPolicyOperator(PolicyEngine.java:154)
        at org.apache.neethi.PolicyEngine.getPolicy(PolicyEngine.java:126)
        at
org.apache.ws.secpolicy11.builders.TransportBindingBuilder.build(TransportBindingBuilder.java:42)
        at
org.apache.neethi.AssertionBuilderFactory.build(AssertionBuilderFactory.java:99)
        at
org.apache.neethi.PolicyEngine.processOperationElement(PolicyEngine.java:225)
        at
org.apache.neethi.PolicyEngine.getAllOperator(PolicyEngine.java:162)
        at
org.apache.neethi.PolicyEngine.processOperationElement(PolicyEngine.java:216)
        at
org.apache.neethi.PolicyEngine.getExactlyOneOperator(PolicyEngine.java:158)
        at
org.apache.neethi.PolicyEngine.processOperationElement(PolicyEngine.java:211)
        at
org.apache.neethi.PolicyEngine.getPolicyOperator(PolicyEngine.java:154)
        at org.apache.neethi.PolicyEngine.getPolicy(PolicyEngine.java:126)
        at
org.apache.axis2.deployment.DescriptionBuilder.processPolicyElements(DescriptionBuilder.java:638)
        at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:304)
        at
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:101)
        at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143)
        at
org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
        at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
        at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337)
        at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241)
        at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
        at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
        at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:559)
        at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:448)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

[INFO] org.apache.axis2.deployment.DeploymentException:
java.lang.NoSuchMethodEr
ror: org.apache.neethi.Policy.normalize(Z)Lorg/apache/neethi/Policy;

Any assistance is appreciated.
-- 
Thanks and Regards,
Shyameni Wijekoon.

Mime
View raw message