LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-01-2007, 01:36 PM   #1
FullFrontaln00bity
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 net104.zapto.org 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
mt83
LQ Newbie
 
Registered: May 2007
Distribution: RedHat 9, ES4, CentOS4
Posts: 16

Rep: Reputation: 0
Hi,

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
./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
logout
start tomcat
============
/usr/local/tomcat5/bin/startup.sh
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
make
cd apache-2.0
cp mod_jk.so /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
tag:
#note: run outside from /usr/local/tomcat5/conf/ dir
/usr/local/tomcat5/bin/shutdown.sh
/usr/local/tomcat5/bin/startup.sh
#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
FullFrontaln00bity
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:14 PM.

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