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 Srinivas Nannapaneni <sr...@valtech.co.in> on 2006/10/25 07:21:07 UTC

Avoiding Running ADminClient

Hi All,

            Is there any way of avoiding running the AdminClinet , because
it is continuously bugging me running it every time when I deployed the .ear
file on the websphere server, as ofcourse I can run remotely even though I
want to avoid that by some other means, any body have choice? Please help me
on this.                

            

 

 

 

 

Thanks in advance,

Srinivas N


[Axis2] (nightly) Problems loading AxisConfiguration

Posted by Daniel Wehrle <we...@daniel-wehrle.de>.
Hi,

I have written an Axis2 1.0 Client to connect an .Net web service. Now I 
try to port it to Axis2 1.1 (nightly).

But by trying to set up the config like:
------------------------------------------------------------------------------------------------
File f = new File("iJCli.axis2.xml");
URL axis2URL = f.toURL();//new 
URL("file://Y:\\workspace\\iTernity\\iJCli.axis2.xml");
AxisConfigurator cfg8r = new URLBasedAxisConfigurator(axis2URL , null);
AxisConfiguration cfg = cfg8r.getAxisConfiguration();
return new ConfigurationContext(cfg);
------------------------------------------------------------------------------------------------
or
------------------------------------------------------------------------------------------------
ConfigurationContext ctx = 
ConfigurationContextFactory.createConfigurationContextFromFileSystem(TARGETNAME, 
"iJCli.axis2.xml");
------------------------------------------------------------------------------------------------
I get the following stack trace:
------------------------------------------------------------------------------------------------
Oct 25, 2006 4:07:13 PM 
org.apache.axis2.deployment.URLBasedAxisConfigurator getAxisConfiguration
INFO: No repository found , module will be loaded from classpath
Exception in thread "main" 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(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:69)
    at 
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:315)
    at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:587)
    at 
org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:116)
    at 
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:55)
    at 
org.apache.axis2.deployment.DeploymentEngine.loadFromClassPath(DeploymentEngine.java:120)
    at 
org.apache.axis2.deployment.URLBasedAxisConfigurator.getAxisConfiguration(URLBasedAxisConfigurator.java:68)
    at start.iTernityHelper.getConfigContext(iTernityHelper.java:200)
    at start.iTernityHelper.CreateCsc(iTernityHelper.java:143)
    at start.iTernityHelper.test2(iTernityHelper.java:50)
    at start.iTernityHelper.main(iTernityHelper.java:37)
------------------------------------------------------------------------------------------------

Can anyone help me adopting this to the new Version?

Thank you
-- Daniel Wehrle

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


RE: Avoiding Running ADminClient

Posted by Srinivas Nannapaneni <sr...@valtech.co.in>.
What was AdminClient really doing , is it doing any thing more than creating
(copying the) server-config.wsdd?

Don't you think both AdminClient and 'org.apache.axis.util.Admin' are
same..i feel so...

Thanks,
Srinivas N


-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com] 
Sent: Wednesday, October 25, 2006 6:45 PM
To: axis-user@ws.apache.org
Subject: Re: Avoiding Running ADminClient

use "org.apache.axis.util.Admin" utility. it can create the
server-config.wsdd. you can then package that into your war directly.

-- dims

On 10/25/06, Srinivas Nannapaneni <sr...@valtech.co.in>
wrote:
>
>
>
>
> Hi All,
>
>             Is there any way of avoiding running the AdminClinet , because
> it is continuously bugging me running it every time when I deployed the
.ear
> file on the websphere server, as ofcourse I can run remotely even though I
> want to avoid that by some other means, any body have choice? Please help
me
> on this.
>
>
>
>
>
>
>
>
>
>
>
> Thanks in advance,
>
> Srinivas N


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
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


Re: Avoiding Running ADminClient

Posted by Davanum Srinivas <da...@gmail.com>.
use "org.apache.axis.util.Admin" utility. it can create the
server-config.wsdd. you can then package that into your war directly.

-- dims

On 10/25/06, Srinivas Nannapaneni <sr...@valtech.co.in> wrote:
>
>
>
>
> Hi All,
>
>             Is there any way of avoiding running the AdminClinet , because
> it is continuously bugging me running it every time when I deployed the .ear
> file on the websphere server, as ofcourse I can run remotely even though I
> want to avoid that by some other means, any body have choice? Please help me
> on this.
>
>
>
>
>
>
>
>
>
>
>
> Thanks in advance,
>
> Srinivas N


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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