|
From: Leif M. <le...@ta...> - 2005-06-14 12:17:37
|
Carsten,
It is technically possible to make the Wrapper launch the JVM
directly as a DLL.
The problem there is that if the JVM crashed, so would the Wrapper as
they would
be one and the same. The Wrapper would simply become another way to launch
the JVM, there would be no monitoring or error recovery features.
As you mentioned, other solutions like that already exist out there.
Cheers,
Leif
Carsten Schäfer wrote:
> Thanks for your answers.
> I think i will copy the java.exe.
> But it's not the best solution.
> It would be a large improvement if there is only one process per
> service (the name of the wrapper.exe).
> With Java Service Launcher(http://www.roeschter.com/) it is possible.
>
> mfg
> Carsten
>
> Leif Mortenson schrieb:
>
>> Carsten,
>> Another option is to add the following:
>> wrapper.pidfile=./wrapper.pid
>> wrapper.java.pidfile=./java.pid
>>
>> That will cause pid files to be created for each process. You can
>> then use those ids
>> to look up the processes in the task manager (Windows) or process list.
>>
>> Renaming the exes is also a trick I have used a few times.
>>
>> Cheers,
>> Leif
>>
>> EXT-Patel, Rajesh M wrote:
>>
>>> I just make a copy of the java.exe and rename the copy
>>> to the name of my service. Then you point JSW at the
>>> new java executeable. Now instead of java.exe you
>>> get the name of your process in the process list.
>>>
>>> Raj
>>>
>>> -----Original Message-----
>>> From: Carsten Schäfer [mailto:ca_...@gm...] Sent: Monday, June
>>> 13, 2005 5:24 PM
>>> To: wra...@li...
>>> Subject: [Wrapper-user] Is only one process per service possible ?
>>>
>>>
>>> For every service installed and running there are two proccesses in
>>> the process list:
>>> java.exe and wrapper.exe.
>>> I can give wrapper.exe an own name but the really interessting
>>> process in the list is the java.exe process.
>>> With more than one java-service installed it's not possible to see
>>> what java.exe belong to what service.
>>> Is it possible to have only one process per service ?
>>> Or what is the way to identify my services (with more than one java
>>> process running) ?
>>>
>>> mfg
>>> Carsten
>>>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
> shotput
> a projector? How fast can you ride your desk chair down the office
> luge track?
> If you want to score the big prize, get to know the little guy. Play
> to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
|