• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

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

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 477
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In httpconfig.conf I have referencing Tomcat the following line:

Then my tomcat-apache.conf is:

Hope it helps
reply
    Bookmark Topic Watch Topic
  • New Topic