You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mladen Turk <mt...@apache.org> on 2004/03/16 15:21:07 UTC

[Fwd: Releasing JK 2.0.4]

Oops, hit a wrong button so the post ended up the users list :-)


-------- Original Message --------
Subject: 	Releasing JK 2.0.4
Date: 	Tue, 16 Mar 2004 13:36:11 +0100
From: 	Mladen Turk <mt...@apache.org>
To: 	tomcat-user@jakarta.apache.org



Hi,

Seems that the shm is working now.
Greg, have you been able to test it with the current patches?
Anyhow IMO it should work, cause the same problem manifested on FreeBSD 
has been solved.

Henri, when do you plan to tag the release?

MT.




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: [Fwd: Releasing JK 2.0.4]

Posted by Mladen Turk <mt...@apache.org>.
 

> -----Original Message-----
> From: NormW
> 
> I want to also echo Guenter's thanks to the committers, less 
> for adopting the suggestions offered but for taking the time 
> to look at and (hopefully) consider them. I suspect all have 
> other commitments beyond Mod_Jk2 and suggestions generally 
> tendered asynchronously with their available time.
> 

The time (and stress) is always a problem.
I have a simple stress test available at:

http://www.apache.org/~mturk/stress.html

Hope you've passed :-).

> Yes, there are things I think still need attention, but a lot 
> of people are 'waiting' on 2.0.4, and NetWare is but a 
> newcomer to the Mod_Jk2 house so can bide its time for 2.0.5.
> 

Yes, it's been quite a while since the last release.

MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: [Fwd: Releasing JK 2.0.4]

Posted by NormW <no...@bocnet.com.au>.
Greetings All!
What?! Me? Complain? The only thing that gets me excited in an 'open' forum
is being ignored, as if I didn't exist.

I want to also echo Guenter's thanks to the committers, less for adopting
the suggestions offered but for taking the time to look at and (hopefully)
consider them. I suspect all have other commitments beyond Mod_Jk2 and
suggestions generally tendered asynchronously with their available time.

Yes, there are things I think still need attention, but a lot of people are
'waiting' on 2.0.4, and NetWare is but a newcomer to the Mod_Jk2 house so
can bide its time for 2.0.5.

Norm


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: [Fwd: Releasing JK 2.0.4]

Posted by Kurt Miller <tr...@apache.org>.
From: "jean-frederic clere" <jf...@fujitsu-siemens.com>
> Henri Gomez wrote:
> > If Jean-Frederic, Mladen, Kurt (commiters) agreed,
> > and if Gueunter, NorW and users didn't complain, I think
> > I could tag tomorrow and prepare the 2.0.4 release
>
> I have a new problem on (one) FreeBSD:
> +++
> if [ ! -d /usr/local/apr/include/apr-0 ]; then
> /home/com5/jfc/tmp/apr-0.9.4/build/mkdir.sh /usr/local/apr/include/apr-0;  fi;
> mkdir /usr/local/apr
> mkdir: /usr/local/apr: Permission denied
> mkdir /usr/local/apr/include
> mkdir: /usr/local/apr: No such file or directory
> mkdir /usr/local/apr/include/apr-0
> mkdir: /usr/local/apr/include: No such file or directory
> *** Error code 1
>
> Stop in /home/com5/jfc/tmp/apr-0.9.4.
> gmake: *** [apr-build] Error 1
> +++

It seems like you don't have the most recent support/jk_apr.m4. The current version sets the prefix to the --with-apr dir.

> The make install of APR is not a good idea. A DESTDIR=...../build probably helps.
>

OK. I was trying to avoid hardcoding the location of libapr-0.a for the apache13 apxs build. It doesn't use libtool and needs to
link to it. When apr is not installed, apr-config --link-ld doesn't generate the correct location for the library (it is missing the
.libs).

> Cheers
>
> Jean-Fredreric
>

The following patch doesn't install apr (and apr-util). It appends the /.libs to the --link-ld using sed. You or I can commit this
or something like it tomorrow if you prefer not to install apr.

Index: native2/Makefile.in
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/Makefile.in,v
retrieving revision 1.6
diff -u -r1.6 Makefile.in
--- native2/Makefile.in 10 Mar 2004 09:47:34 -0000 1.6
+++ native2/Makefile.in 18 Mar 2004 04:22:47 -0000
@@ -57,7 +57,6 @@

 apr-build:
  ( cd @APR_DIR@ && make && cd @APR_UTIL_DIR@ && make )
- ( cd @APR_DIR@ && make install && cd @APR_UTIL_DIR@ && make install )

 apr-clean:
  ( cd @APR_DIR@ && make clean && cd @APR_UTIL_DIR@ && make clean )
Index: native2/server/apache13/Makefile.apxs.in
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache13/Makefile.apxs.in,v
retrieving revision 1.10
diff -u -r1.10 Makefile.apxs.in
--- native2/server/apache13/Makefile.apxs.in 13 Feb 2004 21:38:26 -0000 1.10
+++ native2/server/apache13/Makefile.apxs.in 18 Mar 2004 04:22:47 -0000
@@ -7,8 +7,8 @@
 APR_CFLAGS=@APR_CFLAGS@
 C_FILES=jk_service_apache13.c mod_jk2.c
 JAVA_HOME=@JAVA_HOME@
-APR_LIBS=`@APR_DIR@/bin/apr-config --link-ld`
-APR_UTIL_LIBS=`@APR_UTIL_DIR@/bin/apu-config --link-ld`
+APR_LIBS=`@APR_DIR@/apr-config --link-ld | sed 's|@APR_DIR@|@APR_DIR@/.libs|'`
+APR_UTIL_LIBS=`@APR_UTIL_DIR@/apu-config --link-ld | sed 's|@APR_UTIL_DIR@|@APR_UTIL_DIR@/.libs|'`

 ifneq ($(strip $(JAVA_HOME)),)
 JAVA_INCL=-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS} @HAVE_JNI@
Index: support/jk_apr.m4
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/support/jk_apr.m4,v
retrieving revision 1.13
diff -u -r1.13 jk_apr.m4
--- support/jk_apr.m4 24 Feb 2004 08:41:40 -0000 1.13
+++ support/jk_apr.m4 18 Mar 2004 04:22:47 -0000
@@ -88,7 +88,7 @@
             tempret="0"
             JK_EXEC(
               [tempret],
-              [${SHELL} ./configure --prefix=${APR_DIR} --with-installbuilddir=${APR_DIR}/instbuild --disable-shared
${APR_CONFIGURE_ARGS}],
+              [${SHELL} ./configure --disable-shared ${APR_CONFIGURE_ARGS}],
               [apr],
               [${APR_DIR}])
             if ${TEST} "${tempret}" = "0"; then
@@ -97,7 +97,7 @@
               AC_MSG_ERROR(apr configure failed with ${tempret})
             fi
             JK_APR_LIBNAME(apr_libname,${APR_DIR})
-            APR_LDFLAGS="${APR_DIR}/lib/${apr_libname}"
+            APR_LDFLAGS="${APR_DIR}/${apr_libname}"
             APR_LIBDIR=""
    use_apr=true
             COMMON_APR_OBJECTS="\${COMMON_APR_OBJECTS}"
@@ -154,7 +154,7 @@
             tempret="0"
             JK_EXEC(
               [tempret],
-              [${SHELL} ./configure --prefix=${APR_UTIL_DIR} --with-apr=${APR_DIR}],
+              [${SHELL} ./configure --with-apr=${APR_DIR}],
               [apr-util],
               [${APR_UTIL_DIR}])
             if ${TEST} "${tempret}" = "0"; then
@@ -163,7 +163,7 @@
               AC_MSG_ERROR(apr-util configure failed with ${tempret})
             fi
             JK_APR_UTIL_LIBNAME(apr_util_libname,${APR_UTIL_DIR})
-            APR_LDFLAGS="${APR_LDFLAGS} ${APR_UTIL_DIR}/lib/${apr_util_libname}"
+            APR_LDFLAGS="${APR_LDFLAGS} ${APR_UTIL_DIR}/${apr_util_libname}"
             APR_UTIL_LIBDIR=""
    use_apr=true
             COMMON_APR_OBJECTS="\${COMMON_APR_OBJECTS}"


Re: [Fwd: Releasing JK 2.0.4]

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
jean-frederic clere wrote:
> Henri Gomez wrote:
> 
>> Mladen Turk wrote:
>>
>>> Oops, hit a wrong button so the post ended up the users list :-)
>>>
>>>
>>> -------- Original Message --------
>>> Subject:     Releasing JK 2.0.4
>>> Date:     Tue, 16 Mar 2004 13:36:11 +0100
>>> From:     Mladen Turk <mt...@apache.org>
>>> To:     tomcat-user@jakarta.apache.org
>>>
>>>
>>>
>>> Hi,
>>>
>>> Seems that the shm is working now.
>>> Greg, have you been able to test it with the current patches?
>>> Anyhow IMO it should work, cause the same problem manifested on 
>>> FreeBSD has been solved.
>>>
>>> Henri, when do you plan to tag the release?
>>
>>
>>
>> Did everything is correct with SHM ?
>>
>> If Jean-Frederic, Mladen, Kurt (commiters) agreed,
>> and if Gueunter, NorW and users didn't complain, I think
>> I could tag tomorrow and prepare the 2.0.4 release
> 
> 
> I have a new problem on (one) FreeBSD:
> +++
> if [ ! -d /usr/local/apr/include/apr-0 ]; then 
> /home/com5/jfc/tmp/apr-0.9.4/build/mkdir.sh 
> /usr/local/apr/include/apr-0;  fi;
> mkdir /usr/local/apr
> mkdir: /usr/local/apr: Permission denied
> mkdir /usr/local/apr/include
> mkdir: /usr/local/apr: No such file or directory
> mkdir /usr/local/apr/include/apr-0
> mkdir: /usr/local/apr/include: No such file or directory
> *** Error code 1
> 
> Stop in /home/com5/jfc/tmp/apr-0.9.4.
> gmake: *** [apr-build] Error 1
> +++
> The make install of APR is not a good idea. A DESTDIR=...../build 
> probably helps.

It is fixed now. Thanks Kurt.

> 
> Cheers
> 
> Jean-Fredreric
> 
> 
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: [Fwd: Releasing JK 2.0.4]

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Gomez wrote:
> Mladen Turk wrote:
> 
>> Oops, hit a wrong button so the post ended up the users list :-)
>>
>>
>> -------- Original Message --------
>> Subject:     Releasing JK 2.0.4
>> Date:     Tue, 16 Mar 2004 13:36:11 +0100
>> From:     Mladen Turk <mt...@apache.org>
>> To:     tomcat-user@jakarta.apache.org
>>
>>
>>
>> Hi,
>>
>> Seems that the shm is working now.
>> Greg, have you been able to test it with the current patches?
>> Anyhow IMO it should work, cause the same problem manifested on 
>> FreeBSD has been solved.
>>
>> Henri, when do you plan to tag the release?
> 
> 
> Did everything is correct with SHM ?
> 
> If Jean-Frederic, Mladen, Kurt (commiters) agreed,
> and if Gueunter, NorW and users didn't complain, I think
> I could tag tomorrow and prepare the 2.0.4 release

I have a new problem on (one) FreeBSD:
+++
if [ ! -d /usr/local/apr/include/apr-0 ]; then 
/home/com5/jfc/tmp/apr-0.9.4/build/mkdir.sh /usr/local/apr/include/apr-0;  fi;
mkdir /usr/local/apr
mkdir: /usr/local/apr: Permission denied
mkdir /usr/local/apr/include
mkdir: /usr/local/apr: No such file or directory
mkdir /usr/local/apr/include/apr-0
mkdir: /usr/local/apr/include: No such file or directory
*** Error code 1

Stop in /home/com5/jfc/tmp/apr-0.9.4.
gmake: *** [apr-build] Error 1
+++
The make install of APR is not a good idea. A DESTDIR=...../build probably helps.

Cheers

Jean-Fredreric


> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: [Fwd: Releasing JK 2.0.4]

Posted by Henri Gomez <hg...@apache.org>.
Henri Gomez wrote:

> jean-frederic clere wrote:
> 
>> Henri Gomez wrote:
>>
>>> Mladen Turk wrote:
>>>
>>>> Oops, hit a wrong button so the post ended up the users list :-)
>>>>
>>>>
>>>> -------- Original Message --------
>>>> Subject:     Releasing JK 2.0.4
>>>> Date:     Tue, 16 Mar 2004 13:36:11 +0100
>>>> From:     Mladen Turk <mt...@apache.org>
>>>> To:     tomcat-user@jakarta.apache.org
>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> Seems that the shm is working now.
>>>> Greg, have you been able to test it with the current patches?
>>>> Anyhow IMO it should work, cause the same problem manifested on 
>>>> FreeBSD has been solved.
>>>>
>>>> Henri, when do you plan to tag the release?
>>>
>>>
>>>
>>>
>>> Did everything is correct with SHM ?
>>>
>>> If Jean-Frederic, Mladen, Kurt (commiters) agreed,
>>> and if Gueunter, NorW and users didn't complain, I think
>>> I could tag tomorrow and prepare the 2.0.4 release
>>
>>
>>
>> I have the following error:
>> +++
>> # sbin/apachectl start
>> Syntax error on line 250 of /opt/SMAWoIS/apache13/conf/httpd.conf:
>> Cannot load /opt/SMAWoIS/apache13/libexec/mod_jk2.so into server: 
>> ld.so.1: /opt/SMAWoIS/apache13/sbin/httpd: fatal: relocation error: 
>> file /opt/SMAWoIS/apache13/libexec/mod_jk2.so: symbol 
>> jk_jni_status_code: referenced symbol not found
>> sbin/apachectl start: httpd could not be started
>> +++
> 
> 
> missing jni ?

jk_jni_status_code is defined in jni/jk_jni_aprImpl.c when HAVE_JNI
is set

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: [Fwd: Releasing JK 2.0.4]

Posted by Henri Gomez <hg...@apache.org>.
jean-frederic clere wrote:

> Henri Gomez wrote:
> 
>> Mladen Turk wrote:
>>
>>> Oops, hit a wrong button so the post ended up the users list :-)
>>>
>>>
>>> -------- Original Message --------
>>> Subject:     Releasing JK 2.0.4
>>> Date:     Tue, 16 Mar 2004 13:36:11 +0100
>>> From:     Mladen Turk <mt...@apache.org>
>>> To:     tomcat-user@jakarta.apache.org
>>>
>>>
>>>
>>> Hi,
>>>
>>> Seems that the shm is working now.
>>> Greg, have you been able to test it with the current patches?
>>> Anyhow IMO it should work, cause the same problem manifested on 
>>> FreeBSD has been solved.
>>>
>>> Henri, when do you plan to tag the release?
>>
>>
>>
>> Did everything is correct with SHM ?
>>
>> If Jean-Frederic, Mladen, Kurt (commiters) agreed,
>> and if Gueunter, NorW and users didn't complain, I think
>> I could tag tomorrow and prepare the 2.0.4 release
> 
> 
> I have the following error:
> +++
> # sbin/apachectl start
> Syntax error on line 250 of /opt/SMAWoIS/apache13/conf/httpd.conf:
> Cannot load /opt/SMAWoIS/apache13/libexec/mod_jk2.so into server: 
> ld.so.1: /opt/SMAWoIS/apache13/sbin/httpd: fatal: relocation error: file 
> /opt/SMAWoIS/apache13/libexec/mod_jk2.so: symbol jk_jni_status_code: 
> referenced symbol not found
> sbin/apachectl start: httpd could not be started
> +++

missing jni ?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: [Fwd: Releasing JK 2.0.4]

Posted by Mladen Turk <mt...@apache.org>.
 

> -----Original Message-----
> From: jean-frederic clere 
> 
> I have the following error:
> +++
> # sbin/apachectl start
> Syntax error on line 250 of /opt/SMAWoIS/apache13/conf/httpd.conf:
> Cannot load /opt/SMAWoIS/apache13/libexec/mod_jk2.so into 
> server: ld.so.1: 
> /opt/SMAWoIS/apache13/sbin/httpd: fatal: relocation error: file
> /opt/SMAWoIS/apache13/libexec/mod_jk2.so: symbol 
> jk_jni_status_code: referenced symbol not found 
> sbin/apachectl start: httpd could not be started

The jk_jni_status_code is int defined in jni/jk_jni_aprImpl.c
Something went wrong during compilation?

MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: [Fwd: Releasing JK 2.0.4]

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Gomez wrote:
> Mladen Turk wrote:
> 
>> Oops, hit a wrong button so the post ended up the users list :-)
>>
>>
>> -------- Original Message --------
>> Subject:     Releasing JK 2.0.4
>> Date:     Tue, 16 Mar 2004 13:36:11 +0100
>> From:     Mladen Turk <mt...@apache.org>
>> To:     tomcat-user@jakarta.apache.org
>>
>>
>>
>> Hi,
>>
>> Seems that the shm is working now.
>> Greg, have you been able to test it with the current patches?
>> Anyhow IMO it should work, cause the same problem manifested on 
>> FreeBSD has been solved.
>>
>> Henri, when do you plan to tag the release?
> 
> 
> Did everything is correct with SHM ?
> 
> If Jean-Frederic, Mladen, Kurt (commiters) agreed,
> and if Gueunter, NorW and users didn't complain, I think
> I could tag tomorrow and prepare the 2.0.4 release

I have the following error:
+++
# sbin/apachectl start
Syntax error on line 250 of /opt/SMAWoIS/apache13/conf/httpd.conf:
Cannot load /opt/SMAWoIS/apache13/libexec/mod_jk2.so into server: ld.so.1: 
/opt/SMAWoIS/apache13/sbin/httpd: fatal: relocation error: file 
/opt/SMAWoIS/apache13/libexec/mod_jk2.so: symbol jk_jni_status_code: referenced 
symbol not found
sbin/apachectl start: httpd could not be started
+++

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


RE: [Fwd: Releasing JK 2.0.4]

Posted by Mladen Turk <mt...@apache.org>.
 

> -----Original Message-----
> From: Henri Gomez
> > 
> > Henri, when do you plan to tag the release?
> 
> Did everything is correct with SHM ?
> 

Yes, It seems it does.
Not so sure about 1.3 but it should, cause the problem was with double shm
initialization for each child, but that is fixed now.


> If Jean-Frederic, Mladen, Kurt (commiters) agreed, and if 
> Gueunter, NorW and users didn't complain, I think I could tag 
> tomorrow and prepare the 2.0.4 release
> 

Fine with me.

MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: [Fwd: Releasing JK 2.0.4]

Posted by Henri Gomez <hg...@apache.org>.
Mladen Turk wrote:

> Oops, hit a wrong button so the post ended up the users list :-)
> 
> 
> -------- Original Message --------
> Subject:     Releasing JK 2.0.4
> Date:     Tue, 16 Mar 2004 13:36:11 +0100
> From:     Mladen Turk <mt...@apache.org>
> To:     tomcat-user@jakarta.apache.org
> 
> 
> 
> Hi,
> 
> Seems that the shm is working now.
> Greg, have you been able to test it with the current patches?
> Anyhow IMO it should work, cause the same problem manifested on FreeBSD 
> has been solved.
> 
> Henri, when do you plan to tag the release?

Did everything is correct with SHM ?

If Jean-Frederic, Mladen, Kurt (commiters) agreed,
and if Gueunter, NorW and users didn't complain, I think
I could tag tomorrow and prepare the 2.0.4 release

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org