Thanks for responding. No, the examples also don't work, they get the same 404 page.
Our directories are setup as follows: Path to apache: /usr/local/apache Path to tomcat: /usr/local/tomcat Path of websites: /data/www/docs/ Linuxtest site: /data/www/docs/linuxtest.itol.com/ The index.jsp file is right within that linuxtest.itol.com directory, it should be the default page when you open linuxtest.itol.com in a browser. Thanks! -----Original Message----- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 9:40 AM To: 'Tomcat Users List' Subject: RE: Unable to execute/see JSP pages Where is the JSP located in your directory structure? Do the examples work? John > -----Original Message----- > From: Curt LeCaptain [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 10:37 AM > To: [EMAIL PROTECTED] > Subject: Unable to execute/see JSP pages > > > I've set-up our Java development server with my own server.xml, and > added virtual hosts to my apache, both linked via mod_jk, using apache > 1.3.27 and Tomcat 4.0.6. The following are my config files. What I'm > wondering is, I've got a basic "this's this page..." jsp created, with > a basic output command in java. I'm not seeing the command, so I'm > guessing something isn't handing off correctly. An addition... When I > go to linuxtest.itol.com (not world accessable, internal > address only), > I get a 404 page created by Tomcat, saying that index.jsp isn't > available. Any help would be greatly appriciated! > > Server.xml: > <Server port="8005" shutdown="SHUTDOWN" debug="0"> > <Service name="Tomcat-Apache-modjk"> > > > <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" > port="8009" > minProcessors="5" > maxProcessors="75" > acceptCount="10" > debug="0" /> > > <Engine name="Standalone" defaultHost="linuxdev01.itol.com" > debug="0"> > > > <!--Virtual Host definition for linuxtest.itol.com --> > <Host name="linuxtest.itol.com" debug="0" > appBase="/data/www/docs/linuxtest.itol.com/webapps" > unpackWARs="true"> > <Valve className="org.apache.catalina.valves.AccessLogValve" > directory="/data/www/docs/linuxtest.itol.com/logs" > prefix="linuxtest_access." > suffix=".log" > pattern="common"/> > > <Logger className="org.apache.catalina.logger.FileLogger" > directory="/data/www/docs/linuxtest.itol.com/logs" > prefix="linuxtest_catalina." > suffix=".log" > timestamp="true"/> > <Context path="" docBase="ROOT" debug="0"/> > <Context path="/examples" docBase="examples" debug="0" /> > </Host> > </Engine> > </Service> > </Server> > > Apache Configs (the important parts) > > > #Tomcat Settings > > JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties" > JkLogFile "/usr/local/tomcat/logs/mod_jk.log" > > JkLogLevel error > > <VirtualHost 192.168.7.230> > ServerName linuxtest.itol.com > DocumentRoot /data/www/docs/linuxtest.itol.com > > #################### linuxdev01.itol.com:/examples > #################### > > # Static files > > <Directory "/data/www/docs/linuxtest.itol.com"> > Options Indexes FollowSymLinks > DirectoryIndex index.html index.htm index.jsp > </Directory> > > > # Deny direct access to WEB-INF and META-INF > # > <Location "/examples/WEB-INF/*"> > AllowOverride None > deny from all > </Location> > > <Location "/examples/META-INF/*"> > AllowOverride None > deny from all > </Location> > JkMount /*.jsp ajp13 > JkMount /* ajp13 > JkMount /examples/jsp/num/*.jsp ajp13 > JkMount /examples/jsp/*.jsp ajp13 > JkMount /examples/*.jsp ajp13 > JkMount /examples/servlet/* ajp13 > JkMount /examples/servletToJsp ajp13 > JkMount /examples/SendMailServlet ajp13 > </VirtualHost> > > Sample JSP: > > <html> > <head> > <title>Welcome to linuxtest!</title> > </head> > <body> > <% > out.println("You are currently viewing the contents of " > +"the linuxtest web server"); > %> > </body> > </html> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
