This got bounced, so I am sending it in two bits: First bit has the tomcat files:
I have a jk mount set up via my mod_jk.conf file. I have tomcat do the work automagically for me and just use an Inlcude line in apache to make sure it grabs the info. I also checked and can access cocoon from http://granite:80/cocoon. There is a screen shot that I am attaching that might not come through, but it will show you exactly what I see when I connect. And, here are my relevant files: auto config file from tomcat: /usr/local/tomcat/conf/auto/mod_jk.conf: ########## Auto generated on Thu Jan 23 17:06:43 MET 2003########## <IfModule !mod_jk.c> LoadModule jk_module /usr/local/apache/libexec/mod_jk.so </IfModule> JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties" JkLogFile "/var/tomcat/logs" JkLogLevel info <VirtualHost granite> ServerName granite #################### granite:/cocoon #################### # Static files Alias /cocoon "/usr/local/tomcat/webapps/cocoon" <Directory "/usr/local/tomcat/webapps/cocoon"> Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp </Directory> # Deny direct access to WEB-INF and META-INF # <Location "/cocoon/WEB-INF/*"> AllowOverride None deny from all </Location> <Location "/cocoon/META-INF/*"> AllowOverride None deny from all </Location> JkMount /cocoon/*.html ajp13 JkMount /cocoon/servlet/* ajp13 JkMount /cocoon/*.jsp ajp13 #################### granite:/manager #################### # Static files Alias /manager "/usr/local/tomcat/webapps/manager" <Directory "/usr/local/tomcat/webapps/manager"> Options Indexes FollowSymLinks DirectoryIndex index.html index.htm index.jsp </Directory> # Deny direct access to WEB-INF and META-INF # <Location "/manager/WEB-INF/*"> AllowOverride None deny from all </Location> <Location "/manager/META-INF/*"> AllowOverride None deny from all </Location> JkMount /manager/* ajp13 JkMount /manager/servlet/* ajp13 JkMount /manager/*.jsp ajp13 </VirtualHost> my tomcat server.xml: /usr/local/tomcat/conf/server.xml: <!-- Server Configuration File --> <Server port="8005" shutdown="SHUTDOWN" debug="0"> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" jkLog="/var/tomcat/logs/" jkDebug="info" modJk="/usr/local/apache/libexec/mod_jk.so" /> <Service name="granite-tomcat"> <Engine name="Standalone" defaultHost="localhost" debug="0"> <!-- Global logger unless overridden at lower levels --> <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".log" directory="/var/tomcat/logs" timestamp="true"/> <!-- Because this Realm is here, an instance will be shared globally --> <Realm className="org.apache.catalina.realm.MemoryRealm" /> <!-- Define Default Virtual Host - should be localhost's name --> <Host name="granite" address="10.144.230.58:80" debug="0" appBase="webapps" unpackWARs="true"> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" jkLog="/var/tomcat/logs/" append="true" forwardAll="false" jkDebug="info" /> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="/var/tomcat/logs/granite" prefix="granite_access." suffix=".log" pattern="common"/> <Logger className="org.apache.catalina.logger.FileLogger" directory="/var/tomcat/logs/granite" prefix="granite_catalina." suffix=".log" timestamp="true"/> </Host> </Engine> </Service> </Server> -----Original Message----- From: Jim McCullough [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 5:54 PM To: [EMAIL PROTECTED] Subject: Re: Administrator in need of help on new install Perhaps I also should have asked it you are able to access Cocoon by specifying the Tomcat port: http://mymachine.com:8080/cocoon or whatever port Tomcat is listening on, usually 8080. If the cocoon welcom page is displaying properly when accessing Tomcat directly - then there is really only one line out of the httpd.conf file that matters: JkMount /cocoon/* ajp13 you can also setup an alias to cocoon Alias /cocoon "[path-to-cocoon]" These are the only lines in the httpd.conf file that refer to cocoon and should get cocoon showing up when using http://mymachine.com/cocoon Obviously the above lines would need to be included under the specific virtual host in your httpd.conf file if you are using virtual hosts, or under the default host. Jim Jim McCullough Risk Analytics Inc. - Las Vegas Software Engineering [EMAIL PROTECTED] [EMAIL PROTECTED] (702) 407-1814 (voice) (702) 407-1824 (fax) ----- Original Message ----- From: "SAXESS - Hussayn Dabbous" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 8:41 AM Subject: Re: Administrator in need of help on new install > Hy, > > can you send your tomcat/apache/cocoon config files ? > That should be a solvable problem ... > > If the mailing list agent refuses your email (due to size > limitations) you can send it directly to my personal > email adress if you like... > > regards, hussayn > > Jim McCullough wrote: > > Have you setup a JkMount in your httpd.conf file > > for cocoon? > > > > JkMount /cocoon/* ajp13 > > > > > > Jim McCullough > > Risk Analytics Inc. - Las Vegas > > Software Engineering > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > (702) 407-1814 (voice) > > (702) 407-1824 (fax) > > > > > > > > ----- Original Message ----- > > From: "Gerstel, Rachel" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, January 23, 2003 8:25 AM > > Subject: Administrator in need of help on new install > > > > > > > >>Hello All, > >> > >>Apologies if this has already been covered, but I have not been able to > > > > find > > > >>a similar problem in the archives. > >> > >>I have no experience with xml whatsoever and have a brand-new developer > > > > with > > > >>no experience whatsoever wanting to start playing around with cocoon. > >> > >>I have installed: Tomcat 4.0.4, Apache 1.3.26 and Cocoon 2.0.4 (also > >>uninstalled and tried 2.0.3, but got the same results). I have a feeling I > >>am missing some really basic item, but haven't been able to figure it out > >>and am getting a headache so I hope someone can please help. :--) > >> > >>My tomcat and apache are configured with mod_jk to talk to each other (via > >>auto config in tomcat ../conf/auto/mod_jk.conf) with apache serving static > >>pages and tomcat serving servlet, java stuff. That works fine. I put the > >>cocoon.war into webapps and it auto-deploys, no error messages anywhere!!! > >>But when I click on http://mymachin/cocoon the only thing I see is the > >>directory index. No welcome page that I keep hearing so much about. > >> > >>Can someone smack me over the head and tell me what vital thing I have > >>missed? > >> > >>Thanks, > >>Rachel > >> > >> > >>--------------------------------------------------------------------- > >>Please check that your question has not already been answered in the > >>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > >> > >>To unsubscribe, e-mail: <[EMAIL PROTECTED]> > >>For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > -- > Dr. Hussayn Dabbous > SAXESS Software Design GmbH > Neuenhöfer Allee 125 > 50935 Köln > Telefon: +49-221-56011-0 > Fax: +49-221-56011-20 > E-Mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
<<attachment: cocoon_screen.gif>>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>