Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 07:20:32 -0800 (PST)
From:      Brian Lloyd-Newberry <newbeb@yahoo.com>
To:        Brad Cox <bcox@virtualschool.edu>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Java crashes on FreeBSD?
Message-ID:  <20011130152032.65495.qmail@web12902.mail.yahoo.com>
In-Reply-To: <222D2DAF-E500-11D5-97CC-0005022D9F0A@virtualschool.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Brad Cox <bcox@virtualschool.edu> wrote:

<Snip>

> 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.

    Is it possible that your application is throwing a run time
exception that you are not logging or catching? We have had a problem
with a JVM (not sure which one right now, but I could find out) where
this issue was causing a silent death. The person who debugged this
should be back in town this weekend, and I will ask him about it and
try to let you know.

<snip>

> 	1) Is the Linux 1.2.2 port thought to be stable on FreeBSD?

    Not on my machine. 4.4-RELEASE FreeBSD SMP

> 	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?

    I have severe problems with the IBM JDK locking or not exiting. I
have only seen the behavior in ant builds right now, but I have not
tried anything else that is heavy duty with it. My few tests with hello
world applications (even multithreaded ones) couldn't replicate the
behavior. I have spent too many hours playing with it to not try to
warn you off.

> 	4) Does someone have a cron script handy that could restart jetty 
> as a workaround?
> 	5) Am on the wrong track altogether?


    I would suck it up and use 1.2.2 native on FreeBSD or possible 1.3
native (although I am not brave enough yet). You will be without JIT
unless you install one, but that might cause problems for you as well
(with space and possibly reliability). OpenJIT was pretty easy to
install, IMHO.

    Good luck.

-Brian


=====
Brian S. Lloyd-Newberry
Vertical Learning Curve Solutions
newbeb@yahoo.com

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

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?20011130152032.65495.qmail>