[ 
https://issues.apache.org/jira/browse/RAMPART-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen resolved RAMPART-372.
-------------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 1.5)

Axis2 1.6.2 and Rampart 1.6.2 require Axiom 1.2.13. The error indicates that 
there is an older version of axiom-api on the class path.
                
> rampart-trust.1.6.2.jar issue
> -----------------------------
>
>                 Key: RAMPART-372
>                 URL: https://issues.apache.org/jira/browse/RAMPART-372
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-trust
>    Affects Versions: 1.6.2
>         Environment: Windows
>            Reporter: Ranjani Kannappan
>
> I recently upgraded my webservice project from axis 1.4 and rampart 1.5 to 
> axis 1.6.2 and rampart 1.6.2 and since then I get the below error when I try 
> to consume the webservice. Also please note that the below error disappears 
> and I am able to work without any issues if I replace the 
> rampart-trust-1.6.2.jar with rampart-trust-1.5.jar. 
> java.lang.NoSuchMethodError: 
> org.apache.axiom.om.OMAbstractFactory.getMetaFactory(Ljava/lang/String;)Lorg/apache/axiom/om/OMMetaFactory;
>       at 
> org.apache.rahas.impl.util.AxiomParserPool.<init>(AxiomParserPool.java:38)
>       at 
> org.apache.rahas.RampartSAMLBootstrap.initializeParserPool(RampartSAMLBootstrap.java:92)
>       at 
> org.apache.rahas.RampartSAMLBootstrap.bootstrap(RampartSAMLBootstrap.java:85)
>       at org.apache.rahas.Rahas.init(Rahas.java:41)
>       at 
> org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:226)
>       at 
> org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:204)
>       at 
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:80)
>       at 
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>       at 
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:150)
>       at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:143)
>       at 
> restful.WeatherForecastServiceStub.<init>(WeatherForecastServiceStub.java:61)
>       at 
> restful.WeatherForecastServiceStub.<init>(WeatherForecastServiceStub.java:50)
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>       at 
> org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
>       at 
> org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:52)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:202)
>       at Script1.run(Script1.groovy:67)
>       at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580)
>       at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618)
>       at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
>       at groovy.lang.GroovyShell$evaluate.call(Unknown Source)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
>       at WebserviceExecJob.runJob(WebserviceExecAgent.groovy:1177)
>       at WebserviceExecJob$runJob.call(Unknown Source)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
>       at WebserviceExecAgentImpl.dispatchJob(WebserviceExecAgent.groovy:2557)
>       at com.uc4.ex.cit.CITJob.execute(CITJob.java:173)
>       at com.uc4.ex.Job.run(Job.java:453)
>       at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to