Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2002 17:33:16 -0400
From:      Dylan Carlson <absinthe@pobox.com>
To:        <jps@funeralexchange.com>, <freebsd-java@FreeBSD.ORG>
Subject:   Re: /lib/libpthread.so.0: No such file or directory. Errors with Linux Jdk1.4.0.1 & Resin or Tomcat
Message-ID:  <200208231733.16012.absinthe@pobox.com>
In-Reply-To: <OAEOLDPOMIMMJMKEBFHCMEJADAAA.jps@funeralexchange.com>
References:  <OAEOLDPOMIMMJMKEBFHCMEJADAAA.jps@funeralexchange.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 23 August 2002 05:15pm, Jeremy Suo-Anttila wrote:

> so i am going to try and
> link all of the missing files to from the /usr/lib/foo >
> /usr/compat/linux/usr/lib/foo to see if that will solve the problem.

Hopefully that won't cause you problems with your FreeBSD binaries, but I 
guess it's worth a shot.  Let us know how it goes.

>  Anyone on the list happen to know a easier way to accomplish this? I can
> see this not being the best way to handle this since it can be easily
> broken by a makeworld or other upgrades. Do i need to maybe add the path to
> the linux libs to a hint file somewhere?? Also this only happens when i run
> the MS Application Web stress tester against my server with a 100+ threads
> and the server is under ALOT of load.

The threading under 1.4 is an known, open problem.   

Until we have a native-build port of the 1.4.x SDK I personally wouldn't 
expect a fix.   Green threads are gone, and I doubt the Linuxulator will ever 
handle that well going forward.   (someone correct me if I'm wrong)

However, Alexey Zelkin recently bootstrapped a native build of 1.4.0 and 
that's great news -- which means that we should see a native-build port 
emerge sometime.   It's a first step, anyway.  But none of this information 
will solve your problem today.

It sounds to me that you didn't use FreeBSD as your development platform when 
you wrote your app;  you are in turn using FreeBSD as your QA/production 
platform.   1.4.0 is bleeding edge (IMO) ... if I were you, I would bend the 
code backwards to 1.3.1.  If your 1.4.0 VM isn't predictable, I don't know 
what choice you have -- apart from making a (pragmatic, undesireable) 
decision to run it on another platform.

Cheers,
-- 
Dylan Carlson [absinthe@pobox.com]

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208231733.16012.absinthe>