> I did get the PJA working once. I set exactly the same >parameters but I set them in my tomcat startup script: Thanks, I will give that a whirl. Have since tried Xvfb and despite the fact that it runs fine I still get the cannot connect to display errors.... Paul