Solved

building mod_jk2

Posted on 2004-04-11
5
188 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing Sitemap Frequency on XML File 3 68
Xampp Not Stopping 9 41
NGINX/Apache redirect on 403 and 404 5 86
.htaccess file settings 4 58
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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