× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 1/18/2017 11:13 AM, Jon Paris wrote:
Most people solve this by using a data queue fed server job that actually runs the Java code. that way you can shut down and restart specific instances without having t kill the jobs using them.

I think the OPs problem is that the NEP has been running in batch for a
month, working great, and now he has to deploy updates - a new .jar file.

How does one tell the batch job to get the new .jar file?

On Jan 17, 2017, at 10:54 PM, Mohammad Tanveer <surgum@xxxxxxxxx> wrote:

Is it possible to restart a JVM for a job or Reload Jar files/classes
executed within the job.. This is to solve a problem of deployment of
updated jar files and changing the class path while job is still active.
Current solution is to end the job and start a new job.

That's how I do it. If you use data queues to communicate with the Java
app, add a special message that will submit a new job and terminate this
one. You can make sending this 'restart' message part of the script
that deploys the new code into production.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.