It is currently Thu, 20 Sep 2018 02:48:33 GMT



 
Author Message
 linux-sun-jdk1.4.1 problem
Hi
May be that's newbie question, but I'm not too experienced
in using FreeBSD...
I installed Resin2.1.6 and got the following problem.
I compiled it under linux-sun-jdk1.4.1 and FreeBSD 4.3 with Apache. Resin's default pages worked fine, except that Resin generated a lot (more than 20) of java-processes in process list.

Then I tryed to deploy my own application.
After that FreeBSD hanged for 20 minutes, so I had to stop Resin.
According to logs, during this time Resin tryed to restart
my application several times and every time this error occured:

Resin 2.1.6 (built Fri Nov  8 08:18:18 PST 2002)
Copyright(c) 1998-2002 Caucho Technology.  All rights reserved.

Starting Resin on Wed, 05 Mar 2003 13:24:58 +0600 (NOVT)

2003-03-05 13:25:02 - ApplicationEventListener: application started

Unexpected Signal : 11 occurred at PC=0x1A149BB3
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.

Current Java thread:

Dynamic libraries:
Can not get information for pid = 95092

Local Time = Wed Mar  5 13:25:04 2003
Elapsed Time = 8
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002E6
# Please report this error at
# http://www.**-**.com/
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
#
# An error report file has been saved as hs_err_pid95092.log.
# Please refer to the file for further information.
#
.........................................

And after that every time Resin restarted (that's why server was hanged).
FreeBSD reports only "fstat64 function.. or not implemeted" errors.

The same application works fine under Windows2000 with jdk1.4 and Resin.

How to handle that problem?

Is there any reasons to use native FreeBSD jdk1.3 (as more stable)
instead of jdk1.4 for linux?

And is it normal to have so much java processes when no http-requests
are currently processed?

Andrey

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



 Tue, 23 Aug 2005 17:58:58 GMT   
 linux-sun-jdk1.4.1 problem
hi,

It is ok.  Because each java thread in Linux mode is mapped to separate
process.  That's how LinuxThreads works.

You may want to request addition of fstat64() to linuxalator via PR.

Try native jdk14 port which I have committed yesterday.  It work ok
for complex applications under Tomcat and JBoss, therefore I think
it should work for Resign as well.

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



 Tue, 23 Aug 2005 18:18:30 GMT   
 
   [ 2 post ] 

Similar Threads

1. linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

2. Problem Booting Sun SPARCstation 5 after installing JDK1.1.7_08 required patches

3. Problem with Sun Jdk1.3.0_02 on RH7.1

4. the Sun's JDK1.3 on Linux

5. java/41147: linux-sun-jdk1.4 was crashed

6. java/47447: linux-sun-jdk1.4.1: java command can't find java.lang.Object

7. Getting linux-sun-jdk1.4.1 to work

8. ports/41147: linux-sun-jdk1.4 was crashed


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software