Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 and Tomcat5 with mod_jk2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Tue Feb 15, 2005 10:06 pm    Post subject: Reply with quote

Never got mod_jk2 working, but mod_jk worked in 5 minutes. 8)
Back to top
View user's profile Send private message
ruddy
n00b
n00b


Joined: 13 Oct 2004
Posts: 37

PostPosted: Thu Feb 17, 2005 1:33 pm    Post subject: Reply with quote

In my case, I don't changed the Makefile contents as described in the first post message. I have used libtool provided with apache2. I get some trouble using /usr/bin/libtool
Back to top
View user's profile Send private message
micheloe
n00b
n00b


Joined: 24 Oct 2004
Posts: 13

PostPosted: Wed Feb 23, 2005 9:18 pm    Post subject: Reply with quote

:?:

I've got Apache2 with mod_jk2 (2.0.4) running together with tomcat5 since november last year on my Ultra10, but I can't remember at all having had much difficulties installing it? If I remember correctly, I just emerged mod_jk2, configured the corresponding config file in /etc/apache2/conf/modules.d/ (JkUriSet et al) and off we went...

Anyway, mod_jk2 seems to be totally unsupported right now. So I went searching for mod_jk with emerge, but I wasn't able to find any of them anymore. They all seem to have disappeared from /usr/portage/net-www/. The tomcat connectors site has announced mod_jk 1.2.8 in december last year, But when you try to download the source (jakarta.apache.org -> Downloads -> Tomcat -> Connectors) only version 1.2.6 is displayed... I guess we'll have to download from CVS to get the current version?

Michel
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 655
Location: Bonn

PostPosted: Wed Mar 02, 2005 2:35 pm    Post subject: Reply with quote

hi,

thx for this howto, i finally managed to set up tomcat5 with apache (and mod_jk2).
Tomcat5 is installed into /opt/tomcat and apaches www-dir is /var/www/localhost/htdocs.

Now i can browse http//mydomain/jsp-examples/ instead of http://mydomain:8080/jsp-examples/.;)

But there is one thing bugging me...
I have two directories to manage, one for all the jsp-files &co, and one for the "normal" apache.

But i want to put all files (jsp + html + co) into one directory like "/var/www/localhost/htocs".
Is that somehow possible? And could someone plz. help me to set this up the right way?

I already found some hwoto's about the Context entry in server.xml, but that didn't work.;(
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 463
Location: Hokkaido Japan

PostPosted: Wed Mar 09, 2005 5:02 pm    Post subject: Reply with quote

micheloe wrote:
:?:

I've got Apache2 with mod_jk2 (2.0.4) running together with tomcat5 since november last year on my Ultra10, but I can't remember at all having had much difficulties installing it? If I remember correctly, I just emerged mod_jk2, configured the corresponding config file in /etc/apache2/conf/modules.d/ (JkUriSet et al) and off we went...

Anyway, mod_jk2 seems to be totally unsupported right now. So I went searching for mod_jk with emerge, but I wasn't able to find any of them anymore. They all seem to have disappeared from /usr/portage/net-www/. The tomcat connectors site has announced mod_jk 1.2.8 in december last year, But when you try to download the source (jakarta.apache.org -> Downloads -> Tomcat -> Connectors) only version 1.2.6 is displayed... I guess we'll have to download from CVS to get the current version?

Michel

Quote:

Download mod_jk from http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi
Get 1.2.x (1.2.8 as of this time) source release. I prefer the zip. backedup config_vars.mk just incase


You might want to have a look at the following post:

https://forums.gentoo.org/viewtopic-t-95184-start-50-postdays-0-postorder-asc-highlight-modjk+ebuild.html

there is a mini mod_jk howto on page 3.


Cheers,
Back to top
View user's profile Send private message
micheloe
n00b
n00b


Joined: 24 Oct 2004
Posts: 13

PostPosted: Fri Mar 11, 2005 11:17 am    Post subject: Reply with quote

newtonian wrote:


You might want to have a look at the following post:

https://forums.gentoo.org/viewtopic-t-95184-start-50-postdays-0-postorder-asc-highlight-modjk+ebuild.html

there is a mini mod_jk howto on page 3.


Cheers,


Thanks for the link!

Anyway, I figured this out myself a few weeks ago. I've successfully compiled mod_jk many times before by hand (on FreeBSD at a time it wasn't really supported). I've downloaded jakarta-tomcat-connectors-1.2.8.tar.gz (after finally finding it :) ) and built it by hand using apxs. Next, it's a matter of manually copying mod_jk.so, creating a workers.properties from the example-file and creating a proper apache configuration include file. That's it, and it works like a charm.

However, it would have been nice to have a working ebuild.

Kind regards,

Michel
Back to top
View user's profile Send private message
cbock
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 149
Location: san diego

PostPosted: Fri Mar 11, 2005 3:43 pm    Post subject: Reply with quote

i went back and decided to set it up with mod_jk too. works like a champ. :)
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 463
Location: Hokkaido Japan

PostPosted: Fri Mar 11, 2005 3:48 pm    Post subject: mod_jk-1.28.8.ebuild Reply with quote

Quote:


However, it would have been nice to have a working ebuild.

Kind regards,

Michel


I don't much about ebuilds but do you know if you can build 1.28 with the info posted on this page?

https://bugs.gentoo.org/show_bug.cgi?id=19094

Quote:


------- Additional Comment #80 From Joshua Schmidlkofer 2005-02-09 22:54 PST -------

Created an attachment (id=50889) [edit]
mod_jk-1.28.8.ebuild

I was unable to get the mod_jk ebuild to download, I had to add a '/jk-${PV}/'
to the SRCURI.


Cheers,
Back to top
View user's profile Send private message
scawa
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 178
Location: Villa Rica, Georgia

PostPosted: Thu Mar 01, 2007 8:15 pm    Post subject: Reply with quote

Don't know. but looking at the Apache Documentation on the Apache Site, but
mod_jk2 has been deprecated.

Tomcat/Jk2Connector - Tomcat Wiki.

The www-apache/mod_jk emerge uses the most current one as of this time mod_jk-1.2.20.
_________________
Boredom is a personal Defect
-- Lamar Stephens
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 463
Location: Hokkaido Japan

PostPosted: Fri Mar 02, 2007 3:41 am    Post subject: Reply with quote

scawa wrote:
Don't know. but looking at the Apache Documentation on the Apache Site, but
mod_jk2 has been deprecated.

Tomcat/Jk2Connector - Tomcat Wiki.

The www-apache/mod_jk emerge uses the most current one as of this time mod_jk-1.2.20.


Yes, I've been using mod_jk with Tomcat 5.5 on several different Apache/Tomcat setups for over a
year now. It's much easier to setup and much more solid.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum