Run the servlet demo on Solaris 8

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Michelle

Run the servlet demo on Solaris 8

Post by Michelle » Fri Sep 27, 2002 10:05 pm

Thanks everyone, I finally got the demo running successfully. I'd like to share my experience:

As I failed to run the Xvfb, I installed VNC

1. download VNC from http://vega.lpl.arizona.edu/vnc_docs/download.html,
select Solaris 2.5 (SPARC) and download. It works fine with my Solaris 8.

You will get a file called vnc-3.3.3r2_sun4_sosV_5.5.tgz

# gunzip vnc-3.3.3r2_sun4_sosV_5.5.tgz

you will get vnc-3.3.3r2_sun4_sosV_5.5.tar in the same directory.

# tar xvf vnc-3.3.3r2_sun4_sosV_5.5.tar

this will create a directory called vnc-3.3.3r2_sun4_sosV_5.5

2. go to this directory and run:

# vncserver :2

I first got an error message : "could not find Xauth in your path", I found there is a Xauth under "/usr/X/bin" or "/usr/openwin/bin", I added to the PATH by using serenv.

Than I run the vncserver and get an error message saying "could not find Xvnc in your path". I added ./ to my PATH and run the vncserver. This time it runs well and gives the following message:

Creating default startup script //.vnc/xstartup
Starting applications specified in //.vnc/xstartup
Log file is //.vnc/cpdrhq:2.log

3. Than I changed the DISPLAY variable by doing:

# setenv DISPLAY :2.0
(remember I used "vncserver :2" to start the vnc server)

I shutdown TOMCAT and restart it.

This time I can see the chart.

Hope this will help you.

David Gilbert

Re: Run the servlet demo on Solaris 8

Post by David Gilbert » Mon Sep 30, 2002 9:43 am

Hi Michelle,

Thanks for posting this feedback, it's appreciated.

Regards,

DG.

Locked