[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: boot JBoss from Java

jaikiran do-not-reply at jboss.com
Thu Oct 16 09:41:15 EDT 2008


I don't think anyone understood what the question was :-)

Are you trying to start JBoss from a Java program? If yes, then have a look at the run.bat file which sets up the Classpath to be used while calling the org.jboss.Main:

"%JAVA%" %JAVA_OPTS% ^
  |    -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" ^
  |    -classpath "%JBOSS_CLASSPATH%" ^
  |    org.jboss.Main %*
  |  

I haven't tried it myself so don't know what issues you might run into. Try it out and if you have any specific errors/questions, do post here.


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

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



More information about the jboss-user mailing list