Problem with Servlet and Graphics

2002-06-04 Thread Desarrollo e Investigación


I've been worked with Servlet and i tried to generate a JPG image but
Tomcat Displays this error:

java.lang.InternalError: Can't connect to X11 window server using ':0' as the
value of the DISPLAY variable. at
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126)

I use the Tomcat 4.0.4-b3, Java 1.4.0, Linux Red Hat 7.2



DesInv (Desarrollo e Investigación, Catenaria)




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




Re: Problem with java.lang.OutOfMemoryError

2002-04-25 Thread Desarrollo e Investigación

Well, the server goes down twice a week. We are working just with servlets and in
the web server are connected 150 users, approximate (my english is not so good,
sorry).

Thanks.

Adolfo.


On 26 Apr 2002 at 8:50, Bojan Smojver wrote:

 Have you tried giving your JVM a bit more memory? Does that keep it stay
 alive for a little while longer or it makes no difference? The
 'sometimes goes down' happens once a day, once a week or once a month?

 Bojan

 On Fri, 2002-04-26 at 06:23, Desarrollo e Investigación wrote:
 
  Hello. I use Apache Tomcat/4.0.2 in Linux Red Hat 7.1 and sometimes go
  down with the message:
  
  HTTP Status 500
  Internal Server Error
  ...
  root cause
  java.lang.OutOfMemoryError
  
  I don't know the cause..
 
  --
  To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



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



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