tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Reichhold" <reichh...@singingfish.com>
Subject Re: Using Class.forName() with Tomcat
Date Fri, 04 Aug 2000 03:58:00 GMT
Actually you write the following code:

try{
    //The code in question
} catch (Exception e) {
    System.err.println("Exception: " + e.toString());
    e.printStrackTrace();
}

To really see the exception and the details.  I left out the details of the
stack trace because I was asking if there is some sort of permisions issue
with Class.forName() and Tomcat.  I will not send the stack trace until I
clean parts of it out.

Jonathan

----- Original Message -----
From: "John Summerfield" <summer@OS2.ami.com.au>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, August 02, 2000 8:47 PM
Subject: Re: Using Class.forName() with Tomcat


> > This is a multi-part message in MIME format.
> >
> > ------=_NextPart_000_01D6_01BFFD8A.A3899440
> > Content-Type: text/plain;
> > charset="iso-8859-1"
> > Content-Transfer-Encoding: quoted-printable
> >
> > I'm trying to load a class by name.  The class is located in =
> > $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes and I am getting long stack =
> > trace.  Any reason why class for name won't work off of the ROOT =
> > context?  Is it a permission issue?
> >
> >
> Sheesh.
>
> What do you think the trace is for, if not to tell you what went wrong?
>
> What do you think
> try {
> } catch (Exception E) {
> }
> is for, if not to report in a format YOU can understand.
>
>
>
>
> Please, use the information and tools YOU have at hand, before wasting the
> time and bandwidth of others.
>
>
>
>


Mime
View raw message