Solved

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

Posted on 2014-12-04
6
1,814 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
su - oracle could not open session 6 71
Can't connect to WAMP server 5 48
Remote desktop Ubuntu from Windows 10 5 59
going to wrong jsp page 2 18
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

813 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

10 Experts available now in Live!

Get 1:1 Help Now