tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna Kishore Thotakura <>
Subject servlet error..
Date Tue, 29 May 2001 23:04:54 GMT
 i am trying to write an image to the outputstream of a servlet. The image is
actually obtained from an invisible awt Canvas. 
I'm using Jimi package to encode the Image into JPEG format and writing this
out to the ServletOutputStream. Sometimes this works fine and i see a nice
image in the browser but at times, i get the following error:
----in tomcat.log----
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

----in browser ---
Error: 500
Location: /wms/servlet/WmsServlet
Internal Servlet Error:

	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(
	at java.awt.Toolkit$
	at Method)
	at java.awt.Toolkit.getDefaultToolkit(
	at java.awt.Component.getToolkitImpl(
	at java.awt.Component.getToolkit(
	at java.awt.Component.createImage(
	at stt.View.ViewJava3D.initMem(
	at stt.View.ViewJava3D.(
	at stt.Display.DisplayManager.initView(
	at stt.Display.DisplayManager.(
	at sttx.Display.GeoDisplayManager.(
	at WmsServlet.init(

Any comments,suggestions,explanations would be greatly appreciated.

View raw message