|
From: Christian <chr...@ta...> - 2011-02-10 06:16:57
|
John,
as you getting
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
so could you please verify that ../../lib/log4j.jar is existing at the
place you specified?
Please note that relative paths are relative to the location of the
wrapper.exe binary.
best regards,
Christian
On Wed, Feb 9, 2011 at 2:19 AM, John Aronson <joh...@op...>
wrote:
With the quotes, It looks like the javaagent argument is coming
through OK to the wrapper.jar file. The arg causes the
ClassNotFound error on the log4j Logger class.
That error may be causing the classpath to be wrong when the
wrapper tries to start JBoss.
Is there a way to log4j.jar to invocation of the wrapper to see
I fixing that error solves the entire problem?
--> Wrapper Started as Console
Java Service Wrapper Standard Edition 3.3.1
Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights
Reserved.
http://wrapper.tanukisoftware.org
Licensed to OpTier Ltd. for OpTier BTM Server
Using tick timer.
server listening on port 32000.
Ping settings: wrapper.ping.interval=20,
wrapper.ping.interval.logged=1, wrapper.ping.timeout=1200
Launching a JVM...
command: "..\..\jdk\bin\java" -server -da -XX:PermSize=256m
-Djava.awt.headless=true -Djava.endorsed.dirs=../lib/endorsed
-Dprogram.name=run.bat -Doptier.module.name=server
-DOPTIER.HOME=../../../../ -DPRODUCT.HOME=../../../
-DOPTIER.SERVER.HOME=../../../server/ -Djboss.http.port=8081
-Djboss.service.binding.set=ports-default
-DserverType=single-server -DserverName=single-server
-DRemoteJndiUrl=localhost:1099 "-javaagent:C:
\OpTier_Server_4-0-0-3008\corefirst\tierext\lib
\cf-plugins-instrument-agent.jar=optier.launch.properties=C:
\OpTier_Server_4-0-0-3008\corefirst\tierext\jboss\conf
\jbLaunch.properties#optier.instrumented.jboss=true#jb.version=5" -Xms1024m -Xmx1024m -Djava.library.path="." -classpath "../../../lib/wrapper.jar;../../../lib/cfserver-cf_main.jar;../../../server/conf;run.jar;../lib/log4j-boot.jar;../../jdk/lib/tools.jar;../../lib/log4j.jar" -Dwrapper.key="fG3v7C79oTC86L-FiRoZ3dqiJ5C6j-74" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.debug="TRUE" -Dwrapper.pid=1500 -Dwrapper.version="3.3.1-st" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="600" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp com.optier.corefirst.server.util.Main -b 0.0.0.0 -c default
JVM started (PID=6288)
setting system property :optier.launch.properties=C:
\OpTier_Server_4-0-0-3008\corefirst\tierext\jboss\conf
\jbLaunch.properties
setting system property :optier.instrumented.jboss=true
setting system property :jb.version=5
java.lang.Exception:
[FATAL] JV-Ins-00131 Corefirst TierExtension failed to
initialize. Tier starting without Corefirst.
org/apache/log4j/Logger Corefirst Logger system not available.
Available stack trace follows...
at
com.optier.corefirst.plugin.j2ee.extension.core.PluginFatalError.dumpFatalError(PluginFatalError.java:31)
at
com.optier.corefirst.plugin.j2ee.extension.core.PluginFatalError.markFatalUnRecovarableError(PluginFatalError.java:57)
at
com.optier.corefirst.plugin.instrument.DynamicLauncher.initAgentMode(DynamicLauncher.java:922)
at
com.optier.corefirst.plugin.instrument.DynamicLauncher.initAgentMode(DynamicLauncher.java:915)
at
com.optier.corefirst.plugin.instrument.agent.JavaAgent.premain(JavaAgent.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
at
sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
Caused by: java.lang.NoClassDefFoundError:
org/apache/log4j/Logger
at
com.optier.corefirst.util.LoggerImplFactory.getServerLogger(LoggerImplFactory.java:32)
at
com.optier.corefirst.util.LoggerImplFactory.getInstance(LoggerImplFactory.java:20)
at com.optier.corefirst.jni.Jni.<clinit>(Jni.java:27)
at
com.optier.corefirst.plugin.instrument.DynamicLauncher.<clinit>(DynamicLauncher.java:124)
... 7 more
|