Hi,

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:

[EMAIL PROTECTED] ./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...

[EMAIL PROTECTED] ./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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925842#3925842

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925842


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to