ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  not able to install jsp chart director
Posted by aayush on Aug-17-2009 14:47
Hi,

I have downloaded java/jsp chartdirector code which is a war file.
I put that war file inside my webapps. After that I got only the index page.
In the index.html 3 links are there one of them is "check chartdirector jsp installation.
While  clicking that link I am not able to get that page rather getting some error like the following in tomcat log:

An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00ad4639, pid=3348, tid=2822212496
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# C  [libX11.so.6+0x25639]  XFindOnExtensionList+0x9
#
# An error report file with more information is saved as hs_err_pid3348.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted

Can you help me out how to see all examples and how to use this product.

Thanks and Regards,
Aayush

  Re: not able to install jsp chart director
Posted by Peter Kwan on Aug-18-2009 02:21
Hi aayush,

In your case, I think the error is caused by a bug in your Java VM or Linux X-Windows. (The error message you attached actually asks you to forward the error message to SUN - http://java.sun.com/webapps/bugreport/crash.jsp.)

It is a common issue that if you are using Linux or FreeBSD, the Java VM may crash when it tries to access any GUI functions. It is because unlike Windows or Mac OS X, the Linux and FreeBSD does not have a standard GUI. The Java VM may attempt to search for the X-Windows service in your Linux for the GUI service, and because every Linux uses a different X-Windows and compiles X-Windows differently, it may cause the Java VM to crash.

Because ChartDirector needs to use the Java GUI functions to access the Java fonts, it triggers the issue and causes the Java VM to crash.

To solve the problem, you may:

(a) Make sure your Java VM was installed using the root account

(b) Try to start your Tomcat using the root account (just to make sure the error is not security related)

(c) Try to use the latest version of the Java VM.

(d) Try to configure your Java VM not to use the X-Windows serivce of your Linux/FreeBSD. For the SUN Java VM, you may add the flag "-Djava.awt.headless=true" to the command line that starts up the Java VM. See "Headless Support" in the Java documentation:

http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless

Hope this can help.

Regards
Peter Kwan