Hello
I am looking into packaging jboss for Debian GNU/Linux.
This requires relocating directories according to the Debian standard
(which makes sense ;).
Thus, the conf directory should be in /etc/jboss. This works fine for
jboss.properties but it fails to start the management service.
machiavelli% ./run.sh
JBOSS_CLASSPATH=:run.jar:/usr/local/ejb/jboss-2.2.1/lib/crimson.jar:/etc/jboss/
jboss.home = /usr/local/ejb/jboss-2.2.1
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.1 Started in 0m:0s
Looking at the culprit on org.jboss.Main
137: URL confDirectory = new File("../conf/"+confName).getCanonicalFile().toURL();
*ouch*
I reckon it should be
URL confDirectory = new File(confName).getCanonicalFile().toURL();
I happily volunteer my time improving/fixing things (I reckon that I
am going to run into some further trouble as I go along) as well as
making a debianized version available when finished.
What is the preferred method for contributions?
<rms>
Happy Hacking!
</rms>
--
Nicolai P Guba http://www.gnu.org http://www.frontwire.com
mailgo:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
GSM: +44 (0)7909 960 751 DDI: +44 (0)20 7368 9708
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development