Sorry, I cut and paste the wrong syntax. It should be: <Engine name="Standalone" defaultHost="localhost" debug="1"> <Host name="somevirtual.hostname">
Koinonia98 wrote: >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 > __________________________________________________________________ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
