Results 1 to 2 of 2
- 11-28-2011, 12:27 PM #1
Senior Member
- Join Date
- Feb 2010
- Posts
- 128
- Rep Power
- 0
Multiple Application Processes - WHY?
Hi guys,
I've got a big server application which opens multiple ports and runs thread for each port to listen on it. It's all good and it has been working like this for a year. But recently I have noticed that in the Task Manager there are two processes running of the same program, which kills part of the program.
One process is named "ServerProgram" and has description: Java(TM) Platform SE binary - has thread count of 49
The second process is named "ServerProgram *32" and has description: ServerProgram - has thread count of 1
I build a .exe file for the server program using Launch4j and in there I tick a box to run only a single instance of the application.
Could any one explain how this could have appeared?
Any thoughts would be appreciated.
ThanksMeasuring programming progress by lines of code is like measuring aircraft building progress by weight.
- 11-28-2011, 12:56 PM #2
Senior Member
- Join Date
- Feb 2010
- Posts
- 128
- Rep Power
- 0
Re: Multiple Application Processes - WHY?
Found the problem. Nothing relating to the software: I knew I didn't mess anything up. It was a wrong setting in the config.xml file which launch4j used. It had stay alive setting set to true, when it should be false.
I've learnt that when the .exe file is started launch4j runs it from: "C:\Program Files\Java\jre6\launch4j-tmp" folder as a .jar file, so the initial .exe has to be stopped.
just in case any one else wonders.Measuring programming progress by lines of code is like measuring aircraft building progress by weight.
Similar Threads
-
Monitoring processes
By scamiolo in forum New To JavaReplies: 3Last Post: 07-20-2011, 01:38 PM -
Multiple Instance of Web Application end Up Using Same JCA Resource
By sjunejo in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 06-09-2011, 12:17 PM -
Multiple views on user interface application
By dand_dd in forum SWT / JFaceReplies: 36Last Post: 04-24-2009, 09:05 AM -
how to run chat application on multiple systems
By jayeth in forum Advanced JavaReplies: 4Last Post: 03-27-2009, 03:25 PM -
netbeans processes don´t die
By karlen in forum NetBeansReplies: 0Last Post: 06-11-2007, 09:55 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks