Solved

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

Posted on 2014-12-04
6
2,139 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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.

 
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…

756 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