This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Deployment of Web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Deployment of Web application" Watch "Deployment of Web application" New topic
Author

Deployment of Web application

Amit K Srivastava
Greenhorn

Joined: May 31, 2012
Posts: 7
Hi,

I am creating a soap web-service using Netbeans.
After deploying it on server , after 24 hour service get stopped and I need to redeploy this WAR file again.
What is problem , is there any way to make this application as system service so that it can rescheduled to start after 24 hours.

I am able to create a shell script that redeploy other dummy restful web-service after 24 hour.But here i am just compiling 2 java file and executing it on server.

But in first case we have many files and , I am deploying it on server as WAR.

Thanks,
Amit
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Why is the service getting stopped?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41053
    
  43
I agree with Bear - your approach to this should not be how to work around the problem, it should be how to solve the problem. There is no reason for a well-developed web app or WS to just stop - it should principally be able to run forever.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: Deployment of Web application
 
Similar Threads
Redeploy .war in sun AS 8.1 without deleting existing files
Error while redeploying application to JBoss
Packaging and Class Loaders
War File on Web Server Communicating to ear File on Application Server?
Deploying War file