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 "Michael E. Allen" <mi...@acnielsen.com> on 2003/06/19 16:45:43 UTC
AdminClient reports no errors, but service not deployed
I am really asking for help in how to debug an axis problem.
I have and "interesting" problem with Axis. I deploy a sevice using
AdminClient and one of the sample .wsdd files, get no errors, but the
service doesn't actually get deployed. That is, when I check
http://localhost/axis/servlet/AxisServlet, the services that should have
been deployed are not there.
I've set up axis on other machines with no problem; but those were
simple installations, i.e., just axis as a webapp of tomcat running in
standalone mode. In this case, however, I am running on a solaris box
and have apache (sitting on port 80) and two copies of tomcat, one
running on port 11009, the other on 12009 (for load balancing), each
running axis as a webapp. Here is the command and response:
$ java org.apache.axis.client.AdminClient -llocal:///AdminService
deploy.wsdd
- Processing file deploy.wsdd
- <Admin>Done processing</Admin>
$
But the services do not (apparently) get deployed; as seen by looking at
http://localhost/axis/servlet/AxisServlet.
I have also tried:
java org.apache.axis.client.AdminClient -llocal:///AdminService list
(return value below)... so... what *does* a success by AdminClient
really mean?
Thanks,
Michael
return from list command:
- <deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.ap
ache.org/axis/wsdd/providers/java">
<globalConfiguration>
<parameter name="adminPassword" value="admin"/>
<parameter name="attachments.implementation"
value="org.apache.axis.attachment
s.AttachmentsImpl"/>
<parameter name="sendXsiTypes" value="true"/>
<parameter name="sendMultiRefs" value="true"/>
<parameter name="sendXMLDeclaration" value="true"/>
<requestFlow>
<handler type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="session"/>
</handler>
<handler type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="request"/>
<parameter name="extension" value=".jwr"/>
</handler>
</requestFlow>
</globalConfiguration>
<handler name="LocalResponder"
type="java:org.apache.axis.transport.local.Local
Responder"/>
<handler name="URLMapper"
type="java:org.apache.axis.handlers.http.URLMapper"/>
<handler name="RPCDispatcher"
type="java:org.apache.axis.providers.java.RPCProv
ider"/>
<handler name="Authenticate"
type="java:org.apache.axis.handlers.SimpleAuthenti
cationHandler"/>
<handler name="MsgDispatcher"
type="java:org.apache.axis.providers.java.MsgProv
ider"/>
<service name="AdminService" provider="java:MSG">
<parameter name="allowedMethods" value="AdminService"/>
<parameter name="enableRemoteAdmin" value="false"/>
<parameter name="className" value="org.apache.axis.utils.Admin"/>
<namespace>http://xml.apache.org/axis/wsdd/</namespace>
</service>
<service name="Version" provider="java:RPC">
<parameter name="allowedMethods" value="getVersion"/>
<parameter name="className" value="org.apache.axis.Version"/>
</service>
<transport name="http">
<requestFlow>
<handler type="URLMapper"/>
<handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
</requestFlow>
</transport>
<transport name="local">
<responseFlow>
<handler type="java:org.apache.axis.transport.local.LocalResponder"/>
</responseFlow>
</transport>
</deployment>
Re: AdminClient reports no errors, but service not deployed
Posted by "Michael E. Allen" <mi...@acnielsen.com>.
yes; I did restart tomcat after deploy (though I shouldn't have to).
Michael E. Allen wrote:
> I am really asking for help in how to debug an axis problem.
>
> I have and "interesting" problem with Axis. I deploy a sevice using
> AdminClient and one of the sample .wsdd files, get no errors, but the
> service doesn't actually get deployed. That is, when I check
> http://localhost/axis/servlet/AxisServlet, the services that should have
> been deployed are not there.
>
> I've set up axis on other machines with no problem; but those were
> simple installations, i.e., just axis as a webapp of tomcat running in
> standalone mode. In this case, however, I am running on a solaris box
> and have apache (sitting on port 80) and two copies of tomcat, one
> running on port 11009, the other on 12009 (for load balancing), each
> running axis as a webapp. Here is the command and response:
> $ java org.apache.axis.client.AdminClient -llocal:///AdminService
> deploy.wsdd
> - Processing file deploy.wsdd
> - <Admin>Done processing</Admin>
> $
>
> But the services do not (apparently) get deployed; as seen by looking at
> http://localhost/axis/servlet/AxisServlet.
>
> I have also tried:
> java org.apache.axis.client.AdminClient -llocal:///AdminService list
> (return value below)... so... what *does* a success by AdminClient
> really mean?
>
> Thanks,
> Michael
>
> return from list command:
> - <deployment xmlns="http://xml.apache.org/axis/wsdd/"
> xmlns:java="http://xml.ap
> ache.org/axis/wsdd/providers/java">
> <globalConfiguration>
> <parameter name="adminPassword" value="admin"/>
> <parameter name="attachments.implementation"
> value="org.apache.axis.attachment
> s.AttachmentsImpl"/>
> <parameter name="sendXsiTypes" value="true"/>
> <parameter name="sendMultiRefs" value="true"/>
> <parameter name="sendXMLDeclaration" value="true"/>
> <requestFlow>
> <handler type="java:org.apache.axis.handlers.JWSHandler">
> <parameter name="scope" value="session"/>
> </handler>
> <handler type="java:org.apache.axis.handlers.JWSHandler">
> <parameter name="scope" value="request"/>
> <parameter name="extension" value=".jwr"/>
> </handler>
> </requestFlow>
> </globalConfiguration>
> <handler name="LocalResponder"
> type="java:org.apache.axis.transport.local.Local
> Responder"/>
> <handler name="URLMapper"
> type="java:org.apache.axis.handlers.http.URLMapper"/>
> <handler name="RPCDispatcher"
> type="java:org.apache.axis.providers.java.RPCProv
> ider"/>
> <handler name="Authenticate"
> type="java:org.apache.axis.handlers.SimpleAuthenti
> cationHandler"/>
> <handler name="MsgDispatcher"
> type="java:org.apache.axis.providers.java.MsgProv
> ider"/>
> <service name="AdminService" provider="java:MSG">
> <parameter name="allowedMethods" value="AdminService"/>
> <parameter name="enableRemoteAdmin" value="false"/>
> <parameter name="className" value="org.apache.axis.utils.Admin"/>
> <namespace>http://xml.apache.org/axis/wsdd/</namespace>
> </service>
> <service name="Version" provider="java:RPC">
> <parameter name="allowedMethods" value="getVersion"/>
> <parameter name="className" value="org.apache.axis.Version"/>
> </service>
> <transport name="http">
> <requestFlow>
> <handler type="URLMapper"/>
> <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
> </requestFlow>
> </transport>
> <transport name="local">
> <responseFlow>
> <handler type="java:org.apache.axis.transport.local.LocalResponder"/>
> </responseFlow>
> </transport>
> </deployment>
>
>
>