You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark O'Neil <Ma...@Dartmouth.EDU> on 2003/01/29 16:17:04 UTC

mod_jk and auto mode

John wrote:

> There's no need to mirror content in two directories, nor is there
> any need to point Tomcat at Apache's content root.  You can just
> make Apache's doc root the same as Tomcat's Context root and the
> issue goes away.  Or, just put your JSP and servlets in Tomcat's doc
> root and leave it like that.


By "Tomcat's Context root" do you mean the directory that is currently 
ROOT?

-m


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How does Tomcat set the classpath???

Posted by Will Hartung <wi...@msoft.com>.
> From: "Brandon Cruz" <bc...@norvax.com>
> Sent: Wednesday, January 29, 2003 7:24 AM
> Subject: How does Tomcat set the classpath???


> I notice that tomcat 4.1.x explicitly sets $JAVA_HOME/lib/tools.jar and
the
> bootstrap.jar file to the classpath, but that seems it.  It overwrites any
> other classpath settings that may be part of the system.  How does the
> compiler know to search for things like $JAVA_HOME/jre/lib/rt.jar?  Are
> these automatically added based on the folder they are in within the
> $JAVA_HOME?  I don't see anything that indicates that within the startup
> scripts (catalina.sh and setclasspath.sh).

$JAVA_HOME/jre/lib/rt.jar is one of the core classes for Java, and is
implicit on the classpath, so it's "Always" there.

Other JAR files can be placed upon the classpath automatically if you follow
the Java Extension Mechanism (which essentially means placing JAR files into
special parts of the JRE/JDK distribution).

Regards,

Will Hartung
(willh@msoft.com)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


How does Tomcat set the classpath???

Posted by Brandon Cruz <bc...@norvax.com>.
I notice that tomcat 4.1.x explicitly sets $JAVA_HOME/lib/tools.jar and the
bootstrap.jar file to the classpath, but that seems it.  It overwrites any
other classpath settings that may be part of the system.  How does the
compiler know to search for things like $JAVA_HOME/jre/lib/rt.jar?  Are
these automatically added based on the folder they are in within the
$JAVA_HOME?  I don't see anything that indicates that within the startup
scripts (catalina.sh and setclasspath.sh).

Any info would be appreciated.

Brandon


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org