Re: jdk14+tomcat5 crashing box

2004-01-06 Thread Sheldon Hearn
On (2003/12/31 04:55), Brett Gulla wrote:

 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)

I believe that the problem was fixed in FreeBSD itself, because an
upgrade from a pre-5.2-RC1 to 5.2-CURRENT fixed exactly this problem for
me.  I didn't need to upgrade Tomcat.

Ciao,
Sheldon.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jdk14+tomcat5 crashing box

2003-12-31 Thread Josef Grosch

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 [EMAIL PROTECTED]:/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
[EMAIL PROTECTED] |   Micro$oft free world  | Berkeley, Ca.


pgp0.pgp
Description: PGP signature


Re: jdk14+tomcat5 crashing box

2003-12-31 Thread Brett Gulla
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 [EMAIL PROTECTED]:

 
 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
 [EMAIL PROTECTED]:/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
 [EMAIL PROTECTED] |   Micro$oft free world  | Berkeley, Ca.
 





This message was sent using IMP, the Internet Messaging Program.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


jdk14+tomcat5 crashing box

2003-12-30 Thread Brett Gulla
I am experiencing a reproducable system crash.  If I access a tomcat
application
(or use the mod_jk connector) then stop the tomcat service then restart the
tomcat service, the box will crash.  I'm not terribly concerned over this as I
am using this box as development - porting to tomcat5 - but I would be willing
to assist anyone who wishes to delve into the problem with me.  Any help would
be appreciated.

Thus far I have not been able to find any information in the system logs or
anywhere else.  I may need assistance on where to look.  

Just before the system crashes the console displays a brief message and reboots
- I can't get the information and at this point I'm not willfully crashing the
machine over and over.

Below is some information I believe may be helpful

sysctl.conf:
net.inet6.ip6.v6only=0

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


-- 
Brett Gulla

-
| The lung of a smoker is like a virgin
| thrown into the godfire.
| 
| -- Tom Robbins
-






This message was sent using IMP, the Internet Messaging Program.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jdk14+tomcat5 crashing box

2003-12-30 Thread Lucas Holt
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?

Does the problem occur when starting other java software multiple times 
that uses threads?

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.

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.

Note: I don't use ports for apache, tomcat, or mod jk

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]