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 sagara <sa...@ceit.pdn.ac.lk> on 2006/11/01 09:47:32 UTC

[AXIS2] problems in deploying Rampart on Axis2

Hi,
I tried to add rampart module to Axis2 (iused Axis2 SNAPSHOT build on October 10, 2006)
and followed following procedure 

1. Add rampart module to the repository\module directory (I tried with both rampart 
1.0 and rampart- SNAPSHOT ) 

2. Add following line to axis2.xml to engage the module

      <module ref="rampart"/>

3.  Add necessary Jar file to the lib directory

3. Start the http-server that comes with Axis2. 

But server did not started and got following error message.please  help me to slove 
this

thanks
sagara


-----------Error Message ---------------------------------------------

[SimpleHTTPServer] Starting
[SimpleHTTPServer] Using the Axis2 Repository D:\my-axis2-repo
[SimpleHTTPServer] Listening on port 8080

Oct 31, 2006 11:42:20 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : soapmonitor-1.0
Oct 31, 2006 11:42:22 PM org.apache.axis2.transport.http.SimpleHTTPServer main
SEVERE: Error starting SimpleHTTPServer
java.lang.NoSuchMethodError: org.apache.axis2.description.HandlerDescription.<init>
(Ljavax/xml/namespace/QName;)V
        at org.apache.rampart.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:595)
        at org.apache.axis2.deployment.RepositoryListener.init
(RepositoryListener.java:166)
        at org.apache.axis2.deployment.RepositoryListener.<init>
(RepositoryListener.java:54)
        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.createConfigurationContextFromFile
System(ConfigurationContextFactory.java:179)
        at org.apache.axis2.transport.http.SimpleHTTPServer.main
(SimpleHTTPServer.java:144)
[SimpleHTTPServer] Shutting down
-------------------------------------------------------------








 

--
Open WebMail Project (http://openwebmail.org)


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


Re: [AXIS2] problems in deploying Rampart on Axis2

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi sagara,

There were some recent changes to the handler interface. Can you
please try the latest Rampart [1] with latest axis2[2].

Thanks,
Ruchith

[1] http://ws.zones.apache.org/dist/rampart/nightly/
[2] http://ws.zones.apache.org/dist/axis2/nightly/

On 11/1/06, sagara <sa...@ceit.pdn.ac.lk> wrote:
> Hi,
> I tried to add rampart module to Axis2 (iused Axis2 SNAPSHOT build on October 10, 2006)
> and followed following procedure
>
> 1. Add rampart module to the repository\module directory (I tried with both rampart
> 1.0 and rampart- SNAPSHOT )
>
> 2. Add following line to axis2.xml to engage the module
>
>       <module ref="rampart"/>
>
> 3.  Add necessary Jar file to the lib directory
>
> 3. Start the http-server that comes with Axis2.
>
> But server did not started and got following error message.please  help me to slove
> this
>
> thanks
> sagara
>
>
> -----------Error Message ---------------------------------------------
>
> [SimpleHTTPServer] Starting
> [SimpleHTTPServer] Using the Axis2 Repository D:\my-axis2-repo
> [SimpleHTTPServer] Listening on port 8080
>
> Oct 31, 2006 11:42:20 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.0
> Oct 31, 2006 11:42:22 PM org.apache.axis2.transport.http.SimpleHTTPServer main
> SEVERE: Error starting SimpleHTTPServer
> java.lang.NoSuchMethodError: org.apache.axis2.description.HandlerDescription.<init>
> (Ljavax/xml/namespace/QName;)V
>         at org.apache.rampart.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:595)
>         at org.apache.axis2.deployment.RepositoryListener.init
> (RepositoryListener.java:166)
>         at org.apache.axis2.deployment.RepositoryListener.<init>
> (RepositoryListener.java:54)
>         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.createConfigurationContextFromFile
> System(ConfigurationContextFactory.java:179)
>         at org.apache.axis2.transport.http.SimpleHTTPServer.main
> (SimpleHTTPServer.java:144)
> [SimpleHTTPServer] Shutting down
> -------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
> --
> Open WebMail Project (http://openwebmail.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