I think I see whats going on.. Apparently, only a relative path is legal for the classpath extension. It seems that jBoss is prepending a /, so that: /c:/jakarta-tomcat-3.2.1/lib/ is clearly not a legal path. Is this a bug? I think most Windows users would tend to enter an absolute path here (unless the docs say to do otherwise, which they don't). Jim --On Wednesday, March 07, 2001 1:36 PM -0500 Jim Archer <[EMAIL PROTECTED]> wrote: > Hi All... > > I just checked out the jboss module from CVS and folowwed the > instructions for configuring embedded Tomcat. I have Tomcat 3.2.1 > installed. All this runs under Suns JDK 1.3 on Windows 2000. I am having > a problem I found discussed in the list archive, but I didn't see the > solution. > > When I run jBoss I get the exception pasted below thrown, indicating that > (I think) jboss can't find Tomcat. The configurationchange I made to > jboss.conf is: > > <!-- Uncomment to add Tomcat classes to classpath --> > <MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar" > CODEBASE="../../lib/ext/"> <ARG TYPE="java.lang.String" > VALUE="c:\jakarta-tomcat-3.2.1\lib\"> <ARG TYPE="java.lang.String" > VALUE="Tomcat"> > </MLET> > > The path I set is correct and I have added tools.jar from my JDK into it. > > Can someone suggest what might be going wrong? > > Thanks very much! > > Jim > > Here is the actual exception: > > [EmbeddedTomcat] Starting > [EmbeddedTomcat] Starting EmbeddedTomcat.... > [Service Control] Could not start DefaultDomain:service=EmbeddedTomcat > [Service Control] java.lang.NoClassDefFoundError: > org/apache/tomcat/util/xml/Xml Action > [Service Control] at > org.jboss.tomcat.EmbeddedTomcatService.startService(E > mbeddedTomcatService.java:69) > [Service Control] at > org.jboss.util.ServiceMBeanSupport.start(ServiceMBean Support.java:93) > [Service Control] at java.lang.reflect.Method.invoke(Native Method) > [Service Control] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) > [Service Control] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) > [Service Control] at > org.jboss.util.ServiceControl.start(ServiceControl.ja va:97) > [Service Control] at java.lang.reflect.Method.invoke(Native Method) > [Service Control] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) > [Service Control] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) > [Service Control] at org.jboss.Main.<init>(Main.java:190) > [Service Control] at org.jboss.Main$1.run(Main.java:94) > [Service Control] at > java.security.AccessController.doPrivileged(Native Me thod) > [Service Control] at org.jboss.Main.main(Main.java:90) > > > > ******************************************** > I shall be telling this with a sigh > Somewhere ages and ages hence: > Two roads diverged in a wood, and I - > I took the one less traveled by, > And that has made all the difference. > > - Robert Frost, 1916 > > > > -- > -------------------------------------------------------------- > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] ******************************************** I shall be telling this with a sigh Somewhere ages and ages hence: Two roads diverged in a wood, and I - I took the one less traveled by, And that has made all the difference. - Robert Frost, 1916 -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED]
