Solved

Need 64bit mod_jk.so for tomcat 7.0.25 and apache 2.4.10

Posted on 2014-12-04
6
1,679 Views
Last Modified: 2014-12-19
I've upgraded my Slackware to Distro 14.1, 64bit. I'm using the as-shipped Apache 2.4.10. So far, I've simply copied over my tomcat 7.0.25 jarfiles, .jsp files, etc. I'm sure I'll run into all kinds of issues, but my first problem is finding a 64bit mod_jk.so. I've searched around and come up with nothing that says it will work with Apache 2.4.x.

Need some help!
0
Comment
Question by:jmarkfoley
  • 3
  • 3
6 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 40484198
Unfortunately There is no 64bit mod_jk for slackware. You might need to use 32 bit httpd for it.
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 40484721
Does any distro have a 64bit mod_jk? Does this bode Ill for jsp's future?

My OS is 64bit and it does not run 32bit binaries (I tried). Does this mean I'd have to wipe and reinstall 32bit?

Do I have any alternatives?
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 40484760
Yes. OpenSUSE / CentOS / Redhat has pre-packaged x86_64 rpms.

http://rpm.pbone.net/index.php3?stat=3&limit=1&srodzaj=3&dl=40&search=apache2-mod_jk
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 21

Expert Comment

by:Mazdajai
ID: 40484763
Is this for personal or production?

If this is for production I would recommend checking with Redhat Sales for their suggestion. I believe JBOSS supports x86_64 but not sure if it fits in your environment.
0
 
LVL 1

Accepted Solution

by:
jmarkfoley earned 0 total points
ID: 40499643
I did find a solution. http://tomcat.apache.org/download-connectors.cgi has links to various Tomcat versions.  I selected Tomcat 8.0, then downloaded the tomcat-connectors-1.2.40-src.tar.gz tarball. I untarred and followed the build instructions in ./README.txt. For Apache:

$ cd native
$ ./configure --with-apxs=/usr/sbin/apxs
$ make
$ cp apache-2.0/mod_jk.so /user/lib64/httpd/modules/mod_jk.so

Open in new window

That did the trick! (along with the "LoadModule    jk_module  lib64/httpd/modules/mod_jk.so" in httpd.conf, of course)
0
 
LVL 1

Author Closing Comment

by:jmarkfoley
ID: 40508801
I found the answer
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install MySQL 5.6 and PHP on Centos Linux 6 101
LINUX CENTOS + APACHE 9 65
Linux as a middle box 7 64
Virtualizing very old guest OS 4 80
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now