Error opening zip file: pluggable-instrumentor.jar
anders.hedstrom Feb 23, 2006 10:24 AMHi,
I'm using jboss-4.0.3SP1 with jdk 1.5.0_06 on Debian. I've installed JBoss AOP 1.3.5 and made all changes needed to run it with jdk5.
It all works fine when I start JBoss from the console like this:
jboss@debian$ ./run.sh
But...when I try to start JBoss from my startup script I get the following error:
Error opening zip file: pluggable-instrumentor.jar Error occurred during initialization of VM agent library failed to init: instrument
The call made from my startup script looks like this:
su - jboss -c "$JBOSS_START_SCRIPT > /dev/null 2> /dev/null &"
When I remove the piping of the output made from JBoss I get this printed on my screen:
========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /usr/jboss-4.0.3SP1 JAVA: /usr/local/jdk1.5.0_06/bin/java JAVA_OPTS: -server -Xms128m -Xmx128m -javaagent:pluggable-instrumentor.jar -Dprogram.name=run.sh CLASSPATH: /usr/jboss-4.0.3SP1/bin/run.jar:/home/anders/jdk1.5.0_06/lib/tools.jar ========================================================================= Error opening zip file: pluggable-instrumentor.jar Error occurred during initialization of VM agent library failed to init: instrument
Any ideas why or what I can do to make JBoss boot from my script?
As I said before, JBoss boots fine when I execute run.sh directly in the console...
jboss@debian$ ./run.sh ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /usr/jboss-4.0.3SP1 JAVA: /usr/local/jdk1.5.0_06/bin/java JAVA_OPTS: -server -Xms128m -Xmx128m -javaagent:pluggable-instrumentor.jar -Dprogram.name=run.sh CLASSPATH: /usr/jboss-4.0.3SP1/bin/run.jar:/home/anders/jdk1.5.0_06/lib/tools.jar ========================================================================= 16:02:06,393 INFO [Server] Starting JBoss (MX MicroKernel)... 16:02:06,395 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054) 16:02:06,397 INFO [Server] Home Dir: /usr/jboss-4.0.3SP1 16:02:06,398 INFO [Server] Home URL: file:/usr/jboss-4.0.3SP1/ .......
One more thing, the startup script worked fine before I installed JBossAOP 1.3.5
All help or any idea appreciated!
Cheers
//Anders