axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chamikara Jayalath" <chamikar...@gmail.com>
Subject Re: sandesh2 v1.0 module load throws NoClassDefFoundError: org/apache/ws/security/WSSecurityException
Date Thu, 19 Oct 2006 00:08:56 GMT
Hi Yadav,

Guess you'll have to get the wss4j-SNAPSHOT jar file as well.

I think this is a good reason not to make the RampartBasedSecurityManager
the default in sandesha2.  Axis2 war file does not come with
{rampart,rahas,wss4j} jars.

Chamikara


On 10/19/06, Yadav, Yogendra (IT) <Yogendra.Yadav@morganstanley.com> wrote:
>
> I downloaded axis2-security-1.1-SNAPSHOT.jar from
> http://ws.zones.apache.org/~dims/maven/org.apache.axis2/jars/
> Now, I get this error:
> java.lang.NoClassDefFoundError:
> org/apache/ws/security/WSSecurityException
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
>         at java.lang.Class.getConstructor0(Class.java:2640)
>         at java.lang.Class.newInstance0(Class.java:321)
>         at java.lang.Class.newInstance(Class.java:303)
>         at
> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:63)
>         at
> org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngi
> ne.java:311)
>         at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
> ava:599)
>         at
> org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(Repo
> sitoryListener.java:124)
>         at
> org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener
> .java:55)
>         at
> org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEn
> gine.java:100)
>         at
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(
> FileSystemConfigurator.java:116)
>         at
> org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
> Context(ConfigurationContextFactory.java:61)
>         at
> org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
> ContextFromFileSystem(ConfigurationContextFactory.java:179)
>         at
> org.apache.axis2.transport.http.SimpleHTTPServer.main(SimpleHTTPServer.j
> ava:157)
> [SimpleHTTPServer] Shutting down
>
>
>
>
>
> -----Original Message-----
> From: Yadav, Yogendra (IT)
> Sent: Wednesday, October 18, 2006 5:29 PM
> To: axis-user@ws.apache.org; Thilina Gunarathne
> Subject: RE: sandesh2 v1.0 module load throws NoClassDefFoundError:
> org/apache/rampart/RampartException
>
> I downloaded axis2-rahas-1.1-SNAPSHOT.jar  from
> http://ws.zones.apache.org/~dims/maven/org.apache.axis2/jars/
> Now, I get this error:
> java.lang.NoClassDefFoundError: org/apache/rampart/RampartException
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
>         at java.lang.Class.getConstructor0(Class.java:2640)
>         at java.lang.Class.getConstructor(Class.java:1629)
>         at
> org.apache.sandesha2.util.SandeshaUtil.getSecurityManagerInstance(Sandes
> haUtil.java:986)
>         at
> org.apache.sandesha2.util.SandeshaUtil.getSecurityManager(SandeshaUtil.j
> ava:970)
>         at
> org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:102)
>
>
> -----Original Message-----
> From: Yadav, Yogendra (IT)
> Sent: Wednesday, October 18, 2006 4:57 PM
> To: axis-user@ws.apache.org; Thilina Gunarathne
> Subject: RE: sandesh2 v1.0 module load throws NoSuchMethodError
>
> Hi Thilina,
> As you said, I am using the snapshot, now I am getting this error:
> java.lang.NoClassDefFoundError: org/apache/rahas/TokenStorage
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
>         at java.lang.Class.getConstructor0(Class.java:2640)
>         at java.lang.Class.getConstructor(Class.java:1629)
>         at
> org.apache.sandesha2.util.SandeshaUtil.getSecurityManagerInstance(Sandes
> haUtil.java:986)
>         at
> org.apache.sandesha2.util.SandeshaUtil.getSecurityManager(SandeshaUtil.j
> ava:970)
>         at
> org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:102)
>
>
>
> -----Original Message-----
> From: Thilina Gunarathne [mailto:csethil@gmail.com]
> Sent: Friday, October 13, 2006 10:07 AM
> To: axis-user@ws.apache.org
> Subject: Re: sandesh2 v1.0 module load throws NoSuchMethodError
>
> Please use the snapshots available at
> http://ws.zones.apache.org/~dims/maven/sandesha2/
>
> ~Thilina
>
> On 10/13/06, Yadav, Yogendra (IT) <Yogendra.Yadav@morganstanley.com>
> wrote:
> >
> >
> >
> > I am testing Sandesh2 v1.0 with AXIS2 RC1. The
> > org.apache.axis2.description.PolicyInclude.getEffectivePolicy()
> > returns org.apache.neethi.Policy whereas sandesh2 expects
> > org.apache.ws.policy.Policy
> >
> > java.lang.NoSuchMethodError:
> > org.apache.axis2.description.PolicyInclude.getEffectivePolicy()Lorg/ap
> > ache/ws/policy/Policy;
> >  at
> > org.apache.sandesha2.util.PropertyManager.loadPropertiesFromModuleDesc
> > Policy(PropertyManager.java:158)
> >  at
> > org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:50)
> >  at
> > org.apache.axis2.context.ConfigurationContextFactory.initModules(Confi
> > gurationContextFactory.java:217)
> >  at
> > org.apache.axis2.context.ConfigurationContextFactory.init(Configuratio
> > nContextFactory.java:193)
> >  at
> > org.apache.axis2.context.ConfigurationContextFactory.createConfigurati
> > onContext(ConfigurationContextFactory.java:70)
> >  at
> > org.apache.axis2.context.ConfigurationContextFactory.createConfigurati
> > onContextFromFileSystem(ConfigurationContextFactory.java:179)
> >  at
> > org.apache.axis2.transport.http.SimpleHTTPServer.main(SimpleHTTPServer
> > .java:157)
> >
> >
> >  ________________________________
> >
> >
> > NOTICE: If received in error, please destroy and notify sender. Sender
>
> > does not intend to waive confidentiality or privilege. Use of this
> > email is prohibited when received in error.
> >
>
>
> --
> http://webservices.apache.org/~thilina/
> http://thilinag.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender
> does not intend to waive confidentiality or privilege. Use of this email
> is prohibited when received in error.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender
> does not intend to waive confidentiality or privilege. Use of this email
> is prohibited when received in error.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender
> does not intend to waive confidentiality or privilege. Use of this email is
> prohibited when received in error.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

Mime
View raw message