Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

building mod_jk2

Posted on 2004-04-11
5
Medium Priority
?
223 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

972 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