Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 48746 invoked from network); 16 Dec 2002 17:04:11 -0000 Received: from exchange.sun.com (HELO nagoya.betaversion.org) (192.18.33.10) by daedalus.apache.org with SMTP; 16 Dec 2002 17:04:11 -0000 Received: (qmail 12128 invoked by uid 97); 16 Dec 2002 17:04:57 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 12096 invoked by uid 97); 16 Dec 2002 17:04:57 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 12071 invoked by uid 98); 16 Dec 2002 17:04:56 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 16 Dec 2002 12:03:33 -0500 From: ZPeterO@netscape.net (Peter) To: tomcat-user@jakarta.apache.org ("Tomcat Users List") Subject: RE: newbie almost connected... MIME-Version: 1.0 Message-ID: <1952A36E.71AA46F7.001A8159@netscape.net> X-Mailer: Atlas Mailer 2.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I changed the port number in server.xml from 8080 to 80 so now I can browse www.ccc.com ...next question, how can I take my TOMCAT/webapps/mysite home and change it to the /opt/mysite directory? Thanks, Peter ZPeterO@netscape.net (Peter) wrote: >I'm connectd and http://www.ccc.com:8080 gets me to the tomcat index.jsp page fine > > >...however I can not browse www.ccc.com ? > >What do I need to change if my index.html is located in /opt/mysite/index.html? > > > >Thanks, >Peter > > >>My bad...I forgot to add the second directive to server.xml... >> >> >> >> >>"Tref Gare" wrote: >> >>>You're on the right track. >>> >>>Yes you should add the second listener directive (ie: >>>>>append="true" forwardAll="false" >>>modJk="/usr/local/apache2/modules/mod_jk.so" /> >>> >>>to server.xml at that location: >>>"that location" in this instance meaning within the HOST element. >>> >>>And >>>>What file would I find the Host directive in? >>> >>>it's still in server.xml.. same area you've just added the Listener >>>directive. Have a look in there and you should be able to locate a >>>"name" parameter. >>> >>>Ie: in my case it looks like this (where "devbox" is the name of my >>>server). >>> >>> >>> >> unpackWARs="true" autoDeploy="true" noRoot="false"> >>> >>> >>>If that is all still too muddy for you, I'll append my full server.xml >>>below as I'm using a similar setup (tho on windows not Linux so be >>>careful for anything that needs a file path - like appBase in the above >>>example). >>> >>>Server.xml follows >>>======================================================================== >>>==== >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> modJk="c:/apache_2/Apache2/modules/mod_jk.dll" /> >>> >>> >>> >>> >>> >>> >>className="org.apache.catalina.mbeans.ServerLifecycleListener" >>> debug="0"/> >>> >>className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" >>> debug="0"/> >>> >>> >>> >>> >>> >>> >>value="30"/> >>> >>> >>> >> type="org.apache.catalina.UserDatabase" >>> description="User database that can be updated and saved"> >>> >>> >>> >>> factory >>> >>>org.apache.catalina.users.MemoryUserDatabaseFactory >>> >>> >>> pathname >>> conf/tomcat-users.xml >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> port="8080" minProcessors="5" maxProcessors="75" >>> enableLookups="true" redirectPort="8443" >>> acceptCount="10" debug="0" connectionTimeout="20000" >>> useURIValidationHack="false" /> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> port="8009" minProcessors="5" maxProcessors="75" >>> enableLookups="true" redirectPort="8443" >>> acceptCount="10" debug="0" connectionTimeout="20000" >>> useURIValidationHack="false" >>> >>>protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> prefix="catalina_log." suffix=".txt" >>> timestamp="true"/> >>> >>> >>> >>> >>> >> debug="0" resourceName="UserDatabase"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> unpackWARs="true" autoDeploy="true" noRoot="false"> >>> >>> >>> >>> >>> >>> >> >>> modJk="c:/apache_2/Apache2/modules/mod_jk.dll" >>> append="true" forwardAll="false" /> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> directory="logs" prefix="localhost_log." suffix=".txt" >>> timestamp="true"/> >>> >>> >>> >>> >>> >>> >>> >>className="org.apache.catalina.logger.FileLogger" >>> prefix="localhost_Root_log." suffix=".txt" >>> timestamp="true"/> >>> >>> >>> >>> >>> >>> >> reloadable="true" crossContext="true"> >>> >> prefix="localhost_examples_log." suffix=".txt" >>> timestamp="true"/> >>> >> home="com.wombat.empl.EmployeeRecordHome" >>> remote="com.wombat.empl.EmployeeRecord"/> >>> >>> >>> >>> >>> >>> >> value="15"/> >>> >>value="context.param.value" >>> override="false"/> >>> >> type="javax.sql.DataSource"/> >>> >>> usersa >>> password >>> driverClassName >>> org.hsql.jdbcDriver >>> driverName >>> jdbc:HypersonicSQL:database >>> >>> >> type="javax.mail.Session"/> >>> >>> >>> mail.smtp.host >>> localhost >>> >>> >>> >> global="simpleValue" >>> type="java.lang.Integer"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>------------------------------------------------------ >>>Tref Gare >>>Development Consultant >>>Areeba >>> >>>-----Original Message----- >>>From: Peter [mailto:ZPeterO@netscape.net] >>>Sent: Friday, 13 December 2002 1:57 PM >>>To: tomcat-user@jakarta.apache.org >>>Subject: newbie almost connected... >>> >>>...in this document, >>> >>>http://www.johnturner.com/howto/apache2-tomcat4112-sol8-howto.html >>> >>>...when you say, one should do the following; >>> >>>3 in the Host container add the following Listener directive (yes, it >>>looks very similar to the one above): >>> >>>>>append="true" forwardAll="false" >>>modJk="/usr/local/apache2/modules/mod_jk.so" /> >>> >>> >>>..That they should add the above 'Listener Directive' to this section of >>>the server.xml file? >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>...If not what do you mean by "in the Host container add the following >>>Listener directive (yes, it looks very similar to the one above):" >>> >>> >>>...also >>> >>>4 change the name parameter in the Host directive to your apache >>>ServerName (the default is localhost) >>> >>>What file would I find the Host directive in? >>> >>> >>>I'm totally new to this and I'd appreciate any help! >>> >>>Thanks, >>>Peter >>>(I'm trying these directions with RH 8.0, Apache 2.0.4 and tomcat >>>4.1.17) >>> >>>__________________________________________________________________ >>>The NEW Netscape 7.0 browser is now available. Upgrade now! >>>http://channels.netscape.com/ns/browsers/download.jsp >>> >>>Get your own FREE, personal Netscape Mail account today at >>>http://webmail.netscape.com/ >>> >>>-- >>>To unsubscribe, e-mail: >>> >>>For additional commands, e-mail: >>> >>> >>> >>>-- >>>To unsubscribe, e-mail: >>>For additional commands, e-mail: >>> >>> >> >>__________________________________________________________________ >>The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp >> >>Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ >> >>-- >>To unsubscribe, e-mail: >>For additional commands, e-mail: >> >> > >__________________________________________________________________ >The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp > >Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > > __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe, e-mail: For additional commands, e-mail: