-
1. Re: JBoss failed for stress test? Or Log4j?
jaikiran Jul 4, 2008 2:09 AM (in response to gan.gary)You are using a DailyRollingFileAppender which rolls over the file at midnight each day. It does not consider the file size for rollover. If you want it to be file size based then comment out this appender section and then uncomment the next section (which is for file size based rolling) in the jboss-log4j.xml :
<!-- A size based file rolling appender --> <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <param name="File" value="${jboss.server.log.dir}/server.log"/> <param name="Append" value="false"/> <param name="MaxFileSize" value="500KB"/> <param name="MaxBackupIndex" value="1"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> </layout> </appender>
-
2. Re: JBoss failed for stress test? Or Log4j?
gan.gary Jul 4, 2008 5:03 AM (in response to gan.gary)thanks for the solution. Can i confirm it's the (4 GB for files) size limit on windows for 32 bit NTFS?
-
3. Re: JBoss failed for stress test? Or Log4j?
jaikiran Jul 4, 2008 7:51 AM (in response to gan.gary)"gan.gary" wrote:
Can i confirm it's the (4 GB for files) size limit on windows for 32 bit NTFS?
Sorry, i did not understand the question. Are you asking if there is a limit of 4GB for file size on windows? -
4. Re: JBoss failed for stress test? Or Log4j?
gan.gary Jul 4, 2008 8:51 AM (in response to gan.gary)will log file cause JBoss terminate?
-
5. Re: JBoss failed for stress test? Or Log4j?
jaikiran Jul 4, 2008 9:15 AM (in response to gan.gary)No. It won't.
-
6. Re: JBoss failed for stress test? Or Log4j?
gan.gary Jul 4, 2008 9:27 PM (in response to gan.gary)thanks for your info. Looks like my client failed for reason.
BTW, DO you have any idea on failover cluster?
While trying to setup a new JBoss apps, I come across with failover clustering, does anyone have any advices on this, other than the link at Jboss doc: Chapter 16. Clustering http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html
& http://wiki.jboss.org/wiki/JBossHA ?
Any simple hello world exmple?
Or anyone know this: http://wiki.jboss.org/wiki/BasicClusterTest ?
It seems simple but nothing there. -
7. Re: JBoss failed for stress test? Or Log4j?
jaikiran Jul 5, 2008 5:11 AM (in response to gan.gary)"gan.gary" wrote:
thanks for your info. Looks like my client failed for reason.
BTW, DO you have any idea on failover cluster?
Sorry, i don't have any experience with clustering. -
8. Re: JBoss failed for stress test? Or Log4j?
gan.gary Jul 6, 2008 4:12 AM (in response to gan.gary)never mind, thanks anyway