Solved

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

Posted on 2014-12-04
6
1,522 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 21

Expert Comment

by:Mazdajai
Comment Utility
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
Comment Utility
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
Comment Utility
I found the answer
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

9 Experts available now in Live!

Get 1:1 Help Now