Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2009 21:13:44 -0500
From:      Chuck Robey <chuckr@telenix.org>
To:        freebsd-java@FreeBSD.org
Subject:   getting tomcat running
Message-ID:  <4988F9D8.5020807@telenix.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I can't get my tomcat6 working.  I found an interesting item in the
/usr/local/apache-tomcat6.0/logs/stdout.log, so I'm checking out that it says
that it wants a libtcnative.  Here's the log entry:

INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
/usr/local/jdk1.6.0/jre/lib/i386/server:/usr/local/jdk1.6.0/jre/lib/i386:
/usr/local/jdk1.6.0/jre/../lib/i386:/usr/lib:/usr/X11R7.4/lib:/usr/local/lib:
/usr/java/packages/lib/i386:/lib:/usr/lib:/usr/local/lib

So, I found a www/tomcat-native port which installs the libtcnative.so library,
and I installed that, but the error above, from the stdout.log file, doesn't
change, it still can't find the library.  What does tomcat6 refer to, to find
it's libraries?  The libtcnative it installs is going  into /usr/local/lib, it's
 on that list, ldconfig -r finds it fine.

I looked at that list above, I know it's nothing I ever put together, some
port's done that.  Any idea from where?   Maybe I should put the /usr/local/lib
higher in that list?  I mean, I haven't got any /usr/java, maybe it's seeing a
bad entry like that and stopping the entry reading at that point.  I need to
find that list.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmI+dgACgkQz62J6PPcoOmm/gCfcsRi7/+oe26hT4ql9bLnXS2o
GZAAoJRs2h4ExH1pNvk6wE2L582B8OPt
=kY/x
-----END PGP SIGNATURE-----



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