Re: Tomcat j2sdk and image
Hi, I find my problem. If I put these lines in my startup.sh of Tomcat DISPLAY=localhost:0.0 export DISPLAY The generation of GIF image works. If I put these lines in my startup.sh of Tomcat DISPLAY=AnOtherServer:0.0 export DISPLAY where AnOtherServer is a different server on Sun Solaris, where I excecute this command "/usr/openwin/bin/xhost +" The generation of GIF image works but it take a long time. If I add -Djava.awt.headless=true to JVM option, like that CATALINA_OPTS="-Xms128m -Xmx512m -Xss2m -Djava.awt.headless=true" export CATALINA_OPTS the generation of GIF image doesn't work. But in production, my server doesn't have a console, so I have to use "export DISPLAY" or there is an other methode to solve my problem or to generate image ? Thanks for your help. [EMAIL PROTECTED] a écrit : Yes I have a graphics environnement. I put these command lines in startup.sh DISPLAY=10.10.10.1:0.0 export DISPLAY The generation of GIF image works but it make a long time on Solaris 8. Trond G. Ziarkowski a écrit : Hi, do you have a graphics environment when running under Solaris? If not then that would be my guess to a reason why it's not working, since you have a graphics environment when running under W2K. Try adding -Djava.awt.headless=true to your commandline when starting tomcat. If this doesn't do the trick, you need the graphics environment to generate your images. Trond [EMAIL PROTECTED] wrote: Hi, The program java use : java.awt.Frame; java.awt.Graphics; java.awt.Image; and Acme.JPM.encoders.GifEncoders who encode image in Gif. N.B. : the application works fine on W2K with Tomcat-4.0.4 using jdk-1.3.1, and Tomcat-4.1.30 and Tomcat-5.0.28 with jdk-1.4.2 Dale, Matt a écrit : I'd be surprised if anyone could with the scant information you have provided. You haven't even mentioned the image library that you are using. I would suggest that you get a profiler or debugger in order to work out what your code is doing at the time that it is generating the image and which methods are taking all the time. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 16:33 To: tomcat-user@jakarta.apache.org Subject: Tomcat j2sdk and image Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat j2sdk and image
Yes I have a graphics environnement. I put these command lines in startup.sh DISPLAY=10.10.10.1:0.0 export DISPLAY The generation of GIF image works but it make a long time on Solaris 8. Trond G. Ziarkowski a écrit : Hi, do you have a graphics environment when running under Solaris? If not then that would be my guess to a reason why it's not working, since you have a graphics environment when running under W2K. Try adding -Djava.awt.headless=true to your commandline when starting tomcat. If this doesn't do the trick, you need the graphics environment to generate your images. Trond [EMAIL PROTECTED] wrote: Hi, The program java use : java.awt.Frame; java.awt.Graphics; java.awt.Image; and Acme.JPM.encoders.GifEncoders who encode image in Gif. N.B. : the application works fine on W2K with Tomcat-4.0.4 using jdk-1.3.1, and Tomcat-4.1.30 and Tomcat-5.0.28 with jdk-1.4.2 Dale, Matt a écrit : I'd be surprised if anyone could with the scant information you have provided. You haven't even mentioned the image library that you are using. I would suggest that you get a profiler or debugger in order to work out what your code is doing at the time that it is generating the image and which methods are taking all the time. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 16:33 To: tomcat-user@jakarta.apache.org Subject: Tomcat j2sdk and image Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat j2sdk and image
Hi, do you have a graphics environment when running under Solaris? If not then that would be my guess to a reason why it's not working, since you have a graphics environment when running under W2K. Try adding -Djava.awt.headless=true to your commandline when starting tomcat. If this doesn't do the trick, you need the graphics environment to generate your images. Trond [EMAIL PROTECTED] wrote: Hi, The program java use : java.awt.Frame; java.awt.Graphics; java.awt.Image; and Acme.JPM.encoders.GifEncoders who encode image in Gif. N.B. : the application works fine on W2K with Tomcat-4.0.4 using jdk-1.3.1, and Tomcat-4.1.30 and Tomcat-5.0.28 with jdk-1.4.2 Dale, Matt a écrit : I'd be surprised if anyone could with the scant information you have provided. You haven't even mentioned the image library that you are using. I would suggest that you get a profiler or debugger in order to work out what your code is doing at the time that it is generating the image and which methods are taking all the time. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 16:33 To: tomcat-user@jakarta.apache.org Subject: Tomcat j2sdk and image Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - 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] - 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: Tomcat j2sdk and image
You have reached Judge Dean M. Trafelet without authority. Remove me from you email address. DMT - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, May 02, 2005 12:09 PM Subject: Re: Tomcat j2sdk and image Hi, The program java use : java.awt.Frame; java.awt.Graphics; java.awt.Image; and Acme.JPM.encoders.GifEncoders who encode image in Gif. N.B. : the application works fine on W2K with Tomcat-4.0.4 using jdk-1.3.1, and Tomcat-4.1.30 and Tomcat-5.0.28 with jdk-1.4.2 Dale, Matt a écrit : I'd be surprised if anyone could with the scant information you have provided. You haven't even mentioned the image library that you are using. I would suggest that you get a profiler or debugger in order to work out what your code is doing at the time that it is generating the image and which methods are taking all the time. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 16:33 To: tomcat-user@jakarta.apache.org Subject: Tomcat j2sdk and image Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - 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] - 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: Tomcat j2sdk and image
Hi, The program java use : java.awt.Frame; java.awt.Graphics; java.awt.Image; and Acme.JPM.encoders.GifEncoders who encode image in Gif. N.B. : the application works fine on W2K with Tomcat-4.0.4 using jdk-1.3.1, and Tomcat-4.1.30 and Tomcat-5.0.28 with jdk-1.4.2 Dale, Matt a écrit : I'd be surprised if anyone could with the scant information you have provided. You haven't even mentioned the image library that you are using. I would suggest that you get a profiler or debugger in order to work out what your code is doing at the time that it is generating the image and which methods are taking all the time. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 16:33 To: tomcat-user@jakarta.apache.org Subject: Tomcat j2sdk and image Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat j2sdk and image
This is Judge Dean M. Trafelet. Your emails are incorrectly and improperly being sent to my email address. Remove and correct immediately. DMT - Original Message - From: "Dale, Matt" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, May 02, 2005 10:57 AM Subject: RE: Tomcat j2sdk and image I'd be surprised if anyone could with the scant information you have provided. You haven't even mentioned the image library that you are using. I would suggest that you get a profiler or debugger in order to work out what your code is doing at the time that it is generating the image and which methods are taking all the time. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 16:33 To: tomcat-user@jakarta.apache.org Subject: Tomcat j2sdk and image Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat j2sdk and image
Dear Sir or Madam: I am Judge Dean M. Trafelet. Your emails are improperly being sent to my email address. Please remove me from you list immediately. DMT - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, May 02, 2005 10:33 AM Subject: Tomcat j2sdk and image Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - 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: Tomcat j2sdk and image
I'd be surprised if anyone could with the scant information you have provided. You haven't even mentioned the image library that you are using. I would suggest that you get a profiler or debugger in order to work out what your code is doing at the time that it is generating the image and which methods are taking all the time. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 May 2005 16:33 To: tomcat-user@jakarta.apache.org Subject: Tomcat j2sdk and image Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - 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]
Tomcat j2sdk and image
Hi, I have a java application who generate image. On Sun Solaris 8, It works fine with Tomcat-4.0.4 and jdk-1.3.1 It was the same with Tomcat-4.1.18 and jdk-1.4.1 But when I use Tomcat-4.1.30 with jdk-1.4.2 or Tomcat-5.0.28 with jdk-1.4.1 or jdk-1.4.2, the image make a long time to be generating. What is the problem ? Can somebody help me ? AL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]