From owner-freebsd-java@FreeBSD.ORG Fri Nov 11 21:44:46 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 7BF8216A41F for ; Fri, 11 Nov 2005 21:44:46 +0000 (GMT) (envelope-from rschi@rsmba.biz) Received: from admin.cablespeed.com (admin.cablespeed.com [216.15.205.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3548A43D58 for ; Fri, 11 Nov 2005 21:44:40 +0000 (GMT) (envelope-from rschi@rsmba.biz) Received: from [66.235.9.146] (account schilling@cablespeed.com HELO [192.168.2.2]) by admin.cablespeed.com (CommuniGate Pro SMTP 4.2.10) with ESMTP id 60794824 for freebsd-java@freebsd.org; Fri, 11 Nov 2005 15:44:40 -0600 Message-ID: <43751187.2070005@rsmba.biz> Date: Fri, 11 Nov 2005 13:47:51 -0800 From: Richard Schilling Organization: Richard Schilling, MBA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050318 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: BindAddress error with jdk1.5 and Tomcat and Resin X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 21:44:46 -0000 I'm trying to get tomcat running. I think it's a JDK problem. I made absoutely sure that Tomcat isn't running, the ports aren't being used, and there are no instances of a JVM running anywhere on the box. I get the same BindAddress error no matter what version of Tomcat I use. Resin report the same error as well. uname output: FreeBSD newbox.cognitiongroup.biz 6.0-STABLE FreeBSD 6.0-STABLE #3: Fri Nov 4 23:36:56 PST 2005 rschilling@elmer.cognitiongroup.biz:/usr/obj/usr/src/sys/PRODUCTION amd64 java -version output: java version "1.5.0-p1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-p1-rschilling_06_nov_2005_19_59) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-p1-rschilling_06_nov_2005_19_59, mixed mode) here's the error log from Tomcat: Nov 11, 2005 11:49:24 AM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: create[8005]: java.net.BindException: Can't assign requested address at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.(ServerSocket.java:185) at org.apache.catalina.core.StandardServer.await(StandardServer.java:346) at org.apache.catalina.startup.Catalina.await(Catalina.java:600) at org.apache.catalina.startup.Catalina.start(Catalina.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)