tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From August Detlefsen <>
Subject Webapp configuration
Date Fri, 30 Nov 2001 02:54:43 GMT
I am having trouble configuring my server to run webapps. I am trying
to setup my server (Tomcat 3.2 with Apache 1.3.20 on RedHat 7.1) to
share a webapp, /webmail,  across multiple virtual hosts. 

The webapp runs fine if I access it with lynx from the localhost:

   lynx http://localhost:8080/webmail

But if I try to hit the full URL with IE I only get the source code of
the jsp page. This sounds like a simple configuration issue, but I have
no idea what it is. 

Is there any way to access the webapps without specifying the port

Also, I had to update the tomcat startup script to include the
classpath of the webapps. I thought this was done automatically.. This
is the code I added to to set the classpaths, maybe it will
be useful to someone: 

# Set classpath for webapps
# add this after the section:
# 'Backdoor classpath setting for development purposes'
# and before: 
# export CLASSPATH
for app in ${TOMCAT_HOME}/webapps/* ; do
  if [ -d ${app}/WEB-INF/lib/ ]; then
  for i in ${app}/WEB-INF/lib/* ; do
    if [ "$CLASSPATH" != "" ]; then


Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message