How do I deploy the soap.war and a service to jboss at server startup?
I have a service which is provided by a java class and want to deloy it
automactically at server startup, is it possible? 
Do I have to add the class to the soap.war? 

Tiago Fernandes Thomaz


-----Original Message-----
From: Ed King [mailto:[EMAIL PROTECTED]]
Sent: quinta-feira, 23 de Maio de 2002 15:56
To: [EMAIL PROTECTED]
Subject: RE: Auto deployment of services???


Because of the way jBoss works it will not be persistent because he erases
the tmp directory before redeploying all WAR and EAR files in the deploy
directory.
Does anyone have Apache Soap working with jBoss 2.4.3 and Tomcat 4.0.2 in a
persisted state, meaning not having to redeploy services every time you
restart jBoss?


-----Original Message-----
From: Ferhat Ayaz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 10:14
To: [EMAIL PROTECTED]; King, Edward
Subject: Re: Auto deployment of services???



When you deploy a service, Apache SOAP will create a
file named "DeployedServices.ds". This will make your
SOAP be able to be persistence.

Try to deploy your service with a script

****************
@echo off

java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml
echo .
echo Verify that it's there
java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list
echo .

****************

The jar files:

1-)soap.jar;
2-)xerces.jar;
3-)mail.jar;
4-)activation.jar;

must exits in your CLASSPATH

the ServiceManagerClient class will make your SOAP
persistence.

PS: If you're working on a unix system, check also
your permissions.

If this was unsufficient try this one:

Check your config file

************************
<soapServer>
  <serviceManager>
    ...
  </serviceManager>
  <configManager
value="org.apache.soap.server.DefaultConfigManager">
    <option name="filename"
value="DeployedServices.ds"/>
  </configManager>
</soapServer>
************************
-------------------------------------------------------

        New to apache soap, have the servlet running in
jboss/catalina
integration.
Can deploy services, but when the server is restarted
I am having to
redeploy the services, anyway to auto deploy the web
services with
Apache
Soap?

Ed King
Senior Software Developer
Tangram Enterprise Solutions, Inc.



__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

Reply via email to