RE: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-22 Thread Dan Diodati

The main reason that we wanted to change to tomcat 3.3 is for the
hierarchical classloading support.
I guess we'll have to wait.


Dan

-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 11:34 PM
To: Tomcat Developers List
Subject: Re: jdk1.3.1 and tomcat 3.3a core dumping?


Of course, there is always the issue that there is absolutely no need to run
3.3a on a Solaris box (which is why I really can't be bothered to download
it to check this out, since my primary production environment is Solaris).
If you're not running Windows, than there is no advantage to using 3.3a over
3.3.0.  There are lots of advantages to using 3.3.1-dev (aka nightly, soon
to be 3.3.1-B1) reguardless of the OS. see:
http://cvs.apache.org/viewcvs/jakarta-tomcat/RELEASE-NOTES-3.3.1.txt

- Original Message -
From: Bojan Smojver [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Monday, January 21, 2002 6:15 PM
Subject: RE: jdk1.3.1 and tomcat 3.3a core dumping?


 Quoting Dan Diodati [EMAIL PROTECTED]:

 
  I don't think the java code has any issues because it has been in
  production
  with jdk1.2.2 and tomcat 3.2.4.

 Maybe I wasn't clear enough. The point is that this is a JVM issue, it has
 nothing to do with Java classes you run on it (except that some of them
might
 trigger a particular bug within the JVM).

  I tried using tomcat 3.2.4 and jdk 1.3.1_02 it this issue does NOT
  occur,
  making me suspicious of
  tomcat 3.3a.

 As above.

 Bojan

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-22 Thread costinm

On Tue, 22 Jan 2002, Dan Diodati wrote:

 The main reason that we wanted to change to tomcat 3.3 is for the
 hierarchical classloading support.
 I guess we'll have to wait.

If your VM is crashing with 3.3a ( or anything else !) - you should fix
the vm.  No combination of java bytecodes should be able to break the VM -
if it happens with some 3.3 bytecode it may happen with some random user
code as well, in the midle of the night on the production server.

A vm that crashes on any java program is _bad_, and adding workarounds in
the java program is the worse solution since it hides a _critical_
problem in the system.

I wouldn't wait... Be happy you found about the problem, and look for
OS patches/newer or older VMs, etc until you get a vm that is stable.


 Of course, there is always the issue that there is absolutely no need to run
 3.3a on a Solaris box (which is why I really can't be bothered to download
 it to check this out, since my primary production environment is Solaris).

The issue is that the VM is crashing when running a valid java program -
period. If something in 3.3a is causing this - same thing may happen
when you run some code in one of yours webapps or libs or anything - at a
random time, eventually corupting data and taking down a production
server.


Costin


 If you're not running Windows, than there is no advantage to using 3.3a over
 3.3.0.  There are lots of advantages to using 3.3.1-dev (aka nightly, soon
 to be 3.3.1-B1) reguardless of the OS. see:
 http://cvs.apache.org/viewcvs/jakarta-tomcat/RELEASE-NOTES-3.3.1.txt

 - Original Message -
 From: Bojan Smojver [EMAIL PROTECTED]
 To: Tomcat Developers List [EMAIL PROTECTED]
 Sent: Monday, January 21, 2002 6:15 PM
 Subject: RE: jdk1.3.1 and tomcat 3.3a core dumping?


  Quoting Dan Diodati [EMAIL PROTECTED]:
 
  
   I don't think the java code has any issues because it has been in
   production
   with jdk1.2.2 and tomcat 3.2.4.
 
  Maybe I wasn't clear enough. The point is that this is a JVM issue, it has
  nothing to do with Java classes you run on it (except that some of them
 might
  trigger a particular bug within the JVM).
 
   I tried using tomcat 3.2.4 and jdk 1.3.1_02 it this issue does NOT
   occur,
   making me suspicious of
   tomcat 3.3a.
 
  As above.
 
  Bojan
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-22 Thread Bojan Smojver

Even if you have buggy Java classes, this should not cause a good JVM to 
  do this. The problem is with the JVM. I'd try a different JDK, 
something like 1.3.0_04 or maybe a newer sub-release of 1.3.1.

Bojan

PS. Keep in mind that I don't work with Solaris :-)

Dan Diodati wrote:

 I am having some problems with jdk1.3.1 core dumping with tomcat 3.3a.
 
 My current set up is apache 1.3.22 which is passing a the request
 to tomcat 3.3a(running externally). This is all running on a Solaris 8 box
 (Sun Ultra2) using jdk1.3.1. 
 When tomcat tries to compile some jsp pages, the Hotspot compiler core dumps
 killing the JVM. Here is the error:
 
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Error ID: 47454E45524154452F4F502D41500E435050084B 01
 #
 # Problematic Thread: prio=5 tid=0x31d1b8 nid=0x26 runnable 
 #
 
 Has anyone else had any issues with jdk1.3.1 and tomcat 3.3a ?
 
  
 Dan
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-21 Thread Dan Diodati

I am having some problems with jdk1.3.1 core dumping with tomcat 3.3a.

My current set up is apache 1.3.22 which is passing a the request
to tomcat 3.3a(running externally). This is all running on a Solaris 8 box
(Sun Ultra2) using jdk1.3.1. 
When tomcat tries to compile some jsp pages, the Hotspot compiler core dumps
killing the JVM. Here is the error:

#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 47454E45524154452F4F502D41500E435050084B 01
#
# Problematic Thread: prio=5 tid=0x31d1b8 nid=0x26 runnable 
#

Has anyone else had any issues with jdk1.3.1 and tomcat 3.3a ?

 
Dan

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-21 Thread Bojan Smojver

Even if you have buggy Java classes, this should not cause a good JVM to 
  do this. The problem is with the JVM. I'd try a different JDK, 
something like 1.3.0_04 or maybe a newer sub-release of 1.3.1.

Bojan

PS. Keep in mind that I don't work with Solaris :-)

Dan Diodati wrote:

 I am having some problems with jdk1.3.1 core dumping with tomcat 3.3a.
 
 My current set up is apache 1.3.22 which is passing a the request
 to tomcat 3.3a(running externally). This is all running on a Solaris 8 box
 (Sun Ultra2) using jdk1.3.1. 
 When tomcat tries to compile some jsp pages, the Hotspot compiler core dumps
 killing the JVM. Here is the error:
 
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Error ID: 47454E45524154452F4F502D41500E435050084B 01
 #
 # Problematic Thread: prio=5 tid=0x31d1b8 nid=0x26 runnable 
 #
 
 Has anyone else had any issues with jdk1.3.1 and tomcat 3.3a ?
 
  
 Dan
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-21 Thread Dan Diodati


I don't think the java code has any issues because it has been in production
with jdk1.2.2 and tomcat 3.2.4.

I tried using tomcat 3.2.4 and jdk 1.3.1_02 it this issue does NOT occur,
making me suspicious of
tomcat 3.3a. All the required patches for Solaris have been installed.
Anyone else know
of any incompatibilities with jdk1.3.1_02(the latest release of jdk131) and
tomcat 3.3a?


-Original Message-
From: Bojan Smojver [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 1:30 PM
To: Tomcat Developers List
Subject: Re: jdk1.3.1 and tomcat 3.3a core dumping?


Even if you have buggy Java classes, this should not cause a good JVM to 
  do this. The problem is with the JVM. I'd try a different JDK, 
something like 1.3.0_04 or maybe a newer sub-release of 1.3.1.

Bojan

PS. Keep in mind that I don't work with Solaris :-)

Dan Diodati wrote:

 I am having some problems with jdk1.3.1 core dumping with tomcat 3.3a.
 
 My current set up is apache 1.3.22 which is passing a the request
 to tomcat 3.3a(running externally). This is all running on a Solaris 8 box
 (Sun Ultra2) using jdk1.3.1. 
 When tomcat tries to compile some jsp pages, the Hotspot compiler core
dumps
 killing the JVM. Here is the error:
 
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Error ID: 47454E45524154452F4F502D41500E435050084B 01
 #
 # Problematic Thread: prio=5 tid=0x31d1b8 nid=0x26 runnable 
 #
 
 Has anyone else had any issues with jdk1.3.1 and tomcat 3.3a ?
 
  
 Dan
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-21 Thread Ed Milic


Here is a solution that seems to work:

You will need to edit how tomcat starts so that it uses
the server JVM.

CHANGE:
if [ $JAVACMD =  ] ; then
   # it may be defined in env - including flags!!
   JAVACMD=$JAVA_HOME/bin/java
fi

TO:
if [ $JAVACMD =  ] ; then
   # it may be defined in env - including flags!!
   JAVACMD=$JAVA_HOME/bin/java -server
fi

That should stop the crashing problems.

From: Dan Diodati [EMAIL PROTECTED]
Reply-To: Tomcat Developers List [EMAIL PROTECTED]
To: 'Tomcat Developers List' [EMAIL PROTECTED]
Subject: RE: jdk1.3.1 and tomcat 3.3a core dumping?
Date: Mon, 21 Jan 2002 13:40:19 -0800


I don't think the java code has any issues because it has been in 
production
with jdk1.2.2 and tomcat 3.2.4.

I tried using tomcat 3.2.4 and jdk 1.3.1_02 it this issue does NOT occur,
making me suspicious of
tomcat 3.3a. All the required patches for Solaris have been installed.
Anyone else know
of any incompatibilities with jdk1.3.1_02(the latest release of jdk131) and
tomcat 3.3a?


-Original Message-
From: Bojan Smojver [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 1:30 PM
To: Tomcat Developers List
Subject: Re: jdk1.3.1 and tomcat 3.3a core dumping?


Even if you have buggy Java classes, this should not cause a good JVM to
   do this. The problem is with the JVM. I'd try a different JDK,
something like 1.3.0_04 or maybe a newer sub-release of 1.3.1.

Bojan

PS. Keep in mind that I don't work with Solaris :-)

Dan Diodati wrote:

  I am having some problems with jdk1.3.1 core dumping with tomcat 3.3a.
 
  My current set up is apache 1.3.22 which is passing a the request
  to tomcat 3.3a(running externally). This is all running on a Solaris 8 
box
  (Sun Ultra2) using jdk1.3.1.
  When tomcat tries to compile some jsp pages, the Hotspot compiler core
dumps
  killing the JVM. Here is the error:
 
  #
  # HotSpot Virtual Machine Error, Internal Error
  # Please report this error at
  # http://java.sun.com/cgi-bin/bugreport.cgi
  #
  # Error ID: 47454E45524154452F4F502D41500E435050084B 01
  #
  # Problematic Thread: prio=5 tid=0x31d1b8 nid=0x26 runnable
  #
 
  Has anyone else had any issues with jdk1.3.1 and tomcat 3.3a ?
 
 
  Dan
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]



_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-21 Thread Dan Diodati


I tried that too, but it still has the same error. I also increased the java
heap size to 200 MB.


-Original Message-
From: Ed Milic [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 2:44 PM
To: [EMAIL PROTECTED]
Subject: RE: jdk1.3.1 and tomcat 3.3a core dumping?



Here is a solution that seems to work:

You will need to edit how tomcat starts so that it uses
the server JVM.

CHANGE:
if [ $JAVACMD =  ] ; then
   # it may be defined in env - including flags!!
   JAVACMD=$JAVA_HOME/bin/java
fi

TO:
if [ $JAVACMD =  ] ; then
   # it may be defined in env - including flags!!
   JAVACMD=$JAVA_HOME/bin/java -server
fi

That should stop the crashing problems.

From: Dan Diodati [EMAIL PROTECTED]
Reply-To: Tomcat Developers List [EMAIL PROTECTED]
To: 'Tomcat Developers List' [EMAIL PROTECTED]
Subject: RE: jdk1.3.1 and tomcat 3.3a core dumping?
Date: Mon, 21 Jan 2002 13:40:19 -0800


I don't think the java code has any issues because it has been in 
production
with jdk1.2.2 and tomcat 3.2.4.

I tried using tomcat 3.2.4 and jdk 1.3.1_02 it this issue does NOT occur,
making me suspicious of
tomcat 3.3a. All the required patches for Solaris have been installed.
Anyone else know
of any incompatibilities with jdk1.3.1_02(the latest release of jdk131) and
tomcat 3.3a?


-Original Message-
From: Bojan Smojver [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 1:30 PM
To: Tomcat Developers List
Subject: Re: jdk1.3.1 and tomcat 3.3a core dumping?


Even if you have buggy Java classes, this should not cause a good JVM to
   do this. The problem is with the JVM. I'd try a different JDK,
something like 1.3.0_04 or maybe a newer sub-release of 1.3.1.

Bojan

PS. Keep in mind that I don't work with Solaris :-)

Dan Diodati wrote:

  I am having some problems with jdk1.3.1 core dumping with tomcat 3.3a.
 
  My current set up is apache 1.3.22 which is passing a the request
  to tomcat 3.3a(running externally). This is all running on a Solaris 8 
box
  (Sun Ultra2) using jdk1.3.1.
  When tomcat tries to compile some jsp pages, the Hotspot compiler core
dumps
  killing the JVM. Here is the error:
 
  #
  # HotSpot Virtual Machine Error, Internal Error
  # Please report this error at
  # http://java.sun.com/cgi-bin/bugreport.cgi
  #
  # Error ID: 47454E45524154452F4F502D41500E435050084B 01
  #
  # Problematic Thread: prio=5 tid=0x31d1b8 nid=0x26 runnable
  #
 
  Has anyone else had any issues with jdk1.3.1 and tomcat 3.3a ?
 
 
  Dan
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]



_
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-21 Thread Bojan Smojver

Quoting Dan Diodati [EMAIL PROTECTED]:

 
 I don't think the java code has any issues because it has been in
 production
 with jdk1.2.2 and tomcat 3.2.4.

Maybe I wasn't clear enough. The point is that this is a JVM issue, it has
nothing to do with Java classes you run on it (except that some of them might
trigger a particular bug within the JVM).

 I tried using tomcat 3.2.4 and jdk 1.3.1_02 it this issue does NOT
 occur,
 making me suspicious of
 tomcat 3.3a.

As above.

Bojan

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: jdk1.3.1 and tomcat 3.3a core dumping?

2002-01-21 Thread Bill Barker

Of course, there is always the issue that there is absolutely no need to run
3.3a on a Solaris box (which is why I really can't be bothered to download
it to check this out, since my primary production environment is Solaris).
If you're not running Windows, than there is no advantage to using 3.3a over
3.3.0.  There are lots of advantages to using 3.3.1-dev (aka nightly, soon
to be 3.3.1-B1) reguardless of the OS. see:
http://cvs.apache.org/viewcvs/jakarta-tomcat/RELEASE-NOTES-3.3.1.txt

- Original Message -
From: Bojan Smojver [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Monday, January 21, 2002 6:15 PM
Subject: RE: jdk1.3.1 and tomcat 3.3a core dumping?


 Quoting Dan Diodati [EMAIL PROTECTED]:

 
  I don't think the java code has any issues because it has been in
  production
  with jdk1.2.2 and tomcat 3.2.4.

 Maybe I wasn't clear enough. The point is that this is a JVM issue, it has
 nothing to do with Java classes you run on it (except that some of them
might
 trigger a particular bug within the JVM).

  I tried using tomcat 3.2.4 and jdk 1.3.1_02 it this issue does NOT
  occur,
  making me suspicious of
  tomcat 3.3a.

 As above.

 Bojan

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]