Solved

building mod_jk2

Posted on 2004-04-11
5
178 Views
Last Modified: 2012-05-04
Hi all,

I'm awarding as many points as EE will let me for help with this. I'll award more too if there is some way that I can.

I downloaded jk2 2.0.4 to connect Tomcat 4.1.30 with Apache2 on a debian box. I have everything installed that I need - jdk1.4.2, Ant 1.6 and my env variables and classpath is correct as well. I have set this up before but it was with mod_jk and Apache 1.3 and it was much easier than jk2. I cannot get this to build at all and I've tried a ton of different things.

I'd really appreciate if someone that has done this recently could list the steps they did to get it to build. Thanks in advance,

-Pat
0
Comment
Question by:pat5star
  • 2
5 Comments
 
LVL 3

Author Comment

by:pat5star
ID: 10803697
Never mind. After working at it some more I finally got it to build correctly. Please close this question.

-Pat
0
 
LVL 1

Expert Comment

by:kalmen
ID: 10804015
I went through that nightmare. I tried jk1.* which worked fine, but this one didn't. Instead I used mod_proxy rewrite rule as recommended in the Tomcat Manual.
See the page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/proxy-howto.html

Basically, you'd add the lines:
ProxyPass         /myapp  http://localhost:8081/myapp
ProxyPassReverse  /myapp  http://localhost:8081/myapp

and from Tomcat (sorry for using tomcat 5, but its the one i used)
<Connector port="8081" ...
 proxyName="www.mycompany.com"
 proxyPort="80"/>

My conclusion is porbably that there is a bug, but I may be mistaken. But this solution worked perfectly, the only problem is you cannot have JSP files around your site, they have to be in /myapp to work.
0
 
LVL 1

Expert Comment

by:kalmen
ID: 10804018
Can you give me a hint of how the build was performed? Any Catch?
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11139519
PAQd, 500 points refunded.

GhostMod
Community Support Moderator
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
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.

759 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

24 Experts available now in Live!

Get 1:1 Help Now