Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Tomcat error after long idle

Reply
Thread Tools

Tomcat error after long idle

 
 
JPractitioner
Guest
Posts: n/a
 
      09-16-2008
Hi guys,

I'm new to Tomcat. I need to run a set of third-party provided jar
files to generate an XML string. I installed Tomcat 6 on Windows
Server 2003 with standard options. I put all the jar files into the
Tomcat lib folder. Everything is ok when I do testing. But I notice
that, the first request on the next morning will throw me error( as
below ) and I need to restart Tomcat and it will be OK for the rest of
the day. The problem will happen every morning. Any idea what's
wrong?

Please advise,

Thank you.

Stack trace:
HTTP Status 500 - ________________________________________ type
Exception report message description The server encountered an
internal error () that prevented it from fulfilling this request.
exception org.apache.jasper.JasperException:
javax.servlet.ServletException: com.fpx.seller.common.FPXException
org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:
522)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:
39
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:
342) org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet .java:717) root
cause javax.servlet.ServletException:
com.fpx.seller.common.FPXException
org.apache.jasper.runtime.PageContextImpl.doHandle PageException(PageContextImpl.java:
852)
org.apache.jasper.runtime.PageContextImpl.handlePa geException(PageContextImpl.java:
781)
org.apache.jsp.FpxRequestXmlGenerator_jsp._jspServ ice(FpxRequestXmlGenerator_jsp.java:
101) org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:
70) javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:
374)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:
342) org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
 
Reply With Quote
 
 
 
 
Lothar Kimmeringer
Guest
Posts: n/a
 
      09-17-2008
JPractitioner wrote:

> exception org.apache.jasper.JasperException:
> javax.servlet.ServletException: com.fpx.seller.common.FPXException
> org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:
> 522)


Do you have a program that deletes files/directories from the temporary
folder every midnight? If yes, disable that, define a different target-
directory for the generated JSP-class-files or an exception-rule for
this tool.

During startup the JSP-engine creates directories in the temporary folder
and expect them there during the whole runtime of the server. Deleting
them lead to errors when trying to access JSP-pages.


Regards, Lothar
--
Lothar Kimmeringer E-Mail: http://www.velocityreviews.com/forums/(E-Mail Removed)
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
questions!
 
Reply With Quote
 
 
 
 
JPractitioner
Guest
Posts: n/a
 
      09-25-2008
Thanks for your suggestion, we'll check it out...



On Sep 17, 7:39*pm, Lothar Kimmeringer <(E-Mail Removed)>
wrote:
> JPractitioner wrote:
> > exception org.apache.jasper.JasperException:
> > javax.servlet.ServletException: com.fpx.seller.common.FPXException
> > org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:
> > 522)

>
> Do you have a program that deletes files/directories from the temporary
> folder every midnight? If yes, disable that, define a different target-
> directory for the generated JSP-class-files or an exception-rule for
> this tool.
>
> During startup the JSP-engine creates directories in the temporary folder
> and expect them there during the whole runtime of the server. Deleting
> them lead to errors when trying to access JSP-pages.
>
> Regards, Lothar
> --
> Lothar Kimmeringer * * * * * * * *E-Mail: (E-Mail Removed)
> * * * * * * * *PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
>
> Always remember: The answer is forty-two, there can only be wrong
> * * * * * * * * *questions!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having compilation error: no match for call to (const __gnu_cxx::hash<long long int>) (const long long int&) veryhotsausage C++ 1 07-04-2008 05:41 PM
Use of Long and Long Long Bart C C Programming 27 01-15-2008 05:27 AM
long long and long Mathieu Dutour C Programming 4 07-24-2007 11:15 AM
unsigned long long int to long double Daniel Rudy C Programming 5 09-20-2005 02:37 AM
Assigning unsigned long to unsigned long long George Marsaglia C Programming 1 07-08-2003 05:16 PM



Advertisments