|
From: Adrian W. <adr...@as...> - 2005-11-23 18:56:46
Attachments:
wrapper.conf
wrapper.log
|
Hi, I am trying to configure tomcat to run as a Windows Service using wrapper. I have followed the instructions from the wrapper site which even uses tomcat as an example on how to set-up a service using the WrapperStartStopApp class. See: http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html However when I try to run Tomcat.bat to test it deploys OK before installing it as a service I get an exception and I cannot figure out what the problem is. I have attached the wrapper log file and the conf file. If anyone can help shed some light on this it would be greatly appriciated. Thanks in advance, Adrian. -- Adrian Walls Tel: +44 28 9072 5094 E-mail: a....@as... Asidua Ltd. Office Address: 10 Weavers Court, Belfast BT12 5GH. Registered in Northern Ireland No. 043987 This electronic message contains information from Asidua Ltd. which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. |
|
From: <nic...@uk...> - 2005-11-23 21:17:35
|
Ouch.
it looks like this is the line (in clogging) throwing an NPE
logInterface =
this.getClass().getClassLoader().loadClass(LOG_INTERFACE);
getClassloader can return null if this class is loaded by the bootstrap
classloader
What JVM are you using?
Is wrapper using the same JRE as you are running tomcat standalone?
Is there anything in your JRE lib/ext?
-Nick
Internet
adr...@as...@lists.sourceforge.net - 23/11/2005 18:56
Please respond to wra...@li...
Sent by: wra...@li...
To: wrapper-user
cc:
Subject: [Wrapper-user] Configuring Tomcat with wapper
Hi,
I am trying to configure tomcat to run as a Windows Service using
wrapper. I have followed the instructions from the wrapper site which
even uses tomcat as an example on how to set-up a service using the
WrapperStartStopApp class. See:
http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html
However when I try to run Tomcat.bat to test it deploys OK before
installing it as a service I get an exception and I cannot figure out
what the problem is. I have attached the wrapper log file and the conf
file. If anyone can help shed some light on this it would be greatly
appriciated.
Thanks in advance,
Adrian.
--
Adrian Walls
Tel: +44 28 9072 5094
E-mail: a....@as...
Asidua Ltd.
Office Address: 10 Weavers Court, Belfast BT12 5GH.
Registered in Northern Ireland No. 043987
This electronic message contains information from Asidua Ltd. which may be
privileged or confidential. The information is intended to be for the use
of the individual(s) or entity named above. If you are not the intended
recipient be aware that any disclosure copying, distribution or use of the
contents of this information is prohibited. If you have received this
electronic message in error, please notify us by telephone or email (to the
numbers or address above) immediately.
#********************************************************************
# Wrapper Properties
#
# Configures Tomcat to run as Windows Service
#********************************************************************
# Java Application
wrapper.java.command=%JAVA_HOME%\bin\java
# Java Main class. This class must implement the WrapperListener interface
# or guarantee that the WrapperManager class is initialized. Helper
# classes are provided to do this for you. See the Integration section
# of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperStartStopApp
# Java Classpath (include wrapper.jar) Add class path elements as
# needed starting from 1
wrapper.java.classpath.1=..\common\lib\wrapper.jar
wrapper.java.classpath.2=..\..\..\jre1.5.0_05\lib\tools.jar
wrapper.java.classpath.3=..\bin\bootstrap.jar
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=..\common\lib
# Java Additional Parameters
wrapper.java.additional.1=-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet
wrapper.java.additional.2=-DFIORANO_HOME=..\..\..
wrapper.java.additional.3=-DFMQ_DIR=..\..\..\fmq
wrapper.java.additional.4=-DBC_REPOSITORY=..\..\..\esb\fes\repository\components
wrapper.java.additional.5=-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
wrapper.java.additional.6=-Djava.naming.factory.url.pkgs=org.apache.naming
wrapper.java.additional.7=-Djava.util.logging.config.file=.\logging.properties
wrapper.java.additional.8=-Djava.endorsed.dirs=..\bin;..\common\endorsed
wrapper.java.additional.9=-Dcatalina.base=..
wrapper.java.additional.10=-Dcatalina.home=..
wrapper.java.additional.11=-Djava.io.tmpdir=..\temp
# Initial Java Heap Size (in MB)
#wrapper.java.initmemory=3
# Maximum Java Heap Size (in MB)
#wrapper.java.maxmemory=64
# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=org.apache.catalina.startup.Bootstrap
wrapper.app.parameter.2=1
wrapper.app.parameter.3=start
wrapper.app.parameter.4=org.apache.catalina.startup.Bootstrap
wrapper.app.parameter.5=true
wrapper.app.parameter.6=1
wrapper.app.parameter.7=stop
#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM
# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=INFO
# Log file to use for wrapper output logging.
wrapper.logfile=../logs/wrapper.log
# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=DEBUG
# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0
# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0
# Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=NONE
#********************************************************************
# Wrapper Windows Properties
#********************************************************************
# Title to use when running as a console
wrapper.console.title=Tomcat Application Server
#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
wrapper.ntservice.name=Tomcat
# Display name of the service
wrapper.ntservice.displayname=Tomcat Application Server
# Description of the service
wrapper.ntservice.description=Tomcat Application Server bundled with
Fiorano
# Service dependencies. Add dependencies as needed starting from 1
#wrapper.ntservice.dependency.1=
# Mode in which the service is installed. AUTO_START or DEMAND_START
wrapper.ntservice.starttype=DEMAND_START
# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false
STATUS | wrapper | 2005/11/23 18:38:22 | --> Wrapper Started as Console
DEBUG | wrapper | 2005/11/23 18:38:22 | Using system timer.
DEBUG | wrapperp | 2005/11/23 18:38:22 | server listening on port 32001.
STATUS | wrapper | 2005/11/23 18:38:22 | Launching a JVM...
DEBUG | wrapper | 2005/11/23 18:38:22 | command: "C:\j2sdk1.4.2
_02\\bin\java"
-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet
-DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq
-DBC_REPOSITORY=..\..\..\esb\fes\repository\components
-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
-Djava.naming.factory.url.pkgs=org.apache.naming
-Djava.util.logging.config.file=.\logging.properties
-Djava.endorsed.dirs=..\bin;..\common\endorsed -Dcatalina.base=..
-Dcatalina.home=.. -Djava.io.tmpdir=..\temp
-Djava.library.path="..\common\lib" -classpath
"..\common\lib\wrapper.jar;C:\j2sdk1.4.2
_02\\lib\tools.jar;..\bin\bootstrap.jar" -Dwrapper.key="igoKlKZksTJyr07i"
-Dwrapper.port=32001 -Dwrapper.debug="TRUE"
-Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2"
-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10"
-Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp
org.apache.catalina.startup.Bootstrap 1 start
org.apache.catalina.startup.Bootstrap true 1 stop
DEBUG | wrapper | 2005/11/23 18:38:22 | JVM started (PID=3580)
INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperManager class initialized
by thread: main Using classloader:
sun.misc.Launcher$AppClassLoader@1ff5ea7
INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: JVM #1
INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: Registering
shutdown hook
INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: Using wrapper
INFO | jvm 1 | 2005/11/23 18:38:23 | Loaded native library:
wrapper.dll
INFO | jvm 1 | 2005/11/23 18:38:23 | Calling native initialization
method.
INFO | jvm 1 | 2005/11/23 18:38:23 | Initializing WrapperManager
native library.
INFO | jvm 1 | 2005/11/23 18:38:23 | Java Executable: C:\j2sdk1.4.2
_02\bin\java.exe
INFO | jvm 1 | 2005/11/23 18:38:23 | Windows version: 5.0.2195
INFO | jvm 1 | 2005/11/23 18:38:23 | Java Version : 1.4.2_02-b03
Java HotSpot(TM) Client VM
INFO | jvm 1 | 2005/11/23 18:38:23 | Java VM Vendor : Sun Microsystems
Inc.
INFO | jvm 1 | 2005/11/23 18:38:23 |
INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper (Version 3.1.2)
http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2005/11/23 18:38:23 |
INFO | jvm 1 | 2005/11/23 18:38:23 |
WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@3ee284,
args["start"]) called by thread: main
INFO | jvm 1 | 2005/11/23 18:38:23 | Open socket to wrapper...
INFO | jvm 1 | 2005/11/23 18:38:23 | Opened Socket
INFO | jvm 1 | 2005/11/23 18:38:23 | Send a packet KEY :
igoKlKZksTJyr07i
INFO | jvm 1 | 2005/11/23 18:38:23 |
handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=2449])
DEBUG | wrapperp | 2005/11/23 18:38:23 | accepted a socket from 127.0.0.1
on port 2449
DEBUG | wrapperp | 2005/11/23 18:38:23 | read a packet KEY :
igoKlKZksTJyr07i
DEBUG | wrapper | 2005/11/23 18:38:23 | Got key from JVM:
igoKlKZksTJyr07i
DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet LOW_LOG_LEVEL : 1
DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet PING_TIMEOUT : 30
DEBUG | wrapper | 2005/11/23 18:38:23 | Start Application.
DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet START : start
INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet LOW_LOG_LEVEL :
1
INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: LowLogLevel from
Wrapper is 1
INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet PING_TIMEOUT :
30
INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: PingTimeout from
Wrapper is 30000
INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet START : start
INFO | jvm 1 | 2005/11/23 18:38:23 | calling listener.start()
INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperStartStopApp: start(args)
INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperStartStopApp: invoking
start main method
INFO | jvm 1 | 2005/11/23 18:38:23 | Bootstrap: Class loader creation
threw exception
INFO | jvm 1 | 2005/11/23 18:38:23 |
java.lang.ExceptionInInitializerError
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.java:207)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
java.lang.reflect.Method.invoke(Method.java:324)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
java.lang.Thread.run(Thread.java:534)
INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
(Caused by org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException))
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55)
INFO | jvm 1 | 2005/11/23 18:38:23 | ... 12 more
INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by:
org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
INFO | jvm 1 | 2005/11/23 18:38:23 | ... 16 more
INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by:
java.lang.NullPointerException
INFO | jvm 1 | 2005/11/23 18:38:23 | at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
INFO | jvm 1 | 2005/11/23 18:38:23 | ... 17 more
INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: ShutdownHook
started
INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperManager.stop(0) called by
thread: Wrapper-Shutdown-Hook
INFO | jvm 1 | 2005/11/23 18:38:24 | Send a packet STOP : 0
DEBUG | wrapperp | 2005/11/23 18:38:24 | read a packet STOP : 0
DEBUG | wrapper | 2005/11/23 18:38:24 | JVM requested a shutdown. (0)
DEBUG | wrapper | 2005/11/23 18:38:24 | wrapperStopProcess(0) called.
DEBUG | wrapper | 2005/11/23 18:38:24 | Sending stop signal to JVM
DEBUG | wrapperp | 2005/11/23 18:38:24 | send a packet STOP : NULL
INFO | jvm 1 | 2005/11/23 18:38:25 | Thread, Wrapper-Shutdown-Hook,
handling the shutdown process.
INFO | jvm 1 | 2005/11/23 18:38:25 | Send a packet STOPPED : 0
DEBUG | wrapperp | 2005/11/23 18:38:25 | read a packet STOPPED : 0
DEBUG | wrapper | 2005/11/23 18:38:25 | JVM signalled that it was
stopped.
INFO | jvm 1 | 2005/11/23 18:38:25 | Closing socket.
DEBUG | wrapperp | 2005/11/23 18:38:25 | socket read no code (closed?).
INFO | jvm 1 | 2005/11/23 18:38:25 | Wrapper Manager: ShutdownHook
complete
DEBUG | wrapper | 2005/11/23 18:38:25 | JVM process exited with a code of
1, setting the wrapper exit code to 1.
DEBUG | wrapper | 2005/11/23 18:38:25 | JVM exited normally.
STATUS | wrapper | 2005/11/23 18:38:25 | <-- Wrapper Stopped
STATUS | wrapper | 2005/11/23 18:41:59 | --> Wrapper Started as Console
DEBUG | wrapper | 2005/11/23 18:41:59 | Using system timer.
DEBUG | wrapperp | 2005/11/23 18:41:59 | server listening on port 32001.
DEBUG | wrapper | 2005/11/23 18:41:59 | Classpath element,
wrapper.java.classpath.2, does not exist: ..\..\..\jre1.5.0
_05\lib\tools.jar
STATUS | wrapper | 2005/11/23 18:41:59 | Launching a JVM...
DEBUG | wrapper | 2005/11/23 18:41:59 | command: "C:\j2sdk1.4.2
_02\\bin\java"
-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet
-DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq
-DBC_REPOSITORY=..\..\..\esb\fes\repository\components
-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
-Djava.naming.factory.url.pkgs=org.apache.naming
-Djava.util.logging.config.file=.\logging.properties
-Djava.endorsed.dirs=..\bin;..\common\endorsed -Dcatalina.base=..
-Dcatalina.home=.. -Djava.io.tmpdir=..\temp
-Djava.library.path="..\common\lib" -classpath
"..\common\lib\wrapper.jar;..\..\..\jre1.5.0
_05\lib\tools.jar;..\bin\bootstrap.jar" -Dwrapper.key="TiwxXgqMa7QFC__g"
-Dwrapper.port=32001 -Dwrapper.debug="TRUE"
-Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2"
-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10"
-Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp
org.apache.catalina.startup.Bootstrap 1 start
org.apache.catalina.startup.Bootstrap true 1 stop
DEBUG | wrapper | 2005/11/23 18:41:59 | JVM started (PID=3304)
INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperManager class initialized
by thread: main Using classloader:
sun.misc.Launcher$AppClassLoader@1ff5ea7
INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: JVM #1
INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: Registering
shutdown hook
INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: Using wrapper
INFO | jvm 1 | 2005/11/23 18:42:01 | Loaded native library:
wrapper.dll
INFO | jvm 1 | 2005/11/23 18:42:01 | Calling native initialization
method.
INFO | jvm 1 | 2005/11/23 18:42:01 | Initializing WrapperManager
native library.
INFO | jvm 1 | 2005/11/23 18:42:01 | Java Executable: C:\j2sdk1.4.2
_02\bin\java.exe
INFO | jvm 1 | 2005/11/23 18:42:01 | Windows version: 5.0.2195
INFO | jvm 1 | 2005/11/23 18:42:01 | Java Version : 1.4.2_02-b03
Java HotSpot(TM) Client VM
INFO | jvm 1 | 2005/11/23 18:42:01 | Java VM Vendor : Sun Microsystems
Inc.
INFO | jvm 1 | 2005/11/23 18:42:01 |
INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper (Version 3.1.2)
http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2005/11/23 18:42:01 |
INFO | jvm 1 | 2005/11/23 18:42:01 |
WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@3ee284,
args["start"]) called by thread: main
INFO | jvm 1 | 2005/11/23 18:42:01 | Open socket to wrapper...
INFO | jvm 1 | 2005/11/23 18:42:01 | Opened Socket
INFO | jvm 1 | 2005/11/23 18:42:01 | Send a packet KEY :
TiwxXgqMa7QFC__g
INFO | jvm 1 | 2005/11/23 18:42:01 |
handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=2465])
DEBUG | wrapperp | 2005/11/23 18:42:01 | accepted a socket from 127.0.0.1
on port 2465
DEBUG | wrapperp | 2005/11/23 18:42:01 | read a packet KEY :
TiwxXgqMa7QFC__g
DEBUG | wrapper | 2005/11/23 18:42:01 | Got key from JVM:
TiwxXgqMa7QFC__g
DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet LOW_LOG_LEVEL : 1
DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet PING_TIMEOUT : 30
DEBUG | wrapper | 2005/11/23 18:42:01 | Start Application.
DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet START : start
INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet LOW_LOG_LEVEL :
1
INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: LowLogLevel from
Wrapper is 1
INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet PING_TIMEOUT :
30
INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: PingTimeout from
Wrapper is 30000
INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet START : start
INFO | jvm 1 | 2005/11/23 18:42:01 | calling listener.start()
INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperStartStopApp: start(args)
INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperStartStopApp: invoking
start main method
INFO | jvm 1 | 2005/11/23 18:42:01 | Bootstrap: Class loader creation
threw exception
INFO | jvm 1 | 2005/11/23 18:42:01 |
java.lang.ExceptionInInitializerError
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.java:207)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
java.lang.reflect.Method.invoke(Method.java:324)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
java.lang.Thread.run(Thread.java:534)
INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
(Caused by org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException))
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55)
INFO | jvm 1 | 2005/11/23 18:42:01 | ... 12 more
INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by:
org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
INFO | jvm 1 | 2005/11/23 18:42:01 | ... 16 more
INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by:
java.lang.NullPointerException
INFO | jvm 1 | 2005/11/23 18:42:01 | at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
INFO | jvm 1 | 2005/11/23 18:42:01 | ... 17 more
INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: ShutdownHook
started
INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperManager.stop(0) called by
thread: Wrapper-Shutdown-Hook
INFO | jvm 1 | 2005/11/23 18:42:01 | Send a packet STOP : 0
DEBUG | wrapperp | 2005/11/23 18:42:01 | read a packet STOP : 0
DEBUG | wrapper | 2005/11/23 18:42:01 | JVM requested a shutdown. (0)
DEBUG | wrapper | 2005/11/23 18:42:01 | wrapperStopProcess(0) called.
DEBUG | wrapper | 2005/11/23 18:42:01 | Sending stop signal to JVM
DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet STOP : NULL
INFO | jvm 1 | 2005/11/23 18:42:02 | Thread, Wrapper-Shutdown-Hook,
handling the shutdown process.
INFO | jvm 1 | 2005/11/23 18:42:02 | Send a packet STOPPED : 0
DEBUG | wrapperp | 2005/11/23 18:42:02 | read a packet STOPPED : 0
DEBUG | wrapper | 2005/11/23 18:42:02 | JVM signalled that it was
stopped.
INFO | jvm 1 | 2005/11/23 18:42:02 | Closing socket.
DEBUG | wrapperp | 2005/11/23 18:42:02 | socket read no code (closed?).
INFO | jvm 1 | 2005/11/23 18:42:03 | Wrapper Manager: ShutdownHook
complete
DEBUG | wrapper | 2005/11/23 18:42:03 | JVM process exited with a code of
1, setting the wrapper exit code to 1.
DEBUG | wrapper | 2005/11/23 18:42:03 | JVM exited normally.
STATUS | wrapper | 2005/11/23 18:42:03 | <-- Wrapper Stopped
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
**********************************************************************************************
BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.
BNP Paribas Securities Services London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.
BNP Paribas Fund Services UK Limited is authorised and
regulated by the Financial Services Authority
|
|
From: Adrian W. <adr...@as...> - 2005-11-24 10:03:54
|
Hi Nick, See my comments below. Thanks, Adrian. nic...@uk... wrote: >Ouch. > >it looks like this is the line (in clogging) throwing an NPE > > logInterface = >this.getClass().getClassLoader().loadClass(LOG_INTERFACE); > >getClassloader can return null if this class is loaded by the bootstrap >classloader > >What JVM are you using? > > v1.4 >Is wrapper using the same JRE as you are running tomcat standalone? > > Yes, both are pointing to the same JRE. >Is there anything in your JRE lib/ext? > > There are a few jars but none related to the wrapper or tomcat. Do any of the wrapper jars need to be included here? >-Nick > > > > > >Internet >adr...@as...@lists.sourceforge.net - 23/11/2005 18:56 > > >Please respond to wra...@li... > >Sent by: wra...@li... > > > >To: wrapper-user > >cc: > > >Subject: [Wrapper-user] Configuring Tomcat with wapper > > >Hi, > >I am trying to configure tomcat to run as a Windows Service using >wrapper. I have followed the instructions from the wrapper site which >even uses tomcat as an example on how to set-up a service using the >WrapperStartStopApp class. See: >http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html > >However when I try to run Tomcat.bat to test it deploys OK before >installing it as a service I get an exception and I cannot figure out >what the problem is. I have attached the wrapper log file and the conf >file. If anyone can help shed some light on this it would be greatly >appriciated. > >Thanks in advance, >Adrian. > >-- >Adrian Walls >Tel: +44 28 9072 5094 >E-mail: a....@as... > >Asidua Ltd. >Office Address: 10 Weavers Court, Belfast BT12 5GH. >Registered in Northern Ireland No. 043987 > >This electronic message contains information from Asidua Ltd. which may be >privileged or confidential. The information is intended to be for the use >of the individual(s) or entity named above. If you are not the intended >recipient be aware that any disclosure copying, distribution or use of the >contents of this information is prohibited. If you have received this >electronic message in error, please notify us by telephone or email (to the >numbers or address above) immediately. > > > >#******************************************************************** ># Wrapper Properties ># ># Configures Tomcat to run as Windows Service >#******************************************************************** ># Java Application >wrapper.java.command=%JAVA_HOME%\bin\java > ># Java Main class. This class must implement the WrapperListener interface ># or guarantee that the WrapperManager class is initialized. Helper ># classes are provided to do this for you. See the Integration section ># of the documentation for details. >wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperStartStopApp > ># Java Classpath (include wrapper.jar) Add class path elements as ># needed starting from 1 >wrapper.java.classpath.1=..\common\lib\wrapper.jar >wrapper.java.classpath.2=..\..\..\jre1.5.0_05\lib\tools.jar >wrapper.java.classpath.3=..\bin\bootstrap.jar > ># Java Library Path (location of Wrapper.DLL or libwrapper.so) >wrapper.java.library.path.1=..\common\lib > ># Java Additional Parameters >wrapper.java.additional.1=-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet > >wrapper.java.additional.2=-DFIORANO_HOME=..\..\.. >wrapper.java.additional.3=-DFMQ_DIR=..\..\..\fmq >wrapper.java.additional.4=-DBC_REPOSITORY=..\..\..\esb\fes\repository\components > >wrapper.java.additional.5=-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory > >wrapper.java.additional.6=-Djava.naming.factory.url.pkgs=org.apache.naming >wrapper.java.additional.7=-Djava.util.logging.config.file=.\logging.properties > >wrapper.java.additional.8=-Djava.endorsed.dirs=..\bin;..\common\endorsed >wrapper.java.additional.9=-Dcatalina.base=.. >wrapper.java.additional.10=-Dcatalina.home=.. >wrapper.java.additional.11=-Djava.io.tmpdir=..\temp > ># Initial Java Heap Size (in MB) >#wrapper.java.initmemory=3 > ># Maximum Java Heap Size (in MB) >#wrapper.java.maxmemory=64 > ># Application parameters. Add parameters as needed starting from 1 >wrapper.app.parameter.1=org.apache.catalina.startup.Bootstrap >wrapper.app.parameter.2=1 >wrapper.app.parameter.3=start >wrapper.app.parameter.4=org.apache.catalina.startup.Bootstrap >wrapper.app.parameter.5=true >wrapper.app.parameter.6=1 >wrapper.app.parameter.7=stop > > >#******************************************************************** ># Wrapper Logging Properties >#******************************************************************** ># Format of output for the console. (See docs for formats) >wrapper.console.format=PM > ># Log Level for console output. (See docs for log levels) >wrapper.console.loglevel=INFO > ># Log file to use for wrapper output logging. >wrapper.logfile=../logs/wrapper.log > ># Format of output for the log file. (See docs for formats) >wrapper.logfile.format=LPTM > ># Log Level for log file output. (See docs for log levels) >wrapper.logfile.loglevel=DEBUG > ># Maximum size that the log file will be allowed to grow to before ># the log is rolled. Size is specified in bytes. The default value ># of 0, disables log rolling. May abbreviate with the 'k' (kb) or ># 'm' (mb) suffix. For example: 10m = 10 megabytes. >wrapper.logfile.maxsize=0 > ># Maximum number of rolled log files which will be allowed before old ># files are deleted. The default value of 0 implies no limit. >wrapper.logfile.maxfiles=0 > ># Log Level for sys/event log output. (See docs for log levels) >wrapper.syslog.loglevel=NONE > >#******************************************************************** ># Wrapper Windows Properties >#******************************************************************** ># Title to use when running as a console >wrapper.console.title=Tomcat Application Server > >#******************************************************************** ># Wrapper Windows NT/2000/XP Service Properties >#******************************************************************** ># WARNING - Do not modify any of these properties when an application ># using this configuration file has been installed as a service. ># Please uninstall the service before modifying this section. The ># service can then be reinstalled. > ># Name of the service >wrapper.ntservice.name=Tomcat > ># Display name of the service >wrapper.ntservice.displayname=Tomcat Application Server > ># Description of the service >wrapper.ntservice.description=Tomcat Application Server bundled with >Fiorano > ># Service dependencies. Add dependencies as needed starting from 1 >#wrapper.ntservice.dependency.1= > ># Mode in which the service is installed. AUTO_START or DEMAND_START >wrapper.ntservice.starttype=DEMAND_START > ># Allow the service to interact with the desktop. >wrapper.ntservice.interactive=false > > > >STATUS | wrapper | 2005/11/23 18:38:22 | --> Wrapper Started as Console >DEBUG | wrapper | 2005/11/23 18:38:22 | Using system timer. >DEBUG | wrapperp | 2005/11/23 18:38:22 | server listening on port 32001. >STATUS | wrapper | 2005/11/23 18:38:22 | Launching a JVM... >DEBUG | wrapper | 2005/11/23 18:38:22 | command: "C:\j2sdk1.4.2 >_02\\bin\java" >-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet > -DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq >-DBC_REPOSITORY=..\..\..\esb\fes\repository\components >-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory >-Djava.naming.factory.url.pkgs=org.apache.naming >-Djava.util.logging.config.file=.\logging.properties >-Djava.endorsed.dirs=..\bin;..\common\endorsed -Dcatalina.base=.. >-Dcatalina.home=.. -Djava.io.tmpdir=..\temp >-Djava.library.path="..\common\lib" -classpath >"..\common\lib\wrapper.jar;C:\j2sdk1.4.2 >_02\\lib\tools.jar;..\bin\bootstrap.jar" -Dwrapper.key="igoKlKZksTJyr07i" >-Dwrapper.port=32001 -Dwrapper.debug="TRUE" >-Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" >-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" >-Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp >org.apache.catalina.startup.Bootstrap 1 start >org.apache.catalina.startup.Bootstrap true 1 stop >DEBUG | wrapper | 2005/11/23 18:38:22 | JVM started (PID=3580) >INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperManager class initialized >by thread: main Using classloader: >sun.misc.Launcher$AppClassLoader@1ff5ea7 >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: JVM #1 >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: Registering >shutdown hook >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: Using wrapper >INFO | jvm 1 | 2005/11/23 18:38:23 | Loaded native library: >wrapper.dll >INFO | jvm 1 | 2005/11/23 18:38:23 | Calling native initialization >method. >INFO | jvm 1 | 2005/11/23 18:38:23 | Initializing WrapperManager >native library. >INFO | jvm 1 | 2005/11/23 18:38:23 | Java Executable: C:\j2sdk1.4.2 >_02\bin\java.exe >INFO | jvm 1 | 2005/11/23 18:38:23 | Windows version: 5.0.2195 >INFO | jvm 1 | 2005/11/23 18:38:23 | Java Version : 1.4.2_02-b03 >Java HotSpot(TM) Client VM >INFO | jvm 1 | 2005/11/23 18:38:23 | Java VM Vendor : Sun Microsystems >Inc. >INFO | jvm 1 | 2005/11/23 18:38:23 | >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper (Version 3.1.2) >http://wrapper.tanukisoftware.org >INFO | jvm 1 | 2005/11/23 18:38:23 | >INFO | jvm 1 | 2005/11/23 18:38:23 | >WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@3ee284, >args["start"]) called by thread: main >INFO | jvm 1 | 2005/11/23 18:38:23 | Open socket to wrapper... >INFO | jvm 1 | 2005/11/23 18:38:23 | Opened Socket >INFO | jvm 1 | 2005/11/23 18:38:23 | Send a packet KEY : >igoKlKZksTJyr07i >INFO | jvm 1 | 2005/11/23 18:38:23 | >handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=2449]) >DEBUG | wrapperp | 2005/11/23 18:38:23 | accepted a socket from 127.0.0.1 >on port 2449 >DEBUG | wrapperp | 2005/11/23 18:38:23 | read a packet KEY : >igoKlKZksTJyr07i >DEBUG | wrapper | 2005/11/23 18:38:23 | Got key from JVM: >igoKlKZksTJyr07i >DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet LOW_LOG_LEVEL : 1 >DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet PING_TIMEOUT : 30 >DEBUG | wrapper | 2005/11/23 18:38:23 | Start Application. >DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet START : start >INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet LOW_LOG_LEVEL : >1 >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: LowLogLevel from >Wrapper is 1 >INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet PING_TIMEOUT : >30 >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: PingTimeout from >Wrapper is 30000 >INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet START : start >INFO | jvm 1 | 2005/11/23 18:38:23 | calling listener.start() >INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperStartStopApp: start(args) >INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperStartStopApp: invoking >start main method >INFO | jvm 1 | 2005/11/23 18:38:23 | Bootstrap: Class loader creation >threw exception >INFO | jvm 1 | 2005/11/23 18:38:23 | >java.lang.ExceptionInInitializerError >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.java:207) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >java.lang.reflect.Method.invoke(Method.java:324) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >java.lang.Thread.run(Thread.java:534) >INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >org.apache.commons.logging.LogConfigurationException: >org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException (Caused by java.lang.NullPointerException) >(Caused by org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException (Caused by java.lang.NullPointerException)) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55) >INFO | jvm 1 | 2005/11/23 18:38:23 | ... 12 more >INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException (Caused by java.lang.NullPointerException) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) > >INFO | jvm 1 | 2005/11/23 18:38:23 | ... 16 more >INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >java.lang.NullPointerException >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374) > >INFO | jvm 1 | 2005/11/23 18:38:23 | ... 17 more >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: ShutdownHook >started >INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperManager.stop(0) called by >thread: Wrapper-Shutdown-Hook >INFO | jvm 1 | 2005/11/23 18:38:24 | Send a packet STOP : 0 >DEBUG | wrapperp | 2005/11/23 18:38:24 | read a packet STOP : 0 >DEBUG | wrapper | 2005/11/23 18:38:24 | JVM requested a shutdown. (0) >DEBUG | wrapper | 2005/11/23 18:38:24 | wrapperStopProcess(0) called. >DEBUG | wrapper | 2005/11/23 18:38:24 | Sending stop signal to JVM >DEBUG | wrapperp | 2005/11/23 18:38:24 | send a packet STOP : NULL >INFO | jvm 1 | 2005/11/23 18:38:25 | Thread, Wrapper-Shutdown-Hook, >handling the shutdown process. >INFO | jvm 1 | 2005/11/23 18:38:25 | Send a packet STOPPED : 0 >DEBUG | wrapperp | 2005/11/23 18:38:25 | read a packet STOPPED : 0 >DEBUG | wrapper | 2005/11/23 18:38:25 | JVM signalled that it was >stopped. >INFO | jvm 1 | 2005/11/23 18:38:25 | Closing socket. >DEBUG | wrapperp | 2005/11/23 18:38:25 | socket read no code (closed?). >INFO | jvm 1 | 2005/11/23 18:38:25 | Wrapper Manager: ShutdownHook >complete >DEBUG | wrapper | 2005/11/23 18:38:25 | JVM process exited with a code of >1, setting the wrapper exit code to 1. >DEBUG | wrapper | 2005/11/23 18:38:25 | JVM exited normally. >STATUS | wrapper | 2005/11/23 18:38:25 | <-- Wrapper Stopped >STATUS | wrapper | 2005/11/23 18:41:59 | --> Wrapper Started as Console >DEBUG | wrapper | 2005/11/23 18:41:59 | Using system timer. >DEBUG | wrapperp | 2005/11/23 18:41:59 | server listening on port 32001. >DEBUG | wrapper | 2005/11/23 18:41:59 | Classpath element, >wrapper.java.classpath.2, does not exist: ..\..\..\jre1.5.0 >_05\lib\tools.jar >STATUS | wrapper | 2005/11/23 18:41:59 | Launching a JVM... >DEBUG | wrapper | 2005/11/23 18:41:59 | command: "C:\j2sdk1.4.2 >_02\\bin\java" >-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet > -DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq >-DBC_REPOSITORY=..\..\..\esb\fes\repository\components >-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory >-Djava.naming.factory.url.pkgs=org.apache.naming >-Djava.util.logging.config.file=.\logging.properties >-Djava.endorsed.dirs=..\bin;..\common\endorsed -Dcatalina.base=.. >-Dcatalina.home=.. -Djava.io.tmpdir=..\temp >-Djava.library.path="..\common\lib" -classpath >"..\common\lib\wrapper.jar;..\..\..\jre1.5.0 >_05\lib\tools.jar;..\bin\bootstrap.jar" -Dwrapper.key="TiwxXgqMa7QFC__g" >-Dwrapper.port=32001 -Dwrapper.debug="TRUE" >-Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" >-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" >-Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp >org.apache.catalina.startup.Bootstrap 1 start >org.apache.catalina.startup.Bootstrap true 1 stop >DEBUG | wrapper | 2005/11/23 18:41:59 | JVM started (PID=3304) >INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperManager class initialized >by thread: main Using classloader: >sun.misc.Launcher$AppClassLoader@1ff5ea7 >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: JVM #1 >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: Registering >shutdown hook >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: Using wrapper >INFO | jvm 1 | 2005/11/23 18:42:01 | Loaded native library: >wrapper.dll >INFO | jvm 1 | 2005/11/23 18:42:01 | Calling native initialization >method. >INFO | jvm 1 | 2005/11/23 18:42:01 | Initializing WrapperManager >native library. >INFO | jvm 1 | 2005/11/23 18:42:01 | Java Executable: C:\j2sdk1.4.2 >_02\bin\java.exe >INFO | jvm 1 | 2005/11/23 18:42:01 | Windows version: 5.0.2195 >INFO | jvm 1 | 2005/11/23 18:42:01 | Java Version : 1.4.2_02-b03 >Java HotSpot(TM) Client VM >INFO | jvm 1 | 2005/11/23 18:42:01 | Java VM Vendor : Sun Microsystems >Inc. >INFO | jvm 1 | 2005/11/23 18:42:01 | >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper (Version 3.1.2) >http://wrapper.tanukisoftware.org >INFO | jvm 1 | 2005/11/23 18:42:01 | >INFO | jvm 1 | 2005/11/23 18:42:01 | >WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@3ee284, >args["start"]) called by thread: main >INFO | jvm 1 | 2005/11/23 18:42:01 | Open socket to wrapper... >INFO | jvm 1 | 2005/11/23 18:42:01 | Opened Socket >INFO | jvm 1 | 2005/11/23 18:42:01 | Send a packet KEY : >TiwxXgqMa7QFC__g >INFO | jvm 1 | 2005/11/23 18:42:01 | >handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=2465]) >DEBUG | wrapperp | 2005/11/23 18:42:01 | accepted a socket from 127.0.0.1 >on port 2465 >DEBUG | wrapperp | 2005/11/23 18:42:01 | read a packet KEY : >TiwxXgqMa7QFC__g >DEBUG | wrapper | 2005/11/23 18:42:01 | Got key from JVM: >TiwxXgqMa7QFC__g >DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet LOW_LOG_LEVEL : 1 >DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet PING_TIMEOUT : 30 >DEBUG | wrapper | 2005/11/23 18:42:01 | Start Application. >DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet START : start >INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet LOW_LOG_LEVEL : >1 >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: LowLogLevel from >Wrapper is 1 >INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet PING_TIMEOUT : >30 >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: PingTimeout from >Wrapper is 30000 >INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet START : start >INFO | jvm 1 | 2005/11/23 18:42:01 | calling listener.start() >INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperStartStopApp: start(args) >INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperStartStopApp: invoking >start main method >INFO | jvm 1 | 2005/11/23 18:42:01 | Bootstrap: Class loader creation >threw exception >INFO | jvm 1 | 2005/11/23 18:42:01 | >java.lang.ExceptionInInitializerError >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.java:207) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >java.lang.reflect.Method.invoke(Method.java:324) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >java.lang.Thread.run(Thread.java:534) > INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: > org.apache.commons.logging.LogConfigurationException: > org.apache.commons.logging.LogConfigurationException: > java.lang.NullPointerException (Caused by java.lang.NullPointerException) > (Caused by org.apache.commons.logging.LogConfigurationException: > java.lang.NullPointerException (Caused by java.lang.NullPointerException)) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55) >INFO | jvm 1 | 2005/11/23 18:42:01 | ... 12 more >INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: >org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException (Caused by java.lang.NullPointerException) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) > >INFO | jvm 1 | 2005/11/23 18:42:01 | ... 16 more >INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: >java.lang.NullPointerException >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374) > >INFO | jvm 1 | 2005/11/23 18:42:01 | ... 17 more >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: ShutdownHook >started >INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperManager.stop(0) called by >thread: Wrapper-Shutdown-Hook >INFO | jvm 1 | 2005/11/23 18:42:01 | Send a packet STOP : 0 >DEBUG | wrapperp | 2005/11/23 18:42:01 | read a packet STOP : 0 >DEBUG | wrapper | 2005/11/23 18:42:01 | JVM requested a shutdown. (0) >DEBUG | wrapper | 2005/11/23 18:42:01 | wrapperStopProcess(0) called. >DEBUG | wrapper | 2005/11/23 18:42:01 | Sending stop signal to JVM >DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet STOP : NULL >INFO | jvm 1 | 2005/11/23 18:42:02 | Thread, Wrapper-Shutdown-Hook, >handling the shutdown process. >INFO | jvm 1 | 2005/11/23 18:42:02 | Send a packet STOPPED : 0 >DEBUG | wrapperp | 2005/11/23 18:42:02 | read a packet STOPPED : 0 >DEBUG | wrapper | 2005/11/23 18:42:02 | JVM signalled that it was >stopped. >INFO | jvm 1 | 2005/11/23 18:42:02 | Closing socket. >DEBUG | wrapperp | 2005/11/23 18:42:02 | socket read no code (closed?). >INFO | jvm 1 | 2005/11/23 18:42:03 | Wrapper Manager: ShutdownHook >complete >DEBUG | wrapper | 2005/11/23 18:42:03 | JVM process exited with a code of >1, setting the wrapper exit code to 1. >DEBUG | wrapper | 2005/11/23 18:42:03 | JVM exited normally. >STATUS | wrapper | 2005/11/23 18:42:03 | <-- Wrapper Stopped > > > >This message and any attachments (the "message") is >intended solely for the addressees and is confidential. >If you receive this message in error, please delete it and >immediately notify the sender. Any use not in accord with >its purpose, any dissemination or disclosure, either whole >or partial, is prohibited except formal approval. The internet >can not guarantee the integrity of this message. >BNP PARIBAS (and its subsidiaries) shall (will) not >therefore be liable for the message if modified. > >********************************************************************************************** > >BNP Paribas Private Bank London Branch is authorised >by CECEI & AMF and is regulated by the Financial Services >Authority for the conduct of its investment business in >the United Kingdom. > >BNP Paribas Securities Services London Branch is authorised >by CECEI & AMF and is regulated by the Financial Services >Authority for the conduct of its investment business in >the United Kingdom. > >BNP Paribas Fund Services UK Limited is authorised and >regulated by the Financial Services Authority > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > > -- Adrian Walls Tel: +44 28 9072 5094 E-mail: a....@as... Asidua Ltd. Office Address: 10 Weavers Court, Belfast BT12 5GH. Registered in Northern Ireland No. 043987 This electronic message contains information from Asidua Ltd. which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. |
|
From: <nic...@uk...> - 2005-11-24 14:22:17
|
>> v1.4 The Sun VM? >> There are a few jars but none related to the wrapper or tomcat. You dont have any commons-logging jars laying around where they shouldnt be? >> Do any of the wrapper jars need to be included here? Goodness no... >> Yes, both are pointing to the same JRE. Hmmm. Thats very strange then... I have run out of ideas... -Nick Internet adr...@as...@lists.sourceforge.net - 24/11/2005 10:03 Please respond to wra...@li... Sent by: wra...@li... To: wrapper-user cc: Subject: Re: [Wrapper-user] Configuring Tomcat with wapper Hi Nick, See my comments below. Thanks, Adrian. nic...@uk... wrote: >Ouch. > >it looks like this is the line (in clogging) throwing an NPE > > logInterface = >this.getClass().getClassLoader().loadClass(LOG_INTERFACE); > >getClassloader can return null if this class is loaded by the bootstrap >classloader > >What JVM are you using? > > v1.4 >Is wrapper using the same JRE as you are running tomcat standalone? > > Yes, both are pointing to the same JRE. >Is there anything in your JRE lib/ext? > > There are a few jars but none related to the wrapper or tomcat. Do any of the wrapper jars need to be included here? >-Nick > > > > > >Internet >adr...@as...@lists.sourceforge.net - 23/11/2005 18:56 > > >Please respond to wra...@li... > >Sent by: wra...@li... > > > >To: wrapper-user > >cc: > > >Subject: [Wrapper-user] Configuring Tomcat with wapper > > >Hi, > >I am trying to configure tomcat to run as a Windows Service using >wrapper. I have followed the instructions from the wrapper site which >even uses tomcat as an example on how to set-up a service using the >WrapperStartStopApp class. See: >http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html > >However when I try to run Tomcat.bat to test it deploys OK before >installing it as a service I get an exception and I cannot figure out >what the problem is. I have attached the wrapper log file and the conf >file. If anyone can help shed some light on this it would be greatly >appriciated. > >Thanks in advance, >Adrian. > >-- >Adrian Walls >Tel: +44 28 9072 5094 >E-mail: a....@as... > >Asidua Ltd. >Office Address: 10 Weavers Court, Belfast BT12 5GH. >Registered in Northern Ireland No. 043987 > >This electronic message contains information from Asidua Ltd. which may be >privileged or confidential. The information is intended to be for the use >of the individual(s) or entity named above. If you are not the intended >recipient be aware that any disclosure copying, distribution or use of the >contents of this information is prohibited. If you have received this >electronic message in error, please notify us by telephone or email (to the >numbers or address above) immediately. > > > >#******************************************************************** ># Wrapper Properties ># ># Configures Tomcat to run as Windows Service >#******************************************************************** ># Java Application >wrapper.java.command=%JAVA_HOME%\bin\java > ># Java Main class. This class must implement the WrapperListener interface ># or guarantee that the WrapperManager class is initialized. Helper ># classes are provided to do this for you. See the Integration section ># of the documentation for details. >wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperStartStopApp > ># Java Classpath (include wrapper.jar) Add class path elements as ># needed starting from 1 >wrapper.java.classpath.1=..\common\lib\wrapper.jar >wrapper.java.classpath.2=..\..\..\jre1.5.0_05\lib\tools.jar >wrapper.java.classpath.3=..\bin\bootstrap.jar > ># Java Library Path (location of Wrapper.DLL or libwrapper.so) >wrapper.java.library.path.1=..\common\lib > ># Java Additional Parameters >wrapper.java.additional.1=-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet > >wrapper.java.additional.2=-DFIORANO_HOME=..\..\.. >wrapper.java.additional.3=-DFMQ_DIR=..\..\..\fmq >wrapper.java.additional.4=-DBC_REPOSITORY=..\..\..\esb\fes\repository\components > >wrapper.java.additional.5=-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory > >wrapper.java.additional.6=-Djava.naming.factory.url.pkgs=org.apache.naming >wrapper.java.additional.7=-Djava.util.logging.config.file=.\logging.properties > >wrapper.java.additional.8=-Djava.endorsed.dirs=..\bin;..\common\endorsed >wrapper.java.additional.9=-Dcatalina.base=.. >wrapper.java.additional.10=-Dcatalina.home=.. >wrapper.java.additional.11=-Djava.io.tmpdir=..\temp > ># Initial Java Heap Size (in MB) >#wrapper.java.initmemory=3 > ># Maximum Java Heap Size (in MB) >#wrapper.java.maxmemory=64 > ># Application parameters. Add parameters as needed starting from 1 >wrapper.app.parameter.1=org.apache.catalina.startup.Bootstrap >wrapper.app.parameter.2=1 >wrapper.app.parameter.3=start >wrapper.app.parameter.4=org.apache.catalina.startup.Bootstrap >wrapper.app.parameter.5=true >wrapper.app.parameter.6=1 >wrapper.app.parameter.7=stop > > >#******************************************************************** ># Wrapper Logging Properties >#******************************************************************** ># Format of output for the console. (See docs for formats) >wrapper.console.format=PM > ># Log Level for console output. (See docs for log levels) >wrapper.console.loglevel=INFO > ># Log file to use for wrapper output logging. >wrapper.logfile=../logs/wrapper.log > ># Format of output for the log file. (See docs for formats) >wrapper.logfile.format=LPTM > ># Log Level for log file output. (See docs for log levels) >wrapper.logfile.loglevel=DEBUG > ># Maximum size that the log file will be allowed to grow to before ># the log is rolled. Size is specified in bytes. The default value ># of 0, disables log rolling. May abbreviate with the 'k' (kb) or ># 'm' (mb) suffix. For example: 10m = 10 megabytes. >wrapper.logfile.maxsize=0 > ># Maximum number of rolled log files which will be allowed before old ># files are deleted. The default value of 0 implies no limit. >wrapper.logfile.maxfiles=0 > ># Log Level for sys/event log output. (See docs for log levels) >wrapper.syslog.loglevel=NONE > >#******************************************************************** ># Wrapper Windows Properties >#******************************************************************** ># Title to use when running as a console >wrapper.console.title=Tomcat Application Server > >#******************************************************************** ># Wrapper Windows NT/2000/XP Service Properties >#******************************************************************** ># WARNING - Do not modify any of these properties when an application ># using this configuration file has been installed as a service. ># Please uninstall the service before modifying this section. The ># service can then be reinstalled. > ># Name of the service >wrapper.ntservice.name=Tomcat > ># Display name of the service >wrapper.ntservice.displayname=Tomcat Application Server > ># Description of the service >wrapper.ntservice.description=Tomcat Application Server bundled with >Fiorano > ># Service dependencies. Add dependencies as needed starting from 1 >#wrapper.ntservice.dependency.1= > ># Mode in which the service is installed. AUTO_START or DEMAND_START >wrapper.ntservice.starttype=DEMAND_START > ># Allow the service to interact with the desktop. >wrapper.ntservice.interactive=false > > > >STATUS | wrapper | 2005/11/23 18:38:22 | --> Wrapper Started as Console >DEBUG | wrapper | 2005/11/23 18:38:22 | Using system timer. >DEBUG | wrapperp | 2005/11/23 18:38:22 | server listening on port 32001. >STATUS | wrapper | 2005/11/23 18:38:22 | Launching a JVM... >DEBUG | wrapper | 2005/11/23 18:38:22 | command: "C:\j2sdk1.4.2 >_02\\bin\java" >-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet > -DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq >-DBC_REPOSITORY=..\..\..\esb\fes\repository\components >-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory >-Djava.naming.factory.url.pkgs=org.apache.naming >-Djava.util.logging.config.file=.\logging.properties >-Djava.endorsed.dirs=..\bin;..\common\endorsed -Dcatalina.base=.. >-Dcatalina.home=.. -Djava.io.tmpdir=..\temp >-Djava.library.path="..\common\lib" -classpath >"..\common\lib\wrapper.jar;C:\j2sdk1.4.2 >_02\\lib\tools.jar;..\bin\bootstrap.jar" -Dwrapper.key="igoKlKZksTJyr07i" >-Dwrapper.port=32001 -Dwrapper.debug="TRUE" >-Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" >-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" >-Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp >org.apache.catalina.startup.Bootstrap 1 start >org.apache.catalina.startup.Bootstrap true 1 stop >DEBUG | wrapper | 2005/11/23 18:38:22 | JVM started (PID=3580) >INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperManager class initialized >by thread: main Using classloader: >sun.misc.Launcher$AppClassLoader@1ff5ea7 >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: JVM #1 >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: Registering >shutdown hook >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: Using wrapper >INFO | jvm 1 | 2005/11/23 18:38:23 | Loaded native library: >wrapper.dll >INFO | jvm 1 | 2005/11/23 18:38:23 | Calling native initialization >method. >INFO | jvm 1 | 2005/11/23 18:38:23 | Initializing WrapperManager >native library. >INFO | jvm 1 | 2005/11/23 18:38:23 | Java Executable: C:\j2sdk1.4.2 >_02\bin\java.exe >INFO | jvm 1 | 2005/11/23 18:38:23 | Windows version: 5.0.2195 >INFO | jvm 1 | 2005/11/23 18:38:23 | Java Version : 1.4.2_02-b03 >Java HotSpot(TM) Client VM >INFO | jvm 1 | 2005/11/23 18:38:23 | Java VM Vendor : Sun Microsystems >Inc. >INFO | jvm 1 | 2005/11/23 18:38:23 | >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper (Version 3.1.2) >http://wrapper.tanukisoftware.org >INFO | jvm 1 | 2005/11/23 18:38:23 | >INFO | jvm 1 | 2005/11/23 18:38:23 | >WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@3ee284, >args["start"]) called by thread: main >INFO | jvm 1 | 2005/11/23 18:38:23 | Open socket to wrapper... >INFO | jvm 1 | 2005/11/23 18:38:23 | Opened Socket >INFO | jvm 1 | 2005/11/23 18:38:23 | Send a packet KEY : >igoKlKZksTJyr07i >INFO | jvm 1 | 2005/11/23 18:38:23 | >handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=2449]) >DEBUG | wrapperp | 2005/11/23 18:38:23 | accepted a socket from 127.0.0.1 >on port 2449 >DEBUG | wrapperp | 2005/11/23 18:38:23 | read a packet KEY : >igoKlKZksTJyr07i >DEBUG | wrapper | 2005/11/23 18:38:23 | Got key from JVM: >igoKlKZksTJyr07i >DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet LOW_LOG_LEVEL : 1 >DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet PING_TIMEOUT : 30 >DEBUG | wrapper | 2005/11/23 18:38:23 | Start Application. >DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet START : start >INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet LOW_LOG_LEVEL : >1 >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: LowLogLevel from >Wrapper is 1 >INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet PING_TIMEOUT : >30 >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: PingTimeout from >Wrapper is 30000 >INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet START : start >INFO | jvm 1 | 2005/11/23 18:38:23 | calling listener.start() >INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperStartStopApp: start(args) >INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperStartStopApp: invoking >start main method >INFO | jvm 1 | 2005/11/23 18:38:23 | Bootstrap: Class loader creation >threw exception >INFO | jvm 1 | 2005/11/23 18:38:23 | >java.lang.ExceptionInInitializerError >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.java:207) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >java.lang.reflect.Method.invoke(Method.java:324) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >java.lang.Thread.run(Thread.java:534) >INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >org.apache.commons.logging.LogConfigurationException: >org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException (Caused by java.lang.NullPointerException) >(Caused by org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException (Caused by java.lang.NullPointerException)) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55) >INFO | jvm 1 | 2005/11/23 18:38:23 | ... 12 more >INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException (Caused by java.lang.NullPointerException) >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) > >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) > >INFO | jvm 1 | 2005/11/23 18:38:23 | ... 16 more >INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >java.lang.NullPointerException >INFO | jvm 1 | 2005/11/23 18:38:23 | at >org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374) > >INFO | jvm 1 | 2005/11/23 18:38:23 | ... 17 more >INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: ShutdownHook >started >INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperManager.stop(0) called by >thread: Wrapper-Shutdown-Hook >INFO | jvm 1 | 2005/11/23 18:38:24 | Send a packet STOP : 0 >DEBUG | wrapperp | 2005/11/23 18:38:24 | read a packet STOP : 0 >DEBUG | wrapper | 2005/11/23 18:38:24 | JVM requested a shutdown. (0) >DEBUG | wrapper | 2005/11/23 18:38:24 | wrapperStopProcess(0) called. >DEBUG | wrapper | 2005/11/23 18:38:24 | Sending stop signal to JVM >DEBUG | wrapperp | 2005/11/23 18:38:24 | send a packet STOP : NULL >INFO | jvm 1 | 2005/11/23 18:38:25 | Thread, Wrapper-Shutdown-Hook, >handling the shutdown process. >INFO | jvm 1 | 2005/11/23 18:38:25 | Send a packet STOPPED : 0 >DEBUG | wrapperp | 2005/11/23 18:38:25 | read a packet STOPPED : 0 >DEBUG | wrapper | 2005/11/23 18:38:25 | JVM signalled that it was >stopped. >INFO | jvm 1 | 2005/11/23 18:38:25 | Closing socket. >DEBUG | wrapperp | 2005/11/23 18:38:25 | socket read no code (closed?). >INFO | jvm 1 | 2005/11/23 18:38:25 | Wrapper Manager: ShutdownHook >complete >DEBUG | wrapper | 2005/11/23 18:38:25 | JVM process exited with a code of >1, setting the wrapper exit code to 1. >DEBUG | wrapper | 2005/11/23 18:38:25 | JVM exited normally. >STATUS | wrapper | 2005/11/23 18:38:25 | <-- Wrapper Stopped >STATUS | wrapper | 2005/11/23 18:41:59 | --> Wrapper Started as Console >DEBUG | wrapper | 2005/11/23 18:41:59 | Using system timer. >DEBUG | wrapperp | 2005/11/23 18:41:59 | server listening on port 32001. >DEBUG | wrapper | 2005/11/23 18:41:59 | Classpath element, >wrapper.java.classpath.2, does not exist: ..\..\..\jre1.5.0 >_05\lib\tools.jar >STATUS | wrapper | 2005/11/23 18:41:59 | Launching a JVM... >DEBUG | wrapper | 2005/11/23 18:41:59 | command: "C:\j2sdk1.4.2 >_02\\bin\java" >-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet > -DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq >-DBC_REPOSITORY=..\..\..\esb\fes\repository\components >-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory >-Djava.naming.factory.url.pkgs=org.apache.naming >-Djava.util.logging.config.file=.\logging.properties >-Djava.endorsed.dirs=..\bin;..\common\endorsed -Dcatalina.base=.. >-Dcatalina.home=.. -Djava.io.tmpdir=..\temp >-Djava.library.path="..\common\lib" -classpath >"..\common\lib\wrapper.jar;..\..\..\jre1.5.0 >_05\lib\tools.jar;..\bin\bootstrap.jar" -Dwrapper.key="TiwxXgqMa7QFC__g" >-Dwrapper.port=32001 -Dwrapper.debug="TRUE" >-Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" >-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" >-Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp >org.apache.catalina.startup.Bootstrap 1 start >org.apache.catalina.startup.Bootstrap true 1 stop >DEBUG | wrapper | 2005/11/23 18:41:59 | JVM started (PID=3304) >INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperManager class initialized >by thread: main Using classloader: >sun.misc.Launcher$AppClassLoader@1ff5ea7 >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: JVM #1 >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: Registering >shutdown hook >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: Using wrapper >INFO | jvm 1 | 2005/11/23 18:42:01 | Loaded native library: >wrapper.dll >INFO | jvm 1 | 2005/11/23 18:42:01 | Calling native initialization >method. >INFO | jvm 1 | 2005/11/23 18:42:01 | Initializing WrapperManager >native library. >INFO | jvm 1 | 2005/11/23 18:42:01 | Java Executable: C:\j2sdk1.4.2 >_02\bin\java.exe >INFO | jvm 1 | 2005/11/23 18:42:01 | Windows version: 5.0.2195 >INFO | jvm 1 | 2005/11/23 18:42:01 | Java Version : 1.4.2_02-b03 >Java HotSpot(TM) Client VM >INFO | jvm 1 | 2005/11/23 18:42:01 | Java VM Vendor : Sun Microsystems >Inc. >INFO | jvm 1 | 2005/11/23 18:42:01 | >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper (Version 3.1.2) >http://wrapper.tanukisoftware.org >INFO | jvm 1 | 2005/11/23 18:42:01 | >INFO | jvm 1 | 2005/11/23 18:42:01 | >WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@3ee284, >args["start"]) called by thread: main >INFO | jvm 1 | 2005/11/23 18:42:01 | Open socket to wrapper... >INFO | jvm 1 | 2005/11/23 18:42:01 | Opened Socket >INFO | jvm 1 | 2005/11/23 18:42:01 | Send a packet KEY : >TiwxXgqMa7QFC__g >INFO | jvm 1 | 2005/11/23 18:42:01 | >handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=2465]) >DEBUG | wrapperp | 2005/11/23 18:42:01 | accepted a socket from 127.0.0.1 >on port 2465 >DEBUG | wrapperp | 2005/11/23 18:42:01 | read a packet KEY : >TiwxXgqMa7QFC__g >DEBUG | wrapper | 2005/11/23 18:42:01 | Got key from JVM: >TiwxXgqMa7QFC__g >DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet LOW_LOG_LEVEL : 1 >DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet PING_TIMEOUT : 30 >DEBUG | wrapper | 2005/11/23 18:42:01 | Start Application. >DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet START : start >INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet LOW_LOG_LEVEL : >1 >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: LowLogLevel from >Wrapper is 1 >INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet PING_TIMEOUT : >30 >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: PingTimeout from >Wrapper is 30000 >INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet START : start >INFO | jvm 1 | 2005/11/23 18:42:01 | calling listener.start() >INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperStartStopApp: start(args) >INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperStartStopApp: invoking >start main method >INFO | jvm 1 | 2005/11/23 18:42:01 | Bootstrap: Class loader creation >threw exception >INFO | jvm 1 | 2005/11/23 18:42:01 | >java.lang.ExceptionInInitializerError >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.java:207) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >java.lang.reflect.Method.invoke(Method.java:324) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >java.lang.Thread.run(Thread.java:534) > INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: > org.apache.commons.logging.LogConfigurationException: > org.apache.commons.logging.LogConfigurationException: > java.lang.NullPointerException (Caused by java.lang.NullPointerException) > (Caused by org.apache.commons.logging.LogConfigurationException: > java.lang.NullPointerException (Caused by java.lang.NullPointerException)) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55) >INFO | jvm 1 | 2005/11/23 18:42:01 | ... 12 more >INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: >org.apache.commons.logging.LogConfigurationException: >java.lang.NullPointerException (Caused by java.lang.NullPointerException) >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) > >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) > >INFO | jvm 1 | 2005/11/23 18:42:01 | ... 16 more >INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: >java.lang.NullPointerException >INFO | jvm 1 | 2005/11/23 18:42:01 | at >org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374) > >INFO | jvm 1 | 2005/11/23 18:42:01 | ... 17 more >INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: ShutdownHook >started >INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperManager.stop(0) called by >thread: Wrapper-Shutdown-Hook >INFO | jvm 1 | 2005/11/23 18:42:01 | Send a packet STOP : 0 >DEBUG | wrapperp | 2005/11/23 18:42:01 | read a packet STOP : 0 >DEBUG | wrapper | 2005/11/23 18:42:01 | JVM requested a shutdown. (0) >DEBUG | wrapper | 2005/11/23 18:42:01 | wrapperStopProcess(0) called. >DEBUG | wrapper | 2005/11/23 18:42:01 | Sending stop signal to JVM >DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet STOP : NULL >INFO | jvm 1 | 2005/11/23 18:42:02 | Thread, Wrapper-Shutdown-Hook, >handling the shutdown process. >INFO | jvm 1 | 2005/11/23 18:42:02 | Send a packet STOPPED : 0 >DEBUG | wrapperp | 2005/11/23 18:42:02 | read a packet STOPPED : 0 >DEBUG | wrapper | 2005/11/23 18:42:02 | JVM signalled that it was >stopped. >INFO | jvm 1 | 2005/11/23 18:42:02 | Closing socket. >DEBUG | wrapperp | 2005/11/23 18:42:02 | socket read no code (closed?). >INFO | jvm 1 | 2005/11/23 18:42:03 | Wrapper Manager: ShutdownHook >complete >DEBUG | wrapper | 2005/11/23 18:42:03 | JVM process exited with a code of >1, setting the wrapper exit code to 1. >DEBUG | wrapper | 2005/11/23 18:42:03 | JVM exited normally. >STATUS | wrapper | 2005/11/23 18:42:03 | <-- Wrapper Stopped > > > >This message and any attachments (the "message") is >intended solely for the addressees and is confidential. >If you receive this message in error, please delete it and >immediately notify the sender. Any use not in accord with >its purpose, any dissemination or disclosure, either whole >or partial, is prohibited except formal approval. The internet >can not guarantee the integrity of this message. >BNP PARIBAS (and its subsidiaries) shall (will) not >therefore be liable for the message if modified. > >********************************************************************************************** > >BNP Paribas Private Bank London Branch is authorised >by CECEI & AMF and is regulated by the Financial Services >Authority for the conduct of its investment business in >the United Kingdom. > >BNP Paribas Securities Services London Branch is authorised >by CECEI & AMF and is regulated by the Financial Services >Authority for the conduct of its investment business in >the United Kingdom. > >BNP Paribas Fund Services UK Limited is authorised and >regulated by the Financial Services Authority > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > > -- Adrian Walls Tel: +44 28 9072 5094 E-mail: a....@as... Asidua Ltd. Office Address: 10 Weavers Court, Belfast BT12 5GH. Registered in Northern Ireland No. 043987 This electronic message contains information from Asidua Ltd. which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Adrian W. <adr...@as...> - 2005-11-24 14:31:10
|
Hi Nick, I managed to reslove the issue. I am running Tomcat 5 and I had included the bin directory in the java.endorsed.dirs system property. I removed this and ran it again. Everything worked as expected. Thanks to all who replied, Adrian. nic...@uk... wrote: > > >>>v1.4 >>> >>> >The Sun VM? > > > >>>There are a few jars but none related to the wrapper or tomcat. >>> >>> >You dont have any commons-logging jars laying around where they shouldnt >be? > > > >>>Do any of the wrapper jars need to be included here? >>> >>> >Goodness no... > > > >>>Yes, both are pointing to the same JRE. >>> >>> >Hmmm. Thats very strange then... >I have run out of ideas... > >-Nick > > > > >Internet >adr...@as...@lists.sourceforge.net - 24/11/2005 10:03 > > >Please respond to wra...@li... > >Sent by: wra...@li... > > > >To: wrapper-user > >cc: > > >Subject: Re: [Wrapper-user] Configuring Tomcat with wapper > > >Hi Nick, > >See my comments below. > >Thanks, >Adrian. > >nic...@uk... wrote: > > > >>Ouch. >> >>it looks like this is the line (in clogging) throwing an NPE >> >> logInterface = >>this.getClass().getClassLoader().loadClass(LOG_INTERFACE); >> >>getClassloader can return null if this class is loaded by the bootstrap >>classloader >> >>What JVM are you using? >> >> >> >> >v1.4 > > > >>Is wrapper using the same JRE as you are running tomcat standalone? >> >> >> >> >Yes, both are pointing to the same JRE. > > > >>Is there anything in your JRE lib/ext? >> >> >> >> >There are a few jars but none related to the wrapper or tomcat. Do any >of the wrapper jars need to be included here? > > > >>-Nick >> >> >> >> >> >>Internet >>adr...@as...@lists.sourceforge.net - 23/11/2005 18:56 >> >> >>Please respond to wra...@li... >> >>Sent by: wra...@li... >> >> >> >>To: wrapper-user >> >>cc: >> >> >>Subject: [Wrapper-user] Configuring Tomcat with wapper >> >> >>Hi, >> >>I am trying to configure tomcat to run as a Windows Service using >>wrapper. I have followed the instructions from the wrapper site which >>even uses tomcat as an example on how to set-up a service using the >>WrapperStartStopApp class. See: >>http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html >> >> > > > >>However when I try to run Tomcat.bat to test it deploys OK before >>installing it as a service I get an exception and I cannot figure out >>what the problem is. I have attached the wrapper log file and the conf >>file. If anyone can help shed some light on this it would be greatly >>appriciated. >> >>Thanks in advance, >>Adrian. >> >>-- >>Adrian Walls >>Tel: +44 28 9072 5094 >>E-mail: a....@as... >> >>Asidua Ltd. >>Office Address: 10 Weavers Court, Belfast BT12 5GH. >>Registered in Northern Ireland No. 043987 >> >>This electronic message contains information from Asidua Ltd. which may be >>privileged or confidential. The information is intended to be for the use >>of the individual(s) or entity named above. If you are not the intended >>recipient be aware that any disclosure copying, distribution or use of the >>contents of this information is prohibited. If you have received this >>electronic message in error, please notify us by telephone or email (to >> >> >the > > >>numbers or address above) immediately. >> >> >> >>#******************************************************************** >># Wrapper Properties >># >># Configures Tomcat to run as Windows Service >>#******************************************************************** >># Java Application >>wrapper.java.command=%JAVA_HOME%\bin\java >> >># Java Main class. This class must implement the WrapperListener >> >> >interface > > >># or guarantee that the WrapperManager class is initialized. Helper >># classes are provided to do this for you. See the Integration section >># of the documentation for details. >>wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperStartStopApp >> >># Java Classpath (include wrapper.jar) Add class path elements as >># needed starting from 1 >>wrapper.java.classpath.1=..\common\lib\wrapper.jar >>wrapper.java.classpath.2=..\..\..\jre1.5.0_05\lib\tools.jar >>wrapper.java.classpath.3=..\bin\bootstrap.jar >> >># Java Library Path (location of Wrapper.DLL or libwrapper.so) >>wrapper.java.library.path.1=..\common\lib >> >># Java Additional Parameters >>wrapper.java.additional.1=-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet >> >> > > > >>wrapper.java.additional.2=-DFIORANO_HOME=..\..\.. >>wrapper.java.additional.3=-DFMQ_DIR=..\..\..\fmq >>wrapper.java.additional.4=-DBC_REPOSITORY=..\..\..\esb\fes\repository\components >> >> > > > >>wrapper.java.additional.5=-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory >> >> > > > >>wrapper.java.additional.6=-Djava.naming.factory.url.pkgs=org.apache.naming >>wrapper.java.additional.7=-Djava.util.logging.config.file=.\logging.properties >> >> > > > >>wrapper.java.additional.8=-Djava.endorsed.dirs=..\bin;..\common\endorsed >>wrapper.java.additional.9=-Dcatalina.base=.. >>wrapper.java.additional.10=-Dcatalina.home=.. >>wrapper.java.additional.11=-Djava.io.tmpdir=..\temp >> >># Initial Java Heap Size (in MB) >>#wrapper.java.initmemory=3 >> >># Maximum Java Heap Size (in MB) >>#wrapper.java.maxmemory=64 >> >># Application parameters. Add parameters as needed starting from 1 >>wrapper.app.parameter.1=org.apache.catalina.startup.Bootstrap >>wrapper.app.parameter.2=1 >>wrapper.app.parameter.3=start >>wrapper.app.parameter.4=org.apache.catalina.startup.Bootstrap >>wrapper.app.parameter.5=true >>wrapper.app.parameter.6=1 >>wrapper.app.parameter.7=stop >> >> >>#******************************************************************** >># Wrapper Logging Properties >>#******************************************************************** >># Format of output for the console. (See docs for formats) >>wrapper.console.format=PM >> >># Log Level for console output. (See docs for log levels) >>wrapper.console.loglevel=INFO >> >># Log file to use for wrapper output logging. >>wrapper.logfile=../logs/wrapper.log >> >># Format of output for the log file. (See docs for formats) >>wrapper.logfile.format=LPTM >> >># Log Level for log file output. (See docs for log levels) >>wrapper.logfile.loglevel=DEBUG >> >># Maximum size that the log file will be allowed to grow to before >># the log is rolled. Size is specified in bytes. The default value >># of 0, disables log rolling. May abbreviate with the 'k' (kb) or >># 'm' (mb) suffix. For example: 10m = 10 megabytes. >>wrapper.logfile.maxsize=0 >> >># Maximum number of rolled log files which will be allowed before old >># files are deleted. The default value of 0 implies no limit. >>wrapper.logfile.maxfiles=0 >> >># Log Level for sys/event log output. (See docs for log levels) >>wrapper.syslog.loglevel=NONE >> >>#******************************************************************** >># Wrapper Windows Properties >>#******************************************************************** >># Title to use when running as a console >>wrapper.console.title=Tomcat Application Server >> >>#******************************************************************** >># Wrapper Windows NT/2000/XP Service Properties >>#******************************************************************** >># WARNING - Do not modify any of these properties when an application >># using this configuration file has been installed as a service. >># Please uninstall the service before modifying this section. The >># service can then be reinstalled. >> >># Name of the service >>wrapper.ntservice.name=Tomcat >> >># Display name of the service >>wrapper.ntservice.displayname=Tomcat Application Server >> >># Description of the service >>wrapper.ntservice.description=Tomcat Application Server bundled with >>Fiorano >> >># Service dependencies. Add dependencies as needed starting from 1 >>#wrapper.ntservice.dependency.1= >> >># Mode in which the service is installed. AUTO_START or DEMAND_START >>wrapper.ntservice.starttype=DEMAND_START >> >># Allow the service to interact with the desktop. >>wrapper.ntservice.interactive=false >> >> >> >>STATUS | wrapper | 2005/11/23 18:38:22 | --> Wrapper Started as Console >>DEBUG | wrapper | 2005/11/23 18:38:22 | Using system timer. >>DEBUG | wrapperp | 2005/11/23 18:38:22 | server listening on port 32001. >>STATUS | wrapper | 2005/11/23 18:38:22 | Launching a JVM... >>DEBUG | wrapper | 2005/11/23 18:38:22 | command: "C:\j2sdk1.4.2 >>_02\\bin\java" >>-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet >> >> > > > >>-DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq >>-DBC_REPOSITORY=..\..\..\esb\fes\repository\components >>-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory >>-Djava.naming.factory.url.pkgs=org.apache.naming >>-Djava.util.logging.config.file=.\logging.properties >>-Djava.endorsed.dirs=..\bin;..\common\endorsed -Dcatalina.base=.. >>-Dcatalina.home=.. -Djava.io.tmpdir=..\temp >>-Djava.library.path="..\common\lib" -classpath >>"..\common\lib\wrapper.jar;C:\j2sdk1.4.2 >>_02\\lib\tools.jar;..\bin\bootstrap.jar" -Dwrapper.key="igoKlKZksTJyr07i" >>-Dwrapper.port=32001 -Dwrapper.debug="TRUE" >>-Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" >>-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" >>-Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp >>org.apache.catalina.startup.Bootstrap 1 start >>org.apache.catalina.startup.Bootstrap true 1 stop >>DEBUG | wrapper | 2005/11/23 18:38:22 | JVM started (PID=3580) >>INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperManager class initialized >>by thread: main Using classloader: >>sun.misc.Launcher$AppClassLoader@1ff5ea7 >>INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: JVM #1 >>INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: Registering >>shutdown hook >>INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: Using wrapper >>INFO | jvm 1 | 2005/11/23 18:38:23 | Loaded native library: >>wrapper.dll >>INFO | jvm 1 | 2005/11/23 18:38:23 | Calling native initialization >>method. >>INFO | jvm 1 | 2005/11/23 18:38:23 | Initializing WrapperManager >>native library. >>INFO | jvm 1 | 2005/11/23 18:38:23 | Java Executable: C:\j2sdk1.4.2 >>_02\bin\java.exe >>INFO | jvm 1 | 2005/11/23 18:38:23 | Windows version: 5.0.2195 >>INFO | jvm 1 | 2005/11/23 18:38:23 | Java Version : 1.4.2_02-b03 >>Java HotSpot(TM) Client VM >>INFO | jvm 1 | 2005/11/23 18:38:23 | Java VM Vendor : Sun >> >> >Microsystems > > >>Inc. >>INFO | jvm 1 | 2005/11/23 18:38:23 | >>INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper (Version 3.1.2) >>http://wrapper.tanukisoftware.org >>INFO | jvm 1 | 2005/11/23 18:38:23 | >>INFO | jvm 1 | 2005/11/23 18:38:23 | >>WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@3ee284, >> >> > > > >>args["start"]) called by thread: main >>INFO | jvm 1 | 2005/11/23 18:38:23 | Open socket to wrapper... >>INFO | jvm 1 | 2005/11/23 18:38:23 | Opened Socket >>INFO | jvm 1 | 2005/11/23 18:38:23 | Send a packet KEY : >>igoKlKZksTJyr07i >>INFO | jvm 1 | 2005/11/23 18:38:23 | >>handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=2449]) >>DEBUG | wrapperp | 2005/11/23 18:38:23 | accepted a socket from 127.0.0.1 >>on port 2449 >>DEBUG | wrapperp | 2005/11/23 18:38:23 | read a packet KEY : >>igoKlKZksTJyr07i >>DEBUG | wrapper | 2005/11/23 18:38:23 | Got key from JVM: >>igoKlKZksTJyr07i >>DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet LOW_LOG_LEVEL : 1 >>DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet PING_TIMEOUT : 30 >>DEBUG | wrapper | 2005/11/23 18:38:23 | Start Application. >>DEBUG | wrapperp | 2005/11/23 18:38:23 | send a packet START : start >>INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet LOW_LOG_LEVEL >> >> >: > > >>1 >>INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: LowLogLevel >> >> >from > > >>Wrapper is 1 >>INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet PING_TIMEOUT : >>30 >>INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: PingTimeout >> >> >from > > >>Wrapper is 30000 >>INFO | jvm 1 | 2005/11/23 18:38:23 | Received a packet START : start >>INFO | jvm 1 | 2005/11/23 18:38:23 | calling listener.start() >>INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperStartStopApp: start(args) >>INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperStartStopApp: invoking >>start main method >>INFO | jvm 1 | 2005/11/23 18:38:23 | Bootstrap: Class loader creation >>threw exception >>INFO | jvm 1 | 2005/11/23 18:38:23 | >>java.lang.ExceptionInInitializerError >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.java:207) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104) >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193) >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399) >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>java.lang.reflect.Method.invoke(Method.java:324) >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>java.lang.Thread.run(Thread.java:534) >>INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >>org.apache.commons.logging.LogConfigurationException: >>org.apache.commons.logging.LogConfigurationException: >>java.lang.NullPointerException (Caused by java.lang.NullPointerException) >>(Caused by org.apache.commons.logging.LogConfigurationException: >>java.lang.NullPointerException (Caused by java.lang.NullPointerException)) >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55) >>INFO | jvm 1 | 2005/11/23 18:38:23 | ... 12 more >>INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >>org.apache.commons.logging.LogConfigurationException: >>java.lang.NullPointerException (Caused by java.lang.NullPointerException) >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | ... 16 more >>INFO | jvm 1 | 2005/11/23 18:38:23 | Caused by: >>java.lang.NullPointerException >>INFO | jvm 1 | 2005/11/23 18:38:23 | at >>org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | ... 17 more >>INFO | jvm 1 | 2005/11/23 18:38:23 | Wrapper Manager: ShutdownHook >> >> > >started > > >>INFO | jvm 1 | 2005/11/23 18:38:23 | WrapperManager.stop(0) called by >>thread: Wrapper-Shutdown-Hook >>INFO | jvm 1 | 2005/11/23 18:38:24 | Send a packet STOP : 0 >>DEBUG | wrapperp | 2005/11/23 18:38:24 | read a packet STOP : 0 >>DEBUG | wrapper | 2005/11/23 18:38:24 | JVM requested a shutdown. (0) >>DEBUG | wrapper | 2005/11/23 18:38:24 | wrapperStopProcess(0) called. >>DEBUG | wrapper | 2005/11/23 18:38:24 | Sending stop signal to JVM >>DEBUG | wrapperp | 2005/11/23 18:38:24 | send a packet STOP : NULL >>INFO | jvm 1 | 2005/11/23 18:38:25 | Thread, Wrapper-Shutdown-Hook, >>handling the shutdown process. >>INFO | jvm 1 | 2005/11/23 18:38:25 | Send a packet STOPPED : 0 >>DEBUG | wrapperp | 2005/11/23 18:38:25 | read a packet STOPPED : 0 >>DEBUG | wrapper | 2005/11/23 18:38:25 | JVM signalled that it was >>stopped. >>INFO | jvm 1 | 2005/11/23 18:38:25 | Closing socket. >>DEBUG | wrapperp | 2005/11/23 18:38:25 | socket read no code (closed?). >>INFO | jvm 1 | 2005/11/23 18:38:25 | Wrapper Manager: ShutdownHook >>complete >>DEBUG | wrapper | 2005/11/23 18:38:25 | JVM process exited with a code >> >> >of > > >>1, setting the wrapper exit code to 1. >>DEBUG | wrapper | 2005/11/23 18:38:25 | JVM exited normally. >>STATUS | wrapper | 2005/11/23 18:38:25 | <-- Wrapper Stopped >>STATUS | wrapper | 2005/11/23 18:41:59 | --> Wrapper Started as Console >>DEBUG | wrapper | 2005/11/23 18:41:59 | Using system timer. >>DEBUG | wrapperp | 2005/11/23 18:41:59 | server listening on port 32001. >>DEBUG | wrapper | 2005/11/23 18:41:59 | Classpath element, >>wrapper.java.classpath.2, does not exist: ..\..\..\jre1.5.0 >>_05\lib\tools.jar >>STATUS | wrapper | 2005/11/23 18:41:59 | Launching a JVM... >>DEBUG | wrapper | 2005/11/23 18:41:59 | command: "C:\j2sdk1.4.2 >>_02\\bin\java" >>-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet >> >> > > > >>-DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq >>-DBC_REPOSITORY=..\..\..\esb\fes\repository\components >>-Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory >>-Djava.naming.factory.url.pkgs=org.apache.naming >>-Djava.util.logging.config.file=.\logging.properties >>-Djava.endorsed.dirs=..\bin;..\common\endorsed -Dcatalina.base=.. >>-Dcatalina.home=.. -Djava.io.tmpdir=..\temp >>-Djava.library.path="..\common\lib" -classpath >>"..\common\lib\wrapper.jar;..\..\..\jre1.5.0 >>_05\lib\tools.jar;..\bin\bootstrap.jar" -Dwrapper.key="TiwxXgqMa7QFC__g" >>-Dwrapper.port=32001 -Dwrapper.debug="TRUE" >>-Dwrapper.use_system_time="TRUE" -Dwrapper.version="3.1.2" >>-Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" >>-Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperStartStopApp >>org.apache.catalina.startup.Bootstrap 1 start >>org.apache.catalina.startup.Bootstrap true 1 stop >>DEBUG | wrapper | 2005/11/23 18:41:59 | JVM started (PID=3304) >>INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperManager class initialized >>by thread: main Using classloader: >>sun.misc.Launcher$AppClassLoader@1ff5ea7 >>INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: JVM #1 >>INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: Registering >>shutdown hook >>INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: Using wrapper >>INFO | jvm 1 | 2005/11/23 18:42:01 | Loaded native library: >>wrapper.dll >>INFO | jvm 1 | 2005/11/23 18:42:01 | Calling native initialization >>method. >>INFO | jvm 1 | 2005/11/23 18:42:01 | Initializing WrapperManager >>native library. >>INFO | jvm 1 | 2005/11/23 18:42:01 | Java Executable: C:\j2sdk1.4.2 >>_02\bin\java.exe >>INFO | jvm 1 | 2005/11/23 18:42:01 | Windows version: 5.0.2195 >>INFO | jvm 1 | 2005/11/23 18:42:01 | Java Version : 1.4.2_02-b03 >>Java HotSpot(TM) Client VM >>INFO | jvm 1 | 2005/11/23 18:42:01 | Java VM Vendor : Sun >> >> >Microsystems > > >>Inc. >>INFO | jvm 1 | 2005/11/23 18:42:01 | >>INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper (Version 3.1.2) >>http://wrapper.tanukisoftware.org >>INFO | jvm 1 | 2005/11/23 18:42:01 | >>INFO | jvm 1 | 2005/11/23 18:42:01 | >>WrapperManager.start(org.tanukisoftware.wrapper.WrapperStartStopApp@3ee284, >> >> > > > >>args["start"]) called by thread: main >>INFO | jvm 1 | 2005/11/23 18:42:01 | Open socket to wrapper... >>INFO | jvm 1 | 2005/11/23 18:42:01 | Opened Socket >>INFO | jvm 1 | 2005/11/23 18:42:01 | Send a packet KEY : >>TiwxXgqMa7QFC__g >>INFO | jvm 1 | 2005/11/23 18:42:01 | >>handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=2465]) >>DEBUG | wrapperp | 2005/11/23 18:42:01 | accepted a socket from 127.0.0.1 >>on port 2465 >>DEBUG | wrapperp | 2005/11/23 18:42:01 | read a packet KEY : >>TiwxXgqMa7QFC__g >>DEBUG | wrapper | 2005/11/23 18:42:01 | Got key from JVM: >>TiwxXgqMa7QFC__g >>DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet LOW_LOG_LEVEL : 1 >>DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet PING_TIMEOUT : 30 >>DEBUG | wrapper | 2005/11/23 18:42:01 | Start Application. >>DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet START : start >>INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet LOW_LOG_LEVEL >> >> >: > > >>1 >>INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: LowLogLevel >> >> >from > > >>Wrapper is 1 >>INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet PING_TIMEOUT : >>30 >>INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: PingTimeout >> >> >from > > >>Wrapper is 30000 >>INFO | jvm 1 | 2005/11/23 18:42:01 | Received a packet START : start >>INFO | jvm 1 | 2005/11/23 18:42:01 | calling listener.start() >>INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperStartStopApp: start(args) >>INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperStartStopApp: invoking >>start main method >>INFO | jvm 1 | 2005/11/23 18:42:01 | Bootstrap: Class loader creation >>threw exception >>INFO | jvm 1 | 2005/11/23 18:42:01 | >>java.lang.ExceptionInInitializerError >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.java:207) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104) >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193) >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399) >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>java.lang.reflect.Method.invoke(Method.java:324) >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>java.lang.Thread.run(Thread.java:534) >>INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: >>org.apache.commons.logging.LogConfigurationException: >>org.apache.commons.logging.LogConfigurationException: >>java.lang.NullPointerException (Caused by java.lang.NullPointerException) >>(Caused by org.apache.commons.logging.LogConfigurationException: >>java.lang.NullPointerException (Caused by >> >> >java.lang.NullPointerException)) > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55) >>INFO | jvm 1 | 2005/11/23 18:42:01 | ... 12 more >>INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: >>org.apache.commons.logging.LogConfigurationException: >>java.lang.NullPointerException (Caused by java.lang.NullPointerException) >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | ... 16 more >>INFO | jvm 1 | 2005/11/23 18:42:01 | Caused by: >>java.lang.NullPointerException >>INFO | jvm 1 | 2005/11/23 18:42:01 | at >>org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374) >> >> > > > >>INFO | jvm 1 | 2005/11/23 18:42:01 | ... 17 more >>INFO | jvm 1 | 2005/11/23 18:42:01 | Wrapper Manager: ShutdownHook >>started >>INFO | jvm 1 | 2005/11/23 18:42:01 | WrapperManager.stop(0) called by >>thread: Wrapper-Shutdown-Hook >>INFO | jvm 1 | 2005/11/23 18:42:01 | Send a packet STOP : 0 >>DEBUG | wrapperp | 2005/11/23 18:42:01 | read a packet STOP : 0 >>DEBUG | wrapper | 2005/11/23 18:42:01 | JVM requested a shutdown. (0) >>DEBUG | wrapper | 2005/11/23 18:42:01 | wrapperStopProcess(0) called. >>DEBUG | wrapper | 2005/11/23 18:42:01 | Sending stop signal to JVM >>DEBUG | wrapperp | 2005/11/23 18:42:01 | send a packet STOP : NULL >>INFO | jvm 1 | 2005/11/23 18:42:02 | Thread, Wrapper-Shutdown-Hook, >>handling the shutdown process. >>INFO | jvm 1 | 2005/11/23 18:42:02 | Send a packet STOPPED : 0 >>DEBUG | wrapperp | 2005/11/23 18:42:02 | read a packet STOPPED : 0 >>DEBUG | wrapper | 2005/11/23 18:42:02 | JVM signalled that it was >>stopped. >>INFO | jvm 1 | 2005/11/23 18:42:02 | Closing socket. >>DEBUG | wrapperp | 2005/11/23 18:42:02 | socket read no code (closed?). >>INFO | jvm 1 | 2005/11/23 18:42:03 | Wrapper Manager: ShutdownHook >>complete >>DEBUG | wrapper | 2005/11/23 18:42:03 | JVM process exited with a code >> >> >of > > >>1, setting the wrapper exit code to 1. >>DEBUG | wrapper | 2005/11/23 18:42:03 | JVM exited normally. >>STATUS | wrapper | 2005/11/23 18:42:03 | <-- Wrapper Stopped >> >> >> >>This message and any attachments (the "message") is >>intended solely for the addressees and is confidential. >>If you receive this message in error, please delete it and >>immediately notify the sender. Any use not in accord with >>its purpose, any dissemination or disclosure, either whole >>or partial, is prohibited except formal approval. The internet >>can not guarantee the integrity of this message. >>BNP PARIBAS (and its subsidiaries) shall (will) not >>therefore be liable for the message if modified. >> >>********************************************************************************************** >> >> > > > >>BNP Paribas Private Bank London Branch is authorised >>by CECEI & AMF and is regulated by the Financial Services >>Authority for the conduct of its investment business in >>the United Kingdom. >> >>BNP Paribas Securities Services London Branch is authorised >>by CECEI & AMF and is regulated by the Financial Services >>Authority for the conduct of its investment business in >>the United Kingdom. >> >>BNP Paribas Fund Services UK Limited is authorised and >>regulated by the Financial Services Authority >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log >> >> >files > > >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >>_______________________________________________ >>Wrapper-user mailing list >>Wra...@li... >>https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> >> >> > >-- >Adrian Walls >Tel: +44 28 9072 5094 >E-mail: a....@as... > >Asidua Ltd. >Office Address: 10 Weavers Court, Belfast BT12 5GH. >Registered in Northern Ireland No. 043987 > >This electronic message contains information from Asidua Ltd. which may be >privileged or confidential. The information is intended to be for the use >of the individual(s) or entity named above. If you are not the intended >recipient be aware that any disclosure copying, distribution or use of the >contents of this information is prohibited. If you have received this >electronic message in error, please notify us by telephone ... [truncated message content] |
|
From: Leif M. <le...@ta...> - 2005-11-23 21:30:19
|
Adrian
I need to figure out a way to make the docs a bit clearer. Those
docs are not meant
to be a fixed configuration for all Tomcat versions. It is simply a
walk through of the
"Process" for coming up with a configuration.
The problem that you are having is because the version of Tomcat
that you are using
requires a different command line than that shown in the example.
There is most likely
one or more missing system properties in the command line.
This would be much simpler if Tomcat included a wrapper.conf file in
their
distribution as Jetty does. :-)
Cheers,
Leif
Adrian Walls wrote:
> Hi,
>
> I am trying to configure tomcat to run as a Windows Service using
> wrapper. I have followed the instructions from the wrapper site which
> even uses tomcat as an example on how to set-up a service using the
> WrapperStartStopApp class. See:
> http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html
>
>
> However when I try to run Tomcat.bat to test it deploys OK before
> installing it as a service I get an exception and I cannot figure out
> what the problem is. I have attached the wrapper log file and the
> conf file. If anyone can help shed some light on this it would be
> greatly appriciated.
> Thanks in advance,
> Adrian.
|
|
From: Adrian W. <adr...@as...> - 2005-11-24 10:44:23
|
Hi Leif, Fair point about the docs. I prob should have included the command that tomcat issues when running normally via the startup.bat script. For startup it is using: start "Tomcat" "C:\j2sdk1.4.2_02\\bin\java" -Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet -DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq -DBC_REPOSITORY=..\..\..\esb\fes\repository\components -Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory -Djava.naming.factory.url.pkgs=org.apache.naming -Djava.util.logging.config.file=./logging.properties -Djava.endorsed.dirs="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\common\endorsed" -classpath "C:\j2sdk1.4.2_02\\lib\tools.jar;C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\bin\bootstrap.jar" -Dcatalina.base="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat" -Dcatalina.home="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat" -Djava.io.tmpdir="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\temp" org.apache.catalina.startup.Bootstrap start And for shutdown it is using: "C:\j2sdk1.4.2_02\\bin\java" #-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet -DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq -DBC_REPOSITORY=..\..\..\esb\fes\repository\components -Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory -Djava.naming.factory.url.pkgs=org.apache.naming -Djava.util.logging.config.file=./logging.properties -Djava.endorsed.dirs="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\common\endorsed" -classpath "C:\j2sdk1.4.2_02\\lib\tools.jar;C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\bin\bootstrap.jar" -Dcatalina.base="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat" -Dcatalina.home="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat" -Djava.io.tmpdir="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\temp" org.apache.catalina.startup.Bootstrap stop Thanks, Adrian. Leif Mortenson wrote: > Adrian > I need to figure out a way to make the docs a bit clearer. Those > docs are not meant > to be a fixed configuration for all Tomcat versions. It is simply a > walk through of the > "Process" for coming up with a configuration. > > The problem that you are having is because the version of Tomcat > that you are using > requires a different command line than that shown in the example. > There is most likely > one or more missing system properties in the command line. > > This would be much simpler if Tomcat included a wrapper.conf file > in their > distribution as Jetty does. :-) > > Cheers, > Leif > > Adrian Walls wrote: > >> Hi, >> >> I am trying to configure tomcat to run as a Windows Service using >> wrapper. I have followed the instructions from the wrapper site >> which even uses tomcat as an example on how to set-up a service using >> the WrapperStartStopApp class. See: >> http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html >> >> >> However when I try to run Tomcat.bat to test it deploys OK before >> installing it as a service I get an exception and I cannot figure out >> what the problem is. I have attached the wrapper log file and the >> conf file. If anyone can help shed some light on this it would be >> greatly appriciated. >> Thanks in advance, >> Adrian. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user -- Adrian Walls Tel: +44 28 9072 5094 E-mail: a....@as... Asidua Ltd. Office Address: 10 Weavers Court, Belfast BT12 5GH. Registered in Northern Ireland No. 043987 This electronic message contains information from Asidua Ltd. which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. |