This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Syntax Error in tomcat-apache.conf!! - URGENT!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Syntax Error in tomcat-apache.conf!! - URGENT!!" Watch "Syntax Error in tomcat-apache.conf!! - URGENT!!" New topic
Author

Syntax Error in tomcat-apache.conf!! - URGENT!!

Aparna Narayanan
Ranch Hand

Joined: Nov 07, 2000
Posts: 44
Hi,
I installed Apache and Tomcat as a plug-in. I appended the line
include <tomcathome>/conf/tomcat-apache.conf into my httpd.conf file.
When I start with
sh $TOMCAT_HOME/bin/startup.sh,
it displays a message
"Syntax Error at Line 1 of <tomcathome>/conf/tomcat-apache.conf"
But this line is the LoadModule line!
I have downloaded the binary mod_jserv.so for linux from jakarta.apache.org site. I have set my PATH, CLASSPATH, TOMCAT_HOME, APACHE_HOME, JAVA_HOME values appropriately.
JAVA_HOME=/usr/local/jdk1.2.2
PATH=$JAVA_HOME/bin:$PATH
APACHE_HOME=/usr/local/etc/httpd
TOMCAT_HOME=/usr/local/tomcat
CLASSPATH=${TOMCAT_HOME}/classes:${TOMCAT_HOME}/lib:${JAVA_HOME}/lib/tools.jar:${TOMCAT_HOME}/lib/servlet.jar:$CLASSPATH
Can someone please help?
Thanks in advance,
Aparna R
Marcela Blei
Ranch Hand

Joined: Jun 28, 2000
Posts: 477
In httpconfig.conf I have referencing Tomcat the following line:

Then my tomcat-apache.conf is:

Hope it helps
 
 
subject: Syntax Error in tomcat-apache.conf!! - URGENT!!
 
Similar Threads
Help configuring Tomcat on Fedora
Tomcat error when running startup.sh
ClassNotFoundException
ClassNotFoundException
Help configuring Tomcat on Fedora