|
Hi,
How can I add a path like D:\myapplication\lib to the classpath if Jboss is installed on my C drive? I tried adding something like this to jboss.conf:
<MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar" CODEBASE="../../lib/ext/"> <ARG TYPE="java.lang.String" VALUE="D:\myapplication\lib"> </MLET>
This resulted in jboss starting with the following error:
javax.management.MalformedObjectNameException: ObjectName: Invalid value -> D:\myapplication\lib at javax.management.ObjectName.<init>(ObjectName.java:161) at org.jboss.util.ClassPathExtension.preRegister(ClassPathExtension.java:56) at com.sun.management.jmx.MBeanServerImpl.preRegisterInvoker(MBeanServerImpl.java:2245) at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:765) at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540) at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369) at org.jboss.Main.<init>(Main.java:180) at org.jboss.Main$1.run(Main.java:110) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.Main.main(Main.java:106)
I’ve tried different formats in jboss.conf like “D:\\myapplication\\lib” and “D:/myapplication/lib” but nothing seems to working. Any ideas?
I’m using JBoss 2.4.6 on Windows 2000
Thanks, Judith
|
