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: Andreas W. <and...@em...> - 2004-04-13 09:43:45
|
<html><style>p {margin: 0px}</style><body bgcolor='#ffffff' style='font-size:9pt; font-family:Verdana; font-family: Verdana' ><FONT size=2><P>Leif,</P><P>great. I will dig into this and the other new features the next couple of days.</P><P>Cheers,</P><P>Andreas</P><P>> -----Original Message-----</P><P>> From: Leif Mortenson [mailto:le...@ta...]</P><P>> Sent: Thursday, April 08, 2004 5:29 PM</P><P>> To: wra...@li...</P><P>> Subject: Re: [Wrapper-user] Wrapper directories</P><P>> </P><P>> </P><P>> Andeas,</P><P>> I have finally gotten a wrapper.working.dir property </P><P>> implemented in </P><P>> the Wrapper</P><P>> and believe I have all the vagaries worked out or at least </P><P>> understood. </P><P>> The changes</P><P>> are all checked into CVS along with the documentation for the new </P><P>> property. (Which</P><P>> is quite involved)</P><P>> </P><P>> The gist of it is that the Wra!
pper will work as it always has on </P><P>> startup and until</P><P>> after the wrapper.conf file has been completely loaded and </P><P>> parsed. The </P><P>> Wrapper</P><P>> will then change to the new working directory before </P><P>> launching the first </P><P>> JVM. This</P><P>> means that all paths in the wrapper.conf file will be relative to the </P><P>> location specified</P><P>> in the wrapper.working.dir.</P><P>> </P><P>> Users who do not make use of this new property will see </P><P>> no change in </P><P>> the way</P><P>> the Wrapper works.</P><P>> </P><P>> This was the last feature that I had wanted to get into 3.1.0, so </P><P>> once it has been</P><P>> fully tested a release will be forthcoming soon. There are </P><P>> still a few </P><P>> more things that</P><P>> have to be tied up for the new documentation / web site.</P><P>> </P><P>> Cheers,</P><P>> Leif</P><P>> </P><P>> Andreas!
Wendt wrote:</P><P>> </P><P>> >Leif,</P><P>> ></P><P>&
gt; >attached you will find the diff (I named my modified version 3.0.6).</P><P>> ></P><P>> >Cheers,</P><P>> >Andreas</P><P>> ></P><P>> > </P><P>> ></P><P>> >>-----Original Message-----</P><P>> >>From: Leif Mortenson [mailto:le...@ta...]</P><P>> >>Sent: Monday, March 15, 2004 3:56 PM</P><P>> >>To: wra...@li...</P><P>> >>Subject: Re: [Wrapper-user] Wrapper directories</P><P>> >></P><P>> >></P><P>> >>Andreas,</P><P>> >> Go ahead and send me the diff and I'll take a look at it.</P><P>> >></P><P>> >>Thanks as always,</P><P>> >>Leif</P><P>> >></P><P>> >>Andreas Wendt wrote:</P><P>> >></P><P>> >> </P><P>> >></P><P>> <snip></P><P>> </P><P>> </P><P>> </P><P>> -------------------------------------------------------</P><P>> This SF.Net ema!
il is sponsored by: IBM Linux Tutorials</P><P>> Free Linux tutorial presented by Daniel Robbins, President and CEO of</P><P>> GenToo technologies. Learn everything from fundamentals to system</P><P>> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click</P><P>> _______________________________________________</P><P>> Wrapper-user mailing list</P><P>> Wra...@li...</P><P>> https://lists.sourceforge.net/lists/listinfo/wrapper-user</P><P>> </P></FONT></body></html>
|
|
From: Leif M. <le...@ta...> - 2004-04-13 09:23:11
|
Johan,
From the output, I am not clear where exactly that message is coming
from.
The Wrapper or your JVM? I am pretty sure it is the JVM because you still
get output after the dump from the Wrapper.
Could you enable debug output using wrapper.debug=true and then post the
resulting wrapper.log file. Don't include output from previous runs.
Is this happening every time? How are you asking the Wrapper to quit?
Are you using the Wrapper scripts?
Was there a core dump from the JVM in the directory containing the
wrapper
binary? It might give you more info as well.
Cheers,
Leif
Stuijt, Johan wrote:
> Hello everybody!
>
>
>
> Has anybody an explanation and/or solution for the following message
> appearing in my wrapper/logs/application.log file when I tell the
> wrapper to stop the application on linux redhat 9?
>
> I have my own shutdown-hook registered and it does not run because it
> should have said something in this logfile.
>
> I use the WrapperListener integration method.
>
>
>
>
>
> ****************
>
> Another exception has been detected while we were handling last error.
>
> Dumping information about last error:
>
> ERROR REPORT FILE = (N/A)
>
> PC = 0x5140a7c3
>
> SIGNAL = 11
>
> FUNCTION NAME = (N/A)
>
> OFFSET = 0xFFFFFFFF
>
> LIBRARY NAME = (N/A)
>
> Please check ERROR REPORT FILE for further information, if there is any.
>
> Good bye.
>
> JVM exited unexpectedly.
>
> TERM trapped. Shutting down.
>
> <-- Wrapper Stopped
>
>
>
> First time wrapper user.
>
|
|
From: Leif M. <le...@ta...> - 2004-04-13 09:21:19
|
Paul Casanova wrote: >Aside from services, I too have a drive that won't remain mapped, so I >have a shortcut in my startup folder now: >%windir%\system32\net.exe use z: \\myserver\myshare > >Would this help as a workaround? > > Thanks Paul. I'll give this solution a try as well. I was able to get my customer up and running on Monday using Earnie's suggestion. I had not known about that method of mapping a network drive. >PS - for all the help you've given me, I'd be wrapped (pardon the pun) to >be able to help you! > > :-) Thanks, Leif |
|
From: Stuijt, J. <JS...@gt...> - 2004-04-13 09:07:22
|
Hello everybody!
Has anybody an explanation and/or solution for the following message
appearing in my wrapper/logs/application.log file when I tell the wrapper to
stop the application on linux redhat 9?
I have my own shutdown-hook registered and it does not run because it should
have said something in this logfile.
I use the WrapperListener integration method.
****************
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC = 0x5140a7c3
SIGNAL = 11
FUNCTION NAME = (N/A)
OFFSET = 0xFFFFFFFF
LIBRARY NAME = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.
JVM exited unexpectedly.
TERM trapped. Shutting down.
<-- Wrapper Stopped
First time wrapper user.
Met vriendelijke groet,
Johan Stuijt
Application Engineer
MES Expert Center
Doorkiesnummer: 075 612 79 34
GTI Industrie Noordwest bv
Industrial Automation
Houthavenkade 44 1506 PD Zaandam
Postbus 1377 1500 AJ Zaandam
tel.: 075 612 76 00 fax: 075 612 30 60
<http://www.gti-group.com/ia> www.gti-group.com/ia
================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.
================================================
|
|
From: Paul C. <cas...@au...> - 2004-04-12 23:17:02
|
Hi Leif, Aside from services, I too have a drive that won't remain mapped, so I have a shortcut in my startup folder now: %windir%\system32\net.exe use z: \\myserver\myshare Would this help as a workaround? PS - for all the help you've given me, I'd be wrapped (pardon the pun) to be able to help you! Regards, Paul Casanova |---------+----------------------------------------> | | Leif Mortenson | | | <le...@ta...> | | | Sent by: | | | wra...@li...| | | ceforge.net | | | | | | | | | 08/04/2004 10:56 PM | | | Please respond to | | | wrapper-user | |---------+----------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Wrapper User List <wra...@li...> | | cc: | | Subject: [Wrapper-user] Question about W2k and network drives | >--------------------------------------------------------------------------------------------------------------| I am using the Wrapper at one of my customer sites and have run into a problem when the system is rebooted. The Java application makes use of resources stored on a network drive mapped to drive K: To accomplish this, a user account was created which has the drive mapped and configured to reestablish the mapping automatically. If I reboot the machine and log in as that user, the drive is mapped correctly without having to enter any passwords or anything. The problem is that if I install a service using that user and then reboot the machine, the application fails on startup because drive K is not found. Even if I place a long delay in the startup, the drive will never be mapped. If I logon to the machine, as another user which does not have the drive mapped and request that the service be restarted, it will still fail to map the drive. If however, I logon as a user which has that drive mapped, even if it is a different user, and then restart the service, everything will work correctly. For some reason, this machine is not actually mapping its network drives unless an actual user logs into the system and connects to the drive. Obviously this is not very good for automatic recovery... Anyone have any ideas what would be causing this? It is a windows 2000 pro system. Thanks, Leif ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <le...@ta...> - 2004-04-12 14:50:04
|
Paul,
You have stumbled upon the most common problem that new users have
with the Wrapper. It is caused by having not read the integration
section of
the documentation :-)
The message that you saw has been modified in 3.1.0 so users will now
see the following:
wrapper | Startup failed: Timed out waiting for a signal from the JVM.
wrapper |
wrapper |
------------------------------------------------------------------------
wrapper | Advice:
wrapper | The Wrapper consists of a native component as well as a set
of classes
wrapper | which run within the JVM that it launches. The Java
component of the
wrapper | Wrapper must be initialized promptly after the JVM is
launched or the
wrapper | Wrapper will timeout, as just happened. Most likely the main
class
wrapper | specified in the Wrapper configuration file is not correctly
initializing
wrapper | the Wrapper classes:
wrapper | org.tanukisoftware.wrapper.test.BackgroundThreads
wrapper | While it is possible to do so manually, the Wrapper ships
with helper
wrapper | classes to make this initialization processes automatic.
wrapper | Please review the integration section of the Wrapper's
documentation
wrapper | for the various methods which can be employed to launch an
application
wrapper | within the Wrapper:
wrapper | http://wrapper.tanukisoftware.org/doc/english/integrate.html
wrapper |
------------------------------------------------------------------------
wrapper |
wrapper | JVM did not exit on request, terminated
Also, in general I suggest running in a console until you have
things configured
correctly. There are some problems that only happen when running as a
service
but if it can't be run in a console it won't work when run as a service.
Cheers,
Leif
Goutam Paul wrote:
> Hi,
>
>
>
> Could anyone help me to solve this problem?
>
>
>
> I’m using wrapper to install a small java application as an NT Service.
>
> I successfully installed as an NT service but whenever I tried to
> start the service
>
> I always got the following error message:
>
> Service: Could not start the test Application service on
> local computer.
>
> ERROR 1053 :The service did not respond to the start or
> control request in a timely fashion.
>
>
>
> *FYI :* *I’m using JDK 1.4.2_04 on Windows XP Professional SP1.*
>
>
>
> _Below are my configuration parameters._
>
>
>
> #********************************************************************
>
> # Wrapper Properties
>
> #********************************************************************
>
> # Java Application
>
> wrapper.java.command=C:/j2sdk1.4.2_04/bin/java
>
> wrapper.java.mainclass=Test
>
> wrapper.java.classpath.1=../lib/wrapper.jar
>
> wrapper.java.classpath.2=../lib/test.jar
>
> wrapper.java.library.path.1=../lib
>
> wrapper.java.initmemory=3
>
> wrapper.java.maxmemory=64
>
> wrapper.use_system_time=FALSE
>
> wrapper.console.loglevel=INFO
>
> wrapper.logfile=../logs/wrapper.log
>
> wrapper.logfile.format=LPTM
>
> wrapper.logfile.loglevel=DEBUG
>
> wrapper.logfile.maxsize=0
>
> wrapper.logfile.maxfiles=0
>
> wrapper.syslog.loglevel=NONE
>
> wrapper.ntservice.name=Test
>
> wrapper.ntservice.displayname=Test Application
>
> wrapper.ntservice.description=Test Application
>
> wrapper.ntservice.starttype=DEMAND_START
>
> wrapper.ntservice.interactive=false
>
> wrapper.ntservice.process_priority=NORMAL
>
>
>
> _I usually got the following error message:_
>
>
>
> INFO | jvm 1 | 2004/04/12 11:34:10 | Loop no.29
>
> INFO | jvm 1 | 2004/04/12 11:34:11 | Loop no.30
>
> ERROR | wrapper | 2004/04/12 11:34:12 | Startup failed: Timed out
> waiting for signal from JVM.
>
> ERROR | wrapper | 2004/04/12 11:34:12 | Java Virtual Machine did not
> exit on request, terminated
>
> DEBUG | wrapper | 2004/04/12 11:34:12 | JVM was only running for 31
> seconds leading to a failed restart count of 1.
>
> STATUS | wrapper | 2004/04/12 11:34:18 | Launching a JVM...
>
> DEBUG | wrapper | 2004/04/12 11:34:18 | command:
> "C:\j2sdk1.4.2_04\bin\java" -Xms3m -Xmx64m
> -Djava.library.path="../lib" -classpath
> "../lib/wrapper.jar;../lib/test.jar" -Dwrapper.key="2CYAymJ5BNP0Heop"
> -Dwrapper.port=32000 -Dwrapper.debug="TRUE" -Dwrapper.service="TRUE"
> -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=2 Test
>
> DEBUG | wrapper | 2004/04/12 11:34:18 | Java Virtual Machine started
> (PID=2128)
>
> INFO | jvm 2 | 2004/04/12 11:34:18 | Constructor....!
>
> INFO | jvm 2 | 2004/04/12 11:34:18 | Scheduler....!
>
> INFO | jvm 2 | 2004/04/12 11:34:19 | Loop no.1
>
> INFO | jvm 2 | 2004/04/12 11:34:20 | Loop no.2
>
>
>
>
>
>
>
> Thanks & Regards,
>
> Goutam
>
>
>
>
>
>
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.627 / Virus Database: 402 - Release Date: 3/16/2004
>
|
|
From: Earnie D. <ed...@vr...> - 2004-04-12 13:59:12
|
Yes, the URI format can be a little challenging. Glad it worked for you!!!
Earnie!
-----Original Message-----
From: Leif Mortenson [mailto:le...@ta...]
Sent: Monday, April 12, 2004 12:34 AM
To: wra...@li...
Subject: Re: [Wrapper-user] Question about W2k and network drives
Earnie,
Thank you!! You were correct. If I reference the drive using UNC format
then windows seems to locate the drive correctly. I'll put that one into the
FAQ as well.
On thing that took me a little while however was figuring out the URI
syntax.
A local or mapped network drive looks like this:
new URI("file://H/DATA");
The correct UNC format turned out to look like this:
new URI("file:////123.123.123.123/Drive/DATA");
Thanks for you help on this.
Cheers,
Leif
Earnie Dyke wrote:
>Have you tried refering to the "drive" as a URI rather than a dos drive?
>
>Earnie!
>
>-----Original Message-----
>From: Leif Mortenson [mailto:le...@ta...]
>Sent: Thursday, April 08, 2004 8:56 AM
>To: Wrapper User List
>Subject: [Wrapper-user] Question about W2k and network drives
>
>
>I am using the Wrapper at one of my customer sites and have run into a
>problem when the system is rebooted.
>
>The Java application makes use of resources stored on a network drive
>mapped to drive K: To accomplish this, a user account was created which
>has the drive mapped and configured to reestablish the mapping
>automatically.
>
>If I reboot the machine and log in as that user, the drive is mapped
>correctly without having to enter any passwords or anything.
>
>The problem is that if I install a service using that user and then reboot
>the machine, the application fails on startup because drive K is not found.
>Even if I place a long delay in the startup, the drive will never be mapped.
>
>If I logon to the machine, as another user which does not have the drive
>mapped and request that the service be restarted, it will still fail to map
>the drive.
>
>If however, I logon as a user which has that drive mapped, even if it is a
>different user, and then restart the service, everything will work
>correctly.
>
>For some reason, this machine is not actually mapping its network drives
>unless an actual user logs into the system and connects to the drive.
>Obviously this is not very good for automatic recovery...
>
>Anyone have any ideas what would be causing this? It is a windows 2000
>pro system.
>
>Thanks,
>Leif
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>****************************************************************************
>NOTICE: This email (including any attachments) may include confidential
>information. It is intended solely for the individuals or entities to which
>it is addressed. If you have received this email in error, distribution or
>use of it is prohibited. Please notify the sender and permanently delete it
>from your email system. Also, given the nature of electronic mail and its
>potential to carry computer viruses, the Virginia Retirement System and the
>sender in no way warrant a virus free transmission. You and your
>organization should use appropriate means to check this email and any
>attachments for potential viruses and to prevent their execution.
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Leif M. <le...@ta...> - 2004-04-12 13:57:33
|
Earnie,
Thank you!! You were correct. If I reference the drive using UNC format
then windows seems to locate the drive correctly. I'll put that one into the
FAQ as well.
On thing that took me a little while however was figuring out the URI
syntax.
A local or mapped network drive looks like this:
new URI("file://H/DATA");
The correct UNC format turned out to look like this:
new URI("file:////123.123.123.123/Drive/DATA");
Thanks for you help on this.
Cheers,
Leif
Earnie Dyke wrote:
>Have you tried refering to the "drive" as a URI rather than a dos drive?
>
>Earnie!
>
>-----Original Message-----
>From: Leif Mortenson [mailto:le...@ta...]
>Sent: Thursday, April 08, 2004 8:56 AM
>To: Wrapper User List
>Subject: [Wrapper-user] Question about W2k and network drives
>
>
>I am using the Wrapper at one of my customer sites and have run into a
>problem when the system is rebooted.
>
>The Java application makes use of resources stored on a network drive
>mapped to drive K: To accomplish this, a user account was created which
>has the drive mapped and configured to reestablish the mapping
>automatically.
>
>If I reboot the machine and log in as that user, the drive is mapped
>correctly without having to enter any passwords or anything.
>
>The problem is that if I install a service using that user and then reboot
>the machine, the application fails on startup because drive K is not found.
>Even if I place a long delay in the startup, the drive will never be mapped.
>
>If I logon to the machine, as another user which does not have the drive
>mapped and request that the service be restarted, it will still fail to map
>the drive.
>
>If however, I logon as a user which has that drive mapped, even if it is a
>different user, and then restart the service, everything will work
>correctly.
>
>For some reason, this machine is not actually mapping its network drives
>unless an actual user logs into the system and connects to the drive.
>Obviously this is not very good for automatic recovery...
>
>Anyone have any ideas what would be causing this? It is a windows 2000
>pro system.
>
>Thanks,
>Leif
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>****************************************************************************
>NOTICE: This email (including any attachments) may include confidential
>information. It is intended solely for the individuals or entities to which
>it is addressed. If you have received this email in error, distribution or
>use of it is prohibited. Please notify the sender and permanently delete it
>from your email system. Also, given the nature of electronic mail and its
>potential to carry computer viruses, the Virginia Retirement System and the
>sender in no way warrant a virus free transmission. You and your
>organization should use appropriate means to check this email and any
>attachments for potential viruses and to prevent their execution.
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>
|
|
From: Goutam P. <go...@el...> - 2004-04-12 07:24:30
|
Hi,
=20
Could anyone help me to solve this problem?
=20
I=92m using wrapper to install a small java application as an NT =
Service.
I successfully installed as an NT service but whenever I tried to start
the service
I always got the following error message:
Service: Could not start the test Application service on
local computer.
ERROR 1053 :The service did not respond to the start or
control request in a timely fashion.
=20
FYI : I=92m using JDK 1.4.2_04 on Windows XP Professional SP1.
=20
Below are my configuration parameters.
=20
#********************************************************************
# Wrapper Properties
#********************************************************************
# Java Application
wrapper.java.command=3DC:/j2sdk1.4.2_04/bin/java
wrapper.java.mainclass=3DTest
wrapper.java.classpath.1=3D../lib/wrapper.jar
wrapper.java.classpath.2=3D../lib/test.jar
wrapper.java.library.path.1=3D../lib
wrapper.java.initmemory=3D3
wrapper.java.maxmemory=3D64
wrapper.use_system_time=3DFALSE
wrapper.console.loglevel=3DINFO
wrapper.logfile=3D../logs/wrapper.log
wrapper.logfile.format=3DLPTM
wrapper.logfile.loglevel=3DDEBUG
wrapper.logfile.maxsize=3D0
wrapper.logfile.maxfiles=3D0
wrapper.syslog.loglevel=3DNONE
wrapper.ntservice.name=3DTest
wrapper.ntservice.displayname=3DTest Application
wrapper.ntservice.description=3DTest Application
wrapper.ntservice.starttype=3DDEMAND_START
wrapper.ntservice.interactive=3Dfalse
wrapper.ntservice.process_priority=3DNORMAL
=20
I usually got the following error message:
=20
INFO | jvm 1 | 2004/04/12 11:34:10 | Loop no.29
INFO | jvm 1 | 2004/04/12 11:34:11 | Loop no.30
ERROR | wrapper | 2004/04/12 11:34:12 | Startup failed: Timed out
waiting for signal from JVM.
ERROR | wrapper | 2004/04/12 11:34:12 | Java Virtual Machine did not
exit on request, terminated
DEBUG | wrapper | 2004/04/12 11:34:12 | JVM was only running for 31
seconds leading to a failed restart count of 1.
STATUS | wrapper | 2004/04/12 11:34:18 | Launching a JVM...
DEBUG | wrapper | 2004/04/12 11:34:18 | command:
"C:\j2sdk1.4.2_04\bin\java" -Xms3m -Xmx64m =
-Djava.library.path=3D"../lib"
-classpath "../lib/wrapper.jar;../lib/test.jar"
-Dwrapper.key=3D"2CYAymJ5BNP0Heop" -Dwrapper.port=3D32000
-Dwrapper.debug=3D"TRUE" -Dwrapper.service=3D"TRUE"
-Dwrapper.cpu.timeout=3D"10" -Dwrapper.jvmid=3D2 Test
DEBUG | wrapper | 2004/04/12 11:34:18 | Java Virtual Machine started
(PID=3D2128)
INFO | jvm 2 | 2004/04/12 11:34:18 | Constructor....!
INFO | jvm 2 | 2004/04/12 11:34:18 | Scheduler....!
INFO | jvm 2 | 2004/04/12 11:34:19 | Loop no.1
INFO | jvm 2 | 2004/04/12 11:34:20 | Loop no.2
=20
=20
=20
Thanks & Regards,
Goutam
=20
=20
=20
=20
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.627 / Virus Database: 402 - Release Date: 3/16/2004
=20
|
|
From: Sal I. <sal...@vo...> - 2004-04-08 17:33:52
|
Hello Leif,
I would like to issue a "wrapper -check-service" and get back a
status/status-code such as
not-installed
installed
started
not-started
disabled
... anything you want.
optionally this could come back as a bitfield, similar to the "chmod 777",
so a "wrapper -check-service" would print-out a 2-character field where the
first character is the installed status and the second is the started
status, so "IS" means installed and started, "NN" means not installed and
not started.
this could also come back as as an "int" return code from the wrapper main
() call so then this could be called from java.
i'd like to have this functionality so i can query it from the command line
without going to the services control panel, and also because i'd like to
create an ant wrapper task that can be used these ways:
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="console" />
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="start" />
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="stop" />
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="install" />
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="remove" />
<java-service-wrapper dir="bin" conf="../wrapper.conf"
action="check-installed" property="WRAPPER_INSTALLED" />
<java-service-wrapper dir="bin" conf="../wrapper.conf"
action="check-started" property="WRAPPER_STARTED" />
if you want to include the ant library in the wrapper distribution, i can
create the source under your package such as
"org.tanukisoftware.wrapper.ant" and hand it over to you.
sal.
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...]On Behalf Of Leif
Mortenson
Sent: Thursday, April 08, 2004 8:29 AM
To: wra...@li...
Subject: Re: [Wrapper-user] Wrapper directories
Andeas,
I have finally gotten a wrapper.working.dir property implemented in
the Wrapper
and believe I have all the vagaries worked out or at least understood.
The changes
are all checked into CVS along with the documentation for the new
property. (Which
is quite involved)
The gist of it is that the Wrapper will work as it always has on
startup and until
after the wrapper.conf file has been completely loaded and parsed. The
Wrapper
will then change to the new working directory before launching the first
JVM. This
means that all paths in the wrapper.conf file will be relative to the
location specified
in the wrapper.working.dir.
Users who do not make use of this new property will see no change in
the way
the Wrapper works.
This was the last feature that I had wanted to get into 3.1.0, so
once it has been
fully tested a release will be forthcoming soon. There are still a few
more things that
have to be tied up for the new documentation / web site.
Cheers,
Leif
Andreas Wendt wrote:
>Leif,
>
>attached you will find the diff (I named my modified version 3.0.6).
>
>Cheers,
>Andreas
>
>
>
>>-----Original Message-----
>>From: Leif Mortenson [mailto:le...@ta...]
>>Sent: Monday, March 15, 2004 3:56 PM
>>To: wra...@li...
>>Subject: Re: [Wrapper-user] Wrapper directories
>>
>>
>>Andreas,
>> Go ahead and send me the diff and I'll take a look at it.
>>
>>Thanks as always,
>>Leif
>>
>>Andreas Wendt wrote:
>>
>>
>>
<snip>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Leif M. <le...@ta...> - 2004-04-08 15:29:16
|
Andeas,
I have finally gotten a wrapper.working.dir property implemented in
the Wrapper
and believe I have all the vagaries worked out or at least understood.
The changes
are all checked into CVS along with the documentation for the new
property. (Which
is quite involved)
The gist of it is that the Wrapper will work as it always has on
startup and until
after the wrapper.conf file has been completely loaded and parsed. The
Wrapper
will then change to the new working directory before launching the first
JVM. This
means that all paths in the wrapper.conf file will be relative to the
location specified
in the wrapper.working.dir.
Users who do not make use of this new property will see no change in
the way
the Wrapper works.
This was the last feature that I had wanted to get into 3.1.0, so
once it has been
fully tested a release will be forthcoming soon. There are still a few
more things that
have to be tied up for the new documentation / web site.
Cheers,
Leif
Andreas Wendt wrote:
>Leif,
>
>attached you will find the diff (I named my modified version 3.0.6).
>
>Cheers,
>Andreas
>
>
>
>>-----Original Message-----
>>From: Leif Mortenson [mailto:le...@ta...]
>>Sent: Monday, March 15, 2004 3:56 PM
>>To: wra...@li...
>>Subject: Re: [Wrapper-user] Wrapper directories
>>
>>
>>Andreas,
>> Go ahead and send me the diff and I'll take a look at it.
>>
>>Thanks as always,
>>Leif
>>
>>Andreas Wendt wrote:
>>
>>
>>
<snip>
|
|
From: Leif M. <le...@ta...> - 2004-04-08 15:07:25
|
I visit that customer on Monday and will give that a try. Thanks. Leif Earnie Dyke wrote: >Have you tried refering to the "drive" as a URI rather than a dos drive? > >Earnie! > >-----Original Message----- >From: Leif Mortenson [mailto:le...@ta...] >Sent: Thursday, April 08, 2004 8:56 AM >To: Wrapper User List >Subject: [Wrapper-user] Question about W2k and network drives > > >I am using the Wrapper at one of my customer sites and have run into a >problem when the system is rebooted. > >The Java application makes use of resources stored on a network drive >mapped to drive K: To accomplish this, a user account was created which >has the drive mapped and configured to reestablish the mapping >automatically. > >If I reboot the machine and log in as that user, the drive is mapped >correctly without having to enter any passwords or anything. > >The problem is that if I install a service using that user and then reboot >the machine, the application fails on startup because drive K is not found. >Even if I place a long delay in the startup, the drive will never be mapped. > >If I logon to the machine, as another user which does not have the drive >mapped and request that the service be restarted, it will still fail to map >the drive. > >If however, I logon as a user which has that drive mapped, even if it is a >different user, and then restart the service, everything will work >correctly. > >For some reason, this machine is not actually mapping its network drives >unless an actual user logs into the system and connects to the drive. >Obviously this is not very good for automatic recovery... > >Anyone have any ideas what would be causing this? It is a windows 2000 >pro system. > >Thanks, >Leif > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > >**************************************************************************** >NOTICE: This email (including any attachments) may include confidential >information. It is intended solely for the individuals or entities to which >it is addressed. If you have received this email in error, distribution or >use of it is prohibited. Please notify the sender and permanently delete it >from your email system. Also, given the nature of electronic mail and its >potential to carry computer viruses, the Virginia Retirement System and the >sender in no way warrant a virus free transmission. You and your >organization should use appropriate means to check this email and any >attachments for potential viruses and to prevent their execution. > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > |
|
From: Earnie D. <ed...@vr...> - 2004-04-08 13:01:52
|
Have you tried refering to the "drive" as a URI rather than a dos drive? Earnie! -----Original Message----- From: Leif Mortenson [mailto:le...@ta...] Sent: Thursday, April 08, 2004 8:56 AM To: Wrapper User List Subject: [Wrapper-user] Question about W2k and network drives I am using the Wrapper at one of my customer sites and have run into a problem when the system is rebooted. The Java application makes use of resources stored on a network drive mapped to drive K: To accomplish this, a user account was created which has the drive mapped and configured to reestablish the mapping automatically. If I reboot the machine and log in as that user, the drive is mapped correctly without having to enter any passwords or anything. The problem is that if I install a service using that user and then reboot the machine, the application fails on startup because drive K is not found. Even if I place a long delay in the startup, the drive will never be mapped. If I logon to the machine, as another user which does not have the drive mapped and request that the service be restarted, it will still fail to map the drive. If however, I logon as a user which has that drive mapped, even if it is a different user, and then restart the service, everything will work correctly. For some reason, this machine is not actually mapping its network drives unless an actual user logs into the system and connects to the drive. Obviously this is not very good for automatic recovery... Anyone have any ideas what would be causing this? It is a windows 2000 pro system. Thanks, Leif ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user **************************************************************************** NOTICE: This email (including any attachments) may include confidential information. It is intended solely for the individuals or entities to which it is addressed. If you have received this email in error, distribution or use of it is prohibited. Please notify the sender and permanently delete it from your email system. Also, given the nature of electronic mail and its potential to carry computer viruses, the Virginia Retirement System and the sender in no way warrant a virus free transmission. You and your organization should use appropriate means to check this email and any attachments for potential viruses and to prevent their execution. |
|
From: Leif M. <le...@ta...> - 2004-04-08 12:58:43
|
I am using the Wrapper at one of my customer sites and have run into a problem when the system is rebooted. The Java application makes use of resources stored on a network drive mapped to drive K: To accomplish this, a user account was created which has the drive mapped and configured to reestablish the mapping automatically. If I reboot the machine and log in as that user, the drive is mapped correctly without having to enter any passwords or anything. The problem is that if I install a service using that user and then reboot the machine, the application fails on startup because drive K is not found. Even if I place a long delay in the startup, the drive will never be mapped. If I logon to the machine, as another user which does not have the drive mapped and request that the service be restarted, it will still fail to map the drive. If however, I logon as a user which has that drive mapped, even if it is a different user, and then restart the service, everything will work correctly. For some reason, this machine is not actually mapping its network drives unless an actual user logs into the system and connects to the drive. Obviously this is not very good for automatic recovery... Anyone have any ideas what would be causing this? It is a windows 2000 pro system. Thanks, Leif |
|
From: Leif M. <le...@ta...> - 2004-04-08 06:56:06
|
Grant,
Sorry this release has taken so long. Would you accept the answer
"soon"? I am
working on getting everything tied up. No promises yet, but I am trying
for the end
of next week. In the mean time, I did put up a windows snapshot a few
days ago
at http://wrapper.tanukisoftware.org/tmp/wrapper_win32_3.1.0c.zip
This version is of course unsupported. But I would appreciate any final
testing.
Cheers,
Leif
Grant Slender (Bigpond) wrote:
>Leif,
>
>When will version 3.1 be available ?
>
>Grant
>
>
|
|
From: Grant S. \(Bigpond\) <gsl...@bi...> - 2004-04-08 05:52:07
|
Leif, When will version 3.1 be available ? Grant ----- Original Message ----- From: "Leif Mortenson" <le...@ta...> To: <wra...@li...> Sent: Thursday, April 08, 2004 2:20 PM Subject: Re: [Wrapper-user] feature request: custom filter actions > Everett, > I updated your feature request and will take a closer look at this > for the version > after 3.1.0 > http://sourceforge.net/tracker/index.php?func=detail&aid=926800&group_id=39428&atid=425190 > > Cheers, > Leif > > Everett Toews wrote: > > > hi leif, > > > > sorry about the late reply. > > > > i'm running jboss as a service. if any one of a number of exceptions > > occur i would like to use custom code to notify all clients that the > > server will restart in x minutes and then restart the service. > > > > everett > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <le...@ta...> - 2004-04-08 04:20:44
|
Everett,
I updated your feature request and will take a closer look at this
for the version
after 3.1.0
http://sourceforge.net/tracker/index.php?func=detail&aid=926800&group_id=39428&atid=425190
Cheers,
Leif
Everett Toews wrote:
> hi leif,
>
> sorry about the late reply.
>
> i'm running jboss as a service. if any one of a number of exceptions
> occur i would like to use custom code to notify all clients that the
> server will restart in x minutes and then restart the service.
>
> everett
|
|
From: Leif M. <le...@ta...> - 2004-04-08 04:14:34
|
Jan, >>Please post back to this list if you find any problems with this >>snapshot. Be sure >>to indicate the version being used. >> >> >With the WrapperSimpleApp it works like a charm :-) > >STATUS | wrapper | 2004/04/03 15:15:52 | --> Wrapper Started as Service >STATUS | wrapper | 2004/04/03 15:15:52 | Launching a JVM... >INFO | jvm 1 | 2004/04/03 15:15:53 | Wrapper (Version 3.1.0c) >http://wrapper.tanukisoftware.org >INFO | jvm 1 | 2004/04/03 15:15:53 | >INFO | jvm 1 | 2004/04/03 15:15:53 | Looking for servoy.properties >on C:\servoy.properties >INFO | jvm 1 | 2004/04/03 15:15:53 | Loading servoy.properties from >C:\Program Files\Servoy\servoy.properties - Done >INFO | jvm 1 | 2004/04/03 15:16:01 | Starting service >Tomcat-Standalone >INFO | jvm 1 | 2004/04/03 15:16:01 | Apache Tomcat/4.0.1 >INFO | jvm 1 | 2004/04/03 15:16:03 | Starting service Tomcat-Apache >INFO | jvm 1 | 2004/04/03 15:16:03 | Apache Tomcat/4.0.1 >STATUS | wrapper | 2004/04/03 15:16:42 | on_exit trigger matched. >Restarting the JVM. (Exit code: 99) >STATUS | wrapper | 2004/04/03 15:16:47 | Launching a JVM... >INFO | jvm 2 | 2004/04/03 15:16:48 | Wrapper (Version 3.1.0c) >http://wrapper.tanukisoftware.org >INFO | jvm 2 | 2004/04/03 15:16:48 | >INFO | jvm 2 | 2004/04/03 15:16:48 | Looking for servoy.properties >on C:\servoy.properties >INFO | jvm 2 | 2004/04/03 15:16:48 | Loading servoy.properties from >C:\Program Files\Servoy\servoy.properties - Done >INFO | jvm 2 | 2004/04/03 15:16:55 | Starting service >Tomcat-Standalone >INFO | jvm 2 | 2004/04/03 15:16:55 | Apache Tomcat/4.0.1 >INFO | jvm 2 | 2004/04/03 15:16:58 | Starting service Tomcat-Apache >INFO | jvm 2 | 2004/04/03 15:16:58 | Apache Tomcat/4.0.1 >STATUS | wrapper | 2004/04/03 15:17:58 | <-- Wrapper Stopped > >But > >With WrapperStartStopApp it's a bit strange > >STATUS | wrapper | 2004/04/03 14:17:01 | JVM did not exit on request, >terminated >STATUS | wrapper | 2004/04/03 14:17:01 | on_exit trigger matched. >Restarting the JVM. (Exit code: 1) >... >... >... >INFO | jvm 2 | 2004/04/03 14:55:25 | <last error msg> >ERROR | wrapper | 2004/04/03 14:55:54 | Shutdown failed: Timed out >waiting for signal from JVM. >ERROR | wrapper | 2004/04/03 14:55:54 | JVM did not exit on request, >terminated >STATUS | wrapper | 2004/04/03 14:55:55 | on_exit trigger matched. >Restarting the JVM. (Exit code: 1) > > >So I noted 3 issues/ideas >1) the msg "JVM did not exit on request, terminated" could be extended >by how long is waited for exit... See following point. >2) wrapper.jvm_exit.timeout=60 seems not to work? There is not a delay >seen of one minute max between log lines > > I have noticed problems like this before when using tomcat. The problem is that Tomcat is shut down but there are one or more non-daemon threads still running in the JVM The WrapperStartStopApp class will not shutdown the JVM until all such threads have terminated. Try setting the following property. It will give you more information about where the exact problem is by doing a full thread dump on exit. wrapper.request_thread_dump_on_failed_jvm_exit=TRUE Note that on Windows, this will only work in 3.0.5 and earlier versions if the Wrapper is being run in a console. It works in a Service as well with 3.1.0. >3) when the JVM is killed becouse it did not stop in time, my exit code >seems lost? I did stop with system.exit(99) and not with '1' as seen in >log line. > > The problem is that when you call System.exit(99) to exit the JVM, there is no way for the Wrapper to obtain that exit code until the JVM actually exits. When the Wrapper kills the JVM, this information is lost and can not be recovered. The Wrapper then always sets the current exit code to 1 if the Wrapper is forced to kill the JVM. If there are not any on_exit triggers defined, this exit code is what is returned to the system when the Wrapper process is terminated. Cheers, Leif |
|
From: Leif M. <le...@ta...> - 2004-04-08 04:04:45
|
Scott, >Sorry if this is in the docs, I've been reading them >and the issue of the PATH separator is noticibly absent. > > In most places this issue is worked around by defining multiple classpath entries for example. There is no way to do this in 3.0.5. I just modified the Wrapper so that it now defines a new pair of environment variables on startup. WRAPPER_FILE_SEPARATOR is set to either '/' or '\' and WRAPPER_PATH_SEPARATOR is set to either ':' or ';' depending on the platform. This will be in version 3.1.0. You can make use of it in the wrapper.conf as follows: set.PATH=..%WRAPPER_FILE_SEPARATOR%lib%WRAPPER_PATH_SEPARATOR%%PATH% Which resolves to: Windows: set.PATH=..\lib;%PATH% UNIX: set.PATH=../lib:%PATH% The names are long but they should avoid any conflicts. If you need to use them a lot in your config file, you can do something like the following: set.FS=%WRAPPER_FILE_SEPARATOR% set.PS=%WRAPPER_PATH_SEPARATOR% set.PATH=..%FS%lib%PS%%PATH% >Sourceforge isn't allowing the user list to be searched right >now... > > It does that from time to time. It usually starts working again within a day or so. >I need to set the PATH of the executing process to include >a specific directory where some native libraries will be >loaded from. This is necessary because one library that >is loaded directly from Java code references other libraries >that subsequently cannot be found if they are not in the >PATH. i.e. setting java.library.path isn't enough. > >I want to do this: > >set.PATH=%PATH%;%MYAPP_HOME%/lib > >Does the Windows ';' path separator get translated correctly >on UNIX systems to a ':'? > > Cheers, Leif |
|
From: Leif M. <le...@ta...> - 2004-04-08 02:31:09
|
Paul, Paul Casanova wrote: >Yep - looks like pushing for a 1.4.x upgrade is the way to go. > > The bug states that the problem was added in 1.4.0 and then fixed in 1.4.1 so I am not sure it is the exact same problem. The bug does state that the JVM starts leaking memory until it finally crashes. That does sound like what you saw below. >Our app is a government GIS roads mapping tool for an Australian state >(that's as much as I can say). On startup it loads all the data relating >to each layer of the map (eg freeways / local raods / railway lines etc >etc) into memory so that they are all there ready for 300+ users to turn >on/off whichever layer(s) they want - when they want. > >I have a feeling that some of the problems with our app center around the >printing method used. When the app was developed (around 5 years ago) Java >printing was slow and problematic (according to code comments) and so the >app generates a postscript or HPGL file using an OS installed print driver, >then Java calls the Windows print command to send the file to the user's >network printer. Since setting the min/max RAM to different values I've >been able to get some more pieces to the puzzle when the app crashes. A >couple of days ago someone ran a plot (print) and the system appeared to >get into an infinite loop. The Windows CPU time for the Java process kept >ticking over (second for second) - although CPU for the process was only >6-7% (which indicates that it's a complicated loop - possibly between the >client and server - there was no network activity between the app server >and the database server which have a dedicated network card). However, RAM >for the Java process steadily increased towards the maximum from about >1300MB when I first saw it to 1730MB before the client requested a restart. >I wanted to let it go till it crashed, but the client comes first. > >The app was initially written to transfer files from the server to the >user's PC via FTP (yuck!), which I've scrapped and now just uses Tomcat >(which was in use for another component of the app anyway). > >I'm thinking that the whole approach to printing needs to be overhauled, >and I've read somewhere that 1.4.x has a new print api. Any ideas / >pointers / suggestions (from anyone)? > >Has any reader had experience with network printing from Java? Any >feedback would be greatly appreciated (as always). > > I have not had any experience with Java printing. But a quick search returned this: http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-print.html It is part 1 in a multi part series. Links to additional parts are at the bottom of the page. Here is the JSR on the Unified Print API: http://www.jcp.org/en/jsr/detail?id=6 Cheers, Leif |
|
From: Paul C. <cas...@au...> - 2004-04-07 23:09:11
|
Yep - looks like pushing for a 1.4.x upgrade is the way to go. Our app is a government GIS roads mapping tool for an Australian state (that's as much as I can say). On startup it loads all the data relating to each layer of the map (eg freeways / local raods / railway lines etc etc) into memory so that they are all there ready for 300+ users to turn on/off whichever layer(s) they want - when they want. I have a feeling that some of the problems with our app center around the printing method used. When the app was developed (around 5 years ago) Java printing was slow and problematic (according to code comments) and so the app generates a postscript or HPGL file using an OS installed print driver, then Java calls the Windows print command to send the file to the user's network printer. Since setting the min/max RAM to different values I've been able to get some more pieces to the puzzle when the app crashes. A couple of days ago someone ran a plot (print) and the system appeared to get into an infinite loop. The Windows CPU time for the Java process kept ticking over (second for second) - although CPU for the process was only 6-7% (which indicates that it's a complicated loop - possibly between the client and server - there was no network activity between the app server and the database server which have a dedicated network card). However, RAM for the Java process steadily increased towards the maximum from about 1300MB when I first saw it to 1730MB before the client requested a restart. I wanted to let it go till it crashed, but the client comes first. The app was initially written to transfer files from the server to the user's PC via FTP (yuck!), which I've scrapped and now just uses Tomcat (which was in use for another component of the app anyway). I'm thinking that the whole approach to printing needs to be overhauled, and I've read somewhere that 1.4.x has a new print api. Any ideas / pointers / suggestions (from anyone)? Has any reader had experience with network printing from Java? Any feedback would be greatly appreciated (as always). Regards, Paul Casanova |---------+----------------------------------------> | | Leif Mortenson | | | <le...@ta...> | | | Sent by: | | | wra...@li...| | | ceforge.net | | | | | | | | | 08/04/2004 12:09 AM | | | Please respond to | | | wrapper-user | |---------+----------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: wra...@li... | | cc: | | Subject: Re: [Wrapper-user] JVM hang - Xms / Xmx | >--------------------------------------------------------------------------------------------------------------| Paul, Paul Casanova wrote: >I tried adding -Xrunhprof:depth=8 to the config file, but the JVM always >suffers a runtime error r6017 ("unexpected multithread lock error") and >restarts. Any ideas? > > Doing a Google search on that error message. It looks like a C runtime error. In other words, Java is having a bad day. Searching the Sun Bug database, the following issue came up: http://developer.java.sun.com/developer/bugParade/bugs/4724252.html That bug says it has been fixed in Java 1.4.1. But the original post says that it not been a problem in 1.3.1_04. That just means that their app had not been able to reproduce it however. >Tried starting with initial heap size of 100MB and it took around the same >time to start as normal, but when I added the -Xrun... it started doing >full GC's when starting up the app, so it took longer. Mind you, before I >added -Xrun... it was doing around 10 GC's (not full) during startup with >100MB initial!! > >Does -Xrunhprof usually have such overhead / impact? > > Profiling takes a bunch of memory and also has a very noticeable effect of performance. Depending on the application of course, but it is usually still usable if you normally have enough CPU / Memory to spare. Most likely your app is using a bunch more memory than normal and is thus having problems hitting some upper memory limit. Have you tried increasing the max memory setting? If that is not possible, is it possible to test with a smaller data set? Cheers, Leif ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <le...@ta...> - 2004-04-07 14:11:42
|
Paul,
Paul Casanova wrote:
>I tried adding -Xrunhprof:depth=8 to the config file, but the JVM always
>suffers a runtime error r6017 ("unexpected multithread lock error") and
>restarts. Any ideas?
>
>
Doing a Google search on that error message. It looks like a C runtime
error.
In other words, Java is having a bad day.
Searching the Sun Bug database, the following issue came up:
http://developer.java.sun.com/developer/bugParade/bugs/4724252.html
That bug says it has been fixed in Java 1.4.1. But the original post
says that it not
been a problem in 1.3.1_04. That just means that their app had not been
able to
reproduce it however.
>Tried starting with initial heap size of 100MB and it took around the same
>time to start as normal, but when I added the -Xrun... it started doing
>full GC's when starting up the app, so it took longer. Mind you, before I
>added -Xrun... it was doing around 10 GC's (not full) during startup with
>100MB initial!!
>
>Does -Xrunhprof usually have such overhead / impact?
>
>
Profiling takes a bunch of memory and also has a very noticeable effect of
performance. Depending on the application of course, but it is usually
still
usable if you normally have enough CPU / Memory to spare.
Most likely your app is using a bunch more memory than normal and is thus
having problems hitting some upper memory limit. Have you tried increasing
the max memory setting? If that is not possible, is it possible to
test with a
smaller data set?
Cheers,
Leif
|
|
From: Paul C. <cas...@au...> - 2004-04-07 10:50:18
|
Hi Leif,
I tried adding -Xrunhprof:depth=8 to the config file, but the JVM always
suffers a runtime error r6017 ("unexpected multithread lock error") and
restarts. Any ideas?
Tried starting with initial heap size of 100MB and it took around the same
time to start as normal, but when I added the -Xrun... it started doing
full GC's when starting up the app, so it took longer. Mind you, before I
added -Xrun... it was doing around 10 GC's (not full) during startup with
100MB initial!!
Does -Xrunhprof usually have such overhead / impact?
Regards,
Paul Casanova
IBM RSSC-Ballarat
UB01
Locked Bag 1999
Ballarat
Victoria 3350
Telephone:
61-3-53273458
Fax:
61-3-53273599
|---------+---------------------------------------->
| | Leif Mortenson |
| | <le...@ta...> |
| | Sent by: |
| | wra...@li...|
| | ceforge.net |
| | |
| | |
| | 01/04/2004 06:13 PM |
| | Please respond to |
| | wrapper-user |
|---------+---------------------------------------->
>--------------------------------------------------------------------------------------------------------------|
| |
| To: wra...@li... |
| cc: |
| Subject: Re: [Wrapper-user] JVM hang - Xms / Xmx |
>--------------------------------------------------------------------------------------------------------------|
Paul,
Paul Casanova wrote:
>Thanks for your info - I think I might have to buy a book and learn inside
>out about Java GC/memory usage.
>
>Our app takes around 950MB to start due to loading all the GIS stuff into
>RAM upon startup. The application author's theory was that reading the
GIS
>stuff from RAM is heaps faster than from disk and it has to be read into
>RAM at some stage (when used), so it might as well stay there!
>
>
Not sure if this is an option. But would is it possible to break the
data up into
3 groups?
1) Data that is currently in use (stored in memory and on the local disk)
2) Data that is likely to be used (transfered and then stored to the
local disk)
3) Other data (stored only on the remote server)
Net, is it possible to timestamp the data so you know when you need to
obtain the
latest data from the remote server again? If data has not changed then
you could
continue using data stored on the disk.
This would increase the complexity of your app a bit (If it is even
possible) But should
reduce the memory footprint by quite a bit and also improve startup
times, at least for
the second invocation of the application.
>Our app takes around 15 minutes to start on a fairly decent pair of boxes
-
>the bottleneck is a gigabit Ethernet crossover cable running between the
>servers. Our client has ordered a pair of fibre gigabit cards for each
box
>and a managed fibre switch, but they haven't turned up yet. The app takes
>6 minutes to start when app and DB are on the same box, but that's less
>scalable (HD / RAM capacity constraints).
>
>Due to the startup time, we don't want to do anything to extend startup -
>that's why we're happy to allocate a fair chunk to the initial memory.
>
>It's interesting though - I've noticed that since reducing the initial
>memory value, the peak memory usage (according to Windows anyway) tends to
>remain pretty darn close to the initial memory value. This indicates that
>what you've outlined below seems to be working pretty well (ie when more
>RAM is needed, try a GC first).
>
>
Good that sounds like you are seeing what I expected. Just as an
experiment. Try
lowering the initial memory down to the default (3MB) and see how much of a
difference there is in your application's startup time. Your app is
much larger than
anything I have used. But I have not seen all that large a difference
when the app
is in the 512MB range. I am interested to hear how significant the
difference is.
This experiment will also give you a better understanding of how much
memory the
application really needs and when that memory is needed. Do this at the
same time
as you have that memory logging background thread running. You should
then be
able to monitor how memory is allocated as your app is starting up and
running.
>So what I've found is that by reducing the initial memory value in the
>config file, our JVM hasn't hung for the past 3 weeks. This is a good
>sign.
>
>The problem that's now occurring more frequently is the
>java.lang.OutOfMemoryError, which indicates that at some stage the process
>needs more RAM than is available: either the GC fails or something else is
>going on. And now that I think of it, we can't tell what the process
maxes
>out at because by the time that I realise there's a problem the app has
>been restarted and Windows has lost the peak memory of the process that
>crashed (of course).
>
>
I think it is fairly safe to assume that GC is working correctly. Which
means that
something in the application is actually eating up all available
memory. What
exactly that is yet to be determined.
1) The obvious is an object leak someplace. These are easily located by
adding the
following to your Wrapper.conf file:
wrapper.java.additional.1=-Xrunhprof:depth=8
wrapper.shutdown.timeout=0
This will increase the runtime memory usage some and also affects the
performance of
the application. But it should still be usable. When you go to
shutdown the JVM. I
will appear to be locked up for quite a while as it writes out the
profile data file. I
have seen this take a couple minutes. But I would not be surprised if
it took 10
minutes for your application. (That is the reason for the shutdown
timeout setting.
We don't want the Wrapper killing the JVM as it tries to save all the
data we worked
so hard to collect)
When the JVM exits you will see the following in the console or log file.
---
Dumping Java heap ... allocation sites ... done.
---
Look in the directory where Wrapper.exe is located and you will fine a
file: java.hprof.txt
This file could be quite large, so I hope you have a good editor.
Search for "SITES BEGIN". You will see a section toward the end of the
file that looks
like this:
---
SITES BEGIN (ordered by live bytes) Fri Oct 11 12:56:48 2002
percent live alloc'ed stack class
rank self accum bytes objs bytes objs trace name
1 6.80% 6.80% 544264 4779 544264 4779 0 [C
2 2.78% 9.59% 222624 964 223280 966 6361 [C
3 2.14% 11.73% 171248 1262 173504 1299 1 [C
4 2.12% 13.85% 169368 106 169368 106 17124 [B
5 2.08% 15.93% 166736 183 166736 183 0 [B
6 1.71% 17.64% 136624 397 208088 796 17100 [C
7 1.55% 19.18% 123664 435 123664 435 16788 [C
---
This section is ordered by how much memory is being used by objects which
were created at specific places in the code. If you are lucky, the
first row will
be a very large number.
The second to the last column is the Trace number. This says where the
objects
were created. In the above example this is "4779".
To find out where these [C (Character Arrays) where created, do another
search
for "TRACE 4779:"
I get the following:
---
TRACE 4779:
java.lang.StringBuffer.toString(StringBuffer.java:1233)
org.apache.catalina.startup.Catalina.createContextCommon(Catalina.java:614)
org.apache.catalina.startup.Catalina.createStartMapperDefaultContext(Catalina.java:521)
org.apache.catalina.startup.Catalina.createStartMapper(Catalina.java:391)
org.apache.catalina.startup.Catalina.start(Catalina.java:722)
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:Native
method)
---
You may find that you need to increase the stack depth, but that takes
more memory
and I usually find a depth of 8 to be sufficient.
2) I have seen cases where synchronization errors in HotSpot compiled
applications
have caused memory corruption. In most cases, such corruption will
cause the JVM
to crash, but in others it has simply resulted in a memory leak that
doesn't show up
in the profiling output above.
I wonder about this second option because you are also experiencing JVM
crashes.
These can be a real bi_ch to track down, so lets hope this is not the
cause.
One way to check this is to try disabling the JIT/HotSpot compiler.
Doing so will
often cause more Java like errors to start showing up as nothing has
been optimized
into fast machine code.
>I've turned on some logging as suggested to dump out memory usage, so
we'll
>see what this shows.
>
>Incidently, the most I've been able to allocate to Java (Xmx) is about
>1625MB on Windows 2000 Advanced Server. On NT (previous platform) it was
>only about 1100MB - although that was with JDK 1.3.0, so that may have had
>an impact. If I attempt starting with more than 1625MB, the app fails to
>start. I think this is just a Java/Windows relationship thing.
>
>
Looking at the following page, it looks like Java started supporting
2GB+ heap sizes as
of 1.3.1. You might want to give that a try. There are also several
command line
options described on this page which could interest you.
http://java.sun.com/docs/hotspot/ism.html
Looking at those docs means that I need to change the way I handle the
memory settings
in the Wrapper. Some of them require that the -Xms and -Xmx values
which are always
set by the Wrapper not be set.
>The log files show the java.lang.OutOfMemoryError's for a while before the
>JVM eventually crashes. Is there anyway to set up the Wrapper so that I
>can be notified (preferably by email) of this error so that I can remote
>takeover the box and have a look at things before the Wrapper restarts it?
>
>
Not really at the moment. What is triggering the JVM to be restarted now?
Have you registered an output trigger on the OutOfMemoryError console
output?
If the Wrapper is killing the JVM because it stops responding to pings
then you can
simply set the Ping timeout to 0. This will not enable you to get an
email, but it would
stop the JVM from restarting it.
Cheers,
Leif
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Leif M. <le...@ta...> - 2004-04-05 17:28:24
|
Richard,
Thanks. I have not seen this particular problem myself. (No
daylight savings time
here in Japan :-) But I was aware of problems like this when the system
time is
adjusted.
Now that daylight saving time is passed, this will not be an issue
for another year.
(The fall adjustment will not result in a restart. But all timeouts
will be an extra hour
long during that hour). The only workaround to this right now is to set
the cpu and
ping timeouts to values that are over an hour.
This has been fixed in 3.1.0 if you enable the new Tick based
timer. It is disabled
by default until it has received some more testing. My tests so far all
give it very high
marks. So unless any problems are reported from the 3.1.0, it will most
likely
become the default in the following 3.1.1 release.
FYI. The new Tick based timer manager can be enabled in 3.1.0 using the
following property:
wrapper.use_system_time=FALSE
Cheers,
Leif
Richard Emberson wrote:
> found the following in one of our nightly load test logs:
>
> INFO | wrapper | 2004/04/04 03:59:59 | Wrapper Process has not
> received
> any CPU time for 3600 seconds. Extending timeouts.
> INFO | jvm 1 | 2004/04/04 03:01:59 | Wrapper Manager: The Wrapper
> code
> did not ping the JVM for 120 seconds. Quit and let the Wrapper resynch.
>
> I guess the wrapper does not adjust for daylight savings time
> changes.
>
> Richard
|
|
From: Richard E. <rem...@ed...> - 2004-04-05 16:58:14
|
found the following in one of our nightly load test logs: INFO | wrapper | 2004/04/04 03:59:59 | Wrapper Process has not received any CPU time for 3600 seconds. Extending timeouts. INFO | jvm 1 | 2004/04/04 03:01:59 | Wrapper Manager: The Wrapper code did not ping the JVM for 120 seconds. Quit and let the Wrapper resynch. I guess the wrapper does not adjust for daylight savings time changes. Richard |