Re: Java Crash

2009-01-28 Thread Stephen Caine

Chris,


This is very helpful.  It strongly suggests the issue is memory  
management, not JFreeChart.


I'd put my money on bad hardware. Every single time I've seen a  
release version of a JVM fail, it's because of bad memory, CPU,  
motherboard, or the combination thereof.


I recommend trying the same code and configuration on a separate  
physical machine to see if that might be the problem. Does Mac have  
anything like memtest86? Can you even run that on x86-based Macs?


My initial presumption was bad memory, but after running a very  
intensive memory test (provided by Apple), no problems were found.   
Also, no other process results in a JVM crash.  Only when JFreeChart  
is run does the JVM crash.  This is an X-Serve, dual core intel that  
has 12 gigs of RAM running OS X 10.5.


Stephen Caine
Soft Breeze Systems, LLC

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Java Crash

2009-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stephen,

Stephen Caine wrote:
 This is very helpful.  It strongly suggests the issue is memory
 management, not JFreeChart.

I'd put my money on bad hardware. Every single time I've seen a release
version of a JVM fail, it's because of bad memory, CPU, motherboard, or
the combination thereof.

I recommend trying the same code and configuration on a separate
physical machine to see if that might be the problem. Does Mac have
anything like memtest86? Can you even run that on x86-based Macs?

Good luck,
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl/vXwACgkQ9CaO5/Lv0PBg5wCgq9MKkXlPSWT/tqGJ7nDFycQ7
Go8An2NhKzoaBhbpKXhm5wtpdqOt5viI
=MXkp
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Java Crash

2009-01-23 Thread Jonathan Mast
that is almost certainly an Apple Java issue.  If by charting, you mean
graphics, then even more so.  The Java2D api on Mac still has bugs that will
crash.

But you can't be certain unless you test ur webapp on a windows machine.

On Fri, Jan 23, 2009 at 11:03 AM, Stephen Caine step...@commongrnd.comwrote:

 All,

 Whenever I attempt to access a charting jsp, I get an invalid memory access
 error and the JVM just crashes.  Here are the relevant portions of the java
 crash log.  Any thoughts would be appreciated.  Is this an Apple Java
 issue??

 Stephen Caine
 CommonGround Softworks, Inc.

 ___

 Process: java [67620]
 Path:
 /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
 Identifier:  java
 Version: ??? (???)
 Code Type:   X86-64 (Native)
 Parent Process:  launchd [1]

 Date/Time:   2009-01-21 14:53:08.281 -0500
 OS Version:  Mac OS X Server 10.5.5 (9F33)
 Report Version:  6

 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x0001b6f272f8
 Crashed Thread:  28

 Application Specific Information:

 Java information:
 Exception type: Bus Error (0xa) at pc=0x0001010a633d

 Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_07-b06-57 mixed mode
 macosx-amd64)

 Heap
 PSYoungGen  total 690496K, used 680383K [0x00018a56,
 0x0001b500, 0x0001b500)
 eden space 684160K, 98% used
 [0x00018a56,0x0001b37a0de0,0x0001b418)
 from space 6336K, 99% used
 [0x0001b418,0x0001b47aeeb0,0x0001b47b)
 to   space 8384K, 0% used
 [0x0001b47d,0x0001b47d,0x0001b500)
 PSOldGentotal 1398144K, used 1296068K [0x00013500,
 0x00018a56, 0x00018a56)
 object space 1398144K, 92% used
 [0x00013500,0x0001841b11d0,0x00018a56)
 PSPermGen   total 437248K, used 431571K [0x00010500,
 0x00011fb0, 0x00013500)
 object space 437248K, 98% used
 [0x00010500,0x00011f574c70,0x00011fb0)

 Virtual Machine Arguments:
 JVM Args: -Xserver -Xms2048m -Xmx2048m -XX:+MaxFDLimit -XX:MaxPermSize=768m
 -XX:+UseParallelGC -Djava.awt.headless=true
 -Djava.endorsed.dirs=/Applications/Qilan 3/Tomcat_Qilan//common/endorsed
 -Dcatalina.base=/Applications/Qilan 3/Tomcat_Qilan/
 -Dcatalina.home=/Applications/Qilan 3/Tomcat_Qilan/
 -Djava.io.tmpdir=/Applications/Qilan 3/Tomcat_Qilan//temp
 Java Command: org.apache.catalina.startup.Bootstrap start
 Launcher Type: SUN_STANDARD
 Physical Memory: Page Size = 4k, Total = 2048M, Free = 1811M

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Java Crash

2009-01-23 Thread Stephen Caine

Jonathan,

that is almost certainly an Apple Java issue.  If by charting, you  
mean graphics, then even more so.  The Java2D api on Mac still has  
bugs that will crash.


I am sorry that I did not specify the charting jsp.  We are using the  
ones provided by CEWolf (based on JFreeChart).


Stephen Caine

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Java Crash

2009-01-23 Thread Caldarale, Charles R
 From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
 Subject: Re: Java Crash

 that is almost certainly an Apple Java issue.

Note also the excessive heap size vs installed RAM.  This is guaranteed to 
induce serious paging, and I don't know if the MAC OS is robust enough to deal 
with a lot of page thrashing.  Given that the webapp runs correctly for some 
time before the JVM crashes, I would certainly try reducing the heap size to 
eliminate paging mismanagement as the potential cause.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Java Crash

2009-01-23 Thread Ken Bowen
Just a datapoint:  I have a webapp which does basic graph construction  
using JFreeChart which has been running in development mode on a Mac  
OS X 10.5.6 under both Tomcat 5.5.26 and 6.0.18 for many months, and  
has never produced such a crash.


On Jan 23, 2009, at 1:56 PM, Stephen Caine wrote:


Jonathan,

that is almost certainly an Apple Java issue.  If by charting, you  
mean graphics, then even more so.  The Java2D api on Mac still has  
bugs that will crash.


I am sorry that I did not specify the charting jsp.  We are using  
the ones provided by CEWolf (based on JFreeChart).


Stephen Caine

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Java Crash

2009-01-23 Thread Stephen Caine

Ken,

This is very helpful.  It strongly suggests the issue is memory  
management, not JFreeChart.


Thanks,

Stephen

On Jan 23, 2009, at 2:28 PM, Ken Bowen wrote:

Just a datapoint:  I have a webapp which does basic graph  
construction using JFreeChart which has been running in development  
mode on a Mac OS X 10.5.6 under both Tomcat 5.5.26 and 6.0.18 for  
many months, and has never produced such a crash.


On Jan 23, 2009, at 1:56 PM, Stephen Caine wrote:


Jonathan,

that is almost certainly an Apple Java issue.  If by charting, you  
mean graphics, then even more so.  The Java2D api on Mac still has  
bugs that will crash.


I am sorry that I did not specify the charting jsp.  We are using  
the ones provided by CEWolf (based on JFreeChart).


Stephen Caine

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org