Paul,

I did get the PJA working once.  I set exactly the same parameters but I set them in 
my tomcat startup script:

export TOMCAT_OPTS='-XbootXbootclasspath/a:/usr/local/tomcat/lib/pja.jar -Dawt. ... 
etc'

The only other thing to check is that pja.jar and pjatools.jar are in 
/usr/local/tomcat/lib

Sorry I can't be of more help but it was working fine for me ;)


----- Original Message ----- 
From: "Paul Downs" <[EMAIL PROTECTED]>
To: "tomcat" <[EMAIL PROTECTED]>
Sent: Thursday, September 27, 2001 2:24 AM
Subject: PJA and Tomcat 3.2.3


> Hi,
>   Well the subject says it all.  Has anyone got the above to work?  I have 
> to confess I have never got it to work in any way shape or form.  These are 
> the current entries in tomcat.properties.
> 
> wrapper.bin.parameters=-Xbootclasspath/a:/usr/local/tomcat/lib/pja.jar
> wrapper.bin.parameters=-Dawt.toolkit=com.eteks.awt.PJAToolkit
> wrapper.bin.parameters=-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsE
> nvironment
> wrapper.bin.parameters=-Djava2d.font.usePlatformFont=false
> 
>   However they just seem to get completely ignored, with the test returning 
> an error message as though it isn't even looking:
> 
>   Default Toolkit or Font class couldn't be instantiated.
> java.lang.InternalError: Can't connect to X11 window server using ':0.0' as 
> the value of the DISPLAY variable.
> at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
> 
>   Any help, or simply a "Go away just install X and Xvfb" appreciated! :-)
> 
> Paul
> 

Reply via email to