Yep.  That's what I did too.  But I never rely on the RPMs for apache.  It
is never compiled the way I want it or where I want.  Glad to hear you got
it working...

Drew

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 9:20 AM
To: 'Tomcat Users List'
Subject: RE: Building jk2-2.0.4 on rh9 having some problems


Finally got it to work

The only way I finally got it to work configured at per doc on the web site
Was to get the latest apache2 and build from scratch(no rpms)
Then build t he connector.

Now all works fine (so far)

Thanks for all the suggestions. 

-----Original Message-----
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 8:02 AM
To: Tomcat Users List
Subject: RE: Building jk2-2.0.4 on rh9 having some problems

Ahh, that's different than "No such file".  Are you trying to use the apr
stuff in the jk2.properties?  I haven't been able to get it to work on my
Linux box, no matter what libs I include.  When I finally do get it to take
the libs and I don't get that particular error, I get a different one.  I
have to use channelSocket and not the apr or jni stuff.  My handler list
looks like this:

handler.list=channelSocket,request

Drew

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 5:29 PM
To: 'Tomcat Users List'
Subject: RE: Building jk2-2.0.4 on rh9 having some problems


Thanks for you help
file /usr/lib/httpd/modules/mod_jk2.so
/usr/lib/httpd/modules/mod_jk2.so: ELF 32-bit LSB shared object, Intel
80386, version 1 (SYSV), not stripped

The load module is correct

Still get
Cannot load /etc/httpd/modules/mod_jk2.so into server:
/etc/httpd/modules/mod_jk2.so: undefined symbol: apr_socket_send 

-----Original Message-----
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 3:20 PM
To: Tomcat Users List
Subject: RE: Building jk2-2.0.4 on rh9 having some problems

Ok.  If you type "file mod_jk2.so" what does it tell you?  It should say
something like:

mod_jk2.so:  ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV),
not stripped

Next,

Check your LoadModules statement carefully.  Make sure it says what you
think it says.  It should say something like:

LoadModule jk2_module   modules/mod_jk2.so

Drew

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 4:12 PM
To: 'Tomcat Users List'
Subject: RE: Building jk2-2.0.4 on rh9 having some problems


I have mod_perl and apache loads it fine.

Thanks
Rp 

-----Original Message-----
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:26 AM
To: Tomcat Users List
Subject: RE: Building jk2-2.0.4 on rh9 having some problems

Ok.  Do you have any other modules in there and is apache loading them?

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 12:25 PM
To: 'Tomcat Users List'
Subject: RE: Building jk2-2.0.4 on rh9 having some problems


 
Yes mod_jk2.so exists

Thanks for your help


-----Original Message-----
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:22 AM
To: Tomcat Users List
Subject: RE: Building jk2-2.0.4 on rh9 having some problems

Should.  I guess let's start at the beginning...Does the module exist in
/etc/httpd/modules?

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:58 AM
To: 'Tomcat Users List'
Subject: RE: Building jk2-2.0.4 on rh9 having some problems


Actually
ls -ls /etc/httpd/
total 12
   0 lrwxrwxrwx    1 root     root           25 Mar 23 16:13 build ->
../../usr/lib/httpd/build
   4 drwxr-xr-x    7 root     root         4096 Apr  5 10:20 conf
   4 drwxr-xr-x    2 root     root         4096 Apr  1 10:22 conf.d
   4 drwxr-xr-x    2 apache   apache       4096 Mar 23 11:14 local
   0 lrwxrwxrwx    1 root     root           19 Mar 22 08:36 logs ->
../../var/log/httpd
   0 lrwxrwxrwx    1 root     root           27 Mar 22 08:36 modules ->
../../usr/lib/httpd/modules
   0 lrwxrwxrwx    1 root     root           13 Mar 22 08:36 run ->
../../var/run

Apache should be able to traverse a SYM link shouldn't it?

RP 

-----Original Message-----
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 10:50 AM
To: Tomcat Users List
Subject: RE: Building jk2-2.0.4 on rh9 having some problems

Your running into pathing problems.  Your using /usr/lib/httpd/modules and
/etc/httpd/modules.  apache wants to use /etc/httpd/modules.  Copy your
mod_jk2.so there.

Drew

-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:46 AM
To: 'Tomcat Users List'
Subject: Building jk2-2.0.4 on rh9 having some problems


Hello

I am building  jk2-2.0.4 on rh9 and apache 2

I first configure

./configure --with-apxs2=/usr/sbin/apxs --with-java-home=${JAVA_HOME}
--with-java-platform=2 --enable-jni 

Make (no errors)

cd ../build/jk2/apache2

============================================================================
====
When I do this I ge the following error
 apxs -n jk2 -i mod_jk2.so
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool'
mod_jk2.so /usr/lib/httpd/modules
/usr/lib/httpd/build/libtool --mode=install cp mod_jk2.so
/usr/lib/httpd/modules/ cp mod_jk2.so /usr/lib/httpd/modules/mod_jk2.so
mv: cannot move `/usr/lib/httpd/modules/' to a subdirectory of itself,
`/usr/lib/httpd/modules/mod_jk2.so.so'
chmod 755 /usr/lib/httpd/modules/mod_jk2.so
chmod: failed to get attributes of `/usr/lib/httpd/modules/mod_jk2.so': No
such file or directory
apxs:Error: Command failed with rc=65536
============================================================================
====

So I manually do the command
cp mod_jk2.so /usr/lib/httpd/modules/mod_jk2.so

But now when I try to start httpd I get the error:
Cannot load /etc/httpd/modules/mod_jk2.so into server:
/etc/httpd/modules/mod_jk2.so: cannot open shared object file: No such file
or directory

Thanks for anyhelp

randy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to