You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(13) |
Nov
(16) |
Dec
(29) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(38) |
Feb
(51) |
Mar
(51) |
Apr
(115) |
May
(82) |
Jun
(30) |
Jul
(50) |
Aug
(68) |
Sep
(57) |
Oct
(160) |
Nov
(80) |
Dec
(78) |
| 2004 |
Jan
(71) |
Feb
(75) |
Mar
(108) |
Apr
(87) |
May
(79) |
Jun
(70) |
Jul
(69) |
Aug
(39) |
Sep
(52) |
Oct
(47) |
Nov
(50) |
Dec
(32) |
| 2005 |
Jan
(22) |
Feb
(122) |
Mar
(46) |
Apr
(76) |
May
(31) |
Jun
(51) |
Jul
(61) |
Aug
(70) |
Sep
(37) |
Oct
(46) |
Nov
(57) |
Dec
(83) |
| 2006 |
Jan
(55) |
Feb
(81) |
Mar
(51) |
Apr
(67) |
May
(77) |
Jun
(43) |
Jul
(106) |
Aug
(64) |
Sep
(47) |
Oct
(64) |
Nov
(60) |
Dec
(12) |
| 2007 |
Jan
(50) |
Feb
(93) |
Mar
(49) |
Apr
(56) |
May
(40) |
Jun
(63) |
Jul
(40) |
Aug
(47) |
Sep
(54) |
Oct
(37) |
Nov
(54) |
Dec
(37) |
| 2008 |
Jan
(35) |
Feb
(39) |
Mar
(26) |
Apr
(14) |
May
(23) |
Jun
(51) |
Jul
(43) |
Aug
(26) |
Sep
(29) |
Oct
(31) |
Nov
(24) |
Dec
(16) |
| 2009 |
Jan
(21) |
Feb
(30) |
Mar
(74) |
Apr
(26) |
May
(26) |
Jun
(43) |
Jul
(23) |
Aug
(23) |
Sep
(15) |
Oct
(27) |
Nov
(37) |
Dec
(10) |
| 2010 |
Jan
(16) |
Feb
(28) |
Mar
(16) |
Apr
(45) |
May
(8) |
Jun
(68) |
Jul
(45) |
Aug
(44) |
Sep
(51) |
Oct
(7) |
Nov
(20) |
Dec
(21) |
| 2011 |
Jan
(14) |
Feb
(17) |
Mar
(7) |
Apr
(7) |
May
(48) |
Jun
(23) |
Jul
(5) |
Aug
(33) |
Sep
(22) |
Oct
(14) |
Nov
(14) |
Dec
(5) |
| 2012 |
Jan
|
Feb
(10) |
Mar
(12) |
Apr
(51) |
May
(10) |
Jun
(8) |
Jul
(14) |
Aug
(22) |
Sep
(9) |
Oct
(24) |
Nov
(14) |
Dec
(13) |
| 2013 |
Jan
(12) |
Feb
(4) |
Mar
(14) |
Apr
(19) |
May
(2) |
Jun
(5) |
Jul
(13) |
Aug
(10) |
Sep
(4) |
Oct
(11) |
Nov
(13) |
Dec
(2) |
| 2014 |
Jan
(3) |
Feb
(14) |
Mar
(5) |
Apr
(10) |
May
(10) |
Jun
(11) |
Jul
(10) |
Aug
(3) |
Sep
(13) |
Oct
(22) |
Nov
(14) |
Dec
(32) |
| 2015 |
Jan
(8) |
Feb
(2) |
Mar
(17) |
Apr
(1) |
May
(24) |
Jun
|
Jul
(4) |
Aug
|
Sep
(9) |
Oct
(9) |
Nov
(5) |
Dec
(2) |
| 2016 |
Jan
(8) |
Feb
(6) |
Mar
(6) |
Apr
(9) |
May
(3) |
Jun
(2) |
Jul
(7) |
Aug
(6) |
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
| 2017 |
Jan
(9) |
Feb
(8) |
Mar
(6) |
Apr
|
May
|
Jun
(3) |
Jul
(13) |
Aug
(10) |
Sep
(8) |
Oct
|
Nov
(6) |
Dec
|
| 2018 |
Jan
|
Feb
(5) |
Mar
(7) |
Apr
(2) |
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(9) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2019 |
Jan
(9) |
Feb
|
Mar
|
Apr
(10) |
May
(3) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2021 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2023 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2026 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Eduardo B. <e-b...@ad...> - 2005-04-26 16:52:53
|
Hi all, I am new to the java wrapper and have been reading about ways to configure it , BTW I think is great. But, I have a stubborn jar that requires parameters with spaces and inside double quotes like (from the prompt this works.): java -classpath %CPATH% com.name.class "param1=w" "param2 agr1=x" "param3 arg1=y arg2=z" So far, I have tried different ways to pass these parameters in the conf file, but I can't seam to get it working. Example 1: wrapper.app.parameter.1=com.name.class wrapper.app.parameter.2="param1=w" wrapper.app.parameter.2.stripquotes=FALSE wrapper.app.parameter.3="param2 arg1=x" wrapper.app.parameter.3.stripquotes=FALSE wrapper.app.parameter.4="param3 wrapper.app.parameter.4.stripquotes=FALSE wrapper.app.parameter.5=arg1=y wrapper.app.parameter.5.stripquotes=FALSE wrapper.app.parameter.6=arg2=z" wrapper.app.parameter.6.stripquotes=FALSE Example 2: wrapper.app.parameter.1=com.name.class wrapper.app.parameter.2="param1=w" wrapper.app.parameter.2.stripquotes=FALSE wrapper.app.parameter.3="param2 arg1=x" wrapper.app.parameter.3.stripquotes=FALSE wrapper.app.parameter.4="param3 arg1=y arg2=z" wrapper.app.parameter.4.stripquotes=FALSE Example 3: wrapper.app.parameter.1=com.name.class wrapper.app.parameter.2=param1=w wrapper.app.parameter.3="param2 wrapper.app.parameter.3.stripquotes=FALSE wrapper.app.parameter.4=arg1=x" wrapper.app.parameter.4.stripquotes=FALSE wrapper.app.parameter.5="param3 wrapper.app.parameter.5.stripquotes=FALSE wrapper.app.parameter.6=arg1=y wrapper.app.parameter.6.stripquotes=FALSE wrapper.app.parameter.7=arg2=z" wrapper.app.parameter.7.stripquotes=FALSE The double quotes seam to be required by the class, even: java -classpath %CPATH% com.name.class param1=w "param2 arg1=x" "param3 arg1=y arg2=z" will not work, because it requires the double quotes for param1! I really, really hate spaces and double quotes; but this is my nightmare right now.... Any suggestions? Thanx in advance. --Eduardo Basurto |
|
From: <nic...@uk...> - 2005-04-26 16:17:25
|
Paul, I know this isnt actually answering your question... but I will throw in my 2c anyway... :-) You really really really want to to do yourself a favour and avoid putting anything in directories with spaces in the filenames. Spaces in paths are a royal PITA.... and the source of so many hassles... (like this) -Nick Internet pa...@le...@lists.sourceforge.net - 26/04/2005 14:53 Please respond to wra...@li... Sent by: wra...@li... To: wrapper-user cc: Subject: [Wrapper-user] Configuration File - Space Character Question Hi, I've got wrapper working quite well in my testing thus far.. thanks for a nice product! When I shifted to test my application on Windows, I ran into a problem where wrapper basically blows up when a space character is in a file name/path. To be fair, I don't know that this is really wrappers fault, but I have a line like this: wrapper.java.additional.1=-Dmyapp.root=d:\Program Files\My Application\ For example, and it will simply error and not pull the whole element together. I've tried variations by putting quotes around the file path, the whole definition, and double quoting (which I understand is a windows batch file escape to get a quote) but nothing seems to work. Does anybody have a pointer on how to solve this problem? I haven't tested this on unix, but I don't normally have spaces in my directories there. thanks, paul ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority. |
|
From: Paul D. <pa...@le...> - 2005-04-26 13:58:09
|
Hi, I've got wrapper working quite well in my testing thus far.. thanks for a nice product! When I shifted to test my application on Windows, I ran into a problem where wrapper basically blows up when a space character is in a file name/path. To be fair, I don't know that this is really wrappers fault, but I have a line like this: wrapper.java.additional.1=-Dmyapp.root=d:\Program Files\My Application\ For example, and it will simply error and not pull the whole element together. I've tried variations by putting quotes around the file path, the whole definition, and double quoting (which I understand is a windows batch file escape to get a quote) but nothing seems to work. Does anybody have a pointer on how to solve this problem? I haven't tested this on unix, but I don't normally have spaces in my directories there. thanks, paul |
|
From: Max S. <MSt...@li...> - 2005-04-21 14:24:02
|
It is possible. You just have to change window's service settings for each wrapper to make them unique. Max -----Original Message----- From: Eyal Bar-Ilan [mailto:ey...@gm...] Sent: Thursday, April 21, 2005 2:12 AM To: wra...@li... Subject: [Wrapper-user] 2 instances of wrapper on the same machine (on sun a nd linux) Hi, why isn't it possible to set 2 wrappers on the same machine ? is there a workaround for it ? Thanks Eyal ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Eyal Bar-I. <ey...@gm...> - 2005-04-21 09:13:56
|
Hi, I have noticed that the wrapper uses port 32000 wouldn't it be a problem if 2 wrapper will use the same port on the same ma= chine can you configure the port Thanks Eyal On 4/21/05, Frank Fischer <fra...@di...> wrote: > Hi >=20 > You can do that without problem, you can use the same wrapper.exe and lib= s > but have to choose different conf files and service install batches. > On Windows this runs perfectly. >=20 > Cheers > Frank >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: wra...@li... > > [mailto:wra...@li...] Im Auftrag > > von Eyal Bar-Ilan > > Gesendet: Donnerstag, 21. April 2005 09:12 > > An: wra...@li... > > Betreff: [Wrapper-user] 2 instances of wrapper on the same > > machine (on sun and linux) > > > > Hi, > > > > why isn't it possible to set 2 wrappers on the same machine ? > > is there a workaround for it ? > > > > Thanks > > Eyal > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: New Crystal Reports XI. > > Version 11 adds new functionality designed to reduce time > > involved in creating, integrating, and deploying reporting > > solutions. Free runtime info, new features, or free trial, > > at: http://www.businessobjects.com/devxi/728 > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime in= fo, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Frank F. <fra...@di...> - 2005-04-21 08:18:14
|
Hi You can do that without problem, you can use the same wrapper.exe and = libs but have to choose different conf files and service install batches. On Windows this runs perfectly. Cheers Frank=20 > -----Urspr=FCngliche Nachricht----- > Von: wra...@li...=20 > [mailto:wra...@li...] Im Auftrag=20 > von Eyal Bar-Ilan > Gesendet: Donnerstag, 21. April 2005 09:12 > An: wra...@li... > Betreff: [Wrapper-user] 2 instances of wrapper on the same=20 > machine (on sun and linux) >=20 > Hi, >=20 > why isn't it possible to set 2 wrappers on the same machine ? > is there a workaround for it ? >=20 > Thanks > Eyal >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time=20 > involved in creating, integrating, and deploying reporting=20 > solutions. Free runtime info, new features, or free trial,=20 > at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user >=20 >=20 |
|
From: Eyal Bar-I. <ey...@gm...> - 2005-04-21 07:12:09
|
Hi, why isn't it possible to set 2 wrappers on the same machine ? is there a workaround for it ? Thanks Eyal |
|
From: art a <art...@ya...> - 2005-04-20 05:54:22
|
any comment on my question? Thank you. --- art a <art...@ya...> wrote: > Hello. > > I am trying to use the Wrapper to run my AdventNet > WebNMS application as service on Windows machines. I > am using integration method 2 for this. > > Starting and stopping the service from a batch file > or > from Windows Services manager works correctly but I > am > having problem stopping the service when the machine > is shutdown. > > Advennet is using > com.adventnet.nms.startnms.NmsMainBE > class to start the server and > com.adventnet.nms.util.StandAloneShutDown to stop. > > It looks like that these two classes are merely > invoking other components of the WebNMS server and > when the machine is shutdown the class > StandAloneShutDown returns immediately without > waiting > for the invoked processes to completely terminate. > > Are there any configuration properties to set to > tell > the wrapper to sleep for a few seconds while waiting > for other processes to stop to avoid windows from > rebooting right away? > > Also when starting the server, the service is > already > marked "Started" eventhough the server is not yet > ready to take client connections. Is there a way to > make wrapper wait a little longer, until the all > server components are properly initialized, before > reporting the STARTED status? > > Can this be resolved if i implement integration > method > 3 and use a classloader to manually load NmsMainBE > and > StandAloneShutDown classes? > > Below is the log data when machine is shutdown; > > =================== > DEBUG | wrapperp | 2005/04/14 18:08:38 | send a > packet PING : ping > INFO | jvm 1 | 2005/04/14 18:08:39 | Received a > packet PING : ping > INFO | jvm 1 | 2005/04/14 18:08:39 | Send a > packet PING : ok > DEBUG | wrapperp | 2005/04/14 18:08:39 | read a > packet PING : ok > DEBUG | wrapper | 2005/04/14 18:08:39 | Got ping > response from JVM > INFO | wrapper | 2005/04/14 18:08:39 | User > logged > out. Ignored. > INFO | jvm 1 | 2005/04/14 18:08:39 | Got > Control > Signal 5->202 > INFO | jvm 1 | 2005/04/14 18:08:39 | Handled > signal > INFO | jvm 1 | 2005/04/14 18:08:39 | Processing > control event(WRAPPER_CTRL_LOGOFF_EVENT) > DEBUG | wrapperp | 2005/04/14 18:08:43 | send a > packet PING : ping > INFO | jvm 1 | 2005/04/14 18:08:43 | Received a > packet PING : ping > INFO | jvm 1 | 2005/04/14 18:08:43 | Send a > packet PING : ok > DEBUG | wrapperp | 2005/04/14 18:08:43 | read a > packet PING : ok > DEBUG | wrapper | 2005/04/14 18:08:43 | Got ping > response from JVM > INFO | wrapper | 2005/04/14 18:08:44 | User > logged > out. Ignored. > INFO | jvm 1 | 2005/04/14 18:08:44 | Got > Control > Signal 5->202 > INFO | jvm 1 | 2005/04/14 18:08:44 | Handled > signal > INFO | jvm 1 | 2005/04/14 18:08:44 | Processing > control event(WRAPPER_CTRL_LOGOFF_EVENT) > STATUS | wrapper | 2005/04/14 18:08:46 | Machine is > shutting down. > DEBUG | wrapper | 2005/04/14 18:08:46 | > wrapperStopProcess(0) called. > INFO | jvm 1 | 2005/04/14 18:08:46 | Got > Control > Signal 6->203 > INFO | jvm 1 | 2005/04/14 18:08:46 | Handled > signal > INFO | jvm 1 | 2005/04/14 18:08:46 | Processing > control event(WRAPPER_CTRL_SHUTDOWN_EVENT) > INFO | jvm 1 | 2005/04/14 18:08:46 | > WrapperManager.stop(0) called by thread: > Wrapper-Control-Event-Monitor > INFO | jvm 1 | 2005/04/14 18:08:46 | Send a > packet STOP : 0 > DEBUG | wrapperp | 2005/04/14 18:08:46 | read a > packet STOP : 0 > DEBUG | wrapper | 2005/04/14 18:08:46 | JVM > requested a shutdown. (0) > DEBUG | wrapper | 2005/04/14 18:08:46 | > wrapperStopProcess(0) called. (IGNORED) > DEBUG | wrapper | 2005/04/14 18:08:46 | Sending > stop > signal to JVM > DEBUG | wrapperp | 2005/04/14 18:08:46 | send a > packet STOP : NULL > INFO | jvm 1 | 2005/04/14 18:08:47 | Received a > packet STOP : > INFO | jvm 1 | 2005/04/14 18:08:47 | Thread, > Wrapper-Control-Event-Monitor, handling the shutdown > process. > INFO | jvm 1 | 2005/04/14 18:08:47 | calling > listener.stop() > INFO | jvm 1 | 2005/04/14 18:08:48 | > INFO | jvm 1 | 2005/04/14 18:08:48 | > INFO | jvm 1 | 2005/04/14 18:08:48 | Trying to > shut down KM-NET VIEWER Web Edition Server > ================================ > > At this point other processes didn't get a chance to > stop their tasks gracefully. > > This is how a successful shutdown looks like: > > ================================ > INFO | jvm 1 | 2005/04/14 18:01:08 | Received a > packet PING : ping > INFO | jvm 1 | 2005/04/14 18:01:08 | Send a > packet PING : ok > DEBUG | wrapperp | 2005/04/14 18:01:08 | read a > packet PING : ok > DEBUG | wrapper | 2005/04/14 18:01:08 | Got ping > response from JVM > DEBUG | wrapper | 2005/04/14 18:01:09 | Working > directory set to: ../ > STATUS | wrapper | 2005/04/14 18:01:09 | Stopping > the > KM-NET VIEWER Web Edition 2 service... > DEBUG | wrapper | 2005/04/14 18:01:09 | > ServiceControlHandler(1) > DEBUG | wrapper | 2005/04/14 18:01:09 | > SERVICE_CONTROL_STOP > DEBUG | wrapper | 2005/04/14 18:01:09 | > wrapperStopProcess(0) called. > DEBUG | wrapper | 2005/04/14 18:01:09 | Sending > stop > signal to JVM > DEBUG | wrapperp | 2005/04/14 18:01:09 | send a > packet STOP : NULL > INFO | jvm 1 | 2005/04/14 18:01:09 | Received a > packet STOP : > INFO | jvm 1 | 2005/04/14 18:01:09 | Thread, > Wrapper-Connection, handling the shutdown process. > INFO | jvm 1 | 2005/04/14 18:01:09 | calling > listener.stop() > INFO | jvm 1 | 2005/04/14 18:01:09 | > INFO | jvm 1 | 2005/04/14 18:01:09 | > INFO | jvm 1 | 2005/04/14 18:01:09 | Trying to > shut down KM-NET VIEWER Web Edition Server > INFO | wrapper | 2005/04/14 18:01:14 | Waiting to > stop... > INFO | wrapper | 2005/04/14 18:01:19 | Waiting to > stop... > INFO | wrapper | 2005/04/14 18:01:24 | Waiting to > stop... > INFO | jvm 1 | 2005/04/14 18:01:24 | > INFO | jvm 1 | 2005/04/14 18:01:24 | Schedulers > Stopped successfully > INFO | jvm 1 | 2005/04/14 18:01:24 | > INFO | jvm 1 | 2005/04/14 18:01:24 | All Shut > Down Observers Notified > INFO | jvm 1 | 2005/04/14 18:01:24 | > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > NmsSAServerFE [ Stopped ] > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > ExampleFE [ Stopped ] > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > UserConfigProcessFE [ Stopped ] > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > PolicyFE [ Stopped ] > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > ConfigFE [ Stopped ] > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > TopoFE [ Stopped ] > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > PollFE [ Stopped ] > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > AlertFE > INFO | jvm 1 | 2005/04/14 18:01:24 | > > [ Stopped ] > INFO | jvm 1 | 2005/04/14 18:01:24 | Process : > === message truncated === __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs |
|
From: Bashiro <ba...@en...> - 2005-04-19 16:53:00
|
>Is there a way to get the status of a service that is > installed using the java service wrapper. ??? I don't think this is possible with a direct command . Leif just answered a similar question.I may be wrong so someone can correct me if I am wrong. The only way to find out is by testing the service; 1. writing service_name restart, or service_name start will tell you if it's installed or not. If the service is installed the wrapper will start the service without any problem If the service is not installed you will get errors. > Also is there a way to know whether particular > service(whose name is known)is installed or Not. ????? You have to enter into control panel admin tools, services then find out from there. hope this helps bashiro |
|
From: Michael 'b. S. <msc...@gi...> - 2005-04-19 14:11:34
|
Hey. puneet wrote: > Is there a way to get the status of a service that is installed using > the java service wrapper. ??? Nope, unless you try to (un-)install it at check what happens. > Also is there a way to know whether particular service(whose name is known) > is installed or Not. ????? I use the srvinfo.exe (IMHO its from some ResourceKit) and check its output. Pretty ugly but I didnt find anything else. Greetings, M. -- I am root. If you see me laughing, you better have a backup. |
|
From: Michael 'b. S. <msc...@gi...> - 2005-04-19 12:47:17
|
Good day. I wonder if anyone had the need or the wish to simply start the wrapper binary without specifying a configfile. I see that its not implemented in 3.1.2 but before hacking anything I thought asking here might help. :] Thanks, Michael -- I am root. If you see me laughing, you better have a backup. |
|
From: puneet <pun...@hu...> - 2005-04-19 09:33:13
|
Hi,
Is there a way to get the status of a service that is
installed using
the java service wrapper. ???
Also is there a way to know whether particular service(whose
name is known)
is installed or Not. ?????
|
|
From: Leif M. <le...@ta...> - 2005-04-18 21:37:47
|
Puneet,
Please post to the Wrapper-User list rather than to me directly.
Because of the way the Windows Service Manager works, it is not
currently
possible to modify the Service settings while the service is running.
If you modify
any of the wrapper.ntservice.* properties, it is necessary to uninstall
and then
reinstall that Wrapper service. If you change the service name, it is
necessary of
course to uninstall the service before making that change.
The change that you are asking about can easily be done by opening
the service
control panel and then selecting the Properties for that service. The
properties
dialog lets you modify the service startup mode even while the service
is running.
Cheers,
Leif
puneet wrote:
>
>
> HI Leif
>
>
>
> We are planning to use the java service wrapper in
> our project .It has amazing features.
>
> But I am facing one problem .The problem is how do we change the
> startup type (manual, auto start)
>
> Of a service installed through java service wrapper without stopping
> or restarting the service.
>
>
>
>
>
> I tried doing it by changing the wrapper.conf file.
>
> # Mode in which the service is installed. AUTO_START or DEMAND_START
>
> wrapper.ntservice.starttype=AUTO_START
>
>
>
>
>
> But if I do this I have to stop the service and then start it again.
>
> Can u please help me out.
>
>
>
> Waiting for your reply
>
> Puneet
>
>
>
|
|
From: art a <art...@ya...> - 2005-04-15 02:34:37
|
Hello.
I am trying to use the Wrapper to run my AdventNet
WebNMS application as service on Windows machines. I
am using integration method 2 for this.
Starting and stopping the service from a batch file or
from Windows Services manager works correctly but I am
having problem stopping the service when the machine
is shutdown.
Advennet is using com.adventnet.nms.startnms.NmsMainBE
class to start the server and
com.adventnet.nms.util.StandAloneShutDown to stop.
It looks like that these two classes are merely
invoking other components of the WebNMS server and
when the machine is shutdown the class
StandAloneShutDown returns immediately without waiting
for the invoked processes to completely terminate.
Are there any configuration properties to set to tell
the wrapper to sleep for a few seconds while waiting
for other processes to stop to avoid windows from
rebooting right away?
Also when starting the server, the service is already
marked "Started" eventhough the server is not yet
ready to take client connections. Is there a way to
make wrapper wait a little longer, until the all
server components are properly initialized, before
reporting the STARTED status?
Can this be resolved if i implement integration method
3 and use a classloader to manually load NmsMainBE and
StandAloneShutDown classes?
Below is the log data when machine is shutdown;
===================
DEBUG | wrapperp | 2005/04/14 18:08:38 | send a
packet PING : ping
INFO | jvm 1 | 2005/04/14 18:08:39 | Received a
packet PING : ping
INFO | jvm 1 | 2005/04/14 18:08:39 | Send a
packet PING : ok
DEBUG | wrapperp | 2005/04/14 18:08:39 | read a
packet PING : ok
DEBUG | wrapper | 2005/04/14 18:08:39 | Got ping
response from JVM
INFO | wrapper | 2005/04/14 18:08:39 | User logged
out. Ignored.
INFO | jvm 1 | 2005/04/14 18:08:39 | Got Control
Signal 5->202
INFO | jvm 1 | 2005/04/14 18:08:39 | Handled
signal
INFO | jvm 1 | 2005/04/14 18:08:39 | Processing
control event(WRAPPER_CTRL_LOGOFF_EVENT)
DEBUG | wrapperp | 2005/04/14 18:08:43 | send a
packet PING : ping
INFO | jvm 1 | 2005/04/14 18:08:43 | Received a
packet PING : ping
INFO | jvm 1 | 2005/04/14 18:08:43 | Send a
packet PING : ok
DEBUG | wrapperp | 2005/04/14 18:08:43 | read a
packet PING : ok
DEBUG | wrapper | 2005/04/14 18:08:43 | Got ping
response from JVM
INFO | wrapper | 2005/04/14 18:08:44 | User logged
out. Ignored.
INFO | jvm 1 | 2005/04/14 18:08:44 | Got Control
Signal 5->202
INFO | jvm 1 | 2005/04/14 18:08:44 | Handled
signal
INFO | jvm 1 | 2005/04/14 18:08:44 | Processing
control event(WRAPPER_CTRL_LOGOFF_EVENT)
STATUS | wrapper | 2005/04/14 18:08:46 | Machine is
shutting down.
DEBUG | wrapper | 2005/04/14 18:08:46 |
wrapperStopProcess(0) called.
INFO | jvm 1 | 2005/04/14 18:08:46 | Got Control
Signal 6->203
INFO | jvm 1 | 2005/04/14 18:08:46 | Handled
signal
INFO | jvm 1 | 2005/04/14 18:08:46 | Processing
control event(WRAPPER_CTRL_SHUTDOWN_EVENT)
INFO | jvm 1 | 2005/04/14 18:08:46 |
WrapperManager.stop(0) called by thread:
Wrapper-Control-Event-Monitor
INFO | jvm 1 | 2005/04/14 18:08:46 | Send a
packet STOP : 0
DEBUG | wrapperp | 2005/04/14 18:08:46 | read a
packet STOP : 0
DEBUG | wrapper | 2005/04/14 18:08:46 | JVM
requested a shutdown. (0)
DEBUG | wrapper | 2005/04/14 18:08:46 |
wrapperStopProcess(0) called. (IGNORED)
DEBUG | wrapper | 2005/04/14 18:08:46 | Sending stop
signal to JVM
DEBUG | wrapperp | 2005/04/14 18:08:46 | send a
packet STOP : NULL
INFO | jvm 1 | 2005/04/14 18:08:47 | Received a
packet STOP :
INFO | jvm 1 | 2005/04/14 18:08:47 | Thread,
Wrapper-Control-Event-Monitor, handling the shutdown
process.
INFO | jvm 1 | 2005/04/14 18:08:47 | calling
listener.stop()
INFO | jvm 1 | 2005/04/14 18:08:48 |
INFO | jvm 1 | 2005/04/14 18:08:48 |
INFO | jvm 1 | 2005/04/14 18:08:48 | Trying to
shut down KM-NET VIEWER Web Edition Server
================================
At this point other processes didn't get a chance to
stop their tasks gracefully.
This is how a successful shutdown looks like:
================================
INFO | jvm 1 | 2005/04/14 18:01:08 | Received a
packet PING : ping
INFO | jvm 1 | 2005/04/14 18:01:08 | Send a
packet PING : ok
DEBUG | wrapperp | 2005/04/14 18:01:08 | read a
packet PING : ok
DEBUG | wrapper | 2005/04/14 18:01:08 | Got ping
response from JVM
DEBUG | wrapper | 2005/04/14 18:01:09 | Working
directory set to: ../
STATUS | wrapper | 2005/04/14 18:01:09 | Stopping the
KM-NET VIEWER Web Edition 2 service...
DEBUG | wrapper | 2005/04/14 18:01:09 |
ServiceControlHandler(1)
DEBUG | wrapper | 2005/04/14 18:01:09 |
SERVICE_CONTROL_STOP
DEBUG | wrapper | 2005/04/14 18:01:09 |
wrapperStopProcess(0) called.
DEBUG | wrapper | 2005/04/14 18:01:09 | Sending stop
signal to JVM
DEBUG | wrapperp | 2005/04/14 18:01:09 | send a
packet STOP : NULL
INFO | jvm 1 | 2005/04/14 18:01:09 | Received a
packet STOP :
INFO | jvm 1 | 2005/04/14 18:01:09 | Thread,
Wrapper-Connection, handling the shutdown process.
INFO | jvm 1 | 2005/04/14 18:01:09 | calling
listener.stop()
INFO | jvm 1 | 2005/04/14 18:01:09 |
INFO | jvm 1 | 2005/04/14 18:01:09 |
INFO | jvm 1 | 2005/04/14 18:01:09 | Trying to
shut down KM-NET VIEWER Web Edition Server
INFO | wrapper | 2005/04/14 18:01:14 | Waiting to
stop...
INFO | wrapper | 2005/04/14 18:01:19 | Waiting to
stop...
INFO | wrapper | 2005/04/14 18:01:24 | Waiting to
stop...
INFO | jvm 1 | 2005/04/14 18:01:24 |
INFO | jvm 1 | 2005/04/14 18:01:24 | Schedulers
Stopped successfully
INFO | jvm 1 | 2005/04/14 18:01:24 |
INFO | jvm 1 | 2005/04/14 18:01:24 | All Shut
Down Observers Notified
INFO | jvm 1 | 2005/04/14 18:01:24 |
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
NmsSAServerFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
ExampleFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
UserConfigProcessFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
PolicyFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
ConfigFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
TopoFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
PollFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
AlertFE
INFO | jvm 1 | 2005/04/14 18:01:24 |
[ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
EventFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
MapFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
AuthorizationManagerFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
AuthenticationManagerFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
MServerFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
SAServerFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
AutoStartPolicy [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
LoadEmailSettings [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
CommunicationProcess [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
AdminModuleInit [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
NmsSUM [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
UserConfigProcess [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
DBUserStorageServer [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
NmsConfigurationServer [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
ProcessTest [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
WebNMSBackUp [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
NmsMainFE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
NmsPolicyMgr [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:24 | Process :
EventMgr
INFO | jvm 1 | 2005/04/14 18:01:25 |
[ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:25 | Process :
Collector [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:25 | Process :
MapServerBE [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:25 | Process :
NmsAuthenticationManager [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:25 | Process :
NmsAuthManager [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:25 | Process :
NMSMServer
INFO | jvm 1 | 2005/04/14 18:01:26 |
[ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:26 | Process :
NMSSAServer [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:26 | Process :
DBServer [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:26 | Process :
RunJSPModule [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:26 | Process :
RunApacheExeModule [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:26 | Process :
RunRmiRegistry [ Stopped ]
INFO | jvm 1 | 2005/04/14 18:01:26 |
INFO | jvm 1 | 2005/04/14 18:01:26 | All Database
connections disconnected
INFO | jvm 1 | 2005/04/14 18:01:26 |
INFO | jvm 1 | 2005/04/14 18:01:26 | KM-NET
VIEWER Web Edition Server Successfully Shut Down
INFO | jvm 1 | 2005/04/14 18:01:26 | Wrapper
Manager: ShutdownHook started
INFO | jvm 1 | 2005/04/14 18:01:26 |
WrapperManager.stop(0) called by thread:
Wrapper-Shutdown-Hook
INFO | jvm 1 | 2005/04/14 18:01:26 | Thread,
Wrapper-Shutdown-Hook, waiting for the JVM to exit.
INFO | wrapper | 2005/04/14 18:01:29 | Waiting to
stop...
INFO | jvm 1 | 2005/04/14 18:01:31 | Thread,
Wrapper-Shutdown-Hook, continuing after 5 seconds.
INFO | jvm 1 | 2005/04/14 18:01:31 | Wrapper
Manager: ShutdownHook complete
DEBUG | wrapper | 2005/04/14 18:01:31 | JVM process
exited with a code of 0, leaving the wrapper exit code
set to 0.
ERROR | wrapper | 2005/04/14 18:01:31 | JVM exited
unexpectedly while stopping the application.
STATUS | wrapper | 2005/04/14 18:01:32 | <-- Wrapper
Stopped
STATUS | wrapper | 2005/04/14 18:01:33 | KM-NET
VIEWER Web Edition 2 stopped.
================================
Thank you.
Art
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
|
|
From: Lev, E. <EL...@ng...> - 2005-04-15 01:14:49
|
Leif, Thank you for explaining this. Eli >-----Original Message----- >From: wra...@li... >[mailto:wra...@li...]On Behalf Of Leif >Mortenson >Sent: Monday, April 11, 2005 5:56 PM >To: wra...@li... >Subject: Re: [Wrapper-user] Is there a way to user windows system >variables in wrapper.conf file? > > >Eli, > The Wrapper's configuration file is able to expand system=20 >environment variables >referenced in the configuration file. You can do so just as=20 >you mentioned: > >wrapper.java.additional.1=3D-Djava.rmi.server.hostname=3D%COMPUTERNAME% > > If the COMPUTERNAME environment variable is not defined=20 >then the string >will not be replaced. > > The replacement syntax is the same of all platforms to make it=20 >possible to reuse >the same configuration file across all platforms. > >wrapper.java.command=3D%JAVA_HOME%\bin\java > > Note that it is not possible to read environment variables from=20 >within a JVM. >To make an environment variable visible to the JVM you must=20 >pass it in as a >system property: >wrapper.java.additional.2=3D-Denv.MYENV=3D%MYENV% > > You then access it by calling System.getProperty( "env.MYENV" ); > >This is all described in the docs here: >http://wrapper.tanukisoftware.org/doc/english/props-envvars.html > >Cheers, >Leif > >Lev, Eli wrote: > >>Hi, >> >>I'm using the simple wrapper way of doing things. One issue=20 >that I'm hitting is that one of the parameters that I need to=20 >feed the java app is the hostname of the machine where the app=20 >is running. So in the original dos bat that would launche tha=20 >app it's: >> >>start java -Djava.rmi.server.hostname%COMPUTERNAME%... >> >>So %COMPUTERNAME% is a system wide environment variable for=20 >windows that tells you the host that you're on (similar to=20 >unix's hostname command). >> >>In the wrapper.conf, I have the following: >> >>wrapper.java.additional.1=3D-Djava.rmi.server.hostname=3D??? >> >>For the ??? - I place the hostname of the machine that I'm on=20 >and the service works fine. Can I put %COMPUTERNAME% for the=20 >wrapper.conf? In other words: >>wrapper.java.additional.1=3D-Djava.rmi.server.hostname=3D%COMPUTERNAME%= =20 >> >>Localhost is not an option in this case, and the problem is=20 >that this program will be installed on many different=20 >machines, so I'm trying to find a way of avoiding a dynamic=20 >creation of wrapper.conf during install. >> >>I'd appreciate any advice/feedback. >> >>Eli >> =20 >> > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from=20 >real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Lev, E. <EL...@ng...> - 2005-04-15 01:13:05
|
Leif, Thanks for your response. So far - I've come across srvany.exe that is = supposed to allow for creation of services out of .exe. One issue with = it is that it requires manual registry changes which may be an issue as = part of a packaged install. Another alternative is a commercial product = called firedaemon. It seems to work really well for this issue but it = costs $. If I come across anything else I will let you know via the list. Once again - thanks for your response. Eli >-----Original Message----- >From: wra...@li... >[mailto:wra...@li...]On Behalf Of Leif >Mortenson >Sent: Tuesday, April 12, 2005 12:38 AM >To: wra...@li... >Subject: Re: [Wrapper-user] Is there any way to wrap Java's >tnameserv.exe? > > >Lev, > Users running the rmiregistry.exe have the same problem. But in=20 >that case it is possible >to manually call the appropriate main method. See the following forum=20 >message for an >example: >http://sourceforge.net/forum/message.php?msg_id=3D1616384 > > Not sure how to find out what needs to be run to get the=20 >tnameserv.exe functionality >however. You may be able to track it down with Google or=20 >maybe look at=20 >the source >of some Open source Java implementations. > > If you figure it out, please post back with a solution for others. > >Cheers, >Leif > >Lev, Eli wrote: > >>Hi, >> >>I'm trying to convert a bunch of java programs to windows=20 >services. However, some of these program's need Java's=20 >tnameserv to be running (Java's IDL name server). =20 >Consequently, I also need to make tnamseserv a windows=20 >service. However, tnamserv is an actual executable=20 >(tnamseserv.exe found under jkd_whatever_version\bin). Is=20 >there a way to wrap this using the wrapper application? >> >>Eli >> =20 >> > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from=20 >real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Stacey A. <Sta...@in...> - 2005-04-14 15:36:22
|
Thanks Leif. And I will post to the user list from now on. ;) I got my
account yesterday evening.
That was my guess from what I had seen. I was looking at this to replace
some vb code I have. It uses an xml file to start our servers and
automatically starts an rmi for each. The benefit is that that the user can
start up N number of servers with one service...our clients had a need for
at least three servers. Plus they can "mix and match". In other words they
could start three xyz servers and two abc servers by adding a line in the
xml file for each server they want.
I can see the downfall of having all the servers tied to one service, but
our client has uhmmm ... Difficulties dealing with their three servers let
alone three services.
I agree that starting the rmi programtically would be a great alternative
and then I could work w/ the JSW.
Once again, thanks for your input!
:)
sra
-----Original Message-----
From: Leif Mortenson [mailto:le...@ta...]
Sent: Thursday, April 14, 2005 12:23 AM
To: Stacey Acosta; Wrapper User List
Subject: [Wrapper-user] Re: RMI
Stacey,
The Wrapper user list is a better place for these questions. :-)
The Wrapper only supports the execution of a single JVM per Wrapper
instance. If you want to have both an app and an rmiregistry then you would
need to either use two JVM/Wrappers or create the rmiregistry instance from
within your application.
The second is not as hard as it sounds. This is from an application that I
have which does the same. First you need to set a security manager:
if ( System.getSecurityManager() == null ) { System.setSecurityManager( new
RMISecurityManager() ); }
There is a lot of unrelated code in my program that you probably don't need,
but I think the guts of what you want are the following:
m_registry = LocateRegistry.createRegistry( m_port, m_rmiSocketFactory,
m_rmiSocketFactory ); getLogger().debug( " RMI registry created." );
// Now that we have a registry, bind the RemoteBackboneServer instance.
getLogger().debug( "Binding master server instance..." ); m_registry.rebind(
MASTER_NAME, m_remoteServer );
Variable description. m_port is the RMI port to use. m_rmiSocketFactory is a
custom RMISocketFactory implementation that lets me handle socket timeouts.
m_remoteServer is a UnicastRemoteObject subclass instance that represents
the application to the RMI world.
Cheers,
Leif
Stacey Acosta wrote:
> Hello Leif,
> Short of creating two services (one for the app and one for
> rmiregistry), does JSW support rmi? I haven't found any documentation
> on the site nor have I seen any information about it in either the
> user or support mailing lists.
> If it does and there is some documentation, could you point me to it?
> Thanks,
> sra
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews
on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Leif M. <le...@ta...> - 2005-04-14 07:57:21
|
Matt, This is almost certainly a classpath problem. Make sure that you have the wrapper.jar file included in your classpath and that the integer numbers in each classpath property do not overwrite a previous property: wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=../lib/appjar1.jar wrapper.java.classpath.3=../lib/appjar2.jar I usually just do this as it makes things simple when jars change: wrapper.java.classpath.1=../lib/*.jar You can verify your classpath by setting the wrapper.java.command.loglevel=INFO property in Wrapper 3.1.2 or wrapper.debug=true for previous versions. Cheers, Leif Pattinson, Matthew wrote: > Hi, > > I am trying to use the wrapper to run LGOL-NET as an NT service but am > running into a problem. I am following the instructions given in the > Method 1 integration but when I try running the bet file I get the > following error: > > STATUS | wrapper | 2005/04/13 15:49:32 | --> Wrapper Started as Console > STATUS | wrapper | 2005/04/13 15:49:33 | Launching a JVM... > INFO | jvm 1 | 2005/04/13 15:49:35 | > java.lang.NoClassDefFoundError: tanukisoftware/wrapper/WrapperSimpleApp > INFO | jvm 1 | 2005/04/13 15:49:35 | Exception in thread "main" > ERROR | wrapper | 2005/04/13 15:49:35 | JVM exited while loading the > application. > > Is anyone able to shed any light on this for me? > > Many thanks, > > Matt > |
|
From: Pattinson, M. <Mat...@IO...> - 2005-04-14 07:31:35
|
Hi, I am trying to use the wrapper to run LGOL-NET as an NT service but am = running into a problem. I am following the instructions given in the Metho= d= 1 integration but when I try running the bet file I get the following = error: STATUS | wrapper | 2005/04/13 15:49:32 | --> Wrapper Started as Console STATUS | wrapper | 2005/04/13 15:49:33 | Launching a JVM... INFO | jvm 1 | 2005/04/13 15:49:35 | java.lang.NoClassDefFoundError: = tanukisoftware/wrapper/WrapperSimpleApp INFO | jvm 1 | 2005/04/13 15:49:35 | Exception in thread "main"=20 ERROR | wrapper | 2005/04/13 15:49:35 | JVM exited while loading the = application. Is anyone able to shed any light on this for me=3F Many thanks, Matt Matthew Pattinson Analyst / Developer Software Development Isle of Wight Council http://www.iwight.com "Isle of Wight Councils Mail System" made the following annotations. ---------------------------------------------------------------------------= --- Important Information - Disclosure, Confidentiality and Monitoring of this = email This email communication may be monitored by the Isle of Wight Council for = regulatory, quality control, or crime detection purposes.=20 If you are not the Intended Recipient please contact the sender as soon as = possible. It is intended only for the personal attention of the named = person, firm or company to whom it is addressed. It may contain informatio= n= that is privileged and confidential in law. Accordingly any unauthorised = dissemination, distribution, copying or other use of this message or any of= = its content by any other person may constitute a breach of civil or crimina= l= law and is strictly prohibited. No mistake in transmission is intended to = waive or compromise any such privilege. Any views expressed in this messag= e= are those of the individual sender and may not necessarily reflect the = views of the Isle of Wight Council. The information contained in this e-mail may be subject to disclosure to = third parties under either the Data Protection Act 1998 or the Freedom of = Information Act 2000 to the extent the law allows and in accordance with th= e= Isle of Wight Council's policies on information management. (If you wish = the disclosure of the information in any reply to be restricted please make= = this clear in your response).=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D |
|
From: Leif M. <le...@ta...> - 2005-04-14 05:22:50
|
Stacey,
The Wrapper user list is a better place for these questions. :-)
The Wrapper only supports the execution of a single JVM per
Wrapper instance. If you want to have both an app and an rmiregistry
then you would need to either use two JVM/Wrappers or create the
rmiregistry instance from within your application.
The second is not as hard as it sounds. This is from an application
that I have which does the same. First you need to set a
security manager:
if ( System.getSecurityManager() == null )
{
System.setSecurityManager( new RMISecurityManager() );
}
There is a lot of unrelated code in my program that you probably
don't need, but I think the guts of what you want are the following:
m_registry = LocateRegistry.createRegistry( m_port,
m_rmiSocketFactory, m_rmiSocketFactory );
getLogger().debug( " RMI registry created." );
// Now that we have a registry, bind the RemoteBackboneServer instance.
getLogger().debug( "Binding master server instance..." );
m_registry.rebind( MASTER_NAME, m_remoteServer );
Variable description. m_port is the RMI port to use. m_rmiSocketFactory is
a custom RMISocketFactory implementation that lets me handle socket
timeouts.
m_remoteServer is a UnicastRemoteObject subclass instance that represents
the application to the RMI world.
Cheers,
Leif
Stacey Acosta wrote:
> Hello Leif,
> Short of creating two services (one for the app and one for
> rmiregistry), does JSW support rmi? I haven't found any documentation
> on the site nor have I seen any information about it in either the
> user or support mailing lists.
> If it does and there is some documentation, could you point me to it?
> Thanks,
> sra
|
|
From: Andrew <li...@se...> - 2005-04-13 23:24:10
|
I never saw a response to mine either that is related: Subject: Running Process as another user (RUN_AS_USER) I'm having real problems trying to get my processes to run as another user other than root. I'm running Solaris 8 and roots shell is sh. My user i'm trying to run as has a shell of csh. I have even taken out everything out of its environment to rule that out of the problem. My scripts work just fine when I run them from the command line. I have it set up like so: /etc/init.d/myapp -> linked to /home/myuser/myapp /etc/rc3.d/S99myapp -> linked to ../init.d/myapp I can either just fine from the command line: # su - root # /etc/init.d/myapp start # /etc/rc3.d/S99myapp start However, when I reboot the machine, I see the message "Starting Application Name..." message from the wrapper, but when I get to the command prompt and run: #/etc/init.d/myapp status It isn't running. There is nothing written to my logs (both the wrapper.log or /var/adm/messages). If I set RUN_AS_USER to root (or comment it out), it works fine. I have tried this on 2 different machines, with different users, with NIS users and local users, etc. I have put a redirect to a file after the su command. All i see in there is the rest of the output from the boot process for some reason. I see "Starting OpenWindows in 5 seconds, control C to stop." I have tried running just the complete su command and that works fine as well. I have also changed all my paths in all my config files to be absolute. I'm at a loss...any help in what I can try to debug it would be great. Andrew nic...@uk... wrote: >Hi Leif, > >Since you are in a mail-reading frenzy, > >Did this earlier one of mine fall through the cracks? I never saw a >response.... > >------------- >Hi, > >With respect to the RUN_AS_USER variable in the scripts; > >1) Would it make sense for this to be obeyed when running with "console" >(so you can test, running with the correct privs) > >2) Would it make sense to also use this when stopping the wrapper? (you >cant kill a process you dont own...) > >-Nick >------------------------- > > > > > > >---------------------- Forwarded by Nick MINUTELLO/UK/EUROPE/GROUP on >14/04/2005 00:14 --------------------------- > > 01/02/2005 19:33 Nick MINUTELLO > > Technical Architect > Technical Architecture Group > Capital Markets IT - BFI > 10 Harewood Avenue, London > > tel : +44 (0) 20 7595 6355 > ------------------------------------------------------------ > > > > > >To: wrapper-user > >cc: > >Subject: Re: [Wrapper-user] RUN_AS_USER (Document link: Nick MINUTELLO) > > > >I didnt see a reply for this question - maybe I missed it? > >Cheers, >Nick > > > > >Internet >Nick MINUTELLO/UK/EUROPE/GROUP@BNP...@li... - >13/01/2005 23:54 > > >Please respond to wra...@li... > >Sent by: wra...@li... > > > >To: wrapper-user > >cc: > > >Subject: [Wrapper-user] RUN_AS_USER > > > > >Hi, > >With respect to the RUN_AS_USER variable in the scripts; > >1) Would it make sense for this to be obeyed when running with "console" >(so you can test, running with the correct privs) >2) Would it make sense to also use this when stopping the wrapper? (you >cant kill a process you dont own...) > >-Nick > > > > >This message and any attachments (the "message") is >intended solely for the addressees and is confidential. >If you receive this message in error, please delete it and >immediately notify the sender. Any use not in accord with >its purpose, any dissemination or disclosure, either whole >or partial, is prohibited except formal approval. The internet >can not guarantee the integrity of this message. >BNP PARIBAS (and its subsidiaries) shall (will) not >therefore be liable for the message if modified. > >********************************************************************************************** > > >BNP Paribas Private Bank London Branch is authorised >by CECEI & AMF and is regulated by the Financial Services >Authority for the conduct of its investment business in the >United Kingdom. > >BNP Paribas Securities Services London Branch is authorised >by CECEI & AMF and is regulated by the Financial Services >Authority for the conduct of its investment business in the >United Kingdom. > >BNP Paribas Fund Services UK Limited is authorised and >regulated by the Financial Services Authority. > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Wrapper-user mailing list >Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: <nic...@uk...> - 2005-04-13 23:16:55
|
Hi Leif,
Since you are in a mail-reading frenzy,
Did this earlier one of mine fall through the cracks? I never saw a
response....
-------------
Hi,
With respect to the RUN_AS_USER variable in the scripts;
1) Would it make sense for this to be obeyed when running with "console"
(so you can test, running with the correct privs)
2) Would it make sense to also use this when stopping the wrapper? (you
cant kill a process you dont own...)
-Nick
-------------------------
---------------------- Forwarded by Nick MINUTELLO/UK/EUROPE/GROUP on
14/04/2005 00:14 ---------------------------
01/02/2005 19:33 Nick MINUTELLO
Technical Architect
Technical Architecture Group
Capital Markets IT - BFI
10 Harewood Avenue, London
tel : +44 (0) 20 7595 6355
------------------------------------------------------------
To: wrapper-user
cc:
Subject: Re: [Wrapper-user] RUN_AS_USER (Document link: Nick MINUTELLO)
I didnt see a reply for this question - maybe I missed it?
Cheers,
Nick
Internet
Nick MINUTELLO/UK/EUROPE/GROUP@BNP...@li... -
13/01/2005 23:54
Please respond to wra...@li...
Sent by: wra...@li...
To: wrapper-user
cc:
Subject: [Wrapper-user] RUN_AS_USER
Hi,
With respect to the RUN_AS_USER variable in the scripts;
1) Would it make sense for this to be obeyed when running with "console"
(so you can test, running with the correct privs)
2) Would it make sense to also use this when stopping the wrapper? (you
cant kill a process you dont own...)
-Nick
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
**********************************************************************************************
BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.
BNP Paribas Securities Services London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.
BNP Paribas Fund Services UK Limited is authorised and
regulated by the Financial Services Authority.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: <nic...@uk...> - 2005-04-13 23:07:27
|
Hi Leif,
Thanks for the answer.
(I am continually pleasantly surprised/impressed on the implementation
quality/completeness of Java Service Wrapper.... :-)
-Nick
Internet
le...@ta...@lists.sourceforge.net - 13/04/2005 13:23
Please respond to wra...@li...
Sent by: wra...@li...
To: wrapper-user
cc:
Subject: Re: [Wrapper-user] Shutdown hook not triggered when jvm is
unexpectedly killed
Nick,
Calling System.exit() is considered as a normal shutdown request by
the Wrapper.
It will cause the Wrapper to shutdown normally. If on the other hand,
you call
Runtime.getRuntime().halt() the Wrapper will interpret is as the JVM
crashing and it
will be restarted. This is because the exit() causes shutdown hooks to
run whereas
halt() does not.
You can add some control over what happens when the JVM exits by
setting up
Event handlers based on the JVM exit code. See the following for details:
http://wrapper.tanukisoftware.org/doc/english/prop-on-exit-n.html
Cheers,
Leif
nic...@uk... wrote:
>Leif,
>
>If someone puts an inadvertant System.exit() in the code, will the wrapper
>restart it?
>
>-Nick
>
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
**********************************************************************************************
BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.
BNP Paribas Securities Services London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.
BNP Paribas Fund Services UK Limited is authorised and
regulated by the Financial Services Authority.
|
|
From: Leif M. <le...@ta...> - 2005-04-13 12:24:22
|
Nick,
Calling System.exit() is considered as a normal shutdown request by
the Wrapper.
It will cause the Wrapper to shutdown normally. If on the other hand,
you call
Runtime.getRuntime().halt() the Wrapper will interpret is as the JVM
crashing and it
will be restarted. This is because the exit() causes shutdown hooks to
run whereas
halt() does not.
You can add some control over what happens when the JVM exits by
setting up
Event handlers based on the JVM exit code. See the following for details:
http://wrapper.tanukisoftware.org/doc/english/prop-on-exit-n.html
Cheers,
Leif
nic...@uk... wrote:
>Leif,
>
>If someone puts an inadvertant System.exit() in the code, will the wrapper
>restart it?
>
>-Nick
>
>
|
|
From: Marsh, R. <ral...@th...> - 2005-04-12 15:07:42
|
Thank you Leif. I'll play with the delay setting. While I try to figure =
out why the JVM keeps dying.
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...]On Behalf Of Leif
Mortenson
Sent: Tuesday, April 12, 2005 12:25 AM
To: wra...@li...
Subject: Re: [Wrapper-user] Leif, please read: Tomcat NT JVM hung debug
details
Ralph,
Big apologies for the lack of a reply. It was unfortunately not=20
just to your questions.
There have been a lot of unanswered questions over the last couple=20
months. It is not
from a lack of interest but simply a complete and total lack of any free =
time as of late.
The Wrapper User mailing list has always consumes up to a couple hours a =
day of my
time. In general I enjoy answering the questions and making the related =
changes to
the Wrapper. But as of late even that time has not been there.
I have been trying to check the list when I have a few minutes and=20
then answer as
many questions, from newest going back, as I have time for. Most likely =
you just never
fell into one of those sessions and got passed over. Sorry about that. =
I understand that
it was probably frustrating. :-/ The goal is to get caught up and once =
again provide
a high level of support, hopefully soon. I know it has also been way=20
too long since
the last release. :-/
Anyway, on to your question.
On some platforms (Solaris) A port will remain bound for around 2=20
minutes after
the application that bound the port shuts down. From my past research=20
this is to
handle any stray packets that may keep coming in from clients.
As Joseph pointed out, this is not something that the Wrapper has=20
any direct
control over. Ideally you would rebind the port rather than doing a=20
simple bind
when the application restarts. This would require you to make some=20
changes to
Tomcat however and is not ideal.
A good workaround is for you to simply prevent the Wrapper from=20
restarting
the JVM so quickly by adding a 2 minute delay between the first JVM =
shutting
down and the new JVM being launched. You can do this with the following
property:
wrapper.restart.delay=3D130
http://wrapper.tanukisoftware.org/doc/english/prop-restart-delay.html
I would suggest waiting slightly longer than the 2 minute bind=20
timeout to make
sure that you don't have any sporadic errors, thus the 130 seconds. =20
You should
play around with the timeout as you may be able to get things working =
with a
shorter delay.
Thanks for the quality of your original question. My bad for not=20
getting around to it.
Cheers,
Leif
Marsh, Ralph wrote:
>Is this a difficult, stupid or uninteresting question I'm asking? I'm =
not accustomed to posting detailed descriptions of problems to lists =
multiple times (this is my 4th posting on this issue) and getting =
absolutely no response.
>
>If there is more detail required please let me know and I'll attempt to =
gather it.=20
>
>I simply need a high level analysis of this situation to determine what =
if any contribution the wrapper has in this situation, either to help or =
to cause it. If it has no potential to cause the problem, I will move =
on. If it can be configured to help the problem please indicate how. =
Thank you.
>
>Ralph
>
>-----Original Message-----
>From: wra...@li...
>[mailto:wra...@li...]On Behalf Of Marsh,
>Ralph
>Sent: Friday, April 01, 2005 3:17 PM
>To: wra...@li...
>Subject: [Wrapper-user] Tomcat NT JVM hung debug details
>
>
>I ran the wrapper with log output set to DEBUG. The logs indicate that =
the wrapper detected what it thought was a hung JVM, attempted to launch =
a new JVM, had a problem binding to port 8081, then shutdown everything. =
This is my recurring problem. I'm including the debug output below. =
Questions:
>
>1) Is it possible the wrapper incorrectly identifies the JVM as hung?
>2) If so, how/why? Is there a timeout setting that can be increased to =
force the wrapper to attempt communication with the JVM longer before =
giving up?
>3) In the log "ERROR | wrapper | 2005/04/01 14:30:08 | Java Virtual =
Machine did not exit on request, terminated" appears. It seems the =
wrapper is attempting to stop that hung JVM before launching a new one. =
Does "terminated" mean the JVM or the wrapper action was terminated? If =
it's the JVM, why is port 8081 not released? If it's the wrapper, why =
can't the JVM be killed?
>4) in general, if the JVM is really hung, what can create this state?
>
>Bottom line: it appears the wrapper is trying to recover a JVM in a bad =
state but it is failing. Are there any configuration settings I can =
modify to help the wrapper successfully recover or initialize a JVM? =
Thanks.
>
>Ralph
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>DEBUG | wrapperp | 2005/04/01 14:29:26 | send a packet PING : ping
>INFO | jvm 1 | 2005/04/01 14:29:26 | Received a packet PING : ping
>INFO | jvm 1 | 2005/04/01 14:29:26 | Send a packet PING : ok
>DEBUG | wrapperp | 2005/04/01 14:29:26 | read a packet PING : ok
>DEBUG | wrapper | 2005/04/01 14:29:26 | Got ping response from JVM
>DEBUG | wrapperp | 2005/04/01 14:29:32 | send a packet PING : ping
>INFO | jvm 1 | 2005/04/01 14:29:32 | Received a packet PING : ping
>INFO | jvm 1 | 2005/04/01 14:29:32 | Send a packet PING : ok
>DEBUG | wrapperp | 2005/04/01 14:29:32 | read a packet PING : ok
>DEBUG | wrapper | 2005/04/01 14:29:32 | Got ping response from JVM
>DEBUG | wrapperp | 2005/04/01 14:29:38 | send a packet PING : ping
>DEBUG | wrapperp | 2005/04/01 14:29:44 | send a packet PING : ping
>DEBUG | wrapperp | 2005/04/01 14:29:50 | send a packet PING : ping
>DEBUG | wrapperp | 2005/04/01 14:29:56 | send a packet PING : ping
>DEBUG | wrapperp | 2005/04/01 14:30:02 | send a packet PING : ping
>ERROR | wrapper | 2005/04/01 14:30:08 | JVM appears hung: Timed out =
waiting for signal from JVM.
>ERROR | wrapper | 2005/04/01 14:30:08 | Java Virtual Machine did not =
exit on request, terminated
>STATUS | wrapper | 2005/04/01 14:30:14 | Launching a JVM...
>DEBUG | wrapper | 2005/04/01 14:30:14 | command: =
"C:\tools\j2sdk1.4.2\bin\java" -server -XX:+UseParNewGC =
-XX:MaxNewSize=3D24m -XX:NewSize=3D24m -XX:SurvivorRatio=3D128 =
-XX:+UseConcMarkSweepGC -XX:MaxTenuringThreshold=3D0 =
-XX:CMSInitiatingOccupancyFraction=3D60 =
-Djava.endorsed.dirs=3D../bin;../common/endorsed -Dcatalina.base=3D.. =
-Dcatalina.home=3D.. -Djava.io.tmpdir=3D../temp -Xms1200m -Xmx1200m =
-Djava.library.path=3D"../common/lib" -classpath =
"../common/lib/wrapper.jar;C:\tools\j2sdk1.4.2/lib/tools.jar;../bin/boots=
trap.jar" -Dwrapper.key=3D"NhcjD9wi11JZ8IY8" -Dwrapper.port=3D32000 =
-Dwrapper.debug=3D"TRUE" -Dwrapper.service=3D"TRUE" =
-Dwrapper.cpu.timeout=3D"10" -Dwrapper.jvmid=3D2 =
org.tanukisoftware.wrapper.WrapperStartStopApp =
org.apache.catalina.startup.Bootstrap 1 start =
org.apache.catalina.startup.Bootstrap true 1 stop
>DEBUG | wrapper | 2005/04/01 14:30:14 | Java Virtual Machine started =
(PID=3D6800)
>INFO | jvm 2 | 2005/04/01 14:30:14 | Wrapper Manager: JVM #2
>INFO | jvm 2 | 2005/04/01 14:30:14 | Wrapper Manager: Registering =
shutdown hook
>INFO | jvm 2 | 2005/04/01 14:30:14 | Wrapper Manager: Using =
wrapper
>INFO | jvm 2 | 2005/04/01 14:30:15 | Calling native initialization =
method.
>DEBUG | wrapper | 2005/04/01 14:30:15 | Pause reading child output to =
share cycles.
>DEBUG | wrapperp | 2005/04/01 14:30:15 | accepted a socket from =
127.0.0.1 on port 2035
>DEBUG | wrapperp | 2005/04/01 14:30:15 | read a packet KEY : =
NhcjD9wi11JZ8IY8
>DEBUG | wrapper | 2005/04/01 14:30:15 | Got key from JVM: =
NhcjD9wi11JZ8IY8
>DEBUG | wrapperp | 2005/04/01 14:30:15 | send a packet LOW_LOG_LEVEL : =
1
>DEBUG | wrapperp | 2005/04/01 14:30:15 | send a packet PING_TIMEOUT : =
30
>DEBUG | wrapper | 2005/04/01 14:30:15 | Pause reading socket data to =
share cycles.
>DEBUG | wrapper | 2005/04/01 14:30:15 | Start Application.
>DEBUG | wrapperp | 2005/04/01 14:30:15 | send a packet START : start
>INFO | jvm 2 | 2005/04/01 14:30:16 | Initializing WrapperManager =
native library.
>INFO | jvm 2 | 2005/04/01 14:30:16 | Java Executable: =
C:\tools\j2sdk1.4.2\bin\java.exe
>INFO | jvm 2 | 2005/04/01 14:30:16 | Java Version : 1.4.2-b28 =
Java HotSpot(TM) Server VM
>DEBUG | wrapper | 2005/04/01 14:30:16 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:16 | Java VM Vendor : Sun =
Microsystems Inc.
>INFO | jvm 2 | 2005/04/01 14:30:16 |=20
>INFO | jvm 2 | 2005/04/01 14:30:16 | Wrapper (Version 3.0.5)
>DEBUG | wrapper | 2005/04/01 14:30:16 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:16 |=20
>INFO | jvm 2 | 2005/04/01 14:30:16 | Open socket to wrapper...
>INFO | jvm 2 | 2005/04/01 14:30:16 | Opened Socket
>DEBUG | wrapper | 2005/04/01 14:30:17 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:17 | Send a packet KEY : =
NhcjD9wi11JZ8IY8
>INFO | jvm 2 | 2005/04/01 14:30:17 | =
handleSocket(Socket[addr=3D/127.0.0.1,port=3D32000,localport=3D2035])
>INFO | jvm 2 | 2005/04/01 14:30:17 | Received a packet =
LOW_LOG_LEVEL : 1
>DEBUG | wrapper | 2005/04/01 14:30:17 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:17 | Wrapper Manager: LowLogLevel =
from Wrapper is 1
>INFO | jvm 2 | 2005/04/01 14:30:17 | Received a packet =
PING_TIMEOUT : 30
>INFO | jvm 2 | 2005/04/01 14:30:17 | Wrapper Manager: PingTimeout =
from Wrapper is 30000
>INFO | jvm 2 | 2005/04/01 14:30:17 | Received a packet START : =
start
>INFO | jvm 2 | 2005/04/01 14:30:17 | calling listener.start()
>INFO | jvm 2 | 2005/04/01 14:30:17 | WrapperStartStopApp: =
start(args)
>INFO | jvm 2 | 2005/04/01 14:30:17 | WrapperStartStopApp: invoking =
start main method
>DEBUG | wrapper | 2005/04/01 14:30:17 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:18 | WrapperStartStopApp: =
start(args) end. Main Completed=3Dfalse, exitCode=3Dnull
>INFO | jvm 2 | 2005/04/01 14:30:18 | returned from =
listener.start()
>INFO | jvm 2 | 2005/04/01 14:30:18 | Send a packet STARTED :=20
>DEBUG | wrapperp | 2005/04/01 14:30:18 | read a packet STARTED :=20
>DEBUG | wrapper | 2005/04/01 14:30:18 | JVM signalled that it was =
started.
>DEBUG | wrapperp | 2005/04/01 14:30:18 | send a packet PING : ping
>INFO | jvm 2 | 2005/04/01 14:30:18 | Received a packet PING : ping
>INFO | jvm 2 | 2005/04/01 14:30:18 | Send a packet PING : ok
>DEBUG | wrapperp | 2005/04/01 14:30:18 | read a packet PING : ok
>DEBUG | wrapper | 2005/04/01 14:30:18 | Got ping response from JVM
>INFO | jvm 2 | 2005/04/01 14:30:20 | StandardEngine[null]: =
setJvmRoute=3Dtr2a
>INFO | jvm 2 | 2005/04/01 14:30:20 | 2005-04-01 14:30:20,671 ERROR =
[] org.apache.coyote.http11.Http11Protocol.init:152 - Error initializing =
endpoint
>INFO | jvm 2 | 2005/04/01 14:30:20 | java.net.BindException: =
Address already in use: JVM_Bind:8081
>INFO | jvm 2 | 2005/04/01 14:30:20 | at =
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.j=
ava:280)
>INFO | jvm 2 | 2005/04/01 14:30:21 | at =
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
>DEBUG | wrapper | 2005/04/01 14:30:21 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:21 | at =
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java=
:1117)
>INFO | jvm 2 | 2005/04/01 14:30:21 | at =
org.apache.catalina.core.StandardService.initialize(StandardService.java:=
579)
>INFO | jvm 2 | 2005/04/01 14:30:21 | at =
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:22=
46)
>DEBUG | wrapper | 2005/04/01 14:30:21 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:21 | at =
org.apache.catalina.startup.Catalina.start(Catalina.java:511)
>INFO | jvm 2 | 2005/04/01 14:30:21 | at =
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>INFO | jvm 2 | 2005/04/01 14:30:21 | at =
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>DEBUG | wrapper | 2005/04/01 14:30:21 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
>DEBUG | wrapper | 2005/04/01 14:30:22 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
java.lang.reflect.Method.invoke(Method.java:324)
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>DEBUG | wrapper | 2005/04/01 14:30:22 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
java.lang.reflect.Method.invoke(Method.java:324)
>DEBUG | wrapper | 2005/04/01 14:30:22 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:22 | at =
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.ja=
va:126)
>INFO | jvm 2 | 2005/04/01 14:30:23 | at =
java.lang.Thread.run(Thread.java:534)
>INFO | jvm 2 | 2005/04/01 14:30:23 | Catalina.start: =
LifecycleException: Protocol handler initialization failed: =
java.net.BindException: Address already in use: JVM_Bind:8081
>INFO | jvm 2 | 2005/04/01 14:30:23 | LifecycleException: Protocol =
handler initialization failed: java.net.BindException: Address already =
in use: JVM_Bind:8081
>DEBUG | wrapper | 2005/04/01 14:30:23 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:23 | at =
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java=
:1119)
>INFO | jvm 2 | 2005/04/01 14:30:23 | at =
org.apache.catalina.core.StandardService.initialize(StandardService.java:=
579)
>INFO | jvm 2 | 2005/04/01 14:30:23 | at =
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:22=
46)
>DEBUG | wrapper | 2005/04/01 14:30:23 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:23 | at =
org.apache.catalina.startup.Catalina.start(Catalina.java:511)
>INFO | jvm 2 | 2005/04/01 14:30:23 | at =
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>INFO | jvm 2 | 2005/04/01 14:30:23 | at =
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>DEBUG | wrapper | 2005/04/01 14:30:23 | Pause reading child output to =
share cycles.
>DEBUG | wrapperp | 2005/04/01 14:30:24 | send a packet PING : ping
>INFO | jvm 2 | 2005/04/01 14:30:24 | at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>INFO | jvm 2 | 2005/04/01 14:30:24 | at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
>INFO | jvm 2 | 2005/04/01 14:30:24 | at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
>INFO | jvm 2 | 2005/04/01 14:30:24 | at =
java.lang.reflect.Method.invoke(Method.java:324)
>DEBUG | wrapper | 2005/04/01 14:30:24 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:24 | at =
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>INFO | jvm 2 | 2005/04/01 14:30:24 | at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>DEBUG | wrapper | 2005/04/01 14:30:24 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:24 | at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
>INFO | jvm 2 | 2005/04/01 14:30:25 | at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
>DEBUG | wrapper | 2005/04/01 14:30:25 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:25 | at =
java.lang.reflect.Method.invoke(Method.java:324)
>INFO | jvm 2 | 2005/04/01 14:30:25 | at =
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.ja=
va:126)
>INFO | jvm 2 | 2005/04/01 14:30:25 | at =
java.lang.Thread.run(Thread.java:534)
>DEBUG | wrapper | 2005/04/01 14:30:25 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:25 | Catalina.stop: =
LifecycleException: This server has not yet been started
>INFO | jvm 2 | 2005/04/01 14:30:25 | Received a packet PING : ping
>DEBUG | wrapper | 2005/04/01 14:30:26 | Pause reading child output to =
share cycles.
>DEBUG | wrapperp | 2005/04/01 14:30:26 | read a packet PING : ok
>DEBUG | wrapper | 2005/04/01 14:30:26 | Got ping response from JVM
>DEBUG | wrapper | 2005/04/01 14:30:26 | Pause reading socket data to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:26 | LifecycleException: This =
server has not yet been started
>INFO | jvm 2 | 2005/04/01 14:30:26 | Send a packet PING : ok
>INFO | jvm 2 | 2005/04/01 14:30:26 | at =
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213)
>DEBUG | wrapper | 2005/04/01 14:30:26 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:26 | at =
org.apache.catalina.startup.Catalina.start(Catalina.java:543)
>INFO | jvm 2 | 2005/04/01 14:30:26 | at =
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
>DEBUG | wrapper | 2005/04/01 14:30:27 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
java.lang.reflect.Method.invoke(Method.java:324)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
>DEBUG | wrapper | 2005/04/01 14:30:27 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
java.lang.reflect.Method.invoke(Method.java:324)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.ja=
va:126)
>INFO | jvm 2 | 2005/04/01 14:30:27 | at =
java.lang.Thread.run(Thread.java:534)
>DEBUG | wrapper | 2005/04/01 14:30:27 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:28 | WrapperStartStopApp: start =
main method completed
>DEBUG | wrapperp | 2005/04/01 14:30:30 | send a packet PING : ping
>INFO | jvm 2 | 2005/04/01 14:30:30 | Received a packet PING : ping
>INFO | jvm 2 | 2005/04/01 14:30:30 | Send a packet PING : ok
>INFO | jvm 2 | 2005/04/01 14:30:30 | All non-daemon threads have =
stopped. Exiting.
>DEBUG | wrapper | 2005/04/01 14:30:30 | Pause reading child output to =
share cycles.
>DEBUG | wrapperp | 2005/04/01 14:30:30 | read a packet PING : ok
>DEBUG | wrapper | 2005/04/01 14:30:30 | Got ping response from JVM
>DEBUG | wrapperp | 2005/04/01 14:30:31 | read a packet STOP : 0
>DEBUG | wrapper | 2005/04/01 14:30:31 | JVM requested a shutdown. (0)
>DEBUG | wrapper | 2005/04/01 14:30:31 | wrapperStopProcess(0) called.
>DEBUG | wrapper | 2005/04/01 14:30:31 | Pause reading socket data to =
share cycles.
>DEBUG | wrapper | 2005/04/01 14:30:31 | Sending stop signal to JVM
>DEBUG | wrapperp | 2005/04/01 14:30:31 | send a packet STOP : NULL
>INFO | jvm 2 | 2005/04/01 14:30:31 | Send a packet STOP : 0
>INFO | jvm 2 | 2005/04/01 14:30:31 | Thread, Wrapper-Connection, =
handling the shutdown process.
>INFO | jvm 2 | 2005/04/01 14:30:31 | calling listener.stop()
>DEBUG | wrapper | 2005/04/01 14:30:31 | Pause reading child output to =
share cycles.
>INFO | jvm 2 | 2005/04/01 14:30:32 | WrapperStartStopApp: stop(0)
>INFO | jvm 2 | 2005/04/01 14:30:32 | WrapperStartStopApp: invoking =
stop main method
>INFO | jvm 2 | 2005/04/01 14:30:32 | WrapperStartStopApp: stop =
main method completed
>INFO | jvm 2 | 2005/04/01 14:30:32 | returned from listener.stop()
>DEBUG | wrapper | 2005/04/01 14:30:32 | Pause reading child output to =
share cycles.
>DEBUG | wrapperp | 2005/04/01 14:30:33 | read a packet STOPPED : 0
>DEBUG | wrapper | 2005/04/01 14:30:33 | JVM signalled that it was =
stopped.
>DEBUG | wrapperp | 2005/04/01 14:30:33 | socket read no code =
(closed?).
>INFO | jvm 2 | 2005/04/01 14:30:33 | Send a packet STOPPED : 0
>INFO | jvm 2 | 2005/04/01 14:30:33 | Closing socket.
>INFO | jvm 2 | 2005/04/01 14:30:33 | calling System.exit(0)
>DEBUG | wrapper | 2005/04/01 14:30:35 | JVM exited normally.
>STATUS | wrapper | 2005/04/01 14:30:35 | <-- Wrapper Stopped
> =20
>
>> -----Original Message-----
>>From: Marsh, Ralph =20
>>Sent: Friday, March 11, 2005 8:04 AM
>>To: 'wra...@li...'
>>Subject: RE: Tomcat NT JVM hung
>>
>>Any suggestions in beginning to diagnose our problem would be =
appreciated. Thank you.
>>
>> -----Original Message-----
>> From: Marsh, Ralph =20
>> Sent: Thursday, March 03, 2005 4:18 PM
>> To: 'wra...@li...'
>> Subject: Tomcat NT JVM hung
>>
>> We are running a Struts web app on Tomcat 4.1. We use the wrapper to =
run Tomcat as a service.
>>
>> Over the past 8 months, about once per month, the service has died. =
Within the past month the frequency of these events has gone up to about =
once per week.=20
>>
>> This leaves the web app dead in the water, the user receiving HTTP =
500 errors and us logging into the NT box and manually restarting the =
service. We have the wrapper.conf file set to output STATUS level =
messages to the log. In the log we see this:
>>
>> ERROR | wrapper | 2005/03/03 17:58:43 | JVM appears hung: Timed out =
waiting for signal from JVM.
>> ERROR | wrapper | 2005/03/03 17:58:43 | Java Virtual Machine did =
not exit on request, terminated
>> STATUS | wrapper | 2005/03/03 17:58:49 | Launching a JVM...>=20
>> STATUS | wrapper | 2005/03/03 17:59:03 | <-- Wrapper Stopped
>>
>> I have four questions:
>> 1) what can cause a JVM backing Tomcat to hang?
>> 2) how should I configure the wrapper to get the most useful logging =
information during these events? Running in DEBUG for a week/weeks will =
produce copious logs. If necessary, I'll do it, but is it necessary?
>> 3) isn't the wrapper supposed to recognize these hangs, gracefully =
kill the process then restart a new process? If so, what should I look =
at to determine why this is not happening in our case
>> 4) in the log output above what is going on between the third and =
forth entry? It appears a new JVM is launching then the wrapper stops =
everything. Why?
>>
>> Our complete wrapper.conf file is included below. Thank you.
>>
>> Ralph Marsh
>>
>> #********************************************************************
>> # Wrapper Properties
>> #********************************************************************
>> # Java Application
>> wrapper.java.command=3D%java_home%\bin\java
>>
>> # Java Main class. This class must implement the WrapperListener =
interface
>> # or guarantee that the WrapperManager class is initialized. Helper
>> # classes are provided to do this for you. See the Integration =
section
>> # of the documentation for details.
>> =
wrapper.java.mainclass=3Dorg.tanukisoftware.wrapper.WrapperStartStopApp
>>
>> # Java Classpath (include wrapper.jar) Add class path elements as
>> # needed starting from 1
>> wrapper.java.classpath.1=3D../common/lib/wrapper.jar
>> wrapper.java.classpath.2=3D%java_home%/lib/tools.jar
>> wrapper.java.classpath.3=3D../bin/bootstrap.jar
>>
>> # Java Library Path (location of Wrapper.DLL or libwrapper.so)
>> wrapper.java.library.path.1=3D../common/lib
>>
>> # Java Additional Parameters
>> wrapper.java.additional.1=3D-server
>> wrapper.java.additional.2=3D-XX:+UseParNewGC
>> wrapper.java.additional.3=3D-XX:MaxNewSize=3D24m
>> wrapper.java.additional.4=3D-XX:NewSize=3D24m
>> wrapper.java.additional.5=3D-XX:SurvivorRatio=3D128
>> wrapper.java.additional.6=3D-XX:+UseConcMarkSweepGC
>> wrapper.java.additional.7=3D-XX:MaxTenuringThreshold=3D0
>> wrapper.java.additional.8=3D-XX:CMSInitiatingOccupancyFraction=3D60
>> =
wrapper.java.additional.9=3D-Djava.endorsed.dirs=3D../bin;../common/endor=
sed
>> wrapper.java.additional.10=3D-Dcatalina.base=3D..
>> wrapper.java.additional.11=3D-Dcatalina.home=3D..
>> wrapper.java.additional.12=3D-Djava.io.tmpdir=3D../temp
>> =20
>> #wrapper.java.additional.13=3D-verbosegc
>> #wrapper.java.additional.14=3D-XX:+PrintGCTimeStamps
>> #wrapper.java.additional.15=3D-XX:+PrintGCDetails
>> #wrapper.java.additional.13=3D-XX:+PrintTenuringDistribution
>>
>>
>> #wrapper.java.additional.7=3D-verbosegc
>>
>> # Initial Java Heap Size (in MB)
>> wrapper.java.initmemory=3D1200
>>
>> # Maximum Java Heap Size (in MB)
>> wrapper.java.maxmemory=3D1200
>>
>> # Application parameters. Add parameters as needed starting from 1
>>
>> # The first application parameter is the name of the class whose main
>> # method is to be called when the application is launched. The class
>> # name is followed by the number of parameters to be passed to its =
main
>> # method. Then comes the actual parameters.
>> wrapper.app.parameter.1=3Dorg.apache.catalina.startup.Bootstrap
>> wrapper.app.parameter.2=3D1
>> wrapper.app.parameter.3=3Dstart
>>
>> # The start parameters are followed by the name of the class whose =
main
>> # method is to be called to stop the application. The stop class =
name
>> # is followed by a flag which controls whether or not the Wrapper =
should
>> # wait for all non daemon threads to complete before exiting the JVM.
>> # The flag is followed by the number of parameters to be passed to =
the
>> # stop class's main method. Finally comes the actual parameters.
>> wrapper.app.parameter.4=3Dorg.apache.catalina.startup.Bootstrap
>> wrapper.app.parameter.5=3Dtrue
>> wrapper.app.parameter.6=3D1
>> wrapper.app.parameter.7=3Dstop
>>
>> #********************************************************************
>> # Wrapper Logging Properties
>> #********************************************************************
>> # Format of output for the console. (See docs for formats)
>> wrapper.console.format=3DPM
>>
>> # Log Level for console output. (See docs for log levels)
>> wrapper.console.loglevel=3DINFO
>>
>> # Log file to use for wrapper output logging.
>> wrapper.logfile=3D../logs/wrapper.log
>>
>> # Format of output for the log file. (See docs for formats)
>> wrapper.logfile.format=3DLPTM
>>
>> # Log Level for log file output. (See docs for log levels)
>> wrapper.logfile.loglevel=3DSTATUS
>>
>> # Maximum size that the log file will be allowed to grow to before
>> # the log is rolled. Size is specified in bytes. The default value
>> # of 0, disables log rolling. May abbreviate with the 'k' (kb) or
>> # 'm' (mb) suffix. For example: 10m =3D 10 megabytes.
>> wrapper.logfile.maxsize=3D500k
>>
>> # Maximum number of rolled log files which will be allowed before old
>> # files are deleted. The default value of 0 implies no limit.
>> wrapper.logfile.maxfiles=3D0
>>
>> # Log Level for sys/event log output. (See docs for log levels)
>> wrapper.syslog.loglevel=3DNONE
>>
>> #********************************************************************
>> # Wrapper NT Service Properties
>> #********************************************************************
>> # WARNING - Do not modify any of these properties when an application
>> # using this configuration file has been installed as a service.
>> # Please uninstall the service before modifying this section. The
>> # service can then be reinstalled.
>>
>> # Name of the service
>> wrapper.ntservice.name=3Dtomcat-rights2a
>>
>> # Display name of the service
>> wrapper.ntservice.displayname=3Dtomcat-rights2a
>>
>> # Description of the service
>> wrapper.ntservice.description=3Dtomcat-rights2a
>>
>> # Service dependencies. Add dependencies as needed starting from 1
>> wrapper.ntservice.dependency.1=3D
>>
>> # Mode in which the service is installed. AUTO_START or DEMAND_START
>> wrapper.ntservice.starttype=3DAUTO_START
>>
>> # Allow the service to interact with the desktop.
>> wrapper.ntservice.interactive=3Dfalse
>>
>> =20
>>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|