getting tomcat running

Chuck Robey chuckr at telenix.org
Tue Feb 3 18:22:14 PST 2009


-----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-----


More information about the freebsd-java mailing list