Installation of Apache Tomcat Native on Linux Ubuntu 12.04
Linux: Ubuntu 12.04 x64
Tomcat: 7.0.39
Tomcat Native: 1.1.27
I tried to install tomcat's native library in a standard way using apt-get
But, I got error message on the startup of tomcat saying that:
Installed version 1.1.22 is not suitable and at least version 1.1.24 is needed.
The only way I found to solve this error was to compile sources of Tomcat Native into fresh Ubuntu.
Steps used:
1. Install compiler
2. Install openssl and development libraries
3. Install APR package
APR package can be downloaded from http://apr.apache.org/
You should see the compiled file in
4. Download, compile and install Tomcat Native source package tomcat-native-1.1.27-src.tar.gz
Download archive into /tmp folder, then:
Now, compiled Tomcat Native library should be in /usr/local/apr/libtcnative-1.so.0.1.27 with a symbolic link file /usr/local/apr/@libtcnative-1.so
5. Create or edit the $CATALINA_HOME/bin/setenv.sh file with line:
6. Restart tomcat and enjoy the desired result:
2023 September (1)
2023 August (1)
2019 May (1)
2016 March (2)
2016 February (1)
2014 December (1)
2013 May (1)
2013 March (1)
2013 February (1)
2012 December (2)
2012 October (1)
2011 February (2)
2010 October (2)
2010 July (1)
2010 May (1)
2010 April (1)
2023 August (1)
2019 May (1)
2016 March (2)
2016 February (1)
2014 December (1)
2013 May (1)
2013 March (1)
2013 February (1)
2012 December (2)
2012 October (1)
2011 February (2)
2010 October (2)
2010 July (1)
2010 May (1)
2010 April (1)
IT / Coding / How-To
28147-89 (1), access (1), ajax (1), apple (1), asus (1), benchmark (1), block-cipher (1), c++ (1), cache (1), capistrano (1), centos (2), chrome (1), client (1), clock (1), cntvct_el0 (1), counter (1), counter-timer-register (1), cryptography (1), crystal reports (1), database (4), dbase (1), dbf (1), docker (1), error (7), fedora (2), firefox (1), google (2), gost (1), gost-28147-89 (1), gost-r-34-12-2015 (1), highlight (1), hp (1), html (1), intel (1), intellijidea (1), ireport (1), jasperreports (1), jaspersoft (1), java (5), javascript (2), jdbc (1), jdk (1), jet (1), jetty (1), jquery (2), laptop (1), linux (8), macos (1), magma (1), mongodb (1), ms visual c++ (1), mysql (1), native (1), network (2), openvpn (1), oracle (2), performance (3), postgres (1), postgresql (2), prettify (1), r-34-12-2015 (1), rails (1), ramdisk (2), ramdrive (2), rdtsc (1), rdtscp (1), recaptcha (1), redis (1), rest (1), restful (1), ruby (1), rust (2), security (3), server (2), sidekiq (1), spam (1), spring (1), sql (1), startup (1), subversion (1), svn (1), syntax (1), time-stamp-counter (1), timer (1), tomcat (2), ubuntu (2), update (1), vba (1), web service (1), wifi (1), winapi (1), windows (9)
Other Topics
active directory (1), java (1), jcifs (1), kerberos (1), ldap (1), linux (1), ntlm (1), spnego (1), story (1), ubuntu (1), windows (1)