Adam,
Thank you for the info, the deployment went on smoothly and a copy of
server-config.wsdd was automatically created on WEB-INF when the
deploying is done.
Next, I am going to try to have the client talk to the service installed.
Thank you again.
By the way, I downloaded the source codes from the CVS repository and list
all command line options of AdminClin here for whoever needs it:
======================List begin:
Processes a set of administration commands.
The following commands are available:
-lurl sets the AxisServlet URL
-hhostName sets the AxisServlet host
-pportNumber sets the AxisServlet port
-sservletPath sets the path to the AxisServlet
-ffileName specifies that a simple file protocol should be used
-uusername sets the username
-ppassword sets the password
-d sets the debug flag (for instance, -ddd would set it to 3)
-tname sets the transport chain touse
list will list the currently deployed services
quit will quit (???)
passwd value changes the admin password
xmlConfigFile deploys or undeploys Axis components and web services
If -l or -h -p -s are not set, the AdminClient will invoke
http://localhost:8080/axis/servlet/AxisServlet.
===================================List end.
C.C. Liu
-----Original Message-----
From: Adam.Leggett [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 11:40 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis on WebLogic server
Sorry that should be:
Try java org.apache.axis.client.AdminClient
-lhttp://<yourhosthere>:<someport>/axis/services/AdminService deploy.wsdd.
-----Original Message-----
From: Adam.Leggett [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 4:30 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis on WebLogic server
Try java org.apache.axis.client.AdminClient
-lhttp://<yourhosthere>:<someport>/o2ms/services/AdminService deploy.wsdd.
Its in the source for the AdminClient, the args you can set when invoking
it. Check the javadoc for
public String process(String[] args) throws Exception.
Cheers
Adam
-----Original Message-----
From: Liu, C.C [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 4:20 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis on WebLogic server
Adam,
Thank you very much, it's there, I extracted it but didn't get the help I
need from it. The reason I want to take a look at that config file is
because when I tried to deploy any of the samples on Weblogic by the
command:
java org.apache.axis.client.AdminClient deploy.wsdd
I always got the Exceptions:
Processing file deploy.wsdd
AxisFault
faultCode: http://xml.apache.org/axis/:Server.userException
faultString: java.net.ConnectException: Connection refused
faultActor: null
faultDetail:
exceptionName: java.net.ConnectException
stackTrace: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:265)
at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:104)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:178)
at org.apache.axis.client.Call.invoke(Call.java:1254)
at org.apache.axis.client.Call.invoke(Call.java:658)
at org.apache.axis.client.AdminClient.process(AdminClient.java:323)
at org.apache.axis.client.AdminClient.process(AdminClient.java:303)
at org.apache.axis.client.AdminClient.process(AdminClient.java:310)
at org.apache.axis.client.AdminClient.process(AdminClient.java:261)
at org.apache.axis.client.AdminClient.main(AdminClient.java:344)
It seems that the code is look for a pre-defined port, e.g. 8080, and I want
to know if there is a way to direct it to different socket port.
C.C. Liu
-----Original Message-----
From: Adam.Leggett [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 4:56 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis on WebLogic server
If you pulled down the alpha3 binary you'll find server-config.wsdd in the
axis.jar. Should be in in the \org\apache\axis\server package.
-----Original Message-----
From: Liu, C.C [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 5:04 PM
To: '[EMAIL PROTECTED]'
Subject: Axis on WebLogic server
Hi,
Has anyone installed Axis on BEA WebLogic server and has it worked out?
Also, I could not find the config file "server-config.wsdd", which is
mentioned in the documentation but is not in the download package. Could
anyone tell me where to get it?
Thanks.
C.C. Liu