Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 14:34:41 -0500
From:      Brad Cox <bcox@virtualschool.edu>
To:        java@FreeBSD.ORG
Cc:        Brad Cox <bcox@virtualschool.edu>
Subject:   Java crashes on FreeBSD?
Message-ID:  <222D2DAF-E500-11D5-97CC-0005022D9F0A@virtualschool.edu>
In-Reply-To: <200111291903.fATJ3Hk17443@hyde.ssec.wisc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?222D2DAF-E500-11D5-97CC-0005022D9F0A>