You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Larry Isaacs <La...@sas.com> on 2001/10/15 16:31:02 UTC
RE: 3.3rc2 mod_jk.so BSD bug (was RE: 3.3rc2 and mod_jk.so - have
to have matching versions?)
Hi Jesse,
The jk_set_log_format is a function defined jk_util.c/jk_util.h. This
function doesn't appear to be present in 3.2.3's mod_jk.
The Makefile.freebsd originates with the a directory restructuring that
occurred over a year ago and wasn't necessarily tested at the time of
the change. It hasn't been updated since, and likely has never been
tested. I would be interested in a patch, if you can get it working.
Sorry I can't be of more help.
Larry
> -----Original Message-----
> From: Jesse Reynolds [mailto:lizst@va.com.au]
> Sent: Monday, October 15, 2001 9:32 AM
> To: tomcat-user@jakarta.apache.org
> Subject: 3.3rc2 mod_jk.so BSD bug (was RE: 3.3rc2 and mod_jk.so - have
> to have matching versions?)
>
>
> Ahhh, thanks Larry that's great to know. This explains the timeouts.
>
> So, now I appear to have a bug in the 3.3rc2 mod_jk.so - unless I'm
> compiling it wrong. It took quite some hacking of the
> Makefile.freebsd to make it compile at all, and when I run apache
> with this new mod_jk.so installed I get the following error:
>
> Undefined symbol "jk_set_log_format"
>
> ...
>
> su-2.05# apachectl start
> Syntax error on line 237 of /usr/local/etc/apache/httpd.conf:
> Cannot load /usr/local/libexec/apache/mod_jk.so into server:
> /usr/local/libexec/apache/mod_jk.so: Undefined symbol
> "jk_set_log_format"
> /usr/local/sbin/apachectl start: httpd could not be started
>
>
> Does anyone have any idea what might be happening here? is it a bug
> in the code? is it something I did wrong when compiling mod_jk.so ???
>
> Cheers
>
> Jesse
>
>
> At 8:29 -0400 15/10/01, Larry Isaacs wrote:
> >Hi,
> >
> >The doc/readme file contains:
> >
> >- Enhanced mod_jk Connector
> >
> > The mod_jk connector for Apache 1.3 now supports chunked input.
> >
> > Important Note: The chunked input enhancement required a
> protocol change
> > that makes Tomcat 3.3 incompatible with
> mod_jk base
> > connectors from Tomcat 3.2.3 and earlier.
> Only use
> > connectors supplied with the Tomcat 3.3
> release or the
> > jakarta-tomcat-connectors project with Tomcat 3.3.
> >
> >Upgrading to the Tomcat 3.3 connectors with be necessary to
> use 3.3RC2
> >
> >Cheers,
> >Larry
> >
> >> -----Original Message-----
> >> From: Camron Levanger [mailto:camron@camron-danica.com]
> >> Sent: Sunday, October 14, 2001 1:22 PM
> >> To: tomcat-user@jakarta.apache.org
> >> Subject: Re: 3.3rc2 and mod_jk.so - have to have matching
> versions?
> >>
> >>
> >> I am having the same problem, but on OS X and I upgraded
> from apache
> >> 1.3.19 to 1.3.20, and tomcat 3.2.1 to 3.2.3 I have been trying to
> >> compile a new mod_jk for two days. I have tried building
> it from the
> >> 3.2.1 API and the 3.2.3 API and it doesn't seem to make a
> >> difference.
> >> If you are in a crunch like I was - my current TEMPORARY
> solution is
> >> Resin. It integrates seamlessly with apache and is easy to
> >> set up, you
> >> can get it at www.caucho.com, they actually claim to be
> better than
> >> tomcat but I doubt it (it seems noticeably slower to me).
> >>
> >>
> >> On Sunday, October 14, 2001, at 10:04 AM, Jesse Reynolds wrote:
> >>
> >> > Hi
> >> >
> >> > I'm trying to upgrade to Tomcat 3.3rc2... I have it
> working fine on
> >> > port 8080 but the ajp13 connector isn't working... I
> have the old
> >> > mod_jk.so from Tomcat 3.2, should this work??? it just
> times out.
> >> >
> >> > I've tried building mod_jk.so from the sources included in
> >> the binary
> >> > distribution of Tomcat 3.3rc2 but when I start up
> apache it bombs
> >> > complaining that:
> >> >
> >> > su-2.05# apachectl start
> >> > Syntax error on line 237 of /usr/local/etc/apache/httpd.conf:
> >> > Cannot load /usr/local/libexec/apache/mod_jk.so into server:
> >> > /usr/local/libexec/apache/mod_jk.so: Undefined symbol
> >> > "jk_set_log_format"
> >> > /usr/local/sbin/apachectl start: httpd could not be started
> >> >
> >> > I'm running on FreeBSD 4.4-RELEASE, and Apache 1.3.20
> >> >
> >> > CPU is Intel Pentium 4 1.5GHz
> >> >
> >> > Thankyou
> >> >
> >> > -jesse
> >> >
> >> > --
> >> > Jesse Reynolds - Virtual Artists Pty Ltd -
> >http://www.va.com.au
> > > jesse
> (at) va.com.au
> > >
>
>
> --
>
> Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au
> jesse (at) va.com.au
>
RE: 3.3rc2 mod_jk.so BSD bug (was RE: 3.3rc2 and mod_jk.so - have
to have matching versions?)
Posted by Jesse Reynolds <li...@va.com.au>.
Hi Larry
Well interesting that the FreeBSD ports collection managed to fix the
3.2.3 mod_jk.so source, I wonder what they fixed. Perhaps looking at
the patches in this port will provide some illumination as to what's
wrong with 3.3rc2 mod_jk.
Cheers
Jesse
At 10:31 -0400 15/10/01, Larry Isaacs wrote:
>Hi Jesse,
>
>The jk_set_log_format is a function defined jk_util.c/jk_util.h. This
>function doesn't appear to be present in 3.2.3's mod_jk.
>
>The Makefile.freebsd originates with the a directory restructuring that
>occurred over a year ago and wasn't necessarily tested at the time of
>the change. It hasn't been updated since, and likely has never been
>tested. I would be interested in a patch, if you can get it working.
>
>Sorry I can't be of more help.
>Larry
>
>> -----Original Message-----
>> From: Jesse Reynolds [mailto:lizst@va.com.au]
>> Sent: Monday, October 15, 2001 9:32 AM
>> To: tomcat-user@jakarta.apache.org
>> Subject: 3.3rc2 mod_jk.so BSD bug (was RE: 3.3rc2 and mod_jk.so - have
>> to have matching versions?)
>>
>>
>> Ahhh, thanks Larry that's great to know. This explains the timeouts.
>>
>> So, now I appear to have a bug in the 3.3rc2 mod_jk.so - unless I'm
>> compiling it wrong. It took quite some hacking of the
>> Makefile.freebsd to make it compile at all, and when I run apache
>> with this new mod_jk.so installed I get the following error:
>>
>> Undefined symbol "jk_set_log_format"
>>
>> ...
>>
>> su-2.05# apachectl start
>> Syntax error on line 237 of /usr/local/etc/apache/httpd.conf:
>> Cannot load /usr/local/libexec/apache/mod_jk.so into server:
>> /usr/local/libexec/apache/mod_jk.so: Undefined symbol
>> "jk_set_log_format"
>> /usr/local/sbin/apachectl start: httpd could not be started
>>
>>
>> Does anyone have any idea what might be happening here? is it a bug
>> in the code? is it something I did wrong when compiling mod_jk.so ???
>>
>> Cheers
>>
>> Jesse
>>
>>
>> At 8:29 -0400 15/10/01, Larry Isaacs wrote:
>> >Hi,
>> >
>> >The doc/readme file contains:
>> >
>> >- Enhanced mod_jk Connector
>> >
>> > The mod_jk connector for Apache 1.3 now supports chunked input.
>> >
>> > Important Note: The chunked input enhancement required a
>> protocol change
>> > that makes Tomcat 3.3 incompatible with
>> mod_jk base
>> > connectors from Tomcat 3.2.3 and earlier.
>> Only use
>> > connectors supplied with the Tomcat 3.3
>> release or the
>> > jakarta-tomcat-connectors project with Tomcat 3.3.
>> >
>> >Upgrading to the Tomcat 3.3 connectors with be necessary to
>> use 3.3RC2
>> >
>> >Cheers,
>> >Larry
>> >
>> >> -----Original Message-----
>> >> From: Camron Levanger [mailto:camron@camron-danica.com]
>> >> Sent: Sunday, October 14, 2001 1:22 PM
>> >> To: tomcat-user@jakarta.apache.org
>> >> Subject: Re: 3.3rc2 and mod_jk.so - have to have matching
>> versions?
>> >>
> > >>
> > >> I am having the same problem, but on OS X and I upgraded
> > from apache
> > >> 1.3.19 to 1.3.20, and tomcat 3.2.1 to 3.2.3 I have been trying to
> > >> compile a new mod_jk for two days. I have tried building
>> it from the
>> >> 3.2.1 API and the 3.2.3 API and it doesn't seem to make a
>> >> difference.
>> >> If you are in a crunch like I was - my current TEMPORARY
>> solution is
>> >> Resin. It integrates seamlessly with apache and is easy to
>> >> set up, you
>> >> can get it at www.caucho.com, they actually claim to be
>> better than
>> >> tomcat but I doubt it (it seems noticeably slower to me).
>> >>
>> >>
>> >> On Sunday, October 14, 2001, at 10:04 AM, Jesse Reynolds wrote:
>> >>
>> >> > Hi
>> >> >
>> >> > I'm trying to upgrade to Tomcat 3.3rc2... I have it
>> working fine on
>> >> > port 8080 but the ajp13 connector isn't working... I
>> have the old
>> >> > mod_jk.so from Tomcat 3.2, should this work??? it just
>> times out.
>> >> >
>> >> > I've tried building mod_jk.so from the sources included in
>> >> the binary
> > >> > distribution of Tomcat 3.3rc2 but when I start up
>> apache it bombs
>> >> > complaining that:
>> >> >
>> >> > su-2.05# apachectl start
>> >> > Syntax error on line 237 of /usr/local/etc/apache/httpd.conf:
>> >> > Cannot load /usr/local/libexec/apache/mod_jk.so into server:
>> >> > /usr/local/libexec/apache/mod_jk.so: Undefined symbol
>> >> > "jk_set_log_format"
>> >> > /usr/local/sbin/apachectl start: httpd could not be started
>> >> >
>> >> > I'm running on FreeBSD 4.4-RELEASE, and Apache 1.3.20
>> >> >
>> >> > CPU is Intel Pentium 4 1.5GHz
>> >> >
>> >> > Thankyou
>> >> >
>> >> > -jesse
>> >> >
>> >> > --
>> >> > Jesse Reynolds - Virtual Artists Pty Ltd -
>> >http://www.va.com.au
>> > > jesse
>> (at) va.com.au
>> > >
>>
>>
>> --
>>
>> Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au
>> jesse (at) va.com.au
>>
--
Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au
jesse (at) va.com.au