Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 12:44:50 -0500
From:      "Jeremy Suo-Anttila" <jps@funeralexchange.com>
To:        "Georg-W. Koltermann" <Georg.Koltermann@mscsoftware.com>, "Paul Dlug" <paul@nerdlabs.com>
Cc:        <freebsd-java@FreeBSD.ORG>
Subject:   RE: Problems running tomcat under -STABLE
Message-ID:  <OAEOLDPOMIMMJMKEBFHCCEEGCNAA.jps@funeralexchange.com>
In-Reply-To: <1026494416.481.2.camel@hunter.muc.macsch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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