tomcat 4.0.1 X Connection

2002-10-08 Thread perumal90

Hi

I an having tomcat 4.0.1 running in Redhat 7.2 with apache 1.3.22(Mod_JK) and AS400 as 
database(DB2 400) server. The static pages are served by apache properly, but when it 
comes to servlets and database connection i am getting the following error:
X connection to BPLA_TEST:10.0 broken (explicit kill or server shutdown).

and the tomcat is shutting down automatically. Pls. help me  in this regards.

Thanks  Regards
Perumal.

__
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

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




RE: tomcat 4.0.1 X Connection

2002-10-08 Thread Sexton, George

It sounds like you are trying to invoke AWT or Swing calls, and tomcat was
started via SSH session.

You need to export a valid X11 DISPLAY= variable, or use JDK 1.4.0 or higher
and specify -Djava.awt.headless=true in your startup options for Tomcat.

George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
http://www.mhsoftware.com/connectdaily.htm
Voice: 303 438 9585


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 08 October, 2002 7:18 AM
To: [EMAIL PROTECTED]
Subject: tomcat 4.0.1 X Connection


Hi

I an having tomcat 4.0.1 running in Redhat 7.2 with apache 1.3.22(Mod_JK)
and AS400 as database(DB2 400) server. The static pages are served by apache
properly, but when it comes to servlets and database connection i am getting
the following error:
X connection to BPLA_TEST:10.0 broken (explicit kill or server shutdown).

and the tomcat is shutting down automatically. Pls. help me  in this
regards.

Thanks  Regards
Perumal.

__
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/

--
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]