Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 83911 invoked from network); 20 Jul 2003 04:40:46 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 20 Jul 2003 04:40:46 -0000 Received: (qmail 5600 invoked by uid 97); 20 Jul 2003 04:43:25 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 5593 invoked from network); 20 Jul 2003 04:43:25 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 20 Jul 2003 04:43:25 -0000 Received: (qmail 82344 invoked by uid 500); 20 Jul 2003 04:40:31 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 82330 invoked from network); 20 Jul 2003 04:40:31 -0000 Received: from adsl-64-164-152-60.dsl.snfc21.pacbell.net (HELO coda.codaware.com) (64.164.152.60) by daedalus.apache.org with SMTP; 20 Jul 2003 04:40:31 -0000 Received: from codaware.com (cello.codaware.com [192.168.1.192]) by coda.codaware.com (8.12.6/8.12.6) with ESMTP id h6K4efPN003503 for ; Sat, 19 Jul 2003 21:40:41 -0700 (PDT) Message-ID: <3F19BADA.9060709@codaware.com> Date: Sat, 19 Jul 2003 21:40:42 +0000 From: Greg Zoller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Jasper, Java, and X11 Dependencies Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I'm having a problem where I log into a server w/telnet, and run JBoss (w/embedded tomcat). The server fails in jasper with X11 auth problem. I have a workaround: use ssh -X to handle X. If I use ssh -X instead of telnet, everything works fine. But because I can't explain why there is any X11 dependency for our server-side app, my boss deems this fix a "hack", and requires me to find a "real solution". The error is: Can't connect to X11 window server ... Why is there any X11 dependency on a server-side app? We have no servlets or anything like that. We are using apache struts. Precisely: My login page comes up (a JSP page) This page forwards to my first app page, which causes the X11 error. Figuring maybe something on this page was too complex (graphical, or whatever), I replaced it with another JSP page containing "Hello world" and nothing else. No dice... same X11 problem. I've tried building a new Linux server w/o any X11 installed on the box at all. This time I get even stranger errors: 00:12:49,053 ERROR [Engine] ApplicationDispatcher[/codatest] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /opt/java/jre/lib/i386/libfontmanager.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) [clip] When I created a symlink to fix this I got my old X11 error back again! It seems something is still trying to use graphics. Is there a way to handle this situation or is using ssh -X my only option? Any explanation of this situation would be most appreciated. Thanks! Greg --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org