Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

auto redeploy web service after tomcat restart

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic