Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Incomplete auto/mod_jk.conf

Koinonia98

2003-10-07

Replies:

Folks,

I did something so stupid. I overwrote my whole tomcat directory by mistake. I have to do a reinstall. Whenever I start tomcat now, it appears to not pick up the hostname and context entries. Below are my mod_jk.conf and server.xml. Any suggestion of why this is happening. BTW, tomcat is a symlink to jakarta-tomcat-4.1.27.

TIA,
Dan


/opt/tomcat/conf/auto/mod_jk.conf
########## Auto generated on Tue Oct 07 18:25:31 EDT 2003##########

<IfModule !mod_jk.c>
LoadModule jk_module /opt/apache/modules/mod_jk.so
</IfModule>

JkWorkersFile "/opt/jakarta-tomcat-4.1.27/conf/jk/workers.properties"
JkLogFile "/opt/jakarta-tomcat-4.1.27/logs/mod_jk.log"

JkLogLevel emerg


-------------------------
/opt/tomcat/conf/server.xml

<Server port="8005" shutdown="SHUTDOWN" debug="1">
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
modJk="/opt/apache/modules/mod_jk.so" />

<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler"
  value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port" value="8081"/>

<Engine name="Standalone" defaultHost="servername.domain" debug="1">
<Logger className="org.apache.catalina.logger.FileLogger"
  prefix="catalina_log." suffix=".txt" timestamp="true"/>

<Host name="localhost">
<Context path="" docBase="ROOT" debug="1"/>
<Context path="/examples" docBase="examples" debug="0"
  reloadable="true" crossContext="true"/>

</Host>

</Engine>

</Connector>

</Server>



__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.