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: Markus S. <sc...@gm...> - 2007-06-08 05:40:59
|
Hi Tim, Chuck I know from Leif, that he is working on the definitive release of a 64-bit version of the wrapper. I guess he is in vacation or too busy to answer directly. He is not forcing the release, because I was the only one interested since a couple of months. He sent me a private copy of a build some weeks ago for our beta-test, which is working well. If you can wait on an answer from Leif, you can save your time and money.... Sincerely Markus Schlegel, pulinco engineering 2007/6/7, Tim Whittington <Tim...@or...>: > > Sorry, we're on GroupWise :) > > I've managed to create Windows x64 builds from trunk by copying the Win32 > Makefile and changing the /MACHINE: directive. > There are one or two comments in the issue tracker that indicate that > there is a runtime error in the Win64 version though, and I haven't seen any > SVN commits to indicate it's fixed, so I've held off on using this. > > > http://sourceforge.net/tracker/index.php?func=detail&aid=1635188&group_id=39428&atid=425190tracks one of the conversations. > > I can't see anything wrong with the code in question from inspection > (indeed it seems copied straight from the MSDN examples). > > tim > > > ( http://www.orionhealth.com/ ) > > Tim Whittington > Development Unit Manager - Concerto Portal > Tim...@or... > P: +64 9 638 0600 x3873 > M: +64 21 307 925 > F: +64 9 638 0699 > S: tim.whittington ( callto:tim.whittington ) > www.orionhealth.com ( http://www.orionhealth.com/ ) > > This e-mail and any attachments are intended only for the person to whom > it is addressed and may contain privileged, proprietary, or other data > protected from disclosure under applicable law. If you are not the addressee > or the person responsible for delivering this to the addressee you are > hereby notified that reading, copying or distributing this transmission is > prohibited. If you have received this e-mail in error, please telephone us > immediately and remove all copies of it from your system. Thank you for your > co-operation. > > > >>> On 8/06/2007 at 5:54 a.m., in message <466...@ma...>, > Chuck Williams <ch...@ma...> wrote: > Hi Tim, > > I received your message with a couple image attachments and blank html > attachment. Could you perhaps resend as a text message? > > Thanks, > > Chuck > > > Tim Whittington wrote on 06/06/2007 10:19 PM: > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now > .http://sourceforge.net/powerbar/db2/ > !DSPAM:4667bfb753581648121434! > _______________________________________________ > Wrapper-user mailing lis...@li... > .nethttps://lists.sourceforge.net/lists/listinfo/wrapper-user > > !DSPAM:4667bfb753581648121434! > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Tim W. <Tim...@or...> - 2007-06-07 20:04:16
|
Sorry, we're on GroupWise :) =20 I've managed to create Windows x64 builds from trunk by copying the Win32 = Makefile and changing the /MACHINE: directive. There are one or two comments in the issue tracker that indicate that = there is a runtime error in the Win64 version though, and I haven't seen = any SVN commits to indicate it's fixed, so I've held off on using this. =20 http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1635188&group_= id=3D39428&atid=3D425190 tracks one of the conversations. I can't see anything wrong with the code in question from inspection = (indeed it seems copied straight from the MSDN examples). =20 tim =20 ( http://www.orionhealth.com/ ) Tim Whittington Development Unit Manager - Concerto Portal Tim...@or... P: +64 9 638 0600 x3873 M: +64 21 307 925=20 F: +64 9 638 0699 S: tim.whittington ( callto:tim.whittington ) www.orionhealth.com ( http://www.orionhealth.com/ )=20 This e-mail and any attachments are intended only for the person to whom = it is addressed and may contain privileged, proprietary, or other data = protected from disclosure under applicable law. If you are not the = addressee or the person responsible for delivering this to the addressee = you are hereby notified that reading, copying or distributing this = transmission is prohibited. If you have received this e-mail in error, = please telephone us immediately and remove all copies of it from your = system. Thank you for your co-operation. >>> On 8/06/2007 at 5:54 a.m., in message <466...@ma...>, = Chuck Williams <ch...@ma...> wrote: Hi Tim, I received your message with a couple image attachments and blank html = attachment. Could you perhaps resend as a text message? Thanks, Chuck Tim Whittington wrote on 06/06/2007 10:19 PM:=20 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.http://sourc= eforge.net/powerbar/db2/ !DSPAM:4667bfb753581648121434! _______________________________________________ Wrapper-user mailing lis...@li...://lists.so= urceforge.net/lists/listinfo/wrapper-user=20 !DSPAM:4667bfb753581648121434! =20 |
|
From: Chuck W. <ch...@ma...> - 2007-06-07 17:54:33
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi Tim,<br> <br> I received your message with a couple image attachments and blank html attachment. Could you perhaps resend as a text message?<br> <br> Thanks,<br> <br> Chuck<br> <br> <br> Tim Whittington wrote on 06/06/2007 10:19 PM: <blockquote cite="mid...@or..." type="cite"> <pre wrap="">------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. <a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a> !DSPAM:4667bfb753581648121434! </pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Wrapper-user mailing list <a class="moz-txt-link-abbreviated" href="mailto:Wra...@li...">Wra...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wrapper-user">https://lists.sourceforge.net/lists/listinfo/wrapper-user</a> !DSPAM:4667bfb753581648121434! </pre> </blockquote> <br> </body> </html> |
|
From: Leif M. <le...@ta...> - 2007-06-07 16:32:14
|
Barry, Yes, it works the same on all platforms. %VAR% syntax is used rather than the standard UNIX $VAR format so the wrapper.conf file will work on all platforms without modification. Take a look at this page for more details: http://wrapper.tanukisoftware.org/doc/english/props-envvars.html Cheers, Leif Barry Molof wrote: > Hello Leif, > > Could I get the same functionality in Linux\Solaris? Have a common > wrapper.conf file that includes another app specific conf file based > on an environment variable. > > Thanks, > Barry > > On 6/4/07, *Barry Molof* <bm...@gm... <mailto:bm...@gm...>> > wrote: > > I got it working. The bat file to install the service that comes > with the distribution does not allow you to add extra parameters. > If I do as you say and run the wrapper.exe directly to install it > then everything works great. > > Thank you for your help. > > > On 6/4/07, *Barry Molof* <bm...@gm... > <mailto:bm...@gm...>> wrote: > > This didn't seem to work. I have a wrapper.conf with only > #include %WRAPPER_CONF_INCLUDE% and I run the NT Service > install bat file as: > > InstallService.bat .\wrapper.conf > set.WRAPPER_CONF_INCLUDE=..\agent\conf\wrapper.conf > > When I do this, it looks like it is never reading the > agent\conf\wrapper.conf file at all since a service called > wrapper is installed instead of the name I am giving it in the > application conf file. > > On 6/4/07, *Leif Mortenson* <le...@ta... > <mailto:le...@ta...>> wrote: > > Barry, > > When running wrapper.exe directly you have the choice to > specify > > configuration properties on the command line. Is it > possible to > > install a windows service using the Install bat file and > to specify > > configuration properties to set when it starts? > Anything placed on the command line when the service in > installed > will be placed into the registry and used again when the > service is > started. > > > > What I would like to do is have a common conf file that > is called > > first which would then include another application > specific conf file > > that is pointed to by a configuration property specified > when the > > wrapper.exe service is called. Is this possible? > Try this. > Start by specifying the following to include your config > file from the > primary wrapper.conf: > --- > #include %WRAPPER_CONF_INCLUDE% > --- > > Then put the following on the command line when installing > the service: > wrapper.exe -i ..\conf\wrapper.conf > set.WRAPPER_CONF_INCLUDE=../myapp.conf > > Cheers, > Leif > |
|
From: Barry M. <bm...@gm...> - 2007-06-07 16:11:52
|
Hello Leif, Could I get the same functionality in Linux\Solaris? Have a common wrapper.conf file that includes another app specific conf file based on an environment variable. Thanks, Barry On 6/4/07, Barry Molof <bm...@gm...> wrote: > > I got it working. The bat file to install the service that comes with the > distribution does not allow you to add extra parameters. If I do as you say > and run the wrapper.exe directly to install it then everything works > great. > > Thank you for your help. > > > On 6/4/07, Barry Molof <bm...@gm...> wrote: > > > > This didn't seem to work. I have a wrapper.conf with only #include > > %WRAPPER_CONF_INCLUDE% and I run the NT Service install bat file as: > > > > InstallService.bat .\wrapper.conf > > set.WRAPPER_CONF_INCLUDE=..\agent\conf\wrapper.conf > > > > When I do this, it looks like it is never reading the > > agent\conf\wrapper.conf file at all since a service called wrapper is > > installed instead of the name I am giving it in the application conf file. > > > > On 6/4/07, Leif Mortenson <le...@ta... > wrote: > > > > > > Barry, > > > > When running wrapper.exe directly you have the choice to specify > > > > configuration properties on the command line. Is it possible to > > > > install a windows service using the Install bat file and to specify > > > > configuration properties to set when it starts? > > > Anything placed on the command line when the service in installed > > > will be placed into the registry and used again when the service is > > > started. > > > > > > > > What I would like to do is have a common conf file that is called > > > > first which would then include another application specific conf > > > file > > > > that is pointed to by a configuration property specified when the > > > > wrapper.exe service is called. Is this possible? > > > Try this. > > > Start by specifying the following to include your config file from the > > > primary wrapper.conf: > > > --- > > > #include %WRAPPER_CONF_INCLUDE% > > > --- > > > > > > Then put the following on the command line when installing the > > > service: > > > wrapper.exe -i ..\conf\wrapper.conf > > > set.WRAPPER_CONF_INCLUDE=../myapp.conf > > > > > > Cheers, > > > Leif > > > > > > > > > ------------------------------------------------------------------------- > > > > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Wrapper-user mailing list > > > Wra...@li... > > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > > > |
|
From: Tim W. <Tim...@or...> - 2007-06-07 08:20:02
|
SGkgQ2h1Y2sNCg0KSSd2ZSBtYW5hZ2VkIHRvIGNyZWF0ZSBXaW5kb3dzIHg2NCBidWlsZHMgZnJv bSB0cnVuayBieSBjb3B5aW5nIHRoZSBXaW4zMiBNYWtlZmlsZSBhbmQgY2hhbmdpbmcgdGhlIC9N QUNISU5FOiBkaXJlY3RpdmUuDQpUaGVyZSBhcmUgb25lIG9yIHR3byBjb21tZW50cyBpbiB0aGUg aXNzdWUgdHJhY2tlciB0aGF0IGluZGljYXRlIHRoYXQgdGhlcmUgaXMgYSBydW50aW1lIGVycm9y IGluIHRoZSBXaW42NCB2ZXJzaW9uIHRob3VnaCwgYW5kIEkgaGF2ZW4ndCBzZWVuIGFueSBTVk4g Y29tbWl0cyB0byBpbmRpY2F0ZSBpdCdzIGZpeGVkLCBzbyBJJ3ZlIGhlbGQgb2ZmIG9uIHVzaW5n IHRoaXMuDQoNCmh0dHA6Ly9zb3VyY2Vmb3JnZS5uZXQvdHJhY2tlci9pbmRleC5waHA/ZnVuYz1k ZXRhaWwmYWlkPTE2MzUxODgmZ3JvdXBfaWQ9Mzk0MjgmYXRpZD00MjUxOTAgdHJhY2tzIG9uZSBv ZiB0aGUgY29udmVyc2F0aW9ucy4NCg0KdGltDQoNCiAgDQoNClRpbSBXaGl0dGluZ3Rvbg0KRGV2 ZWxvcG1lbnQgVW5pdCBNYW5hZ2VyIC0gQ29uY2VydG8gUG9ydGFsDQpUaW0uV2hpdHRpbmd0b25A b3Jpb25oZWFsdGguY29tDQpQOiArNjQgOSA2MzggMDYwMCB4Mzg3Mw0KTTogKzY0IDIxIDMwNyA5 MjUgDQpGOiArNjQgOSA2MzggMDY5OQ0KUzogdGltLndoaXR0aW5ndG9uDQp3d3cub3Jpb25oZWFs dGguY29tIA0KDQoNClRoaXMgZS1tYWlsIGFuZCBhbnkgYXR0YWNobWVudHMgYXJlIGludGVuZGVk IG9ubHkgZm9yIHRoZSBwZXJzb24gdG8gd2hvbSBpdCBpcyBhZGRyZXNzZWQgYW5kIG1heSBjb250 YWluIHByaXZpbGVnZWQsIHByb3ByaWV0YXJ5LCBvciBvdGhlciBkYXRhIHByb3RlY3RlZCBmcm9t IGRpc2Nsb3N1cmUgdW5kZXIgYXBwbGljYWJsZSBsYXcuIElmIHlvdSBhcmUgbm90IHRoZSBhZGRy ZXNzZWUgb3IgdGhlIHBlcnNvbiByZXNwb25zaWJsZSBmb3IgZGVsaXZlcmluZyB0aGlzIHRvIHRo ZSBhZGRyZXNzZWUgeW91IGFyZSBoZXJlYnkgbm90aWZpZWQgdGhhdCByZWFkaW5nLCBjb3B5aW5n IG9yIGRpc3RyaWJ1dGluZyB0aGlzIHRyYW5zbWlzc2lvbiBpcyBwcm9oaWJpdGVkLiBJZiB5b3Ug aGF2ZSByZWNlaXZlZCB0aGlzIGUtbWFpbCBpbiBlcnJvciwgcGxlYXNlIHRlbGVwaG9uZSB1cyBp bW1lZGlhdGVseSBhbmQgcmVtb3ZlIGFsbCBjb3BpZXMgb2YgaXQgZnJvbSB5b3VyIHN5c3RlbS4g VGhhbmsgeW91IGZvciB5b3VyIGNvLW9wZXJhdGlvbi4NCg0KDQo+Pj4gT24gNy8wNi8yMDA3IGF0 IDg6MDQgcC5tLiwgaW4gbWVzc2FnZSA8NDY2N0JCRjEuNTA4MDMwMEBtYW5hd2l6LmNvbT4sIENo dWNrIFdpbGxpYW1zIDxjaHVja0BtYW5hd2l6LmNvbT4gd3JvdGU6DQoNCkxlaWYsDQoNCkkgbmVl ZCB0byBjcmVhdGUgYSA2NC1iaXQgV2luZG93cyBidWlsZCBvZiB3cmFwcGVyLiAgSXQgYXBwZWFy cyB0aGF0DQp0aGlzIGRpZCBub3Qgd29yayBpbiB2ZXJzaW9uIDMuMi4zLCBidXQgZnJvbSB0aGUg c3ZuIGxvZyB0aGF0IGl0IHNob3VsZA0Kd29yayBpbiB0aGUgdHJ1bmsuICBEbyB5b3UgdGhpbmsg YSA2NC1iaXQgV2luZG93cyBidWlsZCBmcm9tIHRoZSB0cnVuaw0KaXMgcmVhc29uYWJseSBzdGFi bGU/ICBJIGNhbiBjb21waWxlIGxpbnV4IGFuZCAzMi1iaXQgV2luZG93cyBjIGNvZGUgaW4NCjMu Mi4zIHdpdGggbm8gcHJvYmxlbXMsIGJ1dCBldmlkZW50bHkgdGhlIHRydW5rIHJlcXVpcmVzIHNv bWUgYWRkaXRpb25hbA0KY29uZmlndXJhdGlvbi4gIEkgZ2V0IGFuIGltbWVkaWF0ZSBmaWxlIG5v dCBmb3VuZCBlcnJvciB3aXRoIG5vDQpkZXNjcmlwdGlvbiBvZiB3aGF0IGZpbGUgaXQgaXMgbG9v a2luZyBmb3IuICBDb3VsZCB5b3UgcGVyaGFwcyBwcm92aWRlDQpzb21lIGluZm9ybWF0aW9uIG9u IHdoYXQgaXMgcmVxdWlyZWQgdG8gYnVpbGQgZnJvbSB0aGUgc3ZuIHRydW5rLiAgSQ0KYWxyZWFk eSB0cmllZCBjb3B5aW5nIGluIHRoZSAzLjIuMyB0b29scyBkaXIgYnV0IHRoYXQgZGlkbid0IGhl bHAuDQoNClRoYW5rcyBmb3IgYW55IGluZm8sDQoNCkNodWNrDQoNCg0KLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LQ0KVGhpcyBTRi5uZXQgZW1haWwgaXMgc3BvbnNvcmVkIGJ5IERCMiBFeHByZXNzDQpEb3dubG9h ZCBEQjIgRXhwcmVzcyBDIC0gdGhlIEZSRUUgdmVyc2lvbiBvZiBEQjIgZXhwcmVzcyBhbmQgdGFr ZQ0KY29udHJvbCBvZiB5b3VyIFhNTC4gTm8gbGltaXRzLiBKdXN0IGRhdGEuIENsaWNrIHRvIGdl dCBpdCBub3cuDQpodHRwOi8vc291cmNlZm9yZ2UubmV0L3Bvd2VyYmFyL2RiMi8NCl9fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpXcmFwcGVyLXVzZXIgbWFp bGluZyBsaXN0DQpXcmFwcGVyLXVzZXJAbGlzdHMuc291cmNlZm9yZ2UubmV0DQpodHRwczovL2xp c3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0aW5mby93cmFwcGVyLXVzZXI= |
|
From: Chuck W. <ch...@ma...> - 2007-06-07 08:04:13
|
Leif, I need to create a 64-bit Windows build of wrapper. It appears that this did not work in version 3.2.3, but from the svn log that it should work in the trunk. Do you think a 64-bit Windows build from the trunk is reasonably stable? I can compile linux and 32-bit Windows c code in 3.2.3 with no problems, but evidently the trunk requires some additional configuration. I get an immediate file not found error with no description of what file it is looking for. Could you perhaps provide some information on what is required to build from the svn trunk. I already tried copying in the 3.2.3 tools dir but that didn't help. Thanks for any info, Chuck |
|
From: Chuck W. <ch...@ma...> - 2007-06-07 07:02:46
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It's been a long time since this report, but I was reviewing old
messages looking for another issue and realized I never reported the
resolution to this issue.<br>
<br>
Leif, you were exactly correct. The NoClassDefFoundError error was due
to a redeployment. Since I use linux, I didn't think to stop the app
before rebuilding it.<br>
<br>
Sorry for the false alarm and embarrassingly late thanks for your help!<br>
<br>
Chuck<br>
<br>
<br>
Leif Mortenson wrote on 11/11/2006 01:36 AM:
<blockquote cite="mid...@ta..." type="cite">
<pre wrap="">Chuck,
From the log everything looks normal. I was thinking though. Is
there any chance that
your jar files are being overwritten due to a redeployment or
something? The java
classloaders will not be able to load from the new jars even if they are
the same things.
I have seen crashes in the past due to this. These are caused by JVM
and unrelated to
the Wrapper.
I often redeploy my apps with ant and sometimes forget to stop the
existing app first.
This can lead to problems like this because the original jar files were
overwritten.
I ask because you are finding the
com.metalincs.analysis.framework.Main. That would
have already been loaded from when the application was loaded. The
inner class in the
stop method would be getting loaded for the first time when the
Main.stop method was
called.
This does not show that classes are being unloaded. But that they
are not able to be
loaded the first time they are referenced.
Hope this helps.
Cheers,
Leif
Chuck Williams wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Cool, thanks. I didn't realize that would work with wrapper. The way
I've handled it is to generate wrapper.conf automatically from a
wrapper.conf.template that contains a marker for where the classpath
gets inserted. Your way is cleaner!
I've tried a bunch of times but don't yet have the classloading
failure when running debug. They happen occassionally, once today,
but before switching on wrapper.debug.
I'll post it when as as it happens.
In case it is helpful, here is the one that happened earlier without
debug. This was after running the application for a while with no
problem from the console, then typing control-C:
</pre>
<blockquote type="cite">
<pre wrap="">STATUS | wrapper | main | 2006/11/05 15:55:06 | INT trapped.
Shutting down.
INFO | jvm 1 | main | 2006/11/05 15:55:06 | Error in
WrapperListener.stop callback. java.lang.NoClassDefFoundError:
com/metalincs/analysis/framework/Main$1
INFO | jvm 1 | main | 2006/11/05 15:55:06 |
java.lang.NoClassDefFoundError: com/metalincs/analysis/framework/Main$1
INFO | jvm 1 | main | 2006/11/05 15:55:06 | at
com.metalincs.analysis.framework.Main.stop(Main.java:493)
INFO | jvm 1 | main | 2006/11/05 15:55:06 | at
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:3134)
STATUS | wrapper | main | 2006/11/05 15:55:08 | <-- Wrapper Stopped
</pre>
</blockquote>
<pre wrap="">Main is the class that implements WrapperListener. Main$1 is an inner
class containing the Runnable for a thread that is launched to do some
of the shutdown activity. Here is the method, Main.stop(), Line 493
is what you'd expect, the first code line of the method, which creates
an instance of the inner class. (And yes, I know that wrapper can
accomplish the same thing using the configured shutdown timeout).
</pre>
<blockquote type="cite">
<pre wrap=""> public int stop(int exitCode) {
Thread cleanStop = new Thread(new Runnable(){
public void run() {
ComponentManager.getComponentManager().shutdown();
stopHttpServer(bootstrapServer);
bootstrapServer = null;
if (adminServer!=null) {
stopHttpServer(adminServer);
adminServer = null;
}
if (indexServer!=null) {
stopHttpServer(indexServer);
indexServer = null;
}
if (searchServer!=null) {
stopHttpServer(searchServer);
searchServer = null;
}
}
});
cleanStop.setDaemon(true);
cleanStop.start();
try {
cleanStop.join(hardRestartTimeout);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
if (cleanStop.isAlive())
logger.warn("Hard restarting AnalysisService because soft restart timed out after " + hardRestartTimeout + " millis.");
return exitCode;
}
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
<a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a>
_______________________________________________
Wrapper-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wra...@li...">Wra...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wrapper-user">https://lists.sourceforge.net/lists/listinfo/wrapper-user</a>
</pre>
</blockquote>
<br>
</body>
</html>
|
|
From: Dejan P. <dp...@pt...> - 2007-06-05 19:04:51
|
Hi,
I write some service in Java. I mapped network disk with net use z: =
\\192.168.121.46\myresource test /user:test with all the privilegies, =
and I use the same user test(groups are: Administrators, Users, =
PowerUsers) to log on service.
When I start service using Wrapper 3.2.3 on Windows XP or Windows 2003 =
(enterprise edition) it works OK, but Java code:
boolean lbSucces =3D (new File("z:\testfile.txt")).exist();
returns false to lbSuccess.=20
When I start the same service on Windows 2000 it returns true.
The same code from command prompt application returns true in all ways.
Is it problem with security setings in Windows?
Thanks for any help!
Dejan.
|
|
From: Phillip G. <pg...@co...> - 2007-06-05 14:10:08
|
You need to add the H:\my Documents\Logger\bin to the classpath: wrapper.java.classpath.3=3D H:\\My Documents\\Logger\\bin =20 -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of RickyS Sent: dinsdag 5 juni 2007 15:26 To: wra...@li... Subject: [Wrapper-user] class not found exception =20 My log file with debug on.=20 =20 ERROR | wrapper | 2007/06/05 13:18:07 | CreateService failed - The specified service already exists. (0x431) STATUS | wrapper | 2007/06/05 13:18:36 | Log Extractor removed. DEBUG | wrapper | 2007/06/05 13:18:55 | Service command: "\\dev2003.local\DFSRoot\DevFS2userdataXP$\a815686\My <file:///\\dev2003.local\DFSRoot\DevFS2userdataXP$\a815686\My> Documents\Logger\bin\wrapper.exe" -s "\\dev2003.local\DFSRoot\DevFS2userdataXP$\a815686\My <file:///\\dev2003.local\DFSRoot\DevFS2userdataXP$\a815686\My> Documents\Logger\conf\wrapper.conf" STATUS | wrapper | 2007/06/05 13:18:56 | Log Extractor installed. STATUS | wrapper | 2007/06/05 13:19:51 | --> Wrapper Started as Console DEBUG | wrapper | 2007/06/05 13:19:51 | Using tick timer. DEBUG | wrapperp | 2007/06/05 13:19:51 | server listening on port 32000. STATUS | wrapper | 2007/06/05 13:19:51 | Launching a JVM... DEBUG | wrapper | 2007/06/05 13:19:51 | command: "C:\j2sdk1.4.2_06\bin\java" -Djava.library.path=3D"../lib" -classpath "../lib/wrapper.jar;../lib/mysql-connector-java-3.1.13-bin.jar" -Dwrapper.key=3D"CnX1GB1fkufqGLVT" -Dwrapper.port=3D32000 -Dwrapper.jvm.port.min=3D31000 -Dwrapper.jvm.port.max=3D31999 -Dwrapper.debug=3D"TRUE" -Dwrapper.pid=3D2636 -Dwrapper.version=3D"3.2.3" -Dwrapper.native_library=3D"wrapper" -Dwrapper.cpu.timeout=3D"10" -Dwrapper.jvmid=3D1 org.tanukisoftware.wrapper.WrapperSimpleApp tree.branch.leaf.LoggerTransferer DEBUG | wrapper | 2007/06/05 13:19:51 | JVM started (PID=3D2444) INFO | jvm 1 | 2007/06/05 13:19:52 | WrapperManager class initialized by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@e80a59 INFO | jvm 1 | 2007/06/05 13:19:52 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org <http://gsiexch2003/exchweb/bin/redir.asp?URL=3Dhttp://wrapper.tanukisoftw are.org>=20 INFO | jvm 1 | 2007/06/05 13:19:52 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2007/06/05 13:19:52 |=20 INFO | jvm 1 | 2007/06/05 13:19:52 | Wrapper Manager: JVM #1 INFO | jvm 1 | 2007/06/05 13:19:52 | Running a 32-bit JVM. INFO | jvm 1 | 2007/06/05 13:19:52 | Wrapper Manager: Registering shutdown hook INFO | jvm 1 | 2007/06/05 13:19:52 | Wrapper Manager: Using wrapper INFO | jvm 1 | 2007/06/05 13:19:52 | Load native library. One or more attempts may fail if platform specific libraries do not exist. INFO | jvm 1 | 2007/06/05 13:19:52 | Loading native library failed: wrapper-windows-x86-32.dll Cause: java.lang.UnsatisfiedLinkError: no wrapper-windows-x86-32 in java.library.path INFO | jvm 1 | 2007/06/05 13:19:53 | Loaded native library: wrapper.dll INFO | jvm 1 | 2007/06/05 13:19:53 | Calling native initialization method. INFO | jvm 1 | 2007/06/05 13:19:53 | Initializing WrapperManager native library. INFO | jvm 1 | 2007/06/05 13:19:53 | Java Executable: C:\j2sdk1.4.2_06\bin\java.exe INFO | jvm 1 | 2007/06/05 13:19:53 | Windows version: 5.1.2600 INFO | jvm 1 | 2007/06/05 13:19:53 | Java Version : 1.4.2_06-b03 Java HotSpot(TM) Client VM INFO | jvm 1 | 2007/06/05 13:19:53 | Java VM Vendor : Sun Microsystems Inc. INFO | jvm 1 | 2007/06/05 13:19:53 |=20 INFO | jvm 1 | 2007/06/05 13:19:53 | WrapperSimpleApp: Unable to locate the class tree.branch.leaf.LoggerTransferer: java.lang.ClassNotFoundException: tree.branch.leaf.LoggerTransferer INFO | jvm 1 | 2007/06/05 13:19:53 |=20 INFO | jvm 1 | 2007/06/05 13:19:53 | WrapperSimpleApp Usage: INFO | jvm 1 | 2007/06/05 13:19:53 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments] INFO | jvm 1 | 2007/06/05 13:19:53 |=20 INFO | jvm 1 | 2007/06/05 13:19:53 | Where: INFO | jvm 1 | 2007/06/05 13:19:53 | app_class: The fully qualified class name of the application to run. INFO | jvm 1 | 2007/06/05 13:19:53 | app_arguments: The arguments that would normally be passed to the INFO | jvm 1 | 2007/06/05 13:19:53 | application. INFO | jvm 1 | 2007/06/05 13:19:53 | WrapperManager.stop(1) called by thread: main INFO | jvm 1 | 2007/06/05 13:19:53 | Control event monitor thread started. INFO | jvm 1 | 2007/06/05 13:19:53 | Startup runner thread started. INFO | jvm 1 | 2007/06/05 13:19:53 | Communications runner thread started. INFO | jvm 1 | 2007/06/05 13:19:53 | Open socket to wrapper...Wrapper-Connection INFO | jvm 1 | 2007/06/05 13:19:53 | Opened Socket from 31000 to 32000 INFO | jvm 1 | 2007/06/05 13:19:53 | handleSocket(Socket[addr=3D/127.0.0.1,port=3D32000,localport=3D31000]) INFO | jvm 1 | 2007/06/05 13:19:53 | Send a packet STOP : 1 DEBUG | wrapperp | 2007/06/05 13:19:53 | accepted a socket from 127.0.0.1 on port 31000 DEBUG | wrapperp | 2007/06/05 13:19:53 | read a packet KEY : CnX1GB1fkufqGLVT DEBUG | wrapper | 2007/06/05 13:19:53 | Got key from JVM: CnX1GB1fkufqGLVT DEBUG | wrapperp | 2007/06/05 13:19:53 | send a packet LOW_LOG_LEVEL : 1 DEBUG | wrapperp | 2007/06/05 13:19:53 | send a packet PING_TIMEOUT : 30 DEBUG | wrapperp | 2007/06/05 13:19:53 | send a packet PROPERTIES : (Property Values) DEBUG | wrapperp | 2007/06/05 13:19:53 | read a packet STOP : 1 DEBUG | wrapper | 2007/06/05 13:19:53 | JVM requested a shutdown. (1) DEBUG | wrapper | 2007/06/05 13:19:53 | wrapperStopProcess(1) called. DEBUG | wrapper | 2007/06/05 13:19:53 | Sending stop signal to JVM DEBUG | wrapperp | 2007/06/05 13:19:53 | send a packet STOP : NULL INFO | jvm 1 | 2007/06/05 13:19:53 | Received a packet LOW_LOG_LEVEL : 1 INFO | jvm 1 | 2007/06/05 13:19:53 | Wrapper Manager: LowLogLevel from Wrapper is 1 INFO | jvm 1 | 2007/06/05 13:19:53 | Received a packet PING_TIMEOUT : 30 INFO | jvm 1 | 2007/06/05 13:19:53 | PingTimeout from Wrapper is 30000 INFO | jvm 1 | 2007/06/05 13:19:53 | Received a packet PROPERTIES : (Property Values) INFO | jvm 1 | 2007/06/05 13:19:53 | Received a packet STOP :=20 INFO | jvm 1 | 2007/06/05 13:19:54 | Thread, main, handling the shutdown process. INFO | jvm 1 | 2007/06/05 13:19:54 | shutdownJVM(1) Thread:main INFO | jvm 1 | 2007/06/05 13:19:54 | Send a packet STOPPED : 1 DEBUG | wrapperp | 2007/06/05 13:19:54 | read a packet STOPPED : 1 DEBUG | wrapper | 2007/06/05 13:19:54 | JVM signalled that it was stopped. INFO | jvm 1 | 2007/06/05 13:19:54 | Closing socket. INFO | jvm 1 | 2007/06/05 13:19:54 | Closed socket: java.net.SocketException: socket closed DEBUG | wrapperp | 2007/06/05 13:19:54 | socket read no code (closed?). DEBUG | wrapperp | 2007/06/05 13:19:54 | server listening on port 32001. INFO | jvm 1 | 2007/06/05 13:19:54 | Server daemon shut down INFO | jvm 1 | 2007/06/05 13:19:54 | calling System.exit(1) DEBUG | wrapper | 2007/06/05 13:19:54 | JVM process exited with a code of 1, however the wrapper exit code was already 1. DEBUG | wrapper | 2007/06/05 13:19:54 | JVM exited normally. STATUS | wrapper | 2007/06/05 13:19:55 | <-- Wrapper Stopped =20 =20 My conf file =20 wrapper.java.command=3DC:\j2sdk1.4.2_06\bin\java wrapper.java.mainclass=3Dorg.tanukisoftware.wrapper.WrapperSimpleApp wrapper.java.classpath.1=3D../lib/wrapper.jar wrapper.java.classpath.2=3D../lib/mysql-connector-java-3.1.13-bin.jar wrapper.java.library.path.1=3D../lib wrapper.app.parameter.1=3Dtree.branch.leaf.LoggerTransferer =20 Hi I have followed all the instructions to use WrapperSimpleApp. All the help on wrapper are concerning JBoss, but I not interested in running JBoss but to run a program of my own under a windows service. =20 Any help will be great regarding why I get classnotfound exception. I have run the code via the JVM console, so there no problem of running the code. =20 =20 The directory structure where LoggerTransferer.class is located in :- "H:my Documents\Logger\bin\tree\branch\leaf. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** The original of this email was scanned for viruses by the Government Secure Intranet Anti-Virus service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2006/04/0007.) On leaving the GSi this email was certified virus free. Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes. *********************************************************************** The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it is prohibited and may be unlawful. Please immediately contact=20 the sender if you have received this message in error. This email does not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when expressly agreed in a written agreement between the intended recipient and Cordys Holding BV or its subsidiaries. *********************************************************************** |
|
From: RickyS <Ri...@gc...> - 2007-06-05 13:27:05
|
My=20log=20file=20with=20debug=20on.=20 =20 ERROR=20=20|=20wrapper=20=20|=202007/06/05=2013:18:07=20|=20CreateService=20= failed=20-=20The=20specified=20service=20already=20exists.=20(0x431) STATUS=20|=20wrapper=20=20|=202007/06/05=2013:18:36=20|=20=20Log=20Extract= or=20removed. DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:18:55=20|=20Service=20comm= and:=20"\\dev2003.local\DFSRoot\DevFS2userdataXP$\a815686\My=20<file://dev= 2003.local/DFSRoot/DevFS2userdataXP$/a815686/My>=20=20Documents\Logger\bin= \wrapper.exe"=20-s=20"\\dev2003.local\DFSRoot\DevFS2userdataXP$\a815686\My= =20<file://dev2003.local/DFSRoot/DevFS2userdataXP$/a815686/My>=20=20Docume= nts\Logger\conf\wrapper.conf" STATUS=20|=20wrapper=20=20|=202007/06/05=2013:18:56=20|=20Log=20Extractor=20= installed. STATUS=20|=20wrapper=20=20|=202007/06/05=2013:19:51=20|=20-->=20Wrapper=20= Started=20as=20Console DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:51=20|=20Using=20tick=20= timer. DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:51=20|=20server=20listeni= ng=20on=20port=2032000. STATUS=20|=20wrapper=20=20|=202007/06/05=2013:19:51=20|=20Launching=20a=20= JVM... DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:51=20|=20command:=20"C:= \j2sdk1.4.2_06\bin\java"=20-Djava.library.path=3D"../lib"=20-classpath=20"= ../lib/wrapper.jar;../lib/mysql-connector-java-3.1.13-bin.jar"=20-Dwrapper= .key=3D"CnX1GB1fkufqGLVT"=20-Dwrapper.port=3D32000=20-Dwrapper.jvm.port.mi= n=3D31000=20-Dwrapper.jvm.port.max=3D31999=20-Dwrapper.debug=3D"TRUE"=20-D= wrapper.pid=3D2636=20-Dwrapper.version=3D"3.2.3"=20-Dwrapper.native_librar= y=3D"wrapper"=20-Dwrapper.cpu.timeout=3D"10"=20-Dwrapper.jvmid=3D1=20org.t= anukisoftware.wrapper.WrapperSimpleApp=20tree.branch.leaf.LoggerTransferer= DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:51=20|=20JVM=20started=20= (PID=3D2444) INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20Wrappe= rManager=20class=20initialized=20by=20thread:=20main=20=20Using=20classloa= der:=20sun.misc.Launcher$AppClassLoader@e80a59 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20Wrappe= r=20(Version=203.2.3)=20http://wrapper.tanukisoftware.org=20<http://gsiexc= h2003/exchweb/bin/redir.asp?URL=3Dhttp://wrapper.tanukisoftware.org>=20 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20=20=20= Copyright=201999-2006=20Tanuki=20Software,=20Inc.=20=20All=20Rights=20Rese= rved. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20Wrappe= r=20Manager:=20JVM=20#1 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20Runnin= g=20a=2032-bit=20JVM. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20Wrappe= r=20Manager:=20Registering=20shutdown=20hook INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20Wrappe= r=20Manager:=20Using=20wrapper INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20Load=20= native=20library.=20=20One=20or=20more=20attempts=20may=20fail=20if=20plat= form=20specific=20libraries=20do=20not=20exist. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:52=20|=20Loadin= g=20native=20library=20failed:=20wrapper-windows-x86-32.dll=20=20Cause:=20= java.lang.UnsatisfiedLinkError:=20no=20wrapper-windows-x86-32=20in=20java.= library.path INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Loaded= =20native=20library:=20wrapper.dll INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Callin= g=20native=20initialization=20method. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Initia= lizing=20WrapperManager=20native=20library. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Java=20= Executable:=20C:\j2sdk1.4.2_06\bin\java.exe INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Window= s=20version:=205.1.2600 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Java=20= Version=20=20=20:=201.4.2_06-b03=20Java=20HotSpot(TM)=20Client=20VM INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Java=20= VM=20Vendor=20:=20Sun=20Microsystems=20Inc. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Wrappe= rSimpleApp:=20Unable=20to=20locate=20the=20class=20tree.branch.leaf.Logger= Transferer:=20java.lang.ClassNotFoundException:=20tree.branch.leaf.LoggerT= ransferer INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Wrappe= rSimpleApp=20Usage: INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20=20=20= java=20org.tanukisoftware.wrapper.WrapperSimpleApp=20{app_class}=20[app_ar= guments] INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Where:= INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20=20=20= app_class:=20=20=20=20=20=20The=20fully=20qualified=20class=20name=20of=20= the=20application=20to=20run. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20=20=20= app_arguments:=20=20The=20arguments=20that=20would=20normally=20be=20passe= d=20to=20the INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20application. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Wrappe= rManager.stop(1)=20called=20by=20thread:=20main INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Contro= l=20event=20monitor=20thread=20started. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Startu= p=20runner=20thread=20started. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Commun= ications=20runner=20thread=20started. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Open=20= socket=20to=20wrapper...Wrapper-Connection INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Opened= =20Socket=20from=2031000=20to=2032000 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20handle= Socket(Socket[addr=3D/127.0.0.1,port=3D32000,localport=3D31000]) INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Send=20= a=20packet=20STOP=20:=201 DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:53=20|=20accepted=20a=20s= ocket=20from=20127.0.0.1=20on=20port=2031000 DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:53=20|=20read=20a=20packe= t=20KEY=20:=20CnX1GB1fkufqGLVT DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:53=20|=20Got=20key=20fr= om=20JVM:=20CnX1GB1fkufqGLVT DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:53=20|=20send=20a=20packe= t=20LOW_LOG_LEVEL=20:=201 DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:53=20|=20send=20a=20packe= t=20PING_TIMEOUT=20:=2030 DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:53=20|=20send=20a=20packe= t=20PROPERTIES=20:=20(Property=20Values) DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:53=20|=20read=20a=20packe= t=20STOP=20:=201 DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:53=20|=20JVM=20requeste= d=20a=20shutdown.=20(1) DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:53=20|=20wrapperStopPro= cess(1)=20called. DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:53=20|=20Sending=20stop= =20signal=20to=20JVM DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:53=20|=20send=20a=20packe= t=20STOP=20:=20NULL INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Receiv= ed=20a=20packet=20LOW_LOG_LEVEL=20:=201 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Wrappe= r=20Manager:=20LowLogLevel=20from=20Wrapper=20is=201 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Receiv= ed=20a=20packet=20PING_TIMEOUT=20:=2030 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20PingTi= meout=20from=20Wrapper=20is=2030000 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Receiv= ed=20a=20packet=20PROPERTIES=20:=20(Property=20Values) INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:53=20|=20Receiv= ed=20a=20packet=20STOP=20:=20 INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:54=20|=20Thread= ,=20main,=20handling=20the=20shutdown=20process. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:54=20|=20shutdo= wnJVM(1)=20Thread:main INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:54=20|=20Send=20= a=20packet=20STOPPED=20:=201 DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:54=20|=20read=20a=20packe= t=20STOPPED=20:=201 DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:54=20|=20JVM=20signalle= d=20that=20it=20was=20stopped. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:54=20|=20Closin= g=20socket. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:54=20|=20Closed= =20socket:=20java.net.SocketException:=20socket=20closed DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:54=20|=20socket=20read=20= no=20code=20(closed?). DEBUG=20=20|=20wrapperp=20|=202007/06/05=2013:19:54=20|=20server=20listeni= ng=20on=20port=2032001. INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:54=20|=20Server= =20daemon=20shut=20down INFO=20=20=20|=20jvm=201=20=20=20=20|=202007/06/05=2013:19:54=20|=20callin= g=20System.exit(1) DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:54=20|=20JVM=20process=20= exited=20with=20a=20code=20of=201,=20however=20the=20wrapper=20exit=20code= =20was=20already=201. DEBUG=20=20|=20wrapper=20=20|=202007/06/05=2013:19:54=20|=20JVM=20exited=20= normally. STATUS=20|=20wrapper=20=20|=202007/06/05=2013:19:55=20|=20<--=20Wrapper=20= Stopped =20 =20 My=20conf=20file =20 wrapper.java.command=3DC:\j2sdk1.4.2_06\bin\java wrapper.java.mainclass=3Dorg.tanukisoftware.wrapper.WrapperSimpleApp wrapper.java.classpath.1=3D../lib/wrapper.jar wrapper.java.classpath.2=3D../lib/mysql-connector-java-3.1.13-bin.jar wrapper.java.library.path.1=3D../lib wrapper.app.parameter.1=3Dtree.branch.leaf.LoggerTransferer =20 Hi=20I=20have=20followed=20all=20the=20instructions=20to=20use=20WrapperSi= mpleApp.=20All=20the=20help=20on=20wrapper=20are=20concerning=20JBoss,=20b= ut=20I=20not=20interested=20in=20running=20JBoss=20but=20to=20run=20a=20pr= ogram=20of=20my=20own=20under=20a=20windows=20service.=20=20 Any=20help=20will=20be=20great=20regarding=20why=20I=20get=20classnotfound= =20exception.=20=20I=20have=20run=20the=20code=20via=20the=20JVM=20console= ,=20so=20there=20no=20problem=20of=20running=20the=20code.=20=20 =20 The=20directory=20structure=20where=20LoggerTransferer.class=20is=20locate= d=20in=20:-=20"H:my=20Documents\Logger\bin\tree\branch\leaf. ********************************************************************** This=20email=20and=20any=20files=20transmitted=20with=20it=20are=20confide= ntial=20and intended=20solely=20for=20the=20use=20of=20the=20individual=20or=20entity=20= to=20whom=20they are=20addressed.=20If=20you=20have=20received=20this=20email=20in=20error=20= please=20notify the=20system=20manager. This=20footnote=20also=20confirms=20that=20this=20email=20message=20has=20= been=20swept=20by MIMEsweeper=20for=20the=20presence=20of=20computer=20viruses. www.mimesweeper.com ********************************************************************** The=20original=20of=20this=20email=20was=20scanned=20for=20viruses=20by=20= the=20Government=20Secure=20Intranet=20Anti-Virus=20service=20supplied=20b= y=20Cable&Wireless=20in=20partnership=20with=20MessageLabs.=20(CCTM=20Cert= ificate=20Number=202006/04/0007.)=20On=20leaving=20the=20GSi=20this=20emai= l=20was=20certified=20virus=20free. Communications=20via=20the=20GSi=20may=20be=20automatically=20logged,=20mo= nitored=20and/or=20recorded=20for=20legal=20purposes. |
|
From: Bernd L. <Ber...@we...> - 2007-06-05 08:33:57
|
Hi,
i have two questions with the above method:
1. I discovered, as this method is synchronized, I cannot call the
signalStarting from within a spawned thread while the application
starts. While I use integration method 3, when debugging in Eclipse I
start it using the main method of the main class, so the main thread
is holding the lock due to WrapperManager.start(new MyApp(), args). At
the moment I have a static boolean "startedFromMain" that is checked
everywhere. Any hints for a better approach?
2. The comment from Leif with the signalStarting/signalStopping issue
with rounding down the millis: "The 3.2.4 release has been modified so
that the signalStarting and signalStopping methods will now only
extend a timeout rather than potentially having the effect of
shortening it."
As the start/stop time of my application can differ very much, I want
to give the user a hint, so I start with a pessimistic value (say long
time) and as the startup phase continues, I calculate more precisely
and probably the time shortens. Is this still possible or is the first
value ("It takes half an hour") now my deadline? If this is the case,
I have to rearrange with an optimistic start value and extend the
timeout during application start/stop.
Bernd
|
|
From: Gary H. <ghi...@fe...> - 2007-06-04 20:30:22
|
Hi Leif, Thank you for you very prompt and courteous reply. Setting the wrapper.ntservice.console=3Dtrue property solved the DUMP problem, and should work fine for us, assuming there are no other side effects. Out of curiosity, however, do you have a rough estimate of when 3.3.0 will be made available? Regarding the STOP issue, setting wrapper.debug=3Dtrue was a big help = (see output below). If I understand the output correctly, Tomcat (the Java app that we are wrapping) is calling System.exit() from the method that we hooked up to the STOP command via the WrapperStartStopApp class. =20 Thanks, Gary STATUS | wrapper | 2007/06/04 13:17:57 | Command 'STOP'. Shutting down with exit code 0. DEBUG | wrapper | 2007/06/04 13:17:57 | wrapperStopProcess(0) called. DEBUG | wrapper | 2007/06/04 13:17:57 | Sending stop signal to JVM DEBUG | wrapperp | 2007/06/04 13:17:57 | send a packet STOP : NULL INFO | jvm 1 | 2007/06/04 13:17:57 | Received a packet STOP :=20 INFO | jvm 1 | 2007/06/04 13:17:57 | Thread, Wrapper-Connection, handling the shutdown process. INFO | jvm 1 | 2007/06/04 13:17:57 | calling listener.stop() INFO | jvm 1 | 2007/06/04 13:17:57 | Waiting for WrapperListener.stop runner thread to complete. INFO | jvm 1 | 2007/06/04 13:17:57 | WrapperListener.stop runner thread started. INFO | jvm 1 | 2007/06/04 13:17:57 | Jun 4, 2007 1:17:57 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO | jvm 1 | 2007/06/04 13:17:57 | INFO: Pausing Coyote HTTP/1.1 on http-7101 INFO | jvm 1 | 2007/06/04 13:17:58 | Jun 4, 2007 1:17:58 PM org.apache.catalina.core.StandardService stop INFO | jvm 1 | 2007/06/04 13:17:58 | INFO: Stopping service FetchAgentRunnerServer INFO | jvm 1 | 2007/06/04 13:17:58 | Jun 4, 2007 1:17:58 PM org.apache.coyote.http11.Http11BaseProtocol destroy INFO | jvm 1 | 2007/06/04 13:17:58 | INFO: Stopping Coyote HTTP/1.1 on http-7101 INFO | jvm 1 | 2007/06/04 13:17:58 | WrapperStartStopApp: start main method completed INFO | jvm 1 | 2007/06/04 13:17:59 | WrapperListener.stop runner thread stopped. INFO | jvm 1 | 2007/06/04 13:17:59 | returned from listener.stop() -> 0 INFO | jvm 1 | 2007/06/04 13:17:59 | shutdownJVM(0) Thread:Wrapper-Connection INFO | jvm 1 | 2007/06/04 13:17:59 | Wrapper Manager: Unable to unregister shutdown hook: java.lang.IllegalStateException: Shutdown in progress INFO | jvm 1 | 2007/06/04 13:17:59 | Send a packet STOPPED : 0 INFO | jvm 1 | 2007/06/04 13:17:59 | Wrapper Manager: ShutdownHook started INFO | jvm 1 | 2007/06/04 13:17:59 | WrapperManager.stop(0) called by thread: Wrapper-Shutdown-Hook INFO | jvm 1 | 2007/06/04 13:17:59 | Thread, Wrapper-Shutdown-Hook, waiting for the JVM to exit. INFO | jvm 1 | 2007/06/04 13:17:59 | System.exit appears to have been called from within the INFO | jvm 1 | 2007/06/04 13:17:59 | WrapperListener.stop() method. If possible the application INFO | jvm 1 | 2007/06/04 13:17:59 | should be modified to avoid this behavior. INFO | jvm 1 | 2007/06/04 13:17:59 | To avoid a deadlock, this thread will only wait 5 seconds INFO | jvm 1 | 2007/06/04 13:17:59 | for the application to shutdown. This may result in the INFO | jvm 1 | 2007/06/04 13:17:59 | application failing to shutdown completely before the JVM INFO | jvm 1 | 2007/06/04 13:17:59 | exists. Removing the offending System.exit call will INFO | jvm 1 | 2007/06/04 13:17:59 | resolve this. DEBUG | wrapperp | 2007/06/04 13:17:59 | read a packet STOPPED : 0 DEBUG | wrapper | 2007/06/04 13:17:59 | JVM signalled that it was stopped. INFO | jvm 1 | 2007/06/04 13:17:59 | Closing socket. DEBUG | wrapperp | 2007/06/04 13:17:59 | socket read no code (closed?). DEBUG | wrapperp | 2007/06/04 13:17:59 | server listening on port 32001. INFO | jvm 1 | 2007/06/04 13:18:00 | calling System.exit(0) INFO | jvm 1 | 2007/06/04 13:18:00 | Send a packet STOPPED : 0 INFO | jvm 1 | 2007/06/04 13:18:00 | Wrapper Manager: ShutdownHook complete DEBUG | wrapper | 2007/06/04 13:18:00 | JVM process exited with a code of 0, leaving the wrapper exit code set to 0. DEBUG | wrapper | 2007/06/04 13:18:00 | JVM exited normally. STATUS | wrapper | 2007/06/04 13:18:00 | <-- Wrapper Stopped -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: Monday, June 04, 2007 6:02 AM To: wra...@li... Subject: Re: [Wrapper-user] Trouble using wrapper.commandfile property to generate a thread dump Gary, This is a known problem that has been fixed for the 3.3.0 release. The problem is that a dump signal can not be sent from a process which does not have a console as is the case with services. For now, you can work around the problem by setting the wrapper.ntservice.console=3Dtrue property. This will cause a console window to be created, but you will not see it unless the wrapper.ntservice.interactive property is also set to true. Another workaround is to set the wrapper.request_thread_dump_on_failed_jvm_exit=3Dtrue Let me know if this works for you. I will need more information to tell you why you are getting that error on shutdown. Set the wrapper.debug=3Dtrue property and post the output. Cheers, Leif Gary Hirschhorn wrote: > > I am trying to use the wrapper.commandfile property to generate a=20 > thread dump when running as an NT Service, but I am getting the error=20 > message below in the log files. If I try to stop the service instead,=20 > the service does stop, but I get error messages indicating that it=20 > could not stop cleanly. Does anyone know why this would happen and=20 > how I can generate a thread dump? I have included my configuration=20 > properties file below. > > Thank you very much for any help. > > > STATUS | wrapper | 2007/06/04 03:20:32 | Command 'DUMP'. Requesting a > Thread Dump. > STATUS | wrapper | 2007/06/04 03:20:32 | Dumping JVM state. > ERROR | wrapper | 2007/06/04 03:20:32 | Unable to send BREAK event=20 > to JVM process. Err(6 : The handle is invalid. (0x6)) > > > STATUS | wrapper | 2007/06/04 03:24:12 | Command 'STOP'. Shutting=20 > down with exit code 0. > INFO | jvm 1 | 2007/06/04 03:24:13 | Jun 4, 2007 3:24:12 AM=20 > org.apache.coyote.http11.Http11BaseProtocol pause > INFO | jvm 1 | 2007/06/04 03:24:13 | INFO: Pausing Coyote=20 > HTTP/1.1 on http-7101 > INFO | jvm 1 | 2007/06/04 03:24:13 | Jun 4, 2007 3:24:13 AM=20 > org.apache.catalina.core.StandardService stop > INFO | jvm 1 | 2007/06/04 03:24:13 | INFO: Stopping service=20 > FetchAgentRunnerServer > ERROR | wrapper | 2007/06/04 03:24:50 | Shutdown failed: Timed out=20 > waiting for signal from JVM. > ERROR | wrapper | 2007/06/04 03:24:50 | JVM did not exit on request, > terminated > STATUS | wrapper | 2007/06/04 03:24:51 | <-- Wrapper Stopped > ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Barry M. <bm...@gm...> - 2007-06-04 14:46:05
|
I got it working. The bat file to install the service that comes with the distribution does not allow you to add extra parameters. If I do as you say and run the wrapper.exe directly to install it then everything works great. Thank you for your help. On 6/4/07, Barry Molof <bm...@gm...> wrote: > > This didn't seem to work. I have a wrapper.conf with only #include > %WRAPPER_CONF_INCLUDE% and I run the NT Service install bat file as: > > InstallService.bat .\wrapper.conf > set.WRAPPER_CONF_INCLUDE=..\agent\conf\wrapper.conf > > When I do this, it looks like it is never reading the > agent\conf\wrapper.conf file at all since a service called wrapper is > installed instead of the name I am giving it in the application conf file. > > On 6/4/07, Leif Mortenson <le...@ta...> wrote: > > > > Barry, > > > When running wrapper.exe directly you have the choice to specify > > > configuration properties on the command line. Is it possible to > > > install a windows service using the Install bat file and to specify > > > configuration properties to set when it starts? > > Anything placed on the command line when the service in installed > > will be placed into the registry and used again when the service is > > started. > > > > > > What I would like to do is have a common conf file that is called > > > first which would then include another application specific conf file > > > that is pointed to by a configuration property specified when the > > > wrapper.exe service is called. Is this possible? > > Try this. > > Start by specifying the following to include your config file from the > > primary wrapper.conf: > > --- > > #include %WRAPPER_CONF_INCLUDE% > > --- > > > > Then put the following on the command line when installing the service: > > wrapper.exe -i ..\conf\wrapper.conf > > set.WRAPPER_CONF_INCLUDE=../myapp.conf > > > > Cheers, > > Leif > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > |
|
From: Barry M. <bm...@gm...> - 2007-06-04 14:35:51
|
This didn't seem to work. I have a wrapper.conf with only #include %WRAPPER_CONF_INCLUDE% and I run the NT Service install bat file as: InstallService.bat .\wrapper.conf set.WRAPPER_CONF_INCLUDE=..\agent\conf\wrapper.conf When I do this, it looks like it is never reading the agent\conf\wrapper.conf file at all since a service called wrapper is installed instead of the name I am giving it in the application conf file. On 6/4/07, Leif Mortenson <le...@ta...> wrote: > > Barry, > > When running wrapper.exe directly you have the choice to specify > > configuration properties on the command line. Is it possible to > > install a windows service using the Install bat file and to specify > > configuration properties to set when it starts? > Anything placed on the command line when the service in installed > will be placed into the registry and used again when the service is > started. > > > > What I would like to do is have a common conf file that is called > > first which would then include another application specific conf file > > that is pointed to by a configuration property specified when the > > wrapper.exe service is called. Is this possible? > Try this. > Start by specifying the following to include your config file from the > primary wrapper.conf: > --- > #include %WRAPPER_CONF_INCLUDE% > --- > > Then put the following on the command line when installing the service: > wrapper.exe -i ..\conf\wrapper.conf set.WRAPPER_CONF_INCLUDE=../myapp.conf > > Cheers, > Leif > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Aparna K. <ap...@da...> - 2007-06-04 14:20:29
|
Hi, Appreciate if someone can help me with this. Thanks, Aparna=20 -----Original Message----- From: Aparna Khade=20 Sent: Friday, June 01, 2007 10:03 AM To: Wra...@li... Subject: [Wrapper-user] Installing Windows service as Network Service Hello, Is there any way to install the service as a 'Network Service' not as local System or NT authenticated User service. I know there's a property 'wrapper.ntservice.account=3D', but this installs the service under the NT authenticated User ID. The problem with this approach is that anytime the user's NT passowrd changes, the service needs to be reinstalled. I want to install the service as 'Network Service'. Appreciate any help with this. Thanks, Aparna ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <le...@ta...> - 2007-06-04 14:19:26
|
Barry, > When running wrapper.exe directly you have the choice to specify > configuration properties on the command line. Is it possible to > install a windows service using the Install bat file and to specify > configuration properties to set when it starts? Anything placed on the command line when the service in installed will be placed into the registry and used again when the service is started. > > What I would like to do is have a common conf file that is called > first which would then include another application specific conf file > that is pointed to by a configuration property specified when the > wrapper.exe service is called. Is this possible? Try this. Start by specifying the following to include your config file from the primary wrapper.conf: --- #include %WRAPPER_CONF_INCLUDE% --- Then put the following on the command line when installing the service: wrapper.exe -i ..\conf\wrapper.conf set.WRAPPER_CONF_INCLUDE=../myapp.conf Cheers, Leif |
|
From: Barry M. <bm...@gm...> - 2007-06-04 13:53:50
|
Hello All, When running wrapper.exe directly you have the choice to specify configuration properties on the command line. Is it possible to install a windows service using the Install bat file and to specify configuration properties to set when it starts? What I would like to do is have a common conf file that is called first which would then include another application specific conf file that is pointed to by a configuration property specified when the wrapper.exeservice is called. Is this possible? Regards, Barry |
|
From: Leif M. <le...@ta...> - 2007-06-04 13:05:01
|
Method 3 will work. But you most likely do not need to do that. Just write a regular standalone Java application which registers a shutdown hook. Run that under Method 1 and you should be set. Your class's main method will be run on startup and the shutdown hook on shutdown. If and only if you find you need finer control. you can try out Method 3. You almost never need to do so however. Cheers, Leif san...@li... wrote: > Hi, > > I've written a Java application that does some temperature monitoring in my house. > > I'd like to have the application run as a service, and start/stop it with net start myapp/net stop myapp and so on. For this, I'm looking at JSW for this purpose. > > I have some doubts: > > 1) Which integration method it the best for this purpose? I think #3, but maybe I'm wrong and the things can be easier. > 2) Which environment it needs? An application server like tomcat or jboss or jdk is enough > 3) Am I correct if I say that JSW gives an application the "hooks" to be managed like a service, i.e. with JSW it can handle the "start service" and the "stop service" coming from win32 OS's? > > Thanks in advance > > sandman42 |
|
From: Leif M. <le...@ta...> - 2007-06-04 13:02:15
|
Gary, This is a known problem that has been fixed for the 3.3.0 release. The problem is that a dump signal can not be sent from a process which does not have a console as is the case with services. For now, you can work around the problem by setting the wrapper.ntservice.console=true property. This will cause a console window to be created, but you will not see it unless the wrapper.ntservice.interactive property is also set to true. Another workaround is to set the wrapper.request_thread_dump_on_failed_jvm_exit=true Let me know if this works for you. I will need more information to tell you why you are getting that error on shutdown. Set the wrapper.debug=true property and post the output. Cheers, Leif Gary Hirschhorn wrote: > > I am trying to use the wrapper.commandfile property to generate a > thread dump when running as an NT Service, but I am getting the error > message below in the log files. If I try to stop the service instead, > the service does stop, but I get error messages indicating that it > could not stop cleanly. Does anyone know why this would happen and > how I can generate a thread dump? I have included my configuration > properties file below. > > Thank you very much for any help. > > > STATUS | wrapper | 2007/06/04 03:20:32 | Command 'DUMP'. Requesting a > Thread Dump. > STATUS | wrapper | 2007/06/04 03:20:32 | Dumping JVM state. > ERROR | wrapper | 2007/06/04 03:20:32 | Unable to send BREAK event > to JVM process. Err(6 : The handle is invalid. (0x6)) > > > STATUS | wrapper | 2007/06/04 03:24:12 | Command 'STOP'. Shutting > down with exit code 0. > INFO | jvm 1 | 2007/06/04 03:24:13 | Jun 4, 2007 3:24:12 AM > org.apache.coyote.http11.Http11BaseProtocol pause > INFO | jvm 1 | 2007/06/04 03:24:13 | INFO: Pausing Coyote > HTTP/1.1 on http-7101 > INFO | jvm 1 | 2007/06/04 03:24:13 | Jun 4, 2007 3:24:13 AM > org.apache.catalina.core.StandardService stop > INFO | jvm 1 | 2007/06/04 03:24:13 | INFO: Stopping service > FetchAgentRunnerServer > ERROR | wrapper | 2007/06/04 03:24:50 | Shutdown failed: Timed out > waiting for signal from JVM. > ERROR | wrapper | 2007/06/04 03:24:50 | JVM did not exit on request, > terminated > STATUS | wrapper | 2007/06/04 03:24:51 | <-- Wrapper Stopped > |
|
From: Gary H. <ghi...@fe...> - 2007-06-04 10:49:50
|
I am trying to use the wrapper.commandfile property to generate a thread = dump when running as an NT Service, but I am getting the error message = below in the log files. If I try to stop the service instead, the = service does stop, but I get error messages indicating that it could not = stop cleanly. Does anyone know why this would happen and how I can = generate a thread dump? I have included my configuration properties = file below. Thank you very much for any help. STATUS | wrapper | 2007/06/04 03:20:32 | Command 'DUMP'. Requesting a = Thread Dump. STATUS | wrapper | 2007/06/04 03:20:32 | Dumping JVM state. ERROR | wrapper | 2007/06/04 03:20:32 | Unable to send BREAK event to = JVM process. Err(6 : The handle is invalid. (0x6)) STATUS | wrapper | 2007/06/04 03:24:12 | Command 'STOP'. Shutting down = with exit code 0. INFO | jvm 1 | 2007/06/04 03:24:13 | Jun 4, 2007 3:24:12 AM = org.apache.coyote.http11.Http11BaseProtocol pause INFO | jvm 1 | 2007/06/04 03:24:13 | INFO: Pausing Coyote HTTP/1.1 = on http-7101 INFO | jvm 1 | 2007/06/04 03:24:13 | Jun 4, 2007 3:24:13 AM = org.apache.catalina.core.StandardService stop INFO | jvm 1 | 2007/06/04 03:24:13 | INFO: Stopping service = FetchAgentRunnerServer ERROR | wrapper | 2007/06/04 03:24:50 | Shutdown failed: Timed out = waiting for signal from JVM. ERROR | wrapper | 2007/06/04 03:24:50 | JVM did not exit on request, = terminated STATUS | wrapper | 2007/06/04 03:24:51 | <-- Wrapper Stopped -------------------------------------- Contents of configuration file: -------------------------------------- wrapper.java.library.path.1=3DD:\program files\fetch technologies\fetch = agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\libuser;D:\p= rogram files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\shared\libuser;D:\program = files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\lib;D:\progr= am files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\shared\lib;D:\program = files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\bin;D:\progr= am files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\shared\bin wrapper.logfile=3DD:\program files\fetch technologies\fetch agent = platform = 3.3\2007_05_15\runtime\shared\bin\..\..\shared\logs\javaservicewrapper.YY= YYMMDD.log wrapper.logfile.rollmode=3DDATE wrapper.console.loglevel=3DINFO wrapper.logfile.loglevel=3DINFO wrapper.java.command=3DD:\program files\fetch technologies\fetch agent = platform = 3.3\2007_05_15\runtime\shared\bin\..\..\thirdparty\jre1.6.0\bin\java.exe wrapper.java.classpath.1=3DD:\program files\fetch technologies\fetch = agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\shared\lib\javaservicewrapper-3.2= .3.jar;D:\program files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\thirdparty\jre1.6.0\lib\tools.jar= ;D:\program files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\thirdparty\apache-tomcat-5.5.17\b= in\bootstrap.jar wrapper.java.additional.1=3D"-ea" wrapper.java.additional.2=3D"-Djava.endorsed.dirs=3DD:\program = files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\lib\javaendo= rsed;D:\program files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\shared\lib\javaendorsed" wrapper.java.additional.3=3D"-Dfetch.com.home=3DD:\program files\fetch = technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\.." wrapper.java.additional.4=3D"-Dfetch.com.bootstrap.classloader.pauselengt= h=3D-1" wrapper.java.additional.5=3D"-Dfetch.com.classpath.urls=3Dfile:/D:\progra= m files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\config/;file= :/D:\program files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\shared\config/;file:/D:\program = files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\libuser,scan= ;file:/D:\program files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\shared\libuser,scan;" wrapper.java.additional.6=3D"-Dfetch.com.lookandfeel=3Dcom.jgoodies.looks= .plastic.PlasticXPLookAndFeel" wrapper.java.additional.7=3D"-Dcatalina.home=3DD:\program files\fetch = technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\thirdparty\apache-tomcat-5.5.17" wrapper.java.additional.8=3D"-Dcatalina.base=3DD:\program files\fetch = technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\tomcat_base"= wrapper.java.additional.9=3D"-Djava.io.tmpdir=3DD:\program files\fetch = technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\tomcat_base\= temp" wrapper.java.additional.10=3D"-server" wrapper.java.additional.11=3D"-Xms1250M" wrapper.java.additional.12=3D"-Xmx1250M" wrapper.java.additional.13=3D"-XX:+UseParallelGC" wrapper.java.additional.14=3D"-XX:+UseParallelOldGC" wrapper.java.additional.15=3D"-XX:+UseAdaptiveSizePolicy" wrapper.java.additional.16=3D"-XX:MaxPermSize=3D128m" wrapper.java.additional.17=3D"-Dtheseus.home=3DD:\program files\fetch = technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner" wrapper.java.additional.18=3D"-Dtheseus.registry=3D" wrapper.java.additional.19=3D"-Dtheseus.logger=3D" wrapper.java.additional.20=3D"-Dfetch.com.extractor.plugin.classnames=3Dc= om.fetch.wrap.extract.regexplugin.RegexPlugIn,com.fetch.autofeedcore.news= agent.NewsAgentPlugIn" wrapper.java.additional.21=3D"-Dfetch.com.naturallanguage.maxfilesize=3D1= 50" wrapper.java.additional.22=3D"-Dfetch.com.naturallanguage.maxparagraphs=3D= 1500" wrapper.java.additional.23=3D"-Dfetch.com.wrap.document.request.acceptCon= tentTypes=3Dtext/*,application/xml,application/xhtml+xml,application/rss+= xml,application/atom+xml" wrapper.java.additional.24=3D"-Dfetch.com.wrap.document.request.maxConten= tLength=3D150000" wrapper.java.additional.25=3D"-verbose:gc" wrapper.java.additional.26=3D"-Xloggc:D:\program files\fetch = technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\logs\zzz_log= gc.txt" wrapper.java.mainclass=3Dorg.tanukisoftware.wrapper.WrapperStartStopApp wrapper.app.parameter.1=3Dorg.apache.catalina.startup.Bootstrap wrapper.app.parameter.2=3D4 wrapper.app.parameter.3=3D"-config" wrapper.app.parameter.4=3D"D:\program files\fetch technologies\fetch = agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\config\agent= runner_server.xml" wrapper.app.parameter.5=3D"-nonaming" wrapper.app.parameter.6=3D"start" wrapper.app.parameter.7=3Dorg.apache.catalina.startup.Bootstrap wrapper.app.parameter.8=3Dtrue wrapper.app.parameter.9=3D4 wrapper.app.parameter.10=3D"-config" wrapper.app.parameter.11=3D"D:\program files\fetch technologies\fetch = agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\config\agent= runner_server.xml" wrapper.app.parameter.12=3D"-nonaming" wrapper.app.parameter.13=3D"stop" #include D:\program files\fetch technologies\fetch agent platform = 3.3\2007_05_15\runtime\shared\bin\..\..\products\agentrunner\config\agent= runner_service.conf.base ------------------------------------------------ Contents of included configuration file: ------------------------------------------------ wrapper.ntservice.name=3DFetchAgentRunnerServer wrapper.ntservice.displayname=3DFetch AgentRunner Server wrapper.ntservice.description=3DFetch AgentRunner Server (using Tomcat = Servlet Engine) wrapper.ntservice.starttype=3DAUTO_START wrapper.ntservice.interactive=3Dfalse wrapper.ntservice.account=3DXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX wrapper.ntservice.password=3DXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX wrapper.ntservice.password.prompt=3Dtrue wrapper.commandfile=3D./javaservicewrapper.commandfile |
|
From: sandman42\@libero\.it <san...@li...> - 2007-06-04 09:42:11
|
Hi, I've written a Java application that does some temperature monitoring in = my house. I'd like to have the application run as a service, and start/stop it with= net start myapp/net stop myapp and so on. For this, I'm looking at JSW f= or this purpose. I have some doubts: 1) Which integration method it the best for this purpose? I think #3, but= maybe I'm wrong and the things can be easier. 2) Which environment it needs? An application server like tomcat or jboss= or jdk is enough 3) Am I correct if I say that JSW gives an application the "hooks" to be = managed like a service, i.e. with JSW it can handle the "start service" a= nd the "stop service" coming from win32 OS's? Thanks in advance sandman42 =0A=0A=0A------------------------------------------------------=0APassa a= Infostrada. ADSL e Telefono senza limiti e senza canone Telecom=0Ahttp:/= /i-mode.wind.it/=0A |
|
From: Aparna K. <ap...@da...> - 2007-06-01 14:03:03
|
Hello, Is there any way to install the service as a 'Network Service' not as local System or NT authenticated User service. I know there's a property 'wrapper.ntservice.account=3D', but this installs the service under the NT authenticated User ID. The problem with this approach is that anytime the user's NT passowrd changes, the service needs to be reinstalled. I want to install the service as 'Network Service'. Appreciate any help with this. Thanks, Aparna |
|
From: Aparna K. <ap...@da...> - 2007-06-01 13:49:30
|
Hello, Is there any way to install the service as a 'Network Service' not as local System or NT authenticated User service. I know there's a property 'wrapper.ntservice.account=3D', but this installs the service under the NT authenticated User ID. The problem with this approach is that anytime the user's NT passowrd changes, the service needs to be reinstalled. I want to install the service as 'Network Service'. Appreciate any help with this. Thanks, Aparna |
|
From: Chandra P. <cp...@ig...> - 2007-05-30 08:31:07
|
As I pointed out in my previous email, strict ordering of wrapper.java.additional.<n> makes include hard to maintain and fragile for wrapper.java.additional<n> type parameters. I think most of the wrapper users are bitten by a missing ordinal at some point. Perhaps you can consider dropping ordinal from "wrapper.java.additional", etc. You may have to do parse wrapper.conf multiple times to construct VM parameters and arguments.=20 =20 Per my original request, the value of "wrapper.config.filter.selector" should determine which one to pick. Of course it can be set to an environment variable. -Chandra -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: Wednesday, May 30, 2007 1:13 AM To: wra...@li... Subject: Re: [Wrapper-user] dev/stage/production configuration selectors Chandra, I would still suggest using Ant to create your wrapper.conf. If that is not an option, how about this: In your wrapper.conf file, add an include line like this: #include ../conf/wrapper-%BUILD_MODE%.conf The you can set a BUILD_MODE environment variable to control exactly which include file is used. I was not clear from your original request how you would expect the wrapper to know which configuration mode to be using at any time anyway. Cheers, Leif Chandra Patni wrote: > BTW, I am only asking for tagging <N> type properties. Usually, one > would use wrapper.java.initmemory, wrapper.java.maxmemory for memory > settings. Under this model, one would use wrapper.java.additional.<N> > for memory settings.=20 > We also use these for heaps > 4G. Wrapper is hard coded for no more 4G > memory even for 64 bit versions. > > > > > -----Original Message----- > From: wra...@li... > [mailto:wra...@li...] On Behalf Of Chandra > Patni > Sent: Wednesday, May 23, 2007 11:27 PM > To: wra...@li... > Subject: Re: [Wrapper-user] dev/stage/production configuration selectors > > Leif, > We share application/configuration between servers. One example of this > is -Xms -Xmx for servers with 2GB vs 4GB memory. And we don't want to > have proliferation of config files for small changes but at the same > time allow some minors variation based on tags. > > I hope that you recognize that fine grained config selectors are very > useful features. > > One way to achieve the same effect by using=20 > > #include nfspath/%TAG_NAME%/j2ee.conf > > Due to strict numbering requirement for wrapper > wrapper.java.additional.<n>, etc makes this difficult to maintain. Do > you have any plans to remove this restriction? I was looking at the > wrapper code and it didn't seem too difficult.=20 > > -Chandra > > -----Original Message----- > From: wra...@li... > [mailto:wra...@li...] On Behalf Of Leif > Mortenson > Sent: Wednesday, May 23, 2007 6:08 PM > To: wra...@li... > Subject: Re: [Wrapper-user] dev/stage/production configuration selectors > > Chandra, > This is something that I often do myself using Ant. It is quite easy > to > do token replacements using Ant and generate the wrapper.conf > from a template. Have you looked into this? It would make your > production wrapper.conf much cleaner than what you suggested. > > Let me know if there are some reasons why Ant would not work for > you. > > Cheers, > Leif > > Chandra Patni wrote: > =20 >> It will be quite useful if wrapper can support, >> >> wrapper.java.additional.N.development=3D-DDevSpecificProperty >> wrapper.java.additional.N.staging=3D-DStagingSpecificProperty >> wrapper.java.additional.N.production=3D-DProductionSpecificProperty >> >> #APPLICATION_ROLE variable is set to either (development, staging, >> production)=20 >> >> wrapper.config.filter.selector=3D%APPLICATION_ROLE% >> >> I am wondering if anything like this already exists or in the >> =20 > pipeline. > =20 >> -Chandra >> =20 ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |