jdk14+tomcat5 crashing box
Brett Gulla
bagulla at mindspring.com
Wed Dec 31 01:56:29 PST 2003
Thanks for the input, but the problem seems to have been fixed. Here's what I
did:
1. cvsup'd to 5.2 RC
2. upgraded to tomcat 5.0.16
PS. Using native threads (-lc_r not -pthread)
Quoting Josef Grosch <jgrosch at MooseRiver.com>:
>
> I am getting the same problem. Restarting Tomcat5 and Tomcat41 causes the
> system to crash. This is completly repeatable. Other Java programs such as
> Eclispe and Bugseeker can be restarted multiple times without problems.
>
>
> ** Java Version **
> berkeley% java -version
> java version "1.4.2-p5"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.2-p5-root_13_dec_2003_19_39)
> Java HotSpot(TM) Client VM (build 1.4.2-p5-root_13_dec_2003_19_39, mixed
> mode)
> berkeley%
>
>
> ** Tomcat Version **
> jakarta-tomcat-5.0.16
>
>
> ** System Version **
> berkeley% uname -a
> FreeBSD berkeley.mooseriver.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1:
> Tue Dec 30 00:13:24 PST 2003
> root at berkeley.mooseriver.com:/usr/obj/usr/src/sys/BERKELEY i386
> berkeley%
>
>
> On Tue, Dec 30, 2003 at 08:58:21AM -0500, Lucas Holt wrote:
> > >
> > >system:
> > >FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0
> > >5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007 i386
> > >
> > >packages:
> > >apache-2.0.47
> > >mod_jk-apache2-1.2.2
> > >jakarta-tomcat-5.0.14
> > >jdk-1.4.2p5
> > >
> >
> > What threading model did you use with the JDK?
>
> If you mean what JVM am I using, I am using client. I'll try switching to
> server in the file /usr/local/java/jre/lib/i386/jvm.cfg
>
> *NOTE* I have a symbolic link from /usr/local/jdk1.4.2 to
> /usr/local/java. Saves me the trouble of having to redo paths and
> classpaths everytime I upgrade java.
>
> >
> > Does the problem occur when starting other java software multiple times
> > that uses threads?
>
> See above. This is the only java package that exhibits this problem, so far.
>
> >
> > I'd also try a newer version of tomcat as they fixed a lot of bugs. I
> > installed 5.0.16 the other day, and as I recall the change log wasn't
> > tiny.
>
> Yep. Running 5.0.16
>
> >
> > My working setup:
> > apache 2.0.48
> > Tomcat 5.0.16
> > mod jk (1) connector for 4.1.27 tomcat
> > jdk-1.4.2p5
> >
> > FreeBSD 4.9 Stable cvsup'd about a week ago.
>
> cvsup'd last night
>
>
>
> Josef
>
> --
> Josef Grosch | Another day closer to a | FreeBSD 5.1
> jgrosch at MooseRiver.com | Micro$oft free world | Berkeley, Ca.
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the freebsd-java
mailing list