You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/10/12 15:25:19 UTC

BugRat Report #253 has been filed.

Bug report #253 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/253>

REPORT #253 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: serious
Confidence: public
Environment: 
   Release: 3.2b6
   JVM Release: 1.2.2
   Operating System: Solaris
   OS Release: 2.7
   Platform: sparc

Synopsis: 
JSP error-page doesn't work with virtual hosts

Description:
When calling an errorpage from a virtual hosts context, the hostname for the error-page becomes "localhost".

Here's the excerpt from tomcat.log with debug=99, trimmed for brevity.


ContextManager: ProcessRequest: R( /asdasd.jsp)
ContextManager: Host = dev2.paperx.com
.
.
ContextManager: After processing: R(  + /asdasd.jsp + null
)
.
.
2000-10-12 02:59:08 - Ctx( dev2.paperx.com: ): Get real path /asdasd.jsp /export
.
.
Ctx( dev2.paperx.com: ): getResourceURL=file:/export/web/dev2/softsite/asdasd.jsp request=/asdasd.jsp
Ctx( dev2.paperx.com: ): 404 R(  + /asdasd.jsp + null) JSP
 file not found
ContextManager: ProcessRequest: R( /error.jsp)
ContextManager: Host = localhost


There you go - notice how the host has switched from "dev2.paperx.com" to "localhost.




RE: BugRat Report #253 has been filed.

Posted by Nick Bauman <ni...@cortexity.com>.
Yeah, the data model sucks. Short of rewriting it all, I don't know what
to do. The load goes over 1.0 because mysqld is being crushed. 

On Thu, 12 Oct 2000, Mike Bremford wrote:

> Sorry - 250,251 and 253 are all the same bug. Kept getting timeouts.
> 
> Filing bugs in bugrat is like waiting for a bus - nothing for ages and then
> three come along at once :-)
> 
> Cheers... Mike
> 
> 
> > -----Original Message-----
> > From: BugRat Mail System [mailto:tomcat-bugs@cortexity.com]
> > Sent: 12 October 2000 14:25
> > To: tomcat-bugs@cortexity.com
> > Subject: BugRat Report #253 has been filed.
> >
> >
> > Bug report #253 has just been filed.
> >
> > You can view the report at the following URL:
> >
> >    <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/253>
> >
> > REPORT #253 Details.
> >
> > Project: Tomcat
> > Category: Bug Report
> > SubCategory: New Bug Report
> > Class: swbug
> > State: received
> > Priority: medium
> > Severity: serious
> > Confidence: public
> > Environment:
> >    Release: 3.2b6
> >    JVM Release: 1.2.2
> >    Operating System: Solaris
> >    OS Release: 2.7
> >    Platform: sparc
> >
> > Synopsis:
> > JSP error-page doesn't work with virtual hosts
> >
> > Description:
> > When calling an errorpage from a virtual hosts context, the
> > hostname for the error-page becomes "localhost".
> >
> > Here's the excerpt from tomcat.log with debug=99, trimmed for brevity.
> >
> >
> > ContextManager: ProcessRequest: R( /asdasd.jsp)
> > ContextManager: Host = dev2.paperx.com
> > .
> > .
> > ContextManager: After processing: R(  + /asdasd.jsp + null
> > )
> > .
> > .
> > 2000-10-12 02:59:08 - Ctx( dev2.paperx.com: ): Get real path
> > /asdasd.jsp /export
> > .
> > .
> > Ctx( dev2.paperx.com: ):
> > getResourceURL=file:/export/web/dev2/softsite/asdasd.jsp
> > request=/asdasd.jsp
> > Ctx( dev2.paperx.com: ): 404 R(  + /asdasd.jsp + null) JSP
> >  file not found
> > ContextManager: ProcessRequest: R( /error.jsp)
> > ContextManager: Host = localhost
> >
> >
> > There you go - notice how the host has switched from
> > "dev2.paperx.com" to "localhost.
> >
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 

-- 
Nicolaus Bauman
Software Engineer
Simplexity Systems
I'll give you $5 if you follow this link:
https://secure.paypal.x.com/refer/pal=nixnixnix%40yahoo.com



RE: BugRat Report #253 has been filed.

Posted by Mike Bremford <mi...@paperx.com>.
Sorry - 250,251 and 253 are all the same bug. Kept getting timeouts.

Filing bugs in bugrat is like waiting for a bus - nothing for ages and then
three come along at once :-)

Cheers... Mike


> -----Original Message-----
> From: BugRat Mail System [mailto:tomcat-bugs@cortexity.com]
> Sent: 12 October 2000 14:25
> To: tomcat-bugs@cortexity.com
> Subject: BugRat Report #253 has been filed.
>
>
> Bug report #253 has just been filed.
>
> You can view the report at the following URL:
>
>    <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/253>
>
> REPORT #253 Details.
>
> Project: Tomcat
> Category: Bug Report
> SubCategory: New Bug Report
> Class: swbug
> State: received
> Priority: medium
> Severity: serious
> Confidence: public
> Environment:
>    Release: 3.2b6
>    JVM Release: 1.2.2
>    Operating System: Solaris
>    OS Release: 2.7
>    Platform: sparc
>
> Synopsis:
> JSP error-page doesn't work with virtual hosts
>
> Description:
> When calling an errorpage from a virtual hosts context, the
> hostname for the error-page becomes "localhost".
>
> Here's the excerpt from tomcat.log with debug=99, trimmed for brevity.
>
>
> ContextManager: ProcessRequest: R( /asdasd.jsp)
> ContextManager: Host = dev2.paperx.com
> .
> .
> ContextManager: After processing: R(  + /asdasd.jsp + null
> )
> .
> .
> 2000-10-12 02:59:08 - Ctx( dev2.paperx.com: ): Get real path
> /asdasd.jsp /export
> .
> .
> Ctx( dev2.paperx.com: ):
> getResourceURL=file:/export/web/dev2/softsite/asdasd.jsp
> request=/asdasd.jsp
> Ctx( dev2.paperx.com: ): 404 R(  + /asdasd.jsp + null) JSP
>  file not found
> ContextManager: ProcessRequest: R( /error.jsp)
> ContextManager: Host = localhost
>
>
> There you go - notice how the host has switched from
> "dev2.paperx.com" to "localhost.
>
>
>
>