You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Craig Longman <cr...@begeek.com> on 2002/08/22 22:36:42 UTC

RE: mod_jk question

On Thu, 2002-08-22 at 14:54, Turner, John wrote:
> 
> mod_jk2 is "mod_jk, the next generation".
> 
> mod_jk works fine for both apache 1.3 and apache 2.0.

but i wanted to know about mod_jk2, this is supposedly the latest and
greatest for tomcat-4.1, right?  i have used mod_jk in a 1.3 before (i
found an rpm that time, was simple), but its the mod_jk2 that i'm
curious about.  according to the docs (which were wrong about the module
location, so maybe thats an indication) they suggest that the mod_jk2 is
the preferred server-side module to use, but some other webpage said
that mod_jk2 was only good for apache 2.0.

> The source for all of the connectors, including mod_jk, is here:
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/

ah, thanks.  i guess my questions about mod_jk2 are irrelevant, it
doesn't appear to be included in this file (nor in the v4.1.9-beta).  oh
well, i'll see if i can get mod_jk working i guess.

> If you're using RedHat, I have a HOWTO here, which might be of some help:
> http://www.johnturner.com/howto/apache-tomcat-howto.html

hmm. a bit confusing.  i think i managed to compile the mod_jk.so
directly just by using apxs.  we'll see.

a lot of work to get this installed and running.  i hope the
configuration ends up being simpler than it looks...

-- 

    CraigL->Thx();
    Be Developer ID: 5852



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: mod_jk question

Posted by Craig Longman <cr...@begeek.com>.
On Thu, 2002-08-22 at 21:19, Craig Longman wrote:
> i'm going to try and go through all this again with the 4.0.4 package
> and see if that works.  any help though would be greatly appreciated.  i
> wish i could figure out what i'm doing wrong, i can't believe its this
> hard for everyone to get a basic tomcat/apache site running?

well, the 4.0.4 package compiled ok, and i could load it into apache
just fine, yippe there.  so i uninstalled tomcat4-4.1.9 and tried to
install the tomcat4-4.0.4 rpm.  and it simply refuses.  i get a
segmentation fault (on both my machines) trying to install this package:

  tomcat4-4.0.4-full.2jpp.noarch.rpm

looking at the -vv output, i get this:

Preparing packages for installation...
D: Expected size:      2445713 = lead(96)+sigs(328)+pad(0)+data(2445289)
D:   Actual size:      2445713
D:   install: tomcat4-4.0.4-full.2jpp has 83 files, test = 0
D:   install: running %pre script(s) (if any)
+ /usr/sbin/useradd -c Tomcat4 -u 91 -s /bin/bash -r -d /var/tomcat4
tomcat4
+ :
Segmentation fault (core dumped)

if any further information is requested, i'd be happy to provided it,
and i'll try anything that can help try and figure out whats going on.
i'm going to go and try and find a 4.0.3 package i guess, i had that
running before, or just drop back to jserv.

-- 

    CraigL->Thx();
    Be Developer ID: 5852



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: mod_jk question

Posted by Craig Longman <cr...@begeek.com>.
On Thu, 2002-08-22 at 17:26, Milt Epstein wrote:
> On 22 Aug 2002, Craig Longman wrote:
> > ah, thanks.  i guess my questions about mod_jk2 are irrelevant, it
> > doesn't appear to be included in this file (nor in the v4.1.9-beta).
> > oh well, i'll see if i can get mod_jk working i guess.
> [ ... ]
> 
> Which file?  There are two files there (actually four, but that's
> because they put each file up there twice, a gzip version and a zip
> version).  One is the Tomcat source, which doesn't have mod_jk2.  And
> one is the connectors source, which does.

i am talking about the jakarta-tomcat-connectors-4.1.9-src.tar.gz file.
i noticed a native2 directory that looked like it would make the
mod_jk2.so file, so after finally figuring out how to create the
configure script and then run that to produce the Makefile and
Makefile.apxs i tried executing:

  make -f Makefile.apxs

and produced a mod_jk2.so file.  sounded good so far.  but when i try
and load that module, i get the following error:

  /etc/httpd/modules/mod_jk2.so: undefined symbol:
jk2_service_apache13_init

kind of strange, as that string is definitely in the module.

when i try and use ant to compile it, it insists on some aprXXX header
files.  sounds like this is some Apache Portable Runtime.  about now i
decided to just give up on mod_jk2.  after two days, i really want to
just get something running.

compile up mod_jk.so, seems to work ok, but when i load it in apache, i
get the following error:

  /etc/httpd/modules/mod_jk.so: undefined symbol: dir_module

i'm pretty much fresh out of ideas now.  can anyone help me please just
get a basic site running?

i'm going to try and go through all this again with the 4.0.4 package
and see if that works.  any help though would be greatly appreciated.  i
wish i could figure out what i'm doing wrong, i can't believe its this
hard for everyone to get a basic tomcat/apache site running?

-- 

    CraigL->Thx();
    Be Developer ID: 5852



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: mod_jk question

Posted by Milt Epstein <me...@uiuc.edu>.
On 22 Aug 2002, Craig Longman wrote:

> On Thu, 2002-08-22 at 14:54, Turner, John wrote:
> >
> > mod_jk2 is "mod_jk, the next generation".
> >
> > mod_jk works fine for both apache 1.3 and apache 2.0.
>
> but i wanted to know about mod_jk2, this is supposedly the latest and
> greatest for tomcat-4.1, right?  i have used mod_jk in a 1.3 before (i
> found an rpm that time, was simple), but its the mod_jk2 that i'm
> curious about.  according to the docs (which were wrong about the module
> location, so maybe thats an indication) they suggest that the mod_jk2 is
> the preferred server-side module to use, but some other webpage said
> that mod_jk2 was only good for apache 2.0.
>
> > The source for all of the connectors, including mod_jk, is here:
> > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/
>
> ah, thanks.  i guess my questions about mod_jk2 are irrelevant, it
> doesn't appear to be included in this file (nor in the v4.1.9-beta).
> oh well, i'll see if i can get mod_jk working i guess.
[ ... ]

Which file?  There are two files there (actually four, but that's
because they put each file up there twice, a gzip version and a zip
version).  One is the Tomcat source, which doesn't have mod_jk2.  And
one is the connectors source, which does.

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>