You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ruchith Fernando <ru...@gmail.com> on 2006/11/01 02:36:42 UTC
Re: [Axis2] Re: Unable to engage Rampart
Please try the latest rampart-1.1-SNAPSHOT with the latest axis2-1.1-SNAPSHOTs.
Thanks,
Ruchith
On 10/31/06, Marcel Casado <ma...@ucar.edu> wrote:
>
> Hi Ruchith,
>
> At the time I sent the first email I already had place both jars
> wss4j.jar and axis2-secpolicy.jar on WEB-INF/lib. Now I tried again to
> check it double and the exception is still happening. Could you give me
> another solution, please ?
>
> Thanks,
>
> -Marcel
>
>
> Ruchith Fernando wrote:
> > Solution : please copy wss4j-SNAPSHOT.jar into the axis2/WEB-INF/lib/
> >
> > Possible issue:
> >
> > Seems like we might be having classloading problems once again :-(
> >
> > The java.lang.NoClassDefFoundError you see here is because the
> > WSSecurityEngine class could not be loaded.
> >
> > When rampart is engaged and *configured* one both wss4j.jar and
> > axis2-secpolicy.jar and the jars they depend on will have to be copied
> > into the axis2/WEB-INF/lib directory since :
> > - When the service provides the callback handler it will use classes
> > from WSS4J
> > - The axis2-secpolicy.jar is required by axis2/neethi to parse policy
> > with WS-SecurityPolicy assertions.
> >
> > Both axis2-secpolicy.jar and wss4j.jar are in the "lib" dir of rampart
> > module. When engaging rampart the classes must be loaded from these
> > and engaging rampart should work without a problem. i.e. to just
> > *engage* rampart one should not be required to copy these jars into
> > the axis2/WEB-INF/lib.
> >
> > The stack trace reported seems to show that axis2 cannot load classes
> > from the wss4j.jar during deployment.
> >
> > Deepal what do you think?
> >
> > Thanks,
> > Ruchith
> >
> > On 10/30/06, Marcel Casado <ma...@ucar.edu> wrote:
> >> Hi,
> >>
> >> I'm using the nightly snapshots for Axis2 1.1 and Rampart 1.1 snapshot
> >> also. I have services that engage rampart. I had a first problem with an
> >> exception and I had to add axis2-secpolicy-1.1-SNAPSHOT.jar to
> >> axis2/WEB-INF/lib and fixed that problem but now I'm getting :
> >>
> >> java.lang.NoClassDefFoundError
> >>
> >> org.apache.rampart.handler.RampartReceiver.<clinit>(RampartReceiver.java:46)
> >>
> >> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> >> Method)
> >>
> >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >>
> >>
> >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >>
> >> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> >> java.lang.Class.newInstance0(Class.java:350)
> >> java.lang.Class.newInstance(Class.java:303)
> >>
> >> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:68)
> >>
> >> org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:311)
> >>
> >>
> >> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:602)
> >>
> >>
> >> org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:167)
> >>
> >>
> >> org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:54)
> >>
> >>
> >> org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:100)
> >>
> >>
> >> org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:199)
> >>
> >>
> >> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61)
> >>
> >>
> >> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:366)
> >>
> >>
> >> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:310)
> >>
> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> >>
> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> >>
> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> >>
> >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> >>
> >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> >>
> >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> >>
> >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>
> >> java.lang.Thread.run(Thread.java:613)
> >>
> >>
> >> I looked into rampart mar and all the rampart classes are there. Why is
> >> not finding the rampart module classes.
> >>
> >> Thanks for the help in advance.
> >>
> >> -Marcel
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
www.ruchith.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] Re: Unable to engage Rampart
Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Marcel,
Do you still face the same problems with the latest stuff? If so
please file a JIRA.
Thanks,
Ruchith
On 11/1/06, Ruchith Fernando <ru...@gmail.com> wrote:
> Rampart : http://ws.zones.apache.org/dist/rampart/nightly/
> Axis2: http://ws.zones.apache.org/dist/axis2/nightly/
>
> Thanks,
> Ruchith
>
> On 11/1/06, Frans Thamura @ FB - Meruvian <fl...@meruvian.com> wrote:
> > Ruchith Fernando wrote:
> > > Please try the latest rampart-1.1-SNAPSHOT with the latest
> > > axis2-1.1-SNAPSHOTs.
> > >
> > where is the place i can get rampart?
> >
> > because i cannot find rampart in ws.apache.org
> >
> >
> >
> > Frans
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> www.ruchith.org
>
--
www.ruchith.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] Re: Unable to engage Rampart
Posted by Ruchith Fernando <ru...@gmail.com>.
Rampart : http://ws.zones.apache.org/dist/rampart/nightly/
Axis2: http://ws.zones.apache.org/dist/axis2/nightly/
Thanks,
Ruchith
On 11/1/06, Frans Thamura @ FB - Meruvian <fl...@meruvian.com> wrote:
> Ruchith Fernando wrote:
> > Please try the latest rampart-1.1-SNAPSHOT with the latest
> > axis2-1.1-SNAPSHOTs.
> >
> where is the place i can get rampart?
>
> because i cannot find rampart in ws.apache.org
>
>
>
> Frans
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
www.ruchith.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] Re: Unable to engage Rampart
Posted by "Frans Thamura @ FB - Meruvian" <fl...@meruvian.com>.
Ruchith Fernando wrote:
> Please try the latest rampart-1.1-SNAPSHOT with the latest
> axis2-1.1-SNAPSHOTs.
>
where is the place i can get rampart?
because i cannot find rampart in ws.apache.org
Frans
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org