File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 61417
    
  67

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: 42276
    
  64
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment of Web application