LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-28-2010, 01:11 PM   #1
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Rep: Reputation: 15
Apache2 - Tomcat6


Issue, When I try to hit my jsp pages all that gets displayed is the source code.

I cannot find any log files that give me any information. It seems as though apache is not forwarding requests to tomcat6 but I cannot verify this. I need some direction on what is happening here. I'm lost and have run out of options.

Would JAVA classpaths cause this type of behaviour if they are wrong?

Configuration Files:
Apache.conf (mod_jk.so is being loaded from sites-enabled in apache)
Code:
# Setting up Integation with Tomcat
#LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile   /etc/apache2/workers.properties
JkLogFile       /var/log/apache2/mod_jk.log
JkShmFile       /var/log/apache2/jkshm.log
JkLogLevel      info
#JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories -ForwardLocalAddress
JkRequestLogFormat "%w %V %T"
#JkMount /*.jsp ajp13
Workers.properties
Code:
# workers.properties -

# The list of Tomcat workers
worker.list=ajp13

# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.mount=/*.jsp
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  ----> lbfactor must be > 0
#  ----> Low lbfactor means less work done by the worker.
worker.ajp13.lbfactor=1

#
# Specify the size of the open connection cache.
#worker.ajp13.cachesize=10
It looks like tomcat6 is waiting on requests
#netstat -ntpl
tcp6 0 0 :::8009 :::* LISTEN 1301/jsvc



Thank you
Guy in serious angst!
 
Old 05-28-2010, 01:23 PM   #2
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Original Poster
Rep: Reputation: 15
This was in the daemon.log I dont know if this is any help.

May 28 11:03:21 appsrv3 jsvc.exec[1299]: May 28, 2010 11:03:21 AM org.apache.tomcat.util.digester.Digester endElement#012WARNING: No rules found matching 'Server/Service/Engine/Host/Logger'.
May 28 11:03:22 appsrv3 jsvc.exec[1299]: May 28, 2010 11:03:22 AM org.apache.catalina.startup.Catalina load#012INFO: Initialization processed in 1766 ms
May 28 11:03:22 appsrv3 jsvc.exec[1299]: May 28, 2010 11:03:22 AM org.apache.catalina.core.StandardService start#012INFO: Starting service Catalina
May 28 11:03:22 appsrv3 jsvc.exec[1299]: May 28, 2010 11:03:22 AM org.apache.catalina.core.StandardEngine start#012INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
May 28 11:03:27 appsrv3 jsvc.exec[1299]: May 28, 2010 11:03:27 AM org.apache.jk.common.ChannelSocket init#012INFO: JK: ajp13 listening on /0.0.0.0:8009
May 28 11:03:27 appsrv3 jsvc.exec[1299]: May 28, 2010 11:03:27 AM org.apache.jk.server.JkMain start#012INFO: Jk running ID=0 time=0/106 config=null
May 28 11:03:27 appsrv3 jsvc.exec[1299]: May 28, 2010 11:03:27 AM org.apache.catalina.connector.MapperListener registerEngine#012WARNING: Unknown default host: localhost
May 28 11:03:27 appsrv3 jsvc.exec[1299]: May 28, 2010 11:03:27 AM org.apache.catalina.startup.Catalina start#012INFO: Server startup in 4975 ms
 
Old 06-01-2010, 08:22 AM   #3
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Original Poster
Rep: Reputation: 15
bump for some that may not have seen..

Thanks for any direction / guidance.
 
  


Reply


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
help me plz,How can I start tomcat6? macleo_cn Linux - Server 2 05-05-2010 01:52 AM
Tomcat6 error srinivasmiriyalu Solaris / OpenSolaris 4 08-07-2009 05:23 AM
enable tomcat6 service Jordan&&&& Suse/Novell 2 09-21-2008 08:58 AM
tomcat6+httpd issue nileshgr Linux - Server 1 10-25-2007 01:09 PM
Apache2.24-Tomcat6.0.1- JK 1.2.21 how to ?? Idrisk Linux - Software 1 03-08-2007 02:04 AM


All times are GMT -5. The time now is 11:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration