From owner-freebsd-java Thu Nov 29 11:35:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 208DB37B41C for ; Thu, 29 Nov 2001 11:34:58 -0800 (PST) Received: from dialup-209.244.213.115.dial1.washington2.level3.net ([209.244.213.115] helo=g3mac.virtualschool.edu) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 169WxU-0003Fd-00; Thu, 29 Nov 2001 11:34:56 -0800 Date: Thu, 29 Nov 2001 14:34:41 -0500 Subject: Java crashes on FreeBSD? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v475) Cc: Brad Cox To: java@FreeBSD.ORG From: Brad Cox In-Reply-To: <200111291903.fATJ3Hk17443@hyde.ssec.wisc.edu> Message-Id: <222D2DAF-E500-11D5-97CC-0005022D9F0A@virtualschool.edu> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.475) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've just joined this list. Sorry if this has been covered already. If so please provide explicit pointers. I've read the java pages at freebsd.org which didn't hold out much hope. I've two web-based applications (http://virtualschool.edu/mybank and http://virtualschool.edu/jwaa), based on Jetty, that are deployed on a FreeBSD server colocated with HostPro. This is their "Freedom 400" account that provides root access to a "virtual" FreeBSD machine whatever that means. Problem is, the application are disappearing off the net every couple of days leaving no diagnostics to go by in the log files. ps ax shows that the whole VM disappears, not just jetty or the two applications. If a core file exists, I've not managed to find it. My development server is Redhat Linux 7.0. I'd been using the IBM JDK for development and the Linux 1.2.2 FreeBSD port for deployment until I recently found incompatibilities due to this difference. So I started using the same JDK on both systems (1.2.2), which fixed that problem, leaving me with the one described above. I've considered downgrading both servers to JDK1.1.8 hoping that might be more stable, but a quick test of that failed. May dig into that further if this posting doesn't help. Space is very tight there so installing/testing new infrastructure is hard. I've tried upgrading FreeBSD to the latest IBM JDK but there's not enough space to download and compile the source distributions. I'd really appreciate some thoughtful advice from someone familiar with FreeBSD. At this point the only other option I can think of is to change hosting providers to one that supports Linux. In particular: 1) Is the Linux 1.2.2 port thought to be stable on FreeBSD? 2) Is reverting to JDK 1.1.8 likely to improve matters? 3) Is upgrading to IBM 1.3.x likely to improve matters if I can overcome the space problem somehow? 4) Does someone have a cron script handy that could restart jetty as a workaround? 5) Am on the wrong track altogether? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message