This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60050

Why is the service getting stopped?

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

Joined: Mar 22, 2005
Posts: 39547
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 - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: Deployment of Web application
Similar Threads
Packaging and Class Loaders
Redeploy .war in sun AS 8.1 without deleting existing files
Error while redeploying application to JBoss
Deploying War file
War File on Web Server Communicating to ear File on Application Server?