[jboss-user] [Installation, Configuration & Deployment] - IllegalStateException after idle

jamesclinton do-not-reply at jboss.com
Wed Sep 20 11:13:51 EDT 2006


Hi

Currently we have a spring app deployed in jboss 4.0.2 (backend hibernate/oracle).  

All is well until the system is left idle for sometime, after which requesting a page doesn't work and the following exception is thrown in the log.


  | 00:01:43,359 WARN  [IdleRemover] run: IdleRemover ignored unexpected runtime exception
  | java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
  |         at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:941)
  |         at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:537)
  |         at sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar(StreamEncoder.java:358)
  |         at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:414)
  |         at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:160)
  |         at java.io.OutputStreamWriter.close(OutputStreamWriter.java:222)
  |         at java.io.FilterWriter.close(FilterWriter.java:92)
  |         at org.apache.log4j.FileAppender.closeFile(FileAppender.java:171)
  |         at org.apache.log4j.FileAppender.reset(FileAppender.java:302)
  |         at org.apache.log4j.FileAppender.setFile(FileAppender.java:271)
  |         at org.apache.log4j.DailyRollingFileAppender.rollOver(DailyRollingFileAppender.java:321)
  |         at org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:343)
  |         at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
  |         at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
  |         at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
  |         at org.apache.log4j.Category.callAppenders(Category.java:187)
  |         at org.apache.log4j.Category.forcedLog(Category.java:372)
  |         at org.apache.log4j.Category.log(Category.java:864)
  |         at org.jboss.logging.Log4jLoggerPlugin.debug(Log4jLoggerPlugin.java:128)
  |         at org.jboss.logging.Logger.debug(Logger.java:144)
  |         at org.jboss.resource.connectionmanager.IdleRemover$1.run(IdleRemover.java:67)
  |         at java.lang.Thread.run(Thread.java:595)
  | 00:01:43,481 INFO  [STDOUT] Exception in thread "IdleRemover"
  | 

Any comments or thoughts on where to look to solve this would be appreciated.

Thank you.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972966#3972966

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972966



More information about the jboss-user mailing list