Should your IDE include mail and activation into its classpath?

-----Original Message-----
From: Cord Awtry [mailto:[EMAIL PROTECTED] 
Sent: September 26, 2003 12:53 PM
To: Tomcat Users List
Subject: Mail Session oddity

Everyone,

    I encountered something odd when setting up a new Tomcat server. I have
a mail session in the server.xml and when I run my app I get the following
error:

javax.servlet.ServletException: javax/mail/Session
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:533)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:361)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 <rest truncated for space>

    The oddness comes into play in that it works just fine if I run tomcat
through my IDE (CodeGuide). It has to be some sort of classpath problem but
I can't for the life of me figure out what it could be. Has anyone seen
anything like this or have any ideas?

    Thanks in advance,

        Cord Awtry

Reply via email to