Re: Graphics (CEWOLF) using tomcat4.0.3

2003-03-07 Thread Carlos Olmos

If you use Jdk1.4 your suppose to be able to use -Djava.awt.headless=true and supress 
the need for Xvfb or X server.
I'm using tomcat 4.1.2 and jdk 1.4.0_03 and all i get is a HeadlessException.

Any one with better luck out there?

Carlos.


Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Graphics (CEWOLF) using tomcat4.0.3

2003-02-05 Thread Rasputin
* Ralph Einfeldt [EMAIL PROTECTED] [0213 14:13]:
 We use the xvfb to achieve that goal. (It's
 typically part of the linux distribution)

nitpick 
Works over here on BSD too, so I guess it's an XFree86 (4?) thing
/nitpick

 The only thing we have to change in the tomcat 
 installation is to set an env var DISPLAY that
 points to te virtual frame buffer.

-- 
Rasputin :: Jack of All Trades - Master of Nuns

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Graphics (CEWOLF) using tomcat4.0.3

2003-02-04 Thread Oliver Meyn
Not sure if it's relevant to you, but if you move to JDK1.4.1 you can run
headless, which means the JFreeChart libraries won't try to call the X11
libraries for drawing (which seems to be what you're trying to get around
with the PJA).  It's a very annoying problem you're trying to solve - good
luck.

Oliver

 -Original Message-
 From: Iain Downie [mailto:[EMAIL PROTECTED]]
 Sent: February 4, 2003 06:16
 To: Tomcat Users List
 Subject: Graphics (CEWOLF) using tomcat4.0.3


 Deat List,

 I'm trying to get charts embedded into my web applications using Tomcat
 4.0.3 and JDK1.3.1. The graphing and servlet software is CEWOLF
 (incorporating JFreeChart). I have no bother getting the charts to show on
 Windows, but I face a problem rendering the images on Linux,
 which is what I
 really want. I understand what the problems are, and need to install the
 Pure Java AWT libraries.

 However, I'm having a helluva time working out how to set Tomcat
 up so that
 no matter what web application I run on Tomcat, these libraries will be
 available.

 Has anyone else ever used the PJA Toolkit (http://www.eteks.com/pja/en)?
 Would really appreciate some help configuring.

 Iain


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Graphics (CEWOLF) using tomcat4.0.3

2003-02-04 Thread Iain Downie

 Not sure if it's relevant to you, but if you move to JDK1.4.1 you can run
 headless, which means the JFreeChart libraries won't try to call the X11
 libraries for drawing (which seems to be what you're trying to get around
 with the PJA).  It's a very annoying problem you're trying to solve - good
 luck.


Thanks Oliver

I run tomcat4.0.3 on a linux development server on-site, so I know I could
migrate to jdk1.4.1 and everything would work quite easily. However, our
live server runs Oracle App Server, and upgrading that (for either PJA or
JDK1.4.1) is a bit of a black box, so I'm trying to work out the best
solution. Knowing how to install PJA in the first place would be a help in
making decisions. I may just have to grin and investigate upgrading the jdk
on both servers.

Cheers
Iain


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Graphics (CEWOLF) using tomcat4.0.3

2003-02-04 Thread Ralph Einfeldt
We use the xvfb to achieve that goal. (It's
typically part of the linux distribution)

With that it works quite transparently without 
any additional toolkit.

The only thing we have to change in the tomcat 
installation is to set an env var DISPLAY that
points to te virtual frame buffer.

 -Original Message-
 From: Iain Downie [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 04, 2003 12:16 PM
 To: Tomcat Users List
 Subject: Graphics (CEWOLF) using tomcat4.0.3
 
 
 I face a problem rendering the images on Linux, 
 which is what I really want. I understand what the 
 problems are, and need to install the
 Pure Java AWT libraries.
 
 Has anyone else ever used the PJA Toolkit 
 (http://www.eteks.com/pja/en)?
 Would really appreciate some help configuring.
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Graphics (CEWOLF) using tomcat4.0.3

2003-02-04 Thread Iain Downie

 We use the xvfb to achieve that goal. (It's
 typically part of the linux distribution)

Yeh, I have read about this, but I did a 'find' for Xvfb on our RedHat 7.2
installation, and it didn't appear as an executable. As usual (being a bit
of a Linux grunt) I could find no obvious documentation on the system to
re-install or get it running. This would have been my favoured choice as it
means not changing anything to do with Tomcat or Oracle App Server, however
my ignorance made me look at alternativeshence the toolkit.

Iain


 With that it works quite transparently without
 any additional toolkit.

 The only thing we have to change in the tomcat
 installation is to set an env var DISPLAY that
 points to te virtual frame buffer.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Graphics (CEWOLF) using tomcat4.0.3

2003-02-04 Thread Oliver Meyn
Umm...

http://www.rpmfind.net/linux/rpm2html/search.php?query=xvfbsubmit=Search+..
.system=redhat-7.2arch=

Finding and using rpmfind made all the difference for me on the road to
linux happiness :)

Cheers,
Oliver
ps sorry for wrap...

 -Original Message-
 From: Iain Downie [mailto:[EMAIL PROTECTED]]
 Sent: February 4, 2003 10:13
 To: Tomcat Users List
 Subject: Re: Graphics (CEWOLF) using tomcat4.0.3



  We use the xvfb to achieve that goal. (It's
  typically part of the linux distribution)

 Yeh, I have read about this, but I did a 'find' for Xvfb on our RedHat 7.2
 installation, and it didn't appear as an executable. As usual (being a bit
 of a Linux grunt) I could find no obvious documentation on the system to
 re-install or get it running. This would have been my favoured
 choice as it
 means not changing anything to do with Tomcat or Oracle App
 Server, however
 my ignorance made me look at alternativeshence the toolkit.

 Iain


  With that it works quite transparently without
  any additional toolkit.
 
  The only thing we have to change in the tomcat
  installation is to set an env var DISPLAY that
  points to te virtual frame buffer.



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Graphics (CEWOLF) using tomcat4.0.3

2003-02-04 Thread Mark Eggers
Iain, a quick question . . . .

Are you running an X Server on your Linux machine?  If
not, you'll either need to upgrade to jdk 1.4.x or run
a virtual frame buffer in order to use graphics.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]