|
From: Marcin W. <mwa...@su...> - 2007-10-22 07:58:43
|
Hello. My problem is related to itegrate Apache Geronimo 2.0.1 and JWS via second integration method. The same problem was touched is following thread http://www.mail-archive.com/us...@ge.../msg07665.html Calling "stop" class within the same JVM as calling *start* class results with error in Geronimo. As David Jencks wrote it's intended to run shutdown.jar (from JWS point of view - "stop" class) in a different vm. The workaround is to use first integration method. However it need to increase wrapper.jvm_exit.timeout because Geronimo shutdown hook may need some more time to complete (the time depend on what is deployed on Geronimo). So it could be better to stay with second integration method. Do you have some idea what to do to use second integration in such situations? Regards, Marcin Leif Mortenson wrote: > Marcin, > Not currently. The Wrapper is only capable of monitoring a single JVM at > the moment. In addition to be very heavy, controlling the lifecycle and > all of the possible failure modes for a second JVM would get complicated > in a hurry. > > What is the problem you are encountering that is requiring this? > I may have some ideas for you. > > Cheers, > Leif > > Marcin Waldowski wrote: >> One correction: >> >> Should be: I have noticed that calling "stop" class is done within the >> same JVM as calling *start* class. >> >> Marcin Waldowski wrote: >> >>> Hello. >>> >>> In documentation we can read: >>> "The Wrapper works with this kind of application by starting up the >>> application, as in the first method, using the "start" class and then >>> calling the main method of the "stop" class when it is time for the >>> application to be shutdown.". >>> >>> I have noticed that calling "stop" class is done within the same JVM >>> as calling "stop" class. Is it possible to configure wrapper to call >>> "stop" class in another JVM? >>> >>> Regards, Marcin >>> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |