Hi,
I'm trying to move my apps on JBoss-Tomcat from WindowsNT to Linux (Mandrake 8)
and I have some problems during the initialization of MBeans from jboss.conf.
I'm using JBoss 2.2.0 and Tomcat 3.2.1 (but Tomcat is not concerned : runs well alone)
The exception stack trace is the following :
CLASSPATH=/data10/cadappl/sun-bin-jdk1.3.1/lib/tools.jar:/data10/cadappl/jboss-2.2/bin/run.jar:/data10/cadappl/jboss-2.2/lib/crimson.jar
jboss.home = /data10/cadappl/jboss-2.2
Using configuration "default"
javax.management.ServiceNotFoundException: The specified URL is null
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:367)
at org.jboss.Main.<init>(Main.java:173)
at org.jboss.Main$1.run(Main.java:107)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:103)
JBoss 2.2.0 FINAL Started in 0m:0s
I think the problem comes from jboss.conf because when I look into the sources of
JBoss 2.3 beta,
I can see these lines :
// Load configuration
URL mletConf = mlet.getResource("jboss.conf");
Set beans = (Set)mlet.getMBeansFromURL(mletConf);
It might be due to the URLs retrieved for each MBean but my jboss.conf file is the one
given
with the distribution (whitout modification). First lines of this file are :
<MLET CODE = "org.jboss.logging.Logger" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/"></MLET>
<!-- The log dir needs to be in the classpath to allow location of log.properties -->
<MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="../../log/">
</MLET>
Must I change something in the CODEBASE attributs of this Mbeans ?
Thank you for your help.
Best regards,
Laurent
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user