File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63868

Why is the service getting stopped?

[Asking smart questions] [About Bear] [Books by Bear]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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.
I agree. Here's the link:
subject: Deployment of Web application
It's not a secret anymore!