Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-01-2007, 01:36 PM   #1
LQ Newbie
Registered: Sep 2007
Distribution: Arch, Debian
Posts: 13

Rep: Reputation: 0
jsp wont parse

Hi, I am setting up a server for my class and the jsp pages won't parse. the site is if anybody can help i would really appreciate it. i am running apache2 and tomcat. i think the problem might be with the tomcat configuration. i don't know how to do it.
Old 12-04-2007, 04:27 AM   #2
LQ Newbie
Registered: May 2007
Distribution: RedHat 9, ES4, CentOS4
Posts: 16

Rep: Reputation: 0

I can successfully setup CentOS+Apache+Tomcat+modjk. Check it out.

rpm -ivh pcre-devel-4.5-3.i386.rpm
rpm -ivh apr-devel-0.9.4-24.1.i386.rpm
rpm -ivh apr-util-devel-0.9.4-17.i386.rpm
rpm -ivh httpd-devel-2.0.52-9.ent.i386.rpm
rpm -e java-1.4.2-gcj-compat
rpm -e gcc-java
Install jdk
chmod +x jdk-1_5_0_08-linux-i586-rpm.bin
cd /usr/java/jdk1.5.0_08
ln -s /usr/java/jdk1.5.0_08 /usr/java/jdk
Install Tomcat
#create Tomcat Account
groupadd tomcat
useradd -g tomcat tomcat
cd /usr/local
tar xzf apache-tomcat-5.5.17.tar.gz
ln -s apache-tomcat-5.5.17 tomcat5
cd /usr/local
chown -R tomcat.root /usr/local/tomcat5
chown -R tomcat.root /usr/local/apache-tomcat-5.5.17
set env var
vi /etc/profile
export JAVA_HOME=/usr/java/jdk
export CATALINA_HOME=/usr/local/tomcat5
export PATH=$PATH:/usr/java/jdk/bin
start tomcat
Installing the Connector
rpm -q libtool automake autoconf
tar xfz tomcat-connectors-1.2.18-src.tar.gz
cd /usr/local/tomcat-connectors-1.2.18-src/native
./configure --with-apxs=/usr/sbin/apxs
cd apache-2.0
cp /etc/httpd/modules/
vi /usr/local/tomcat5/conf/server.xml
#Locate the closing tag for the engine element: <\engine> and add the following just before the close
#note: run outside from /usr/local/tomcat5/conf/ dir
#verify the existance of /usr/local/tomcat5/conf/auto/mod_jk.conf file
vi /etc/httpd/conf/httpd.conf
Include /usr/local/tomcat5/conf/auto/mod_jk.conf
service httpd restart
Old 12-05-2007, 09:54 AM   #3
LQ Newbie
Registered: Sep 2007
Distribution: Arch, Debian
Posts: 13

Original Poster
Rep: Reputation: 0
cool, ill try to change this to debian thats what im using thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the meaning of "PHP Parse error: parse error, unexpected $ in..." frandalla Programming 23 03-04-2009 12:34 PM
Parse error: parse error, unexpected $ in /home/content/d/o/m/domain/html/addpuppy2.p Scooby-Doo Programming 3 10-25-2007 09:41 AM
need help with "Parse error: parse error, unexpected T_STRING" coffee245 Programming 2 01-29-2007 11:53 AM
FreeBSD Apache 1.3.29 wont parse PHP! pnh73 *BSD 6 01-19-2004 10:23 AM
VB to JSP jayakrishnan Linux - General 3 05-08-2002 12:28 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration