From owner-freebsd-questions@FreeBSD.ORG Sun Jul 17 06:38:52 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B453516A41C for ; Sun, 17 Jul 2005 06:38:52 +0000 (GMT) (envelope-from flowctrl@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 553ED43D45 for ; Sun, 17 Jul 2005 06:38:52 +0000 (GMT) (envelope-from flowctrl@gmail.com) Received: by wproxy.gmail.com with SMTP id i20so862686wra for ; Sat, 16 Jul 2005 23:38:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Uf8qNPEI2uAvI6/3j8q9OBl1LGdD7mjDHcTZM+bpl1aeQ3dmhX4mJS5g1unLaUQPq6b6pNzOQ5w86jCFf3Nq3n7FT0Ox8OnKoSi9ji4yXVJzaqaBS4Xf0L4+rZA/Oz1f9fZnTJic0kPdlUnwSdMsW2qjDHRxQ94papxryoq50m0= Received: by 10.54.36.59 with SMTP id j59mr28820wrj; Sat, 16 Jul 2005 23:38:51 -0700 (PDT) Received: by 10.54.96.8 with HTTP; Sat, 16 Jul 2005 23:38:51 -0700 (PDT) Message-ID: <4ff8ff4a050716233835147faa@mail.gmail.com> Date: Sun, 17 Jul 2005 00:38:51 -0600 From: flowctrl To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: java in a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: flowctrl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 06:38:52 -0000 Hi, I'm trying to setup OpenXchange in a FreeBSD 5.4 jail environment, and I'm stuck. At its core, OpenXchange is 3 java programs, and this one fails to start: /usr/local/bin/java -server -ms20M -mx280M -Djava.awt.headless=3Dtrue -Dopenexchange.propfile=3D$OX/etc/groupware/system.properties -DappName=3DsessiondApp -Djava.library.path=3D$OX/lib -classpath $CLASSPATH com.openexchange.sessiond.oxsessiond -P It produces these errors in its log file: Jul 17 04:27:00 localhost openexchange: oxsessiond init (localhost:33333) Jul 17 04:27:00 localhost openexchange: INTERNAL TLS Support: OFF Jul 17 04:27:00 localhost openexchange: oxsessiond init: java.net.UnknownHostException: localhost: localhost Inside the jail, 127.0.0.1 doesn't really exist, according to ifconfig: lo0: flags=3D8049 mtu 16384 I have the standard line in /etc/hosts: 127.0.0.1 localhost localhost.my.domain I'm guessing that the "UnknownHostException: localhost" bit indicates a problem with the hostname "localhost" not working as expected. What can I do to make localhost more "normal" inside the jail? Thanks!