• Post Reply Bookmark Topic Watch Topic
  • New Topic

auto redeploy web service after tomcat restart

 
little lam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
little lam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!