Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Deployment of Web application" Watch "Deployment of Web application" New topic

Deployment of Web application

Amit K Srivastava

Joined: May 31, 2012
Posts: 7

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.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60800

Why is the service getting stopped?

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

Joined: Mar 22, 2005
Posts: 41149
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
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