From owner-freebsd-java@FreeBSD.ORG Wed Jul 14 11:07:40 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BDA416A4CE for ; Wed, 14 Jul 2004 11:07:40 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11A0043D49 for ; Wed, 14 Jul 2004 11:07:40 +0000 (GMT) (envelope-from dlsnyder2@comcast.net) Received: from [192.168.0.3] (pcp09414937pcs.aubrnh01.mi.comcast.net[68.60.56.5]) by comcast.net (rwcrmhc12) with SMTP id <20040714110739014003b7hie> (Authid: dlsnyder2); Wed, 14 Jul 2004 11:07:39 +0000 Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: <02BAE53D-D586-11D8-8D2F-000A95A8519A@comcast.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-java@freebsd.org From: David Snyder Date: Wed, 14 Jul 2004 07:07:35 -0400 X-Mailer: Apple Mail (2.618) Subject: linux-jdk13 and jakarta-tomcat41 - installation issues X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 11:07:40 -0000 INSTALLATION I am using FreeBSD 5.2.1 with a fresh "minimal" install and a fresh ports update. I installed and enabled Linux Binary Compatibility. Then I downloaded and installed the latest jdk1.3.1_12-linux-i586.bin from Sun. This worked fine. Its installed under /usr/local/jdk1.3.1. Next I installed jakarta-tomcat41 from ports under /usr/local/jakarta-tomcat4.1. VARIABLES I added the following variables to /.cshrc JAVA_HOME /usr/local/jdk1.3.1 CATALINA_HOME /usr/local/jakarta-tomcat4.1 RUNNING I logged out and restarted the machine. The screen said that tomcat41ctl started correctly on boot. So I opened up my web browser (Links 0.9* from ports) and went to http://localhost:8080 and I the browser told me that the host refused connection. So I tried to access tomcat from my laptop using Mozilla Firefox at http://192.168.0.2:8080 .... same result ( I have no firewall on the server ). So I manually stopped tomcat and restarted using /usr/local/bin/tomcat41ctl stop/start .... same result.... then tried with /usr/local/jakarta-tomcat41/bin/startup.sh & shutdown.sh only to achieve the same result. LOG Under /var/run/tomcat41.pid or /var/run/tomcat41ctl (i'm not completely sure what it was called... I'm at work right now) I think I remember it only saying "464" in the log file. So... how did I mess this all up? And how can I correct this issue. Thanks -Dave ***************** My brain?! That's my second favorite organ! ~ Woody Allen