Re: Tomcat's dogging me...

2003-02-02 Thread Matthew Emmerton
 Hi,

 Okay, after many hours I have tomcat installed and I can connect to it's
 webserver. Unfortunately, I want to connect to to Apache and have it hand
 off the requests to tomcat.
 Here's the background and the most current glitches...

 FreeBSD 4.7-RELEASE
 Jakarta-Tomcat 4.1.12
 Apache 2.0.43
 jdk1.2.2
 mod_jk-3.3-ap20.so // does this even work with tomcat 4??

 ...and probably other things that I already forgot about.

 Okay, after adding the following lines to my httpd.conf,

 LoadModule jk_module libexec/apache2/mod_jk-3.3-ap20.so
 AddModule mod_jk.c # why is this here? Isn't this compile-time stuff?
 JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties
 JkLogFile /usr/local/apache/logs/mod_jk.log
 JkLogLevel info
 JkLogStampFormat [%a %b %d %H:%M:%S %Y] 

 when I try to start apache, I get:

 Syntax error on line 277 of /usr/local/etc/apache2/httpd.conf:
 Cannot load /usr/local/libexec/apache2/mod_jk-3.3-ap20.so into server:
 Shared object libc.so.6 not found

 The catch is libc.so.6 is on the system. The mod_jk that I got was the
 binary, and I got it as binary on the recommendation of the documentation
 on jakarta.apache.org. It's my guess, that the binary doesn't know where
 to look for the shared object.

Run 'ldconfig -r' to get the current list of cached shared objects.  If
libc.so.6 isn't there, then you've got your explanation.

However, there is a bigger problem -- where the heck did you get libc.so.6
from?  FreeBSD doesn't have one of these -- FreeBSD 4.x has libc.so.4 and
FreeBSD 5.x has libc.so.5.

--
Matt Emmerton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Tomcat's dogging me...

2003-02-02 Thread Rich Fox
Hi,

Well, on further inspection, I have this which is posing as libc.so.6:

test_server# ls -l /usr/compat/linux/lib/libc.so.6
lrwxr-xr-x  1 root  wheel  13 Jan 31 15:48 /usr/compat/linux/lib/libc.so.6
- libc-2.2.4.so

Rich.


  The catch is libc.so.6 is on the system. The mod_jk that I got was the
  binary, and I got it as binary on the recommendation of the documentation
  on jakarta.apache.org. It's my guess, that the binary doesn't know where
  to look for the shared object.

 Run 'ldconfig -r' to get the current list of cached shared objects.  If
 libc.so.6 isn't there, then you've got your explanation.

 However, there is a bigger problem -- where the heck did you get libc.so.6
 from?  FreeBSD doesn't have one of these -- FreeBSD 4.x has libc.so.4 and
 FreeBSD 5.x has libc.so.5.

 --
 Matt Emmerton


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Tomcat's dogging me...

2003-02-02 Thread Rich Fox
Hi,

This is a followu p to my own posts about all of the problems that I was
having with jakarta-tomcat4.1 with apache2

Basically, I didn't solve all of the problems, but out of total
frustration, I deinstalled everything and installed a lower version.

I know have a functioning system running:
jakarta-tomcat3.3.1
apache1.3
jdk-1.2
jk (that came with jakarta-tomcat3.3.1

Thanks to everyone who responded.

Rich.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Tomcat's dogging me...

2003-02-01 Thread Rich Fox
Hi,

Okay well I sorted out part of it anyways.

The package /usr/ports/mod_jk/ that is in the FreeBSD 4.7 is not
compatible with Apache 2.0. --well, or maybe it is, but it will not
compile without some of the src files from the apache1.3 distribution,
specifically,
util_date.h
and possibly
http_conf_globals.h

Rich.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050

On Sat, 1 Feb 2003, Rich Fox wrote:

 Hi,

 Okay, after many hours I have tomcat installed and I can connect to it's
 webserver. Unfortunately, I want to connect to to Apache and have it hand
 off the requests to tomcat.
 Here's the background and the most current glitches...

 FreeBSD 4.7-RELEASE
 Jakarta-Tomcat 4.1.12
 Apache 2.0.43
 jdk1.2.2
 mod_jk-3.3-ap20.so // does this even work with tomcat 4??

 ...and probably other things that I already forgot about.

 Okay, after adding the following lines to my httpd.conf,

 LoadModule jk_module libexec/apache2/mod_jk-3.3-ap20.so
 AddModule mod_jk.c # why is this here? Isn't this compile-time stuff?
 JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties
 JkLogFile /usr/local/apache/logs/mod_jk.log
 JkLogLevel info
 JkLogStampFormat [%a %b %d %H:%M:%S %Y] 

 when I try to start apache, I get:

 Syntax error on line 277 of /usr/local/etc/apache2/httpd.conf:
 Cannot load /usr/local/libexec/apache2/mod_jk-3.3-ap20.so into server:
 Shared object libc.so.6 not found

 The catch is libc.so.6 is on the system. The mod_jk that I got was the
 binary, and I got it as binary on the recommendation of the documentation
 on jakarta.apache.org. It's my guess, that the binary doesn't know where
 to look for the shared object.

 Can someone advise me on what to do here?

 There seem to be huge inconsistencies between the online documentation at
 jakarta and what you get when you acquire the software or the behaviors of
 the software. Has anyone else noticed this? E.g. saying some files are in
 the distibution when they aren't...

 Also, I am interested in perusing the most basic functional configuration
 file for  Tomcat. I tried to build my own by walking through the
 documentation, but I never got Tomcat to run correctly. If you have a
 simple, hand built file that you'd like to share, I'd love to look at it.

 This installation has been so plagued with problems. Any assistance is
 greatly appreciated.

 Thanks,
 Rich.

  | Rich Fox
  | [EMAIL PROTECTED]
  | 86 Nobska Road
  | Woods Hole, MA 02543
  | MA 508 548 4358
  | VA 703 201 6050


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message