|
From: Mirko P. <m.p...@gm...> - 2007-08-17 12:56:28
|
Hi Bob, thanks for your response. Yes, the AgentDaemon keeps running. But how to tell the Java Service Wrapper that this is the process it should concern about ? 2007/8/17, Robert Pepersack <RPe...@md...>: > Hi Mirko, > > I'm fairly new at using the wrapper, too, but maybe I can help. > > Does your AgentDaemon class start a process that keeps running? Or, does it execute a simple method and terminate? To keep the wrapper running, I've found that you have to run something that keeps the Java VM alive. For example, I run a JNDI naming server. > > Bob > > Robert Pepersack > Senior Lead Developer > Maryland Insurance Administration > 410-468-2054 > > >>> "Mirko Pluhar" <m.p...@gm...> 08/17/2007 1:30 AM >>> > Hi all, > > I'm trying to integrate an application with Java Service Wrapper but > I'm stuck with a problem: > To start the application a class AgentClient ist called , which is > only a helper to run class AgentDaemon. > So I define class AgentClient as the initial class in java service > wrapper configuration . When starting the wrapper it calls this class, > AgentClient calls AgentDaemon and exit with > success. The service wrapper recognizes that and exits also, because > its focussed on AgentClient. > Do you have any hints to use such a construct within java service wrapper ? > Thanks in advance. > > -- > With regards > Mirko Pluhar > > ------------------------------------------------------------------------- > 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 > > > ------------------------------------------------------------------------- > 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 > -- Mit freundlichen Gruessen Mirko Pluhar |