axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Kodumuri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAMPART-372) rampart-trust.1.6.2.jar issue
Date Tue, 13 Jan 2015 20:39:35 GMT

    [ https://issues.apache.org/jira/browse/RAMPART-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275898#comment-14275898
] 

Raghu Kodumuri commented on RAMPART-372:
----------------------------------------

Hello

I need to consume a webservice exposed and webservice uses ws-trust and Kerberos Authentication.
I have never done anything like this before. I got very good experience with Axis2 but not
with Rampart and Rampart-trust. Can you guide or give me some pointers on how to start with
Rampart and configure the policy files.


> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message