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(PageContextImpl.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:204)
        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