From owner-freebsd-java@FreeBSD.ORG Thu Oct 23 11:54:39 2003 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 F0BF716A4BF for ; Thu, 23 Oct 2003 11:54:39 -0700 (PDT) Received: from hotmail.com (law10-f85.law10.hotmail.com [64.4.15.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AFB243FCB for ; Thu, 23 Oct 2003 11:54:38 -0700 (PDT) (envelope-from segr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 23 Oct 2003 11:54:38 -0700 Received: from 142.59.20.123 by lw10fd.law10.hotmail.msn.com with HTTP; Thu, 23 Oct 2003 18:54:38 GMT X-Originating-IP: [142.59.20.123] X-Originating-Email: [segr@hotmail.com] From: "Stephane Raimbault" To: java@freebsd.org Date: Thu, 23 Oct 2003 12:54:38 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Oct 2003 18:54:38.0414 (UTC) FILETIME=[1BED16E0:01C39997] Subject: tomcat5 + linux-sun-jdk1.4.2 on FreeBSD 4.8 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: Thu, 23 Oct 2003 18:54:40 -0000 Hi, I've recently built a box running FreeBSD 4.8 and installed linux-sun-jdk1.4.2 and tomcat 5 (both from the ports). It seems that java is running fine as far as I can tell # /usr/local/linux-sun-jdk1.4.2/bin/java -version java version "1.4.2_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06) Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode) # However when I try to start tomcat the stdout.log file only fills with the following information: # cat /usr/local/jakarta-tomcat5.0/logs/stdout.log Oct 23, 2003 12:40:57 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8180 Oct 23, 2003 12:40:58 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2359 ms Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.12 Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) Oct 23, 2003 12:40:58 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/manager.xml Oct 23, 2003 12:40:59 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/admin.xml # I have succesfully installed both linux-sun-jdk1.4.2 + tomcat 5 on a FreeBSD 5.1 box and the stdout.log file seems to indicate a succesfull start and tomcat 5 works on this box. # cat /usr/local/jakarta-tomcat5.0/logs/stdout.log Oct 23, 2003 12:43:16 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8180 Oct 23, 2003 12:43:16 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 3236 ms Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.12 Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) Oct 23, 2003 12:43:16 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/manager.xml Oct 23, 2003 12:43:20 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/admin.xml Oct 23, 2003 12:43:21 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Oct 23, 2003 12:43:21 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true Oct 23, 2003 12:43:22 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true Oct 23, 2003 12:43:25 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /tomcat-docs from URL file:/usr/local/jakarta-tomcat5.0/webapps/tomcat-docs Oct 23, 2003 12:43:25 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /jsp-examples from URL file:/usr/local/jakarta-tomcat5.0/webapps/jsp-examples Oct 23, 2003 12:43:26 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path from URL file:/usr/local/jakarta-tomcat5.0/webapps/ROOT Oct 23, 2003 12:43:26 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /servlets-examples from URL file:/usr/local/jakarta-tomcat5.0/webapps/servlets-examples Oct 23, 2003 12:43:27 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8180 Oct 23, 2003 12:43:27 PM org.apache.jk.common.ChannelSocket init INFO: Port busy 8009 java.net.BindException: Address already in use Oct 23, 2003 12:43:27 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8010 Oct 23, 2003 12:43:27 PM org.apache.jk.server.JkMain start INFO: Jk running ID=1 time=17/26 config=/usr/local/jakarta-tomcat5.0/conf/jk2.properties Oct 23, 2003 12:43:27 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 11224 ms # Is this a problem with FreeBSD 4.8, and any suggestions on how I can resolve this? What other information could I provide? Thank you. Stephane _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail