[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running JBoss as windows service with procrun

tw do-not-reply at jboss.com
Tue Jul 21 10:50:43 EDT 2009


There are two integration issues between procrun and JBoss bootstrap process after further investigation:

1) With procrun launcher, the initial context class loader is null, causing JBoss to set a null parent class loader on its URL bootstrap class loader - this explains why subsequently classes from run.jar are not visible within the bootstrap process. Setting the context class loader to the class loader of org.jboss.Main when it is null solves this problem. This is the setup found when running through java.exe

2) Termination of the main thread (which does nothing but spawning the bootstrap thread) causes the JVM to exit with procrun while the bootstrap thread is loading the server. With java.exe, termination of the main thread does not have any effect, the JVM will continue to run. 

Does anybody have insight into or any info regarding these two issues and what the best fix would be?


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

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



More information about the jboss-user mailing list