[JBoss-user] [Management, JMX/JBoss] - Re: MBean and how to add to Classpath

2005-01-24 Thread [EMAIL PROTECTED]
This is not the right way to do it. JBoss has a very elaborate classloading system (see http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases, you can't just modify the global JVM classpath! If your resource is inside your service archive (e.g. at the root of it myresource.xml)

[JBoss-user] [Management, JMX/JBoss] - Re: MBean and how to add to Classpath

2005-01-23 Thread berlinbrown
Anyway, right now, I have to add that particular jar file so that I can use a particular resource in it. System.setProperty(java.class.path, System.getProperty(java.class.path) + :); View the original post :