You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by micael <ca...@harbornet.com> on 2002/10/01 08:07:58 UTC

THE SOURCE, LUKE: JBoss/Tomcat Mystery

Below is the source index.html I am getting when I access tomcat in the 
embedded JBoss/Tomcat server.  This index.html, so far as I can tell is 
nowhere in the application.  It is not the ROOT index.html.  I can take the 
ROOT index.html and every other index.html I can find on the site out and 
it still runs.  Where in holy hannah is this? That is crazy, but I have 
done a lot of internet coding and this is a real puzzler to me.  Where is 
the following coming from:


127.0.0.1 - - [30/Sep/2002:21:50:00 -0800] "GET /index.html HTTP/1.1" 200 3999
127.0.0.1 - - [30/Sep/2002:21:50:00 -0800] "GET /tomcat.gif HTTP/1.1" 200 1934
127.0.0.1 - - [30/Sep/2002:21:50:00 -0800] "GET /jakarta-banner.gif 
HTTP/1.1" 200 8006

This is nuts.  There is clearly something I don't know about going on.  I 
thought I was a smarty pants.  I am a dummy pants.

Micael

And the UNKNOWN SOURCE is:

<!doctype html public "-//w3c//dtd html 4.0 transitional//en" 
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
     <head>
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     <title>Jakarta Project - Tomcat Examples</title>
     <style type="text/css">
       <!--
         body {
             color: #000000;
             background-color: #FFFFFF;
             font-family: Arial, "Times New Roman", Times;
             font-size: 16px;
         }

         A:link {
             color: blue
         }

         A:visited {
             color: blue
         }

         td {
             color: #000000;
             font-family: Arial, "Times New Roman", Times;
             font-size: 16px;
         }

         .code {
             color: #000000;
             font-family: "Courier New", Courier;
             font-size: 16px;
         }
       -->
     </style>
</head>

<body>

<!-- Header -->
<table width="100%">
     <tr>
         <td align="left" width="130"><a 
href="http://jakarta.apache.org/tomcat/index.html"><img src="tomcat.gif" 
height="92" width="130" border="0" alt="The Mighty Tomcat - MEOW!"></td>
         <td align="left" valign="top">
             <table>
                 <tr><td align="left" valign="top"><b>Tomcat 
Examples</b></td></tr>
                 <tr><td align="left" valign="top"><b>Version 
4.0.3</b></td></tr>
             </table>
         </td>
         <td align="right"><a href="http://jakarta.apache.org/"><img 
src="jakarta-banner.gif" height="100" width="350" border="0" alt="The 
Jakarta Project"></a></td>
     </tr>
</table>

<br>

<table>
     <tr>

         <!-- Table of Contents -->
         <td valign="top">
             <table width="100%" border="1" cellspacing="0" cellpadding="3" 
bordercolor="#000000">
                 <tr>
                     <td bgcolor="#D2A41C" bordercolor="#000000" 
align="left" nowrap>
                         <font face="Verdana" size="+1"><i>Web 
Applications</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>
                     </td>
                 </tr>
                 <tr>
                     <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
                         <a href="examples/jsp/">JSP Examples</a><br>
                         <a href="examples/servlets/">Servlet Examples</a><br>
                         &nbsp;
                     </td>
                 </tr>
             </table>
             <br>
             <table width="100%" border="1" cellspacing="0" cellpadding="3" 
bordercolor="#000000">
                 <tr>
                     <td bgcolor="#D2A41C" bordercolor="#000000" 
align="left" nowrap>
                         <font face="Verdana" 
size="+1"><i>Miscellaneous</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>
                     </td>
                 </tr>
                 <tr>
                     <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
                         <a href="http://java.sun.com/products/jsp">Sun's 
Java Server Pages Site</a><br>
                         <a 
href="http://java.sun.com/products/servlet">Sun's Servlet Site</a><br>
                         &nbsp;
                     </td>
                 </tr>
             </table>
         </td>

         <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>

         <!-- Body -->
         <td align="left" valign="top">
             <p><center><b>If you're seeing this page via a web browser, it 
means the integrated web container
                         is configured correctly. Congratulations!
                         </b></center></p>
                         <p>This ear includes the Tomcat-4.0.3 JSP and 
servlet examples. Deploy something useful by
                         removing the deploy/webtest.ear file and adding 
your own ear or war.</p>

             <font size=-1>Copyright &copy; 1999-2001 Apache Software 
Foundation</font><br>
             <font size=-1>All Rights Reserved</font> <br>
             &nbsp;</p>
             <p align="right">&nbsp;</p>

         </td>

     </tr>
</table>

</body>
</html>


-------------------------------------------------------

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any dislosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank you 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: THE SOURCE, LUKE: JBoss/Tomcat Mystery

Posted by micael <ca...@harbornet.com>.
Okay.  I did not know what the problem was until I got the answer, is the 
reason.  (What a mouthful.)  I now see it was an integration problem and 
not a tomcat problem.  mea culpa, sorry ladies and gents.

At 01:09 AM 10/1/2002 -0700, you wrote:


>On Mon, 30 Sep 2002, micael wrote:
>
> > Date: Mon, 30 Sep 2002 23:07:58 -0700
> > From: micael <ca...@harbornet.com>
> > Reply-To: Tomcat Developers List <to...@jakarta.apache.org>
> > To: tomcat-dev@jakarta.apache.org
> > Subject: THE SOURCE, LUKE: JBoss/Tomcat Mystery
> >
> > Below is the source index.html I am getting when I access tomcat in the
> > embedded JBoss/Tomcat server.  This index.html, so far as I can tell is
> > nowhere in the application.  It is not the ROOT index.html.  I can take the
> > ROOT index.html and every other index.html I can find on the site out and
> > it still runs.  Where in holy hannah is this? That is crazy, but I have
> > done a lot of internet coding and this is a real puzzler to me.  Where is
> > the following coming from:
> >
>
>Since this problem only seens to appear with the JBoss integration, I'd
>suggest asking about problems like this on the JBoss mailing lists.
>Nobody here is going to know anything about how JBoss chose to integrate
>Tomcat (unless they also happen to be JBoss users), so we have no clue
>how the JBoss folks have configured the embedded Tomcat installation they
>are using..
>
>Craig
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: THE SOURCE, LUKE: JBoss/Tomcat Mystery

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 30 Sep 2002, micael wrote:

> Date: Mon, 30 Sep 2002 23:07:58 -0700
> From: micael <ca...@harbornet.com>
> Reply-To: Tomcat Developers List <to...@jakarta.apache.org>
> To: tomcat-dev@jakarta.apache.org
> Subject: THE SOURCE, LUKE: JBoss/Tomcat Mystery
>
> Below is the source index.html I am getting when I access tomcat in the
> embedded JBoss/Tomcat server.  This index.html, so far as I can tell is
> nowhere in the application.  It is not the ROOT index.html.  I can take the
> ROOT index.html and every other index.html I can find on the site out and
> it still runs.  Where in holy hannah is this? That is crazy, but I have
> done a lot of internet coding and this is a real puzzler to me.  Where is
> the following coming from:
>

Since this problem only seens to appear with the JBoss integration, I'd
suggest asking about problems like this on the JBoss mailing lists.
Nobody here is going to know anything about how JBoss chose to integrate
Tomcat (unless they also happen to be JBoss users), so we have no clue
how the JBoss folks have configured the embedded Tomcat installation they
are using..

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>