This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic