This is interesting...
What operating system are you using?
If some flavor of unix, are you using a symolic directory link in your classpath? I 
have seen issues where a symoblic link is used,
the symbolic link is resolved to the "real" directory in the app server's classpath. 
The symbolic link is changed while the app is up, but since the app is loading from 
the resolved directory, it continues to do so after the symoblic link is changed. If 
the "old" directory is moved or deleted, the app can no longer load classes. 


-----Original Message-----
From: Jan Aren� [mailto:jan.areno@;HOME.SE]
Sent: Tuesday, November 05, 2002 10:35 AM
To: [EMAIL PROTECTED]
Subject: SV: errorPage


The classpath works fine, until something happends (think when I update
another application) and then the class can't be found.

Example
Yesterday application 1 and 2 worked fine. I made some updates to
application 2. Today, I get mail from users that application 1 is not
working. The error is that the bean can't be found. Application 2 is still
working

//Jan

> -----Ursprungligt meddelande-----
> Fr�n: A mailing list about Java Server Pages specification and reference
> [mailto:JSP-INTEREST@;JAVA.SUN.COM]F�r Chua, Jerson
> Skickat: den 5 november 2002 16:25
> Till: [EMAIL PROTECTED]
> �mne: Re: errorPage
>
>
> Try to fix the problem. Have you checked your classpath?
>
> -----Original Message-----
> From: Jan Aren� [mailto:jan.areno@;HOME.SE]
> Sent: Tuesday, November 05, 2002 10:19 AM
> To: [EMAIL PROTECTED]
> Subject: SV: errorPage
>
>
> And there is nothing I can do about it?
>
> The thing is that I run many application on the same server. Sometimes I
> find one of the application in "errorstate" saying that he can't find a
> bean-class (that it's been running for weeks)
> If I restart the server, everything works fine again. The things is that I
> don't have the time to check all my application all the time and needs to
> get an notification telling me that a specific application have "failed".
>
> Notice that it is just ONE application that stops responding at the time.
> The others bean-class-paths works just fine...
>
> Is there no way to deal with this problem?
>
> //Jan
>
> > -----Ursprungligt meddelande-----
> > Fr�n: A mailing list about Java Server Pages specification and reference
> > [mailto:JSP-INTEREST@;JAVA.SUN.COM]F�r Chua, Jerson
> > Skickat: den 5 november 2002 15:53
> > Till: [EMAIL PROTECTED]
> > �mne: Re: errorPage
> >
> >
> > The errorPage works for runtime exception (exception thrown while
> > processing
> > the request).
> > What you have is a compile-time error (error occurred while
> > converting your
> > jsp to servlet).
> >
> > Jerson
> >
> > -----Original Message-----
> > From: Jan Aren� [mailto:jan.areno@;HOME.SE]
> > Sent: Tuesday, November 05, 2002 8:31 AM
> > To: [EMAIL PROTECTED]
> > Subject: errorPage
> >
> >
> > Hi
> >
> > I have a problem. I'm trying to use the <%@ page
> > errorPage="error.jsp"%> on
> > my page.
> >
> > This is the code
> >
> > <%@ page errorPage="error.jsp"%>
> > <%
> > if(5(0 > 5)
> > {
> >         out.println("testar");
> > }
> > %>
> >
> > Of course this generates an error and i'm thrown to the
> error.jsp page...
> >
> > But if I change the test page to:
> > <%@ page errorPage="error.jsp"%>
> > <jsp:useBean id="conn" class="UnknownBean"/>
> >
> > and UnknownBean is a non excisting class, I get an error and is
> not thrown
> > to the error.jsp page, why not?
> >
> > [ERROR MSG]
> > oracle.jsp.parse.JspParseException: Line # 2, Error: Unable to
> find class
> > for bean: conn defined by tag with class: UnknownBean
> >
> >
> > I'm running an Oracle with an preinstalled Apache/TomCat(?)/JSP
> server...
> > Sometimes when I change some of my jsp files or update my class
> files the
> > PATH is going down for some pages and they cant find their
> beans. I need a
> > errorpage that tells me that this have happend but I can't
> figure out how.
> >
> > If the errorhandler can't handle missing classes, how do I make a
> > check that
> > reports to me when and if I loose my beans?
> >
> >
> > Thanks for any help
> >
> > -Jan
> >
> > ==================================================================
> > =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
> >
> > =========================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set
> > JSP-INTEREST DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
> >
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
> =========================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


DISCLAIMER:
The information contained in this e-mail may be confidential and is intended solely 
for the use of the named addressee. Access, copying or re-use of the e-mail or any 
information contained therein by any other person is not authorized. If you are not 
the intended recipient please notify us immediately by returning the e-mail to the 
originator.

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to