You hit the nail on the head.  I was adding some Jars and directories to the
JBOSS_CLASSPATH before running run_with_tomcat.bat.  When I instead add them
as ClassPathExtensions in jboss.conf, and leave JBOSS_CLASSPATH unset,
everything works fine.

This sounds like a bug...is there some reason why adding classes to the
JBOSS_CLASSPATH should cause the classpath extension mechanism to fail?

(At the very least it shouldn't print the "Added library..." messages to the
log if it doesn't work.)

--Ed

----- Original Message -----
From: "Adam Lipscombe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, May 21, 2001 2:25 PM
Subject: RE: [JBoss-user] Another Classpath extension question


> Class HttpServlet is in webserver.jar, which is a fundamental tomcat
> library.
>
> I found that some adding some libs to the classpath passed to JBoss at
> start-up time (i.e. the -classpath / JBOSS CLASSPATH statements)
completely
> stuffed the libraries that JBoss could see.
>
> Are you passing any extra libs to JBoss at start-time? It could be that...
>
> This problem is obviously vexing a number of folks.
>
> It would be really helpful to have a definitive statement of when to
> use -classpath / JBOSS_CLASSPATH and when to use the classpath extension
> mechanism. I wonder if any developers could shed light on it?
> Equally, does one specify a jar file explicitly in the classpath
extension?
> Or merely the directory that its in?
> Or doesn't it matter?



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to