At 10.47 26/07/2002 -0400, you wrote:
>Where are you storing your test.jsp?

It's in /home/sites/www.blacknightsolutions.com/web/test.jsp

As defined in the current configuration of my server.xml :
<Server port="8005" shutdown="SHUTDOWN" debug="0">
   <Service name="Tomcat-Apache">
     <Connector  debug="0"
                 acceptCount="10"
                 minProcessors="5"
                 maxProcessors="75"
                 port="8009"
                 className="org.apache.ajp.tomcat4.Ajp13Connector"/>

     <Engine className="org.apache.catalina.connector.warp.WarpEngine"
             name="Apache"
             defaultHost="ns.blacknightsolutions.com"
             debug="0"
             appBase="webapps">

       <!-- Global logger unless overridden at lower levels -->
       <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="apache-" suffix=".log"
               timestamp="true"/>

         <Host name="www.blacknightsolutions.com" >
            <Context path=""
                  docBase="/home/sites/www.blacknightsolutions.com/web"
                  crossContext="true"
                  debug="0"
                  reloadable="false"
                  trusted="false" >
            </Context>
         </Host>
                 <Host name="www.david.blacknightsolutions.com" >
            <Context path=""
                  docBase="/home/sites/www.david.blacknightsolutions.com/web"
                  crossContext="true"
                  debug="0"
                  reloadable="false"
                  trusted="false" >
            </Context>
         </Host>
                 <Host name="www.b2btechniques.net" >
            <Context path=""
                  docBase="/home/sites/www.b2btechniques.net/web"
                  crossContext="true"
                  debug="0"
                  reloadable="false"
                  trusted="false" >
            </Context>
         </Host>

     </Engine>
   </Service>
</Server>



>Is it in your %CATALINA%/webapps/ROOT directory, or the directory
>defined as your default context?

This is part of my problem! It's not in the ROOT directory, but in a 
virtual host.


>Can you get to it by typing http://www.blacknightsolutions:8080/test.jsp
>?

No. With a previous configuration I could get to the Tomcat welcome page at:
http://www.blacknightsolutions.com:8080
I have since tried a different configuration, but although a copy of the 
JSP examples (copied from the Tomcat/webapps/examples directory) is 
accessible at:
http://www.blacknightsolutions.com/examples/jsp/
nothing else involving Java is viewable and some of the examples aren't 
working either :-(

Tomcat seems to be intercepting requests for all .jsp pages, but doesn't 
seem to be mapping them correctly..



>(I couldn't get to any blacknight site)
>
>As to your question about a searchable archive,
>
>There is:
>
>http://www.mail-archive.com/[email protected]/
>
>And
>
>http://www.mail-archive.com/[email protected]/
>
>- Andrew

I'll try them - thanks!


> > -----Original Message-----
> > From: Michele Neylon -Blacknight Solutions
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 25, 2002 1:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 4, mod_jk, Apache 1.3.20
> >
> >
> > Hi all,
> > I've been trying to configure Tomcat 4.0.4 with Apache 1.3.20
> > using mod_jk on a Cobalt RAQ4. The problem seems to be in my
> > virtual hosts declarations in server.xml Does anybody have an
> > example of a server.xml configured for virtual hosts on
> > Linux? At the moment: http://www.blacknightsolutions.com/test.jsp
> > does not work, though http://www.blacknightsolutions.com/examples/jsp/
> > does.
> > Tomcat is running quite happily on port 8080 :
> > http://www.blacknightsolutions.com:8080
> > I've already looked
> > at: http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml
> > but am still having problems
> >
> > Thanks for your time!
> >
> > Mr. Michele Neylon
> > Blacknight Solutions - affordable linux hosting
>http://www.blacknightsolutions.com/
>
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>
>
>--
>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]>
>
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.

Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to