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 "Yadav, Yogendra (IT)" <Yo...@morganstanley.com> on 2006/10/12 21:52:31 UTC

Rampart module load throws NoSuchMethodError

I am testing  Rampart  with AXIS2 RC1. The  module load throws NSME 
java.lang.NoSuchMethodError:
org.apache.axis2.description.HandlerDescription.<init>(Ljavax/xml/namesp
ace/QName;)V
 at
org.apache.axis2.security.handler.WSDoAllHandler.<clinit>(WSDoAllHandler
.java:38)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
 at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
 at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 at java.lang.Class.newInstance0(Class.java:350)
 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)
--------------------------------------------------------

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.

Re: Rampart module load throws NoSuchMethodError

Posted by Martin Gainty <mg...@hotmail.com>.
Ditto for my distro
(No init method in org.apache.axis2.description.HandlerDescription)
dims?

This e-mail communication and any attachments may contain confidential and privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its 
contents
  ----- Original Message ----- 
  From: Yadav, Yogendra (IT) 
  To: axis-user@ws.apache.org 
  Sent: Thursday, October 12, 2006 3:52 PM
  Subject: Rampart module load throws NoSuchMethodError


  I am testing  Rampart  with AXIS2 RC1. The  module load throws NSME 
  java.lang.NoSuchMethodError: org.apache.axis2.description.HandlerDescription.<init>(Ljavax/xml/namespace/QName;)V
   at org.apache.axis2.security.handler.WSDoAllHandler.<clinit>(WSDoAllHandler.java:38)
   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:494)
   at java.lang.Class.newInstance0(Class.java:350)
   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(DeploymentEngine.java:311)
   at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:599)
   at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:124)
   at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:55)
   at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:100)
   at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
   at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61)
   at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(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.

Re: Rampart module load throws NoSuchMethodError

Posted by Ruchith Fernando <ru...@gmail.com>.
Are you trying the Rampart-1.1-SNAPSHOT?

http://people.apache.org/repository/org.apache.axis2/mars/rampart-1.1-SNAPSHOT.mar

thanks,
Ruchith

On 10/13/06, Yadav, Yogendra (IT) <Yo...@morganstanley.com> wrote:
>
>
>
> I am testing  Rampart  with AXIS2 RC1. The  module load throws NSME
>
> java.lang.NoSuchMethodError:
> org.apache.axis2.description.HandlerDescription.<init>(Ljavax/xml/namespace/QName;)V
>  at
> org.apache.axis2.security.handler.WSDoAllHandler.<clinit>(WSDoAllHandler.java:38)
>  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:494)
>  at java.lang.Class.newInstance0(Class.java:350)
>  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(DeploymentEngine.java:311)
>  at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:599)
>  at
> org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:124)
>  at
> org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:55)
>  at
> org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:100)
>  at
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
>  at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61)
>  at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(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.
>


-- 
www.ruchith.org

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