Hello,
 
I have been trying to start JBOSS from within another Java app which is in the different directory than org.jboss.Main (obviously).
But when I run my application using
 
java -classpath xxx myapp
 
I get following exception:
 
     ===========>mletConf file URL 11 null
2002-01-20T18:20:07 JBossMain  mbr.util.log.LogOutputStream 5fadcf   err
     javax.management.ServiceNotFoundException: The specified URL is null
2002-01-20T18:20:07 JBossMain  mbr.util.log.LogOutputStream 5fadcf   err
     at javax.management.loading.MLet.getMBeansFromURL(MLet.java:367)
2002-01-20T18:20:07 JBossMain  mbr.util.log.LogOutputStream 5fadcf   err
     at org.jboss.Main.<init>(Main.java:183)
2002-01-20T18:20:07 JBossMain  mbr.util.log.LogOutputStream 5fadcf   err
     at org.jboss.Main$1.run(Main.java:110)
2002-01-20T18:20:07 JBossMain  mbr.util.log.LogOutputStream 5fadcf   err
     at java.security.AccessController.doPrivileged(Native Method)
2002-01-20T18:20:07 JBossMain  mbr.util.log.LogOutputStream 5fadcf   err
     at org.jboss.Main.main(Main.java:106)
2002-01-20T18:20:07 JBossMain  mbr.util.log.LogOutputStream 5fadcf   err
     at net.embr.dp.main.ServletEngine.run(ServletEngine.java:105)
2002-01-20T18:20:07 JBossMain  mbr.util.log.LogOutputStream 5fadcf   err
     at java.lang.Thread.run(Thread.java:484)
============
 
Thats obviously becoz mlet classloader isnt able to find the jboss.conf file (I looked at the source code and modified it to print debug statements). I tried setting the classpath correctly, setting jboss.home property and everything else I could think of, but no success.
 
Can any1 of you help ? ITS URGENT.
 
Thanks
 
Ritesh
 
 

Reply via email to