Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-372

rampart-trust.1.6.2.jar issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.6.2
    • None
    • rampart-trust
    • None
    • Windows

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rak Ranjani Kannappan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: