When we first started using Java Wrapper we looked at alternatives.

I believe there is an Apache commons equivalent and a couple of others.
http://commons.apache.org/daemon

This looks like an option:
http://sourceforge.net/projects/yajsw/

Not sure this has everything we need:
http://launch4j.sourceforge.net/

Also JSW has improved but not under the Apache License.

Paul


On 17 February 2011 05:10, Afkham Azeez <[email protected]> wrote:

> Yes, this is one of the issues we are seeing with this tool.
> It unnecessarily kills the JVM. I'm wondering whether there is a better
> alternative to JavaServiceWrapper.
>
> Azeez
>
>
> On Thu, Feb 17, 2011 at 7:47 AM, Jorge Infante Osorio <[email protected]>wrote:
>
>> Afkham, I´m facing the same problem in two development  servers, with at
>> least two or more tools running inside it.
>>
>> In the wrappers.log file I see this:
>>
>> ERROR  | wrapper  | 2010/12/01 14:51:23 | JVM appears hung: Timed out
>> waiting for signal from JVM.
>> ERROR  | wrapper  | 2010/12/01 14:51:24 | JVM did not exit on request,
>> terminated STATUS | wrapper  | 2010/12/01 14:51:26 | JVM exited in
>> response
>> to signal SIGKILL (9).
>> ERROR  | wrapper  | 2010/12/01 14:51:26 | Unable to start a JVM STATUS |
>> wrapper  | 2010/12/01 14:51:26 | <-- Wrapper Stopped STATUS | wrapper  |
>> 2010/12/01 15:36:15 | --> Wrapper Started as Daemon STATUS | wrapper  |
>> 2010/12/01 15:36:15 | Launching a JVM...
>> INFO   | jvm 1    | 2010/12/01 15:36:41 | Wrapper (Version 3.2.3)
>> http://wrapper.tanukisoftware.org INFO   | jvm 1    | 2010/12/01 15:36:41
>> |
>> Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
>> INFO   | jvm 1    | 2010/12/01 15:36:41 | INFO   | jvm 1    | 2010/12/01
>> 15:36:47 | [2010-12-01 15:36:47,723]  INFO - Initializing system...
>> STATUS | wrapper  | 2010/12/01 15:39:32 | TERM trapped.  Shutting down.
>> STATUS | wrapper  | 2010/12/01 15:39:34 | <-- Wrapper Stopped STATUS |
>> wrapper  | 2010/12/01 15:39:40 | --> Wrapper Started as Daemon STATUS |
>> wrapper  | 2010/12/01 15:39:41 | Launching a JVM...
>> INFO   | jvm 1    | 2010/12/01 15:39:42 | Wrapper (Version 3.2.3)
>> http://wrapper.tanukisoftware.org INFO   | jvm 1    | 2010/12/01 15:39:42
>> |
>> Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
>>
>>
>> Jorge.
>>
>>
>> De: [email protected] [mailto:[email protected]] En
>> nombre de Afkham Azeez
>> Enviado el: miércoles, 16 de febrero de 2011 2:45
>> Para: carbon-dev
>> Asunto: [Carbon-dev] Java Service Wrapper is buggy
>>
>> On Mars (cloud.wso2.com), we have noticed that Wrapper sometimes causes
>> the
>> Java process to fail. Specially when there are multiple Java processes
>> running on the same machine, wrapper causes some of the Java processes to
>> hang. We need to find a better alternative to this.
>>
>> Any ideas?
>>
>> --
>> Afkham Azeez
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> Member; Apache Software Foundation; http://www.apache.org/
>> email: [email protected] cell: +94 77 3320919
>> blog: http://blog.afkham.org
>> twitter: http://twitter.com/afkham_azeez
>> linked-in <http://twitter.com/afkham_azeezlinked-in>:
>> http://lk.linkedin.com/in/afkhamazeez
>>
>> Lean . Enterprise . Middleware
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair, VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
twitter.com/pzfreo
[email protected]

wso2.com Lean Enterprise Middleware

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to