Hi Gabe,

So the issue only arise when you invoke 'james restart'?
If such, there is great chance that the problel is in the launcher we use that has issue (on the windows platform?).

Changing james log level will not give you more information.

You can always raise a JIRA for this.

Ths, Eric

On 04/18/2012 02:14 AM, Gabe wrote:
hi there,
is there a way to change the logging level to figure out what is wrong
with my service. It keeps giving me this error as i try to restart the
service (but eventually just trying to start it up will work without
any changes whatsoever).
I have changed the logging levels in the log4j.properties to DEBUG but
still same info is showing up in the wrapper.log (see below) and
nothing gets logged into the /log/ folder (just empty files). I'm
running the 3.0beta4 version on windows xp box with mysql as a message
repository (running locally on the same development box).
Next, I'd tried to change the logging levels in the wrapper.conf so
this is the logging data that i get as a result. Anybody have an idea
what's wrong


thank you
--gabe


STATUS | wrapper  | 2012/04/17 17:10:47 | -->  Wrapper Started as Service
STATUS | wrapper  | 2012/04/17 17:10:47 | Launching a JVM...
INFO   | jvm 1    | 2012/04/17 17:10:48 | WrapperManager class
initialized by thread: main  Using classloader:
sun.misc.Launcher$AppClassLoader@7d772e
INFO   | jvm 1    | 2012/04/17 17:10:48 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2012/04/17 17:10:48 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2012/04/17 17:10:48 |
INFO   | jvm 1    | 2012/04/17 17:10:48 | Wrapper Manager: JVM #1
INFO   | jvm 1    | 2012/04/17 17:10:48 | Running a 32-bit JVM.
INFO   | jvm 1    | 2012/04/17 17:10:48 | Wrapper Manager: Registering
shutdown hook
INFO   | jvm 1    | 2012/04/17 17:10:48 | Wrapper Manager: Using wrapper
INFO   | jvm 1    | 2012/04/17 17:10:48 | Load native library.  One or
more attempts may fail if platform specific libraries do not exist.
INFO   | jvm 1    | 2012/04/17 17:10:48 | Loaded native library:
wrapper-windows-x86-32.dll
INFO   | jvm 1    | 2012/04/17 17:10:48 | Calling native initialization method.
INFO   | jvm 1    | 2012/04/17 17:10:48 | Initializing WrapperManager
native library.
INFO   | jvm 1    | 2012/04/17 17:10:48 | Java Executable:
C:\work\jdk\jdk1.6.0_23\bin\java.exe
INFO   | jvm 1    | 2012/04/17 17:10:48 | Windows version: 5.1.2600
INFO   | jvm 1    | 2012/04/17 17:10:48 | Java Version   :
1.6.0_23-b05 Java HotSpot(TM) Client VM
INFO   | jvm 1    | 2012/04/17 17:10:48 | Java VM Vendor : Sun Microsystems Inc.
INFO   | jvm 1    | 2012/04/17 17:10:48 |
INFO   | jvm 1    | 2012/04/17 17:10:48 | Control event monitor thread started.
INFO   | jvm 1    | 2012/04/17 17:10:48 | Startup runner thread started.
INFO   | jvm 1    | 2012/04/17 17:10:48 |
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@998b08,
args["start"]) called by thread: main
INFO   | jvm 1    | 2012/04/17 17:10:48 | Communications runner thread started.
INFO   | jvm 1    | 2012/04/17 17:10:48 | Open socket to
wrapper...Wrapper-Connection
INFO   | jvm 1    | 2012/04/17 17:10:48 | Opened Socket from 31000 to 32000
INFO   | jvm 1    | 2012/04/17 17:10:48 | Send a packet KEY : y_zVKdVYhzIQxfRQ
INFO   | jvm 1    | 2012/04/17 17:10:48 |
handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
ERROR  | wrapper  | 2012/04/17 17:10:48 | Unable to send the start
command to the JVM.
INFO   | jvm 1    | 2012/04/17 17:10:48 | Received a packet LOW_LOG_LEVEL : 1
INFO   | jvm 1    | 2012/04/17 17:10:48 | Wrapper Manager: LowLogLevel
from Wrapper is 1
INFO   | jvm 1    | 2012/04/17 17:10:48 | Received a packet PING_TIMEOUT : 30
INFO   | jvm 1    | 2012/04/17 17:10:48 | PingTimeout from Wrapper is 30000
ERROR  | wrapper  | 2012/04/17 17:10:48 | JVM did not exit on request,
terminated
STATUS | wrapper  | 2012/04/17 17:10:53 | Launching a JVM...
INFO   | jvm 2    | 2012/04/17 17:10:53 | WrapperManager class
initialized by thread: main  Using classloader:
sun.misc.Launcher$AppClassLoader@7d772e
INFO   | jvm 2    | 2012/04/17 17:10:53 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO   | jvm 2    | 2012/04/17 17:10:53 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.
INFO   | jvm 2    | 2012/04/17 17:10:53 |
INFO   | jvm 2    | 2012/04/17 17:10:53 | Wrapper Manager: JVM #2
INFO   | jvm 2    | 2012/04/17 17:10:53 | Running a 32-bit JVM.
INFO   | jvm 2    | 2012/04/17 17:10:53 | Wrapper Manager: Registering
shutdown hook
INFO   | jvm 2    | 2012/04/17 17:10:53 | Wrapper Manager: Using wrapper
INFO   | jvm 2    | 2012/04/17 17:10:53 | Load native library.  One or
more attempts may fail if platform specific libraries do not exist.
INFO   | jvm 2    | 2012/04/17 17:10:53 | Loaded native library:
wrapper-windows-x86-32.dll
INFO   | jvm 2    | 2012/04/17 17:10:53 | Calling native initialization method.
INFO   | jvm 2    | 2012/04/17 17:10:53 | Initializing WrapperManager
native library.
INFO   | jvm 2    | 2012/04/17 17:10:53 | Java Executable:
C:\work\jdk\jdk1.6.0_23\bin\java.exe
INFO   | jvm 2    | 2012/04/17 17:10:53 | Windows version: 5.1.2600
INFO   | jvm 2    | 2012/04/17 17:10:53 | Java Version   :
1.6.0_23-b05 Java HotSpot(TM) Client VM
INFO   | jvm 2    | 2012/04/17 17:10:53 | Java VM Vendor : Sun Microsystems Inc.
INFO   | jvm 2    | 2012/04/17 17:10:53 |
INFO   | jvm 2    | 2012/04/17 17:10:53 | Control event monitor thread started.
INFO   | jvm 2    | 2012/04/17 17:10:53 | Startup runner thread started.
INFO   | jvm 2    | 2012/04/17 17:10:53 |
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@998b08,
args["start"]) called by thread: main
INFO   | jvm 2    | 2012/04/17 17:10:53 | Communications runner thread started.
INFO   | jvm 2    | 2012/04/17 17:10:53 | Open socket to
wrapper...Wrapper-Connection
INFO   | jvm 2    | 2012/04/17 17:10:53 | Opened Socket from 31000 to 32001
INFO   | jvm 2    | 2012/04/17 17:10:53 | Send a packet KEY : wHFkf7OVpWfcv3MY
INFO   | jvm 2    | 2012/04/17 17:10:53 |
handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=31000])
ERROR  | wrapper  | 2012/04/17 17:10:53 | Unable to send the start
command to the JVM.
INFO   | jvm 2    | 2012/04/17 17:10:53 | Received a packet LOW_LOG_LEVEL : 1
INFO   | jvm 2    | 2012/04/17 17:10:53 | Wrapper Manager: LowLogLevel
from Wrapper is 1
INFO   | jvm 2    | 2012/04/17 17:10:53 | Received a packet PING_TIMEOUT : 30
INFO   | jvm 2    | 2012/04/17 17:10:53 | PingTimeout from Wrapper is 30000
ERROR  | wrapper  | 2012/04/17 17:10:53 | JVM did not exit on request,
terminated
STATUS | wrapper  | 2012/04/17 17:10:58 | Launching a JVM...
INFO   | jvm 3    | 2012/04/17 17:10:58 | WrapperManager class
initialized by thread: main  Using classloader:
sun.misc.Launcher$AppClassLoader@7d772e
INFO   | jvm 3    | 2012/04/17 17:10:58 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO   | jvm 3    | 2012/04/17 17:10:58 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.
INFO   | jvm 3    | 2012/04/17 17:10:58 |
INFO   | jvm 3    | 2012/04/17 17:10:58 | Wrapper Manager: JVM #3
INFO   | jvm 3    | 2012/04/17 17:10:58 | Running a 32-bit JVM.
INFO   | jvm 3    | 2012/04/17 17:10:58 | Wrapper Manager: Registering
shutdown hook
INFO   | jvm 3    | 2012/04/17 17:10:58 | Wrapper Manager: Using wrapper
INFO   | jvm 3    | 2012/04/17 17:10:58 | Load native library.  One or
more attempts may fail if platform specific libraries do not exist.
INFO   | jvm 3    | 2012/04/17 17:10:58 | Loaded native library:
wrapper-windows-x86-32.dll
INFO   | jvm 3    | 2012/04/17 17:10:58 | Calling native initialization method.
INFO   | jvm 3    | 2012/04/17 17:10:58 | Initializing WrapperManager
native library.
INFO   | jvm 3    | 2012/04/17 17:10:58 | Java Executable:
C:\work\jdk\jdk1.6.0_23\bin\java.exe
INFO   | jvm 3    | 2012/04/17 17:10:58 | Windows version: 5.1.2600
INFO   | jvm 3    | 2012/04/17 17:10:58 | Java Version   :
1.6.0_23-b05 Java HotSpot(TM) Client VM
INFO   | jvm 3    | 2012/04/17 17:10:58 | Java VM Vendor : Sun Microsystems Inc.
INFO   | jvm 3    | 2012/04/17 17:10:58 |
INFO   | jvm 3    | 2012/04/17 17:10:58 | Control event monitor thread started.
INFO   | jvm 3    | 2012/04/17 17:10:58 | Startup runner thread started.
INFO   | jvm 3    | 2012/04/17 17:10:58 |
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@998b08,
args["start"]) called by thread: main
INFO   | jvm 3    | 2012/04/17 17:10:58 | Communications runner thread started.
INFO   | jvm 3    | 2012/04/17 17:10:58 | Open socket to
wrapper...Wrapper-Connection
INFO   | jvm 3    | 2012/04/17 17:10:58 | Opened Socket from 31000 to 32000
INFO   | jvm 3    | 2012/04/17 17:10:58 | Send a packet KEY : X2y3RZ8sgz0rIa1m
INFO   | jvm 3    | 2012/04/17 17:10:58 |
handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
ERROR  | wrapper  | 2012/04/17 17:10:58 | Unable to send the start
command to the JVM.
INFO   | jvm 3    | 2012/04/17 17:10:58 | Received a packet LOW_LOG_LEVEL : 1
INFO   | jvm 3    | 2012/04/17 17:10:58 | Wrapper Manager: LowLogLevel
from Wrapper is 1
INFO   | jvm 3    | 2012/04/17 17:10:58 | Received a packet PING_TIMEOUT : 30
INFO   | jvm 3    | 2012/04/17 17:10:58 | PingTimeout from Wrapper is 30000
ERROR  | wrapper  | 2012/04/17 17:10:58 | JVM did not exit on request,
terminated
STATUS | wrapper  | 2012/04/17 17:11:03 | Launching a JVM...
INFO   | jvm 4    | 2012/04/17 17:11:03 | WrapperManager class
initialized by thread: main  Using classloader:
sun.misc.Launcher$AppClassLoader@7d772e
INFO   | jvm 4    | 2012/04/17 17:11:03 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO   | jvm 4    | 2012/04/17 17:11:03 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.
INFO   | jvm 4    | 2012/04/17 17:11:03 |
INFO   | jvm 4    | 2012/04/17 17:11:03 | Wrapper Manager: JVM #4
INFO   | jvm 4    | 2012/04/17 17:11:03 | Running a 32-bit JVM.
INFO   | jvm 4    | 2012/04/17 17:11:03 | Wrapper Manager: Registering
shutdown hook
INFO   | jvm 4    | 2012/04/17 17:11:03 | Wrapper Manager: Using wrapper
INFO   | jvm 4    | 2012/04/17 17:11:03 | Load native library.  One or
more attempts may fail if platform specific libraries do not exist.
INFO   | jvm 4    | 2012/04/17 17:11:03 | Loaded native library:
wrapper-windows-x86-32.dll
INFO   | jvm 4    | 2012/04/17 17:11:03 | Calling native initialization method.
INFO   | jvm 4    | 2012/04/17 17:11:03 | Initializing WrapperManager
native library.
INFO   | jvm 4    | 2012/04/17 17:11:03 | Java Executable:
C:\work\jdk\jdk1.6.0_23\bin\java.exe
INFO   | jvm 4    | 2012/04/17 17:11:03 | Windows version: 5.1.2600
INFO   | jvm 4    | 2012/04/17 17:11:03 | Java Version   :
1.6.0_23-b05 Java HotSpot(TM) Client VM
INFO   | jvm 4    | 2012/04/17 17:11:03 | Java VM Vendor : Sun Microsystems Inc.
INFO   | jvm 4    | 2012/04/17 17:11:03 |
INFO   | jvm 4    | 2012/04/17 17:11:03 | Control event monitor thread started.
INFO   | jvm 4    | 2012/04/17 17:11:03 | Startup runner thread started.
INFO   | jvm 4    | 2012/04/17 17:11:03 |
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@998b08,
args["start"]) called by thread: main
INFO   | jvm 4    | 2012/04/17 17:11:03 | Communications runner thread started.
INFO   | jvm 4    | 2012/04/17 17:11:03 | Open socket to
wrapper...Wrapper-Connection
INFO   | jvm 4    | 2012/04/17 17:11:03 | Opened Socket from 31000 to 32001
INFO   | jvm 4    | 2012/04/17 17:11:03 | Send a packet KEY : t4PN37FkEvDtTsYe
INFO   | jvm 4    | 2012/04/17 17:11:03 |
handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=31000])
ERROR  | wrapper  | 2012/04/17 17:11:03 | Unable to send the start
command to the JVM.
INFO   | jvm 4    | 2012/04/17 17:11:03 | Received a packet LOW_LOG_LEVEL : 1
INFO   | jvm 4    | 2012/04/17 17:11:03 | Wrapper Manager: LowLogLevel
from Wrapper is 1
INFO   | jvm 4    | 2012/04/17 17:11:03 | Received a packet PING_TIMEOUT : 30
INFO   | jvm 4    | 2012/04/17 17:11:03 | PingTimeout from Wrapper is 30000
ERROR  | wrapper  | 2012/04/17 17:11:03 | JVM did not exit on request,
terminated
STATUS | wrapper  | 2012/04/17 17:11:08 | Launching a JVM...
INFO   | jvm 5    | 2012/04/17 17:11:09 | WrapperManager class
initialized by thread: main  Using classloader:
sun.misc.Launcher$AppClassLoader@7d772e
INFO   | jvm 5    | 2012/04/17 17:11:09 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO   | jvm 5    | 2012/04/17 17:11:09 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.
INFO   | jvm 5    | 2012/04/17 17:11:09 |
INFO   | jvm 5    | 2012/04/17 17:11:09 | Wrapper Manager: JVM #5
INFO   | jvm 5    | 2012/04/17 17:11:09 | Running a 32-bit JVM.
INFO   | jvm 5    | 2012/04/17 17:11:09 | Wrapper Manager: Registering
shutdown hook
INFO   | jvm 5    | 2012/04/17 17:11:09 | Wrapper Manager: Using wrapper
INFO   | jvm 5    | 2012/04/17 17:11:09 | Load native library.  One or
more attempts may fail if platform specific libraries do not exist.
INFO   | jvm 5    | 2012/04/17 17:11:09 | Loaded native library:
wrapper-windows-x86-32.dll
INFO   | jvm 5    | 2012/04/17 17:11:09 | Calling native initialization method.
INFO   | jvm 5    | 2012/04/17 17:11:09 | Initializing WrapperManager
native library.
INFO   | jvm 5    | 2012/04/17 17:11:09 | Java Executable:
C:\work\jdk\jdk1.6.0_23\bin\java.exe
INFO   | jvm 5    | 2012/04/17 17:11:09 | Windows version: 5.1.2600
INFO   | jvm 5    | 2012/04/17 17:11:09 | Java Version   :
1.6.0_23-b05 Java HotSpot(TM) Client VM
INFO   | jvm 5    | 2012/04/17 17:11:09 | Java VM Vendor : Sun Microsystems Inc.
INFO   | jvm 5    | 2012/04/17 17:11:09 |
INFO   | jvm 5    | 2012/04/17 17:11:09 | Control event monitor thread started.
INFO   | jvm 5    | 2012/04/17 17:11:09 | Startup runner thread started.
INFO   | jvm 5    | 2012/04/17 17:11:09 |
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@76cbf7,
args["start"]) called by thread: main
INFO   | jvm 5    | 2012/04/17 17:11:09 | Communications runner thread started.
INFO   | jvm 5    | 2012/04/17 17:11:09 | Open socket to
wrapper...Wrapper-Connection
INFO   | jvm 5    | 2012/04/17 17:11:09 | Opened Socket from 31000 to 32000
INFO   | jvm 5    | 2012/04/17 17:11:09 | Send a packet KEY : hTLqaxyYwcquYwsC
INFO   | jvm 5    | 2012/04/17 17:11:09 |
handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
ERROR  | wrapper  | 2012/04/17 17:11:09 | Unable to send the start
command to the JVM.
INFO   | jvm 5    | 2012/04/17 17:11:09 | Received a packet LOW_LOG_LEVEL : 1
INFO   | jvm 5    | 2012/04/17 17:11:09 | Wrapper Manager: LowLogLevel
from Wrapper is 1
INFO   | jvm 5    | 2012/04/17 17:11:09 | Received a packet PING_TIMEOUT : 30
INFO   | jvm 5    | 2012/04/17 17:11:09 | PingTimeout from Wrapper is 30000
ERROR  | wrapper  | 2012/04/17 17:11:09 | JVM did not exit on request,
terminated
FATAL  | wrapper  | 2012/04/17 17:11:09 | There were 5 failed launches
in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2012/04/17 17:11:09 |   There may be a
configuration problem: please check the logs.
STATUS | wrapper  | 2012/04/17 17:11:09 |<-- Wrapper Stopped

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to