Hi Randy,

Do you know why, in the example directory
"$CATALINA_HOME/webapps/examples/WEB-INF/classes" we have every source file
(*.java) with its corresponding binary (*.class) except for the
SendMailServlet.java source?????

I also tried to compile the SendMailServlet.java to get the corresponding
absent binary, but I don't know how to do it correctly. I have instaled the
J2SDK 1.3.1 on a solaris 8 environment

Regards,
Jose.




----- Original Message -----
From: "Randy Layman" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 1:03 PM
Subject: RE: Problem with SendMailServlet examples application


>
> Tomcat doesn't compile .java files into .class files.  As far as I
> know, this is only a feature of Resin and none of the other servlet
> containers.  You will need to use javac to convert your .java into a
.class
> and put that file into the WEB-INF/classes directory.
>
> Randy
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 18, 2002 7:44 AM
> > To: 'Tomcat Users List'
> > Subject: Problem with SendMailServlet examples application
> >
> >
> > Hi,
> >
> > I am having a problem while executing one of the examples
> > that comes with the tomcat 4.0.1 and/or 4.0.2 distribution.
> >
> > After a clean installation of tomcat-401/402 i try to execute
> > the sample application /examples that comes with the
> > distribution. Everything goes fine with any of the other
> > appz, but in the JSP samples page the "Send Mail example"
> > application that gives me an error:
> >
> > **************************************************************
> > Apache Tomcat/4.0.2 - HTTP Status 500 - Internal Server Error
> >
> > --------------------------------------------------------------
> > ------------------
> >
> > type Exception report
> >
> > message Internal Server Error
> >
> > description The server encountered an internal error
> > (Internal Server Error) that prevented it from fulfilling
> > this request.
> >
> > exception
> >
> > javax.servlet.ServletException: Wrapper cannot find servlet
> > class SendMailServlet or a class it depends on
> > at
> > org.apache.catalina.core.StandardWrapper.loadServlet(StandardW
> > rapper.java:871)
> > ... ...
> > at
> > org.apache.catalina.connector.warp.WarpConnection.run(WarpConn
> > ection.java:194)
> > at java.lang.Thread.run(Thread.java:484)
> >
> >
> > root cause
> >
> > java.lang.ClassNotFoundException: SendMailServlet
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
> > lassLoader.java:1394)
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
> > lassLoader.java:1243)
> > ... ...
> > at
> > org.apache.catalina.connector.warp.WarpConnection.run(WarpConn
> > ection.java:194)
> > at java.lang.Thread.run(Thread.java:484)
> >
> > *****************************************
> >
> > In $CATALINA_HOME/webapps/examples/WEB-INF/classes directory
> > i don't have the SendMailServlet.class binary, only the
> > SendMailServlet.java source code.
> > Any ideas?????
> > Best regards,
> > Jose L. Rojano
> >
> >
> >
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to