Getting linux-sun-jdk1.4.1 to work

Getting linux-sun-jdk1.4.1 to work

Post by Tomas Plusk » Thu, 05 Dec 2002 07:45:17



Quote:> Last week I had a problem with getting linux-sun-jdk1.4.1 to work on
> FreeBSD 4.7-STABLE. After poking around, at the suggestion of <someone>,
> sorry just can't find his name, I found that under FreeBSD 4.7 with
> linux_base 7.1 installed I could only run the java binaries as root. As
> myself I got an error. But with linux_base 6.1 installed I could run the
> java binaries as myself. Very weird.

> I've submitted a PR but this is a work around until someone figures out
> what is the problem with linux_base 7.1 or Java 1.4 for FreeBSD is real.

See this
http://www.freebsd.org/cgi/getmsg.cgi?fetch=130276+0+/usr/local/www/d...
for workaround (and see whole thread for a bit of explanation about the
problem).

Tomas


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

 
 
 

Getting linux-sun-jdk1.4.1 to work

Post by Yuri Khotyaints » Thu, 05 Dec 2002 17:56:36



> Last week I had a problem with getting linux-sun-jdk1.4.1 to work on
> FreeBSD 4.7-STABLE. After poking around, at the suggestion of <someone>,
> sorry just can't find his name, I found that under FreeBSD 4.7 with
> linux_base 7.1 installed I could only run the java binaries as root. As
> myself I got an error. But with linux_base 6.1 installed I could run the
> java binaries as myself. Very weird.

> I've submitted a PR but this is a work around until someone figures out
> what is the problem with linux_base 7.1 or Java 1.4 for FreeBSD is real.

> See this
> http://www.freebsd.org/cgi/getmsg.cgi?fetch=130276+0+/usr/local/www/d...
> for workaround (and see whole thread for a bit of explanation about the
> problem).

> Tomas

Maybe somebody should send a PR for this.

Yuri


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

 
 
 

1. 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://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

2. Thinkpad 600 keeps rebooting when loading kernel

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

4. Give me a comparision about WindowsNT and Unix security

5. sun-jdk1.4.1 [core dumped]

6. Proceses

7. Problem with linux-blackdown-jdk1.4.1

8. Running Netscape7 on x86 solaris8

9. Getting xdm to work w/SlackWare 3.4, AccelX 4.1 & KDE?

10. Problems getting Screen to work with Red Hat 4.1

11. NullPointerException in Together/jdk1.4.1-p3

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

13. DVArchive + jdk1.4.1