Solved

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

Posted on 2014-12-04
6
2,439 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
Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

 
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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 …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

695 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