Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#916 [HHQ-1807] IOException after configuring Tomcat 5.5

Bug
open
Hyperic Team
None
3
2012-10-09
2008-03-13
Hyperic Team
No

http://jira.hyperic.com/browse/HHQ-1807
The following exception was found in the catalina.out upon startup after configuring Tomcat 5.5 for Monitoring following the instructions found in HQ under 'Configure Tomcat 5.5 for Monitoring':





JIRA 3.5 build: 131 (Enterprise Edition) started. You can now access JIRA through your web browser.




[Filter: profiling] Using parameter [jira_profile]


[Filter: profiling] defaulting to off [autostart=false]


[Filter: profiling] Turning filter off [jira_profile=off]


2008-02-12 22:30:20,269 [webwork.dispatcher.ServletDispatcher] Unable to find 'webwork.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir


2008-02-12 22:30:25,558 ERROR [main] [apache.catalina.session.ManagerBase] doLoad IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.log4j.Logger


java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.log4j.Logger


        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)


        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)


        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)


        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)




log4j.properties

These properties can be modified. The only requirement is that the


ConversionPattern includes the priority (%p)



log4j.rootLogger=INFO, R


log4j.appender.R.File=${catalina.home}/logs/tomcat.log


log4j.appender.R.MaxBackupIndex=1


log4j.appender.R.MaxFileSize=5000KB


log4j.appender.R.layout.ConversionPattern=%d %-5p [%c{1}] %m%n


log4j.appender.R.layout=org.apache.log4j.PatternLayout


log4j.appender.R=org.apache.log4j.RollingFileAppender




Discussion


Anonymous


Cancel   Add attachments