linux-sun-jdk1.4.1 problem

linux-sun-jdk1.4.1 problem

Post by Andrey Gusko » Sat, 08 Mar 2003 18:58:58



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://java.sun.com/cgi-bin/bugreport.cgi
#
# 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


with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-sun-jdk1.4.1 problem

Post by Alexey Zelk » Sat, 08 Mar 2003 19:18:30


hi,


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

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

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

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

Quote:> How to handle that problem?

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

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.


with "unsubscribe freebsd-java" in the body of the message

 
 
 

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


This was a relatively fresh system.  I did not have any other versions of Java
on my system.

When running the java command I get the following:

# /usr/local/linux-sun-jdk1.4.1/bin/java
count = 3714, total = 8508
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

Please note that this bug is the same for either root or normal users.  Also
note that setting JAVA_HOME as well as CLASSPATH did not fix the problem.

/usr/local/linux-sun-jdk1.4.1/bin/java

To work around this problem, I'm using the linux-blackdown-jdk1.4.1 port.


with "unsubscribe freebsd-java" in the body of the message

2. Enlightment bug for start/stop esd?

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

4. staroffice for linux

5. sun-jdk1.4.1 [core dumped]

6. Solaris 2.4: Multiple Ethernet interfaces??

7. Problem with linux-blackdown-jdk1.4.1

8. PATH

9. Native JDK1.4.1 4.8 RC problem revisited

10. Native jdk1.4.1 JNI problem with Eclipse IDE

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

12. NullPointerException in Together/jdk1.4.1-p3

13. How to switch tomcat41ctl to use jdk1.4.1?