From owner-freebsd-java Fri Jul 12 10:38:10 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 506B237B400 for ; Fri, 12 Jul 2002 10:38:06 -0700 (PDT) Received: from ns3.ideathcare.com (mail.allneo.com [216.185.96.68]) by mx1.FreeBSD.org (Postfix) with SMTP id AC2D343E77 for ; Fri, 12 Jul 2002 10:38:05 -0700 (PDT) (envelope-from jps@funeralexchange.com) Received: (qmail 84952 invoked by uid 85); 12 Jul 2002 17:45:32 -0000 Received: from jps@funeralexchange.com by ns3.ideathcare.com with qmail-scanner-1.03 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.170043 secs); 12 Jul 2002 17:45:32 -0000 Received: from unknown (HELO pimpin) (216.138.114.131) by mail.allneo.com with SMTP; 12 Jul 2002 17:45:32 -0000 Reply-To: From: "Jeremy Suo-Anttila" To: "Georg-W. Koltermann" , "Paul Dlug" Cc: Subject: RE: Problems running tomcat under -STABLE Date: Fri, 12 Jul 2002 12:44:50 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <1026494416.481.2.camel@hunter.muc.macsch.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am having no problems with tomcat 4.0.3 under -stable with linux jdk 1.4.0.01 www 15727 0.0 9.4 239080 97912 ?? I 12:10PM 0:01.27 /usr/local/linux-jdk1.4.0.01/bin/java -Djava.endorsed.dirs=/usr/loca i excute it from a script with the following line. su -f -m www -c "exec /usr/local/tomcat/bin/catalina.sh start" The only gotcha i had was to make sure that the www was the owner of all the tomcat dirs. let me know if there is anything i can do to assist you all to get it working properly (Off topic. FYI i have also been able to make Jrun 4.0 for linux run under freebsd -stable and the latest native jdk 1.3.1 its VERY nice) thanks Jeremy Suo-Anttila jps@funeralexchange.com -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Georg-W. Koltermann Sent: Friday, July 12, 2002 12:20 PM To: Paul Dlug Cc: freebsd-java@FreeBSD.ORG Subject: Re: Problems running tomcat under -STABLE Yes, I've seen that as well. There is some kind of problem with loading the shared libarary when you run as nobody, or as www. I have written a simple SUID wrapper which sets the the uid/gid and then execs tomcat--that works. If instead of my wrapper I use su(8), I get the same error as you do. -- Regards, Georg. Am Fr, 2002-07-12 um 18.40 schrieb Paul Dlug: > I'm having trouble running tomcat 4.0.4 (I tried 4.0.3 as well) under the > latest build of stable, in the tomcat error log I get the following message > with tomcat refusing to start: > > /usr/local/linux-jdk1.3.1/bin/i386/green_threads/java: error in loading shared > libraries: libhpi.so: cannot open shared object file: No such file or > directory > > I've tried this on a few hosts and got the same results. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message