Solved

building mod_jk2

Posted on 2004-04-11
5
210 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
[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
  • 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

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.

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

636 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