| Author |
auto redeploy web service after tomcat restart
|
little lam
Greenhorn
Joined: Nov 30, 2004
Posts: 2
|
|
Hi all web services expert, I am using Axis + tomcat 4.1 to publish web services. My problem is that after I restart tomcat, the web services application will be undeploy, so I have to deploy the web services again every time I restart tomcat. Is there any configuration to make the web services still available after I restart the tomcat? Thanks, littlelam
|
 |
Rr Kumaran
Ranch Hand
Joined: Sep 17, 2001
Posts: 548
|
|
|
I dont think the web service 'll be undeployed when u restart tomcat. as long as ur application is registered in sever-confog.wsdd (either directly editing this file or deploying ur web service using running axis's AdminClient program on deploy.wsdd), ur application 'll be available for the lifetime of ur axis web application.
|
RR Kumaran
SCJP 1.4
|
 |
little lam
Greenhorn
Joined: Nov 30, 2004
Posts: 2
|
|
Dear Nritya, Thank you very much for your reply! I check my web services carefully and find the problem I have made. I deploy my web services with Ant to running axis's AdminClient program on deploy.wsdd. It cause a permission denied FileIOException which logged in catalina.out which show that the server-config.wsdd can't be created. However, the Ant's process show BUILD SUCCESSFUL and my web services can work everytime I redeploy the web services. Because the server-config.wsdd does not created, so every time I restart tomcat, the web services do not work and I need to redeploy it again. Now I change the permission of my web services application and server-config.wsdd can be created successfully. Thank you very much! littlelam
|
 |
 |
|
|
subject: auto redeploy web service after tomcat restart
|
|
|