Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]

2004-03-23 Thread Tim Funk
The faq uses the wiki for some stuff. Feel free to add content there.

http://jakarta.apache.org/tomcat/faq/

-Tim

Tim Stewart wrote:
First let me say sorry for lurking and responding to this message 5 days
late.  I think your suggestions are very good. I also recently went through
hell trying to get mod_jk2 setup in IIS then Apache and have some
suggestions for the docs.  Is there anyway we can setup a WIKI for mod_jk2,
that way people who have suggestions for documentation can just add it?
Do WIKIs exist in the ASF?

Tim

- Original Message - 
From: "Daniel Savard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 19, 2004 9:53 PM
Subject: Re: Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK
2.0.4]



--- Guenter Knauf <[EMAIL PROTECTED]> wrote:
<>
I would like to see some
feedback from those admins who have to install the connectors what
they would

prefer.
A quick start covering:
- What to download
- What to compile
- Compatible Apache versions
- Which folder to copy files into
- What entries does Apache expect
- What workers and MPM are and how we can configure them

thanks, Guenter.

-- Sriram
Well, given my recent trauma, oups experience, setting up mod_jk2, may I
suggest a few things?
- A working configure script. Let me explain what I expect from a
configure script. It should check all requirements are met including
proper versions and not require more than necessary (for example, if
Berkley BD version 2.5 and up is fine, do not insist on version 4.0
because it may have some cascading effect on my system and if not
necessary, why should someone insist I upgrade 50% of the packages on
the system?)
- Working Makefiles. This is a side effect of a working configure
script. Given proper checking and identification of the system, the
proper Makefiles should be build. This include the appropriate list of
libraries I should link to in order to have working modules. To make
things clear, I should never get undefined symbols at runtime because
the Makefile never specified a complete list of libraries required to
resolve all the symbols in my module and the module has no hint on where
it should look for the undefined symbols to get them resolved. The
sysadmin is not supposed to be a developper (even if it happens it's not
always true) and don't expect him to manually edit the Makefile to make
it working with his system. If the configure cannot find the libraries,
it means they are not installed or the user didn't specified the correct
options to configure (library paths, if any) and it should be catch at
the configure step, not at runtime.
- A comprehensive guide of the configuration options (properties), not
necessarily something lengthy, but enough to figure out what is the
purpose of each configuration option and how it is used.
- Don't make any RPMS available if it is not possible to guarantee they
will provide a working system. Instead, with limited man-power and time,
I think it will be a better move to invest in a clean, documented,
straight forward building process with consistent results.
This should reduce drastically the number of redundant questions on the
Tomcat-user mailing list (including mines).


--

===
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1
Tél: (450) 467-8014
Internet: [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]


Re: Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]

2004-03-23 Thread Tim Stewart

First let me say sorry for lurking and responding to this message 5 days
late.  I think your suggestions are very good. I also recently went through
hell trying to get mod_jk2 setup in IIS then Apache and have some
suggestions for the docs.  Is there anyway we can setup a WIKI for mod_jk2,
that way people who have suggestions for documentation can just add it?

Do WIKIs exist in the ASF?

Tim


- Original Message - 
From: "Daniel Savard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 19, 2004 9:53 PM
Subject: Re: Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK
2.0.4]


> >--- Guenter Knauf <[EMAIL PROTECTED]> wrote:
> ><>
> >>I would like to see some
> >> feedback from those admins who have to install the connectors what
> >they would
> >> prefer.
> >
> >A quick start covering:
> >- What to download
> >- What to compile
> >- Compatible Apache versions
> >- Which folder to copy files into
> >- What entries does Apache expect
> >- What workers and MPM are and how we can configure them
> >
> >> thanks, Guenter.
> >>
> >-- Sriram
>
> Well, given my recent trauma, oups experience, setting up mod_jk2, may I
> suggest a few things?
>
> - A working configure script. Let me explain what I expect from a
> configure script. It should check all requirements are met including
> proper versions and not require more than necessary (for example, if
> Berkley BD version 2.5 and up is fine, do not insist on version 4.0
> because it may have some cascading effect on my system and if not
> necessary, why should someone insist I upgrade 50% of the packages on
> the system?)
>
> - Working Makefiles. This is a side effect of a working configure
> script. Given proper checking and identification of the system, the
> proper Makefiles should be build. This include the appropriate list of
> libraries I should link to in order to have working modules. To make
> things clear, I should never get undefined symbols at runtime because
> the Makefile never specified a complete list of libraries required to
> resolve all the symbols in my module and the module has no hint on where
> it should look for the undefined symbols to get them resolved. The
> sysadmin is not supposed to be a developper (even if it happens it's not
> always true) and don't expect him to manually edit the Makefile to make
> it working with his system. If the configure cannot find the libraries,
> it means they are not installed or the user didn't specified the correct
> options to configure (library paths, if any) and it should be catch at
> the configure step, not at runtime.
>
> - A comprehensive guide of the configuration options (properties), not
> necessarily something lengthy, but enough to figure out what is the
> purpose of each configuration option and how it is used.
>
> - Don't make any RPMS available if it is not possible to guarantee they
> will provide a working system. Instead, with limited man-power and time,
> I think it will be a better move to invest in a clean, documented,
> straight forward building process with consistent results.
>
> This should reduce drastically the number of redundant questions on the
> Tomcat-user mailing list (including mines).
>
>
>
> -- 
>
> ===
> Daniel Savard
> Consultation Informatique Daniel Savard
> 551, boul. Sir-Wilfrid-Laurier
> suite 105
> Beloeil, (Québec)
> Canada J3G 4J1
>
> Tél: (450) 467-8014
> Internet: [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]



Re: Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]

2004-03-19 Thread Daniel Savard
>--- Guenter Knauf <[EMAIL PROTECTED]> wrote:
><>
>>I would like to see some
>> feedback from those admins who have to install the connectors what
>they would
>> prefer.
>
>A quick start covering:
>- What to download
>- What to compile
>- Compatible Apache versions
>- Which folder to copy files into
>- What entries does Apache expect
>- What workers and MPM are and how we can configure them
>
>> thanks, Guenter.
>> 
>-- Sriram

Well, given my recent trauma, oups experience, setting up mod_jk2, may I
suggest a few things?

- A working configure script. Let me explain what I expect from a
configure script. It should check all requirements are met including
proper versions and not require more than necessary (for example, if
Berkley BD version 2.5 and up is fine, do not insist on version 4.0
because it may have some cascading effect on my system and if not
necessary, why should someone insist I upgrade 50% of the packages on
the system?)

- Working Makefiles. This is a side effect of a working configure
script. Given proper checking and identification of the system, the  
proper Makefiles should be build. This include the appropriate list of
libraries I should link to in order to have working modules. To make
things clear, I should never get undefined symbols at runtime because
the Makefile never specified a complete list of libraries required to
resolve all the symbols in my module and the module has no hint on where
it should look for the undefined symbols to get them resolved. The
sysadmin is not supposed to be a developper (even if it happens it's not
always true) and don't expect him to manually edit the Makefile to make
it working with his system. If the configure cannot find the libraries,
it means they are not installed or the user didn't specified the correct
options to configure (library paths, if any) and it should be catch at
the configure step, not at runtime.

- A comprehensive guide of the configuration options (properties), not
necessarily something lengthy, but enough to figure out what is the
purpose of each configuration option and how it is used.

- Don't make any RPMS available if it is not possible to guarantee they
will provide a working system. Instead, with limited man-power and time,
I think it will be a better move to invest in a clean, documented,
straight forward building process with consistent results.

This should reduce drastically the number of redundant questions on the
Tomcat-user mailing list (including mines).



-- 

===
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1

Tél: (450) 467-8014
Internet: [EMAIL PROTECTED]
===



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



Re: [Fwd: Releasing JK 2.0.4]

2004-03-19 Thread Henri Gomez
--with-jni and --with-pcre now works for apache13 and apache2 for both 
Makefile.in and Makefile.apxs.in methods.


Yes, it is working.
Well we should use the BUILD.txt documentation I just commited.

Comments and add-ons welcome, for instance IIS, Netware, and others
specials build instructions more than welcome
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [Fwd: Releasing JK 2.0.4]

2004-03-19 Thread jean-frederic clere
Kurt Miller wrote:
From: "jean-frederic clere" 

Henri Gomez wrote:

jean-frederic clere wrote:


Henri Gomez wrote:


jean-frederic clere wrote:


Henri Gomez wrote:


jean-frederic clere wrote:


Mladen Turk wrote:






-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?






Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so 
jk_jni_status_code is undefined.






So jk_jni_aprImpl.c has not been compiled.

What's your configure line ?




CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \
./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs 
--with-apr=/export/home3/jfclere/tmp/apr-0.9.4 
--with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni




Ok.

Could you see if the jk_jni_aprImpl.c is built ?


No it is not build.


So that's the problem.

Could you send a compile log ?
That is just a note to tell that not using --with-jni helps.



--with-jni and --with-pcre now works for apache13 and apache2 for both Makefile.in and Makefile.apxs.in methods.
Yes, it is working.

-Kurt

-
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]


Re: [Fwd: Releasing JK 2.0.4]

2004-03-18 Thread Kurt Miller
From: "jean-frederic clere" 
> Henri Gomez wrote:
> > jean-frederic clere wrote:
> > 
> >> Henri Gomez wrote:
> >>
> >>> jean-frederic clere wrote:
> >>>
>  Henri Gomez wrote:
> 
> > jean-frederic clere wrote:
> >
> >> Mladen Turk wrote:
> >>
> >>>  
> >>>
> >>>
>  -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?
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so 
> >> jk_jni_status_code is undefined.
> >
> >
> >
> >
> >
> >
> > So jk_jni_aprImpl.c has not been compiled.
> >
> > What's your configure line ?
> 
> 
> 
> 
> 
>  CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \
>  ./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs 
>  --with-apr=/export/home3/jfclere/tmp/apr-0.9.4 
>  --with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni
> >>>
> >>>
> >>>
> >>>
> >>> Ok.
> >>>
> >>> Could you see if the jk_jni_aprImpl.c is built ?
> >>
> >>
> >>
> >> No it is not build.
> > 
> > 
> > So that's the problem.
> > 
> > Could you send a compile log ?
> 
> That is just a note to tell that not using --with-jni helps.
> 

--with-jni and --with-pcre now works for apache13 and apache2 for both Makefile.in and 
Makefile.apxs.in methods.

-Kurt

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



Re: [Fwd: Releasing JK 2.0.4]

2004-03-18 Thread jean-frederic clere
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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]


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: [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]


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Kurt Miller
From: "jean-frederic clere" <[EMAIL PROTECTED]>
> Henri Gomez wrote:
> > jean-frederic clere wrote:
> > 
> >> Henri Gomez wrote:
> >>
> >>> jean-frederic clere wrote:
> >>>
>  Henri Gomez wrote:
> 
> > jean-frederic clere wrote:
> >
> >> Mladen Turk wrote:
> >>
> >>>  
> >>>
> >>>
>  -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?
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so 
> >> jk_jni_status_code is undefined.
> >
> >
> >
> >
> >
> >
> > So jk_jni_aprImpl.c has not been compiled.
> >
> > What's your configure line ?
> 
> 
> 
> 
> 
>  CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \
>  ./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs 
>  --with-apr=/export/home3/jfclere/tmp/apr-0.9.4 
>  --with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni
> >>>
> >>>
> >>>
> >>>
> >>> Ok.
> >>>
> >>> Could you see if the jk_jni_aprImpl.c is built ?
> >>
> >>
> >>
> >> No it is not build.
> > 
> > 
> > So that's the problem.
> > 
> > Could you send a compile log ?
> 
> That is just a note to tell that not using --with-jni helps.
> 

Yes, there's still some arranging to do for --with-jni. 
This is what I think is working and not.

server/apache2/Makefile.in - OK
server/apache2/Makefile.apxs.in - probably needs work.
server/apache13/Makefile.in - needs work
server/apache13/Makefile.apxs.in - needs work

I've also noted that --with-pcre needs some tweaking at least for FreeBSD.

For apache2 I needed to add -L/usr/local/lib to PCRE_LIBS in jk_pcre.m4

For apache13 I think I needed to add -I /usr/local/include too.

All the above is on my personal todo list (help is welcome;-). I have some 
time tomorrow and Friday to look at some of this, but I'm not sure 
if its worth holding up the release or not. 

-Kurt

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



Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Kurt Miller
From: "jean-frederic clere" <[EMAIL PROTECTED]>
> 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 - 1.6
+++ native2/Makefile.in 18 Mar 2004 04:22:47 -
@@ -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 - 1.10
+++ native2/server/apache13/Makefile.apxs.in 18 Mar 2004 04:22:47 -
@@ -7,8 +7,8 @@
 [EMAIL PROTECTED]@
 C_FILES=jk_service_apache13.c mod_jk2.c
 [EMAIL PROTECTED]@
[EMAIL PROTECTED]@/bin/apr-config --link-ld`
[EMAIL PROTECTED]@/bin/apu-config --link-ld`
[EMAIL PROTECTED]@/apr-config --link-ld | sed 's|@APR_DIR@|@APR_DIR@/.libs|'`
[EMAIL PROTECTED]@/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 - 1.13
+++ support/jk_apr.m4 18 Mar 2004 04:22:47 -
@@ -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}"

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

Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Sriram N

--- Guenter Knauf <[EMAIL PROTECTED]> wrote:
<>
>I would like to see some
> feedback from those admins who have to install the connectors what they would
> prefer.

A quick start covering:
- What to download
- What to compile
- Compatible Apache versions
- Which folder to copy files into
- What entries does Apache expect
- What workers and MPM are and how we can configure them

> thanks, Guenter.
> 
-- Sriram

__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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



Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Guenter Knauf
Hi all,
probably now I get the -1's back, but nevertheless I'll give it a try...!

> Did some of you, JFC, Mladen, Guenter, Kurt, Norm could works on
> a little HOWTO (text based will be suffisant) for jk2, explaining
> how to set up jk2 in IIS and Apache 2 web-servers ?

> It could be added to the release and will help remove tons of
> questions from tomcat-users :)

> Volunteers welcome (I can't work on it right now)
hmm, I think Norm has already offered that he's more than willing to improve the 
Apache2 docu; 
and in addition he has already put together such an document in html for NetWare, and 
I modified it slighty for Win32 (I linked to recently).
But since we have to deal with a lot of terms which are almost not or insuffient 
explained, I think we should all here put the heads together, specially also those 
which have started with the initial mod_jk2 project, so that we can find proper 
descriptions of all those terms which also f.e. appear on the jkstatus pages.
While I digged last time through BugZilla, I also have read a bunch of cvs commit logs 
to understand why what was changed, changed then back and so on; and I got the strong 
feeling that even those who have commited the changes often only did what users 
requested, but didnt know for sure what's right and what's wrong behaviour.
What I have heard a lot is 'read the code', but that isnt allways the best answer, its 
useless to read the code and understand what's going on unless you know from a docu 
what's right and what's wrong behaviour; we all should know what the module _should_ 
do before we try to archive that.
I've forwarded a html document to Henri and Mladen which Norm has created, and we all 
are not able to answer the questions fully and decribe what the terms really mean. 
Norm will be online in about 1 hour (Australia), and I hope he agrees that we make his 
document here available
It would be very great if all here familar with the connector stuff could clarify 
this, so that we have a good starting point for any further documentation. I believe 
that we in one day could put all info together if everyone reads this document with 
the terms in question, and posts what he thinks is the best description; and also I 
would like to get replies from all other non-commiters here if that what we put 
together is understandable at all.

something other we should perhaps also discuss is the format of the docu.
I think that it is most likely that someone who installs a web connector has also a 
web browser; and therefore I'm +1 for a html document; however everyone has certainly 
a text editor, and IIRC Henri and Mladen are +1 for plain text. Since it doesnt matter 
what we use, I would like to see some feedback from those admins who have to install 
the connectors what they would prefer.

thanks, Guenter.


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



Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread jean-frederic clere
Henri Gomez wrote:
jean-frederic clere wrote:

Henri Gomez wrote:

jean-frederic clere wrote:

Henri Gomez wrote:

jean-frederic clere wrote:

Mladen Turk wrote:

 


-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?






Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so 
jk_jni_status_code is undefined.






So jk_jni_aprImpl.c has not been compiled.

What's your configure line ?




CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \
./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs 
--with-apr=/export/home3/jfclere/tmp/apr-0.9.4 
--with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni




Ok.

Could you see if the jk_jni_aprImpl.c is built ?


No it is not build.


So that's the problem.

Could you send a compile log ?
That is just a note to tell that not using --with-jni helps.



-
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]


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread jean-frederic clere
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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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


Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Henri Gomez
Mladen Turk wrote:

 


-Original Message-
From: Henri Gomez
Did some of you, JFC, Mladen, Guenter, Kurt, Norm could works 
on a little HOWTO (text based will be suffisant) for jk2, 
explaining how to set up jk2 in IIS and Apache 2 web-servers ?

It could be added to the release and will help remove tons of 
questions from tomcat-users :)



Just commited INSTALL.txt

I'll add quick IIS howto.

Can we update the CHANGES too?
Of course :)

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


RE: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Mladen Turk
 

> -Original Message-
> From: Henri Gomez
> 
> Did some of you, JFC, Mladen, Guenter, Kurt, Norm could works 
> on a little HOWTO (text based will be suffisant) for jk2, 
> explaining how to set up jk2 in IIS and Apache 2 web-servers ?
> 
> It could be added to the release and will help remove tons of 
> questions from tomcat-users :)
>

Just commited INSTALL.txt

I'll add quick IIS howto.

Can we update the CHANGES too?

 MT.


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



Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Henri Gomez
Hi to all,

Did some of you, JFC, Mladen, Guenter, Kurt, Norm could works on
a little HOWTO (text based will be suffisant) for jk2, explaining
how to set up jk2 in IIS and Apache 2 web-servers ?
It could be added to the release and will help remove tons of
questions from tomcat-users :)
Volunteers welcome (I can't work on it right now)

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


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Henri Gomez
jean-frederic clere wrote:

Henri Gomez wrote:

jean-frederic clere wrote:

Henri Gomez wrote:

jean-frederic clere wrote:

Mladen Turk wrote:

 


-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?






Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so 
jk_jni_status_code is undefined.




So jk_jni_aprImpl.c has not been compiled.

What's your configure line ?




CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \
./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs 
--with-apr=/export/home3/jfclere/tmp/apr-0.9.4 
--with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni


Ok.

Could you see if the jk_jni_aprImpl.c is built ?


No it is not build.
So that's the problem.

Could you send a compile log ?

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


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread jean-frederic clere
Henri Gomez wrote:
jean-frederic clere wrote:

Henri Gomez wrote:

jean-frederic clere wrote:

Mladen Turk wrote:

 


-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?




Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so 
jk_jni_status_code is undefined.




So jk_jni_aprImpl.c has not been compiled.

What's your configure line ?


CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \
./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs 
--with-apr=/export/home3/jfclere/tmp/apr-0.9.4 
--with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni


Ok.

Could you see if the jk_jni_aprImpl.c is built ?
No it is not build.



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




signature.asc
Description: OpenPGP digital signature


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Henri Gomez
jean-frederic clere wrote:

Henri Gomez wrote:

jean-frederic clere wrote:

Mladen Turk wrote:

 


-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?




Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so 
jk_jni_status_code is undefined.


So jk_jni_aprImpl.c has not been compiled.

What's your configure line ?


CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \
./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs 
--with-apr=/export/home3/jfclere/tmp/apr-0.9.4 
--with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni
Ok.

Could you see if the jk_jni_aprImpl.c is built ?

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


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread jean-frederic clere
Henri Gomez wrote:
jean-frederic clere wrote:

Mladen Turk wrote:

 


-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?


Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so 
jk_jni_status_code is undefined.


So jk_jni_aprImpl.c has not been compiled.

What's your configure line ?
CC="cc -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa" \
./configure --with-apxs=/opt/SMAWoIS/apache13/sbin/apxs 
--with-apr=/export/home3/jfclere/tmp/apr-0.9.4 
--with-apr-util=/export/home3/jfclere/tmp/apr-util-0.9.4 --with-jni

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




signature.asc
Description: OpenPGP digital signature


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Henri Gomez
jean-frederic clere wrote:

Mladen Turk wrote:

 


-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?


Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so jk_jni_status_code 
is undefined.
So jk_jni_aprImpl.c has not been compiled.

What's your configure line ?

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


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread jean-frederic clere
Mladen Turk wrote:
 


-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?
Nothing but jk_jni_aprImpl.o is not in mod_jk2.so so jk_jni_status_code is 
undefined.

MT.





signature.asc
Description: OpenPGP digital signature


RE: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Mladen Turk
 

> -Original Message-
> From: [EMAIL PROTECTED]
> 
> [Wed Mar 17 10:06:27 2004] (debug ) [jk_shm.c (166)]  shm.init():
> file=anonymous size=1703936
> [Wed Mar 17 10:06:27 2004] ( info ) [jk_shm.c (122)]
> shm.create() Created head fed8 size 8192 [Wed Mar 17
> 10:06:27 2004] (debug ) [jk_shm.c (181)]  shm.create(): shm created 
> fed8 fed02008 0 [Wed Mar 17 10:06:27 2004] (debug
> ) [jk_shm.c (202)]  shm.init() Reset anonymous fed02008
> 
> Lots of extra stuff in the file, but nothing that looks like an error.
> 

It is OK.
create->head->image->reset
That's the logic.

The easiest way to test is to see the /jkstatus for shmem.

> Looking very good so far.  Doing furthurer tests now.
> 

Try to play with the file (not anonymous), perhaps I could figure out what's
the problem on your  platform.
Since the anonymous shm works (the file shuld be used _only_ in OS-es where
there is no anon support), we can postpone that for 2.0.5


MT.


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



RE: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Greg . Cope
> > [shm]
> > file=anonymous
> > slots=75
> > debug=10
> > 
> > Should slots be startservers or maxclients?
> > 
> 
> 
> To MaxClients (maximum number of servers that will ever be 
> able to start).
> In your case 200.

OK - I assume that this sets the right "size" so to speak.

> Set also the
> [logger]
> level=DEBUG

Ah!

This looks very good:

[Wed Mar 17 10:06:27 2004] (debug ) [jk_shm.c (166)]  shm.init():
file=anonymous size=1703936
[Wed Mar 17 10:06:27 2004] ( info ) [jk_shm.c (122)]  shm.create() Created
head fed8 size 8192
[Wed Mar 17 10:06:27 2004] (debug ) [jk_shm.c (181)]  shm.create(): shm
created fed8 fed02008 0
[Wed Mar 17 10:06:27 2004] (debug ) [jk_shm.c (202)]  shm.init() Reset
anonymous fed02008

Lots of extra stuff in the file, but nothing that looks like an error.

Looking very good so far.  Doing furthurer tests now.

Many, many thanks Mladen.

Greg

> MT.

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



RE: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Mladen Turk
 

> -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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Henri Gomez
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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread Henri Gomez
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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [Fwd: Releasing JK 2.0.4]

2004-03-17 Thread jean-frederic clere
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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




signature.asc
Description: OpenPGP digital signature


Re: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread NormW
Darn.
I was hoping to prove I needed a rest.
Norm

- Original Message - 
From: "Mladen Turk" <[EMAIL PROTECTED]>
To: "'Tomcat Developers List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 8:09 AM
Subject: RE: [Fwd: Releasing JK 2.0.4]


> 
> 
> > -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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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



RE: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread Mladen Turk
 

> -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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread NormW
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread Mladen Turk
 
> -Original Message-
> From: [EMAIL PROTECTED]
> 
> > > 2004] (error ) [jk_shm.c (102)]  shm.create(): error 
> creating shm 22 
> > > Invalid argument
> > 
> > This is very interesting error (Invalid argument), can you 
> enlight me 
> > with the server setings like what is the maxchilds number.
> 
> MinSpareServers 24
> MaxSpareServers 100
> StartServers 75
> MaxClients 200
> MaxRequestsPerChild 5000
> 
> ok.  Now set to:
> 
> [shm]
> file=anonymous
> slots=75
> debug=10
> 
> Should slots be startservers or maxclients?
> 


To MaxClients (maximum number of servers that will ever be able to start).
In your case 200.


> Out of interest where is the file now?
> 

I hope it's in the kernel :-)

> > 
> > Could you turn the LogLevel debug and post the errorl.log here.
> > It would be very helpful.
> > 
> > there should be line like:
> > [debug] jk_shm.c(166): shm.init(): file=anonymous size=2162688
> 
> Nothing in jk2.log
>

Set also the
[logger]
level=DEBUG
 
to actually turn the jk2 debuging on.

MT.


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



RE: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread Greg . Cope
> > Turk,
> > 
> 
> The name is Mladen :-).

Very sorry.

> That's actualy good, we are getting somewhere :).

:-)

> > 2004] (error ) [jk_shm.c (102)]  shm.create(): error creating 
> > shm 22 Invalid argument
> 
> This is very interesting error (Invalid argument), can you 
> enlight me with
> the server setings like what is the maxchilds number.

MinSpareServers 24
MaxSpareServers 100
StartServers 75
MaxClients 200
MaxRequestsPerChild 5000

> Also,
> In the workers2.properties try to set
> [shm:]
> file=anonymous
> slots=xxx (where xxx is the number of forked child processes)
> debug=10

ok.  Now set to:

[shm]
#debug=100
#file=/var/tmp/cr.sandwich.pfizer.com_81.shm
#size=1048576

file=anonymous
slots=75
debug=10

Should slots be startservers or maxclients?

Out of interest where is the file now?

> Instead of the current shm file, and see if it works.
> 
> > 
> > Again I have not had time to look into this.
> >
> 
> Could you turn the LogLevel debug and post the errorl.log here.
> It would be very helpful.
> 
> there should be line like:
> [debug] jk_shm.c(166): shm.init(): file=anonymous size=2162688

Nothing in jk2.log

Interesting this is the error.log

[Tue Mar 16 20:03:00 2004] ( info ) [mod_jk2.c (412)]  mod_jk child init
[Tue Mar 16 20:03:00 2004] ( info ) [mod_jk2.c (420)]  mod_jk.post_config()
init worker env
[Tue Mar 16 20:03:01 2004] [warn] module mod_ntauth.c is already added,
skipping
[Tue Mar 16 20:03:01 2004] ( info ) [mod_jk2.c (321)]  Set serverRoot
/WWW/servers/apache/1.3.26c/cr.sandwich.pfizer.com_81
Apache() loaded, lib directory added
[Tue Mar 16 20:03:04 2004] ( info ) [mod_jk2.c (412)]  mod_jk child init
[Tue Mar 16 20:03:04 2004] ( info ) [mod_jk2.c (420)]  mod_jk.post_config()
init worker env
[Tue Mar 16 20:03:05 2004] [notice] Apache/1.3.26 (Unix) mod_jk2/2.0.4-dev
mod_perl/1.27 configured -- resuming normal operations
[Tue Mar 16 20:03:05 2004] [notice] suEXEC mechanism enabled (wrapper:
/WWW/app/apache/1.3.26c/bin/suexec)
[Tue Mar 16 20:03:05 2004] [info] Server built: Aug 20 2002 18:03:13
[Tue Mar 16 20:03:05 2004] [notice] Accept mutex: fcntl (Default: fcntl)


Greg

Ps I am off home now!

> 
> 
> MT.
> 
> 
> -
> 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]



RE: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread Mladen Turk
 

> -Original Message-
> From: [EMAIL PROTECTED]
> > 
> 
> Turk,
> 

The name is Mladen :-).


> Different errors, but still does not work:
> 

That's actualy good, we are getting somewhere :).

> 2004] (error ) [jk_shm.c (102)]  shm.create(): error creating 
> shm 22 Invalid argument

This is very interesting error (Invalid argument), can you enlight me with
the server setings like what is the maxchilds number.

Also,
In the workers2.properties try to set
[shm:]
file=anonymous
slots=xxx (where xxx is the number of forked child processes)
debug=10

Instead of the current shm file, and see if it works.

> 
> Again I have not had time to look into this.
>

Could you turn the LogLevel debug and post the errorl.log here.
It would be very helpful.

there should be line like:
[debug] jk_shm.c(166): shm.init(): file=anonymous size=2162688


MT.


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



RE: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread Greg . Cope
> 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.
> 

Turk,

Different errors, but still does not work:

# rm -fr /var/tmp/cr.sandwich.pfizer.com_81.shm 
leopard# rm logs/jk2.log
leopard# ./start
[Tue Mar 16 19:04:10 2004] [warn] module mod_ntauth.c is already added,
skipping
[Tue Mar 16 19:04:10 2004] ( info ) [mod_jk2.c (321)]  Set serverRoot
/WWW/servers/apache/1.3.26c/cr.sandwich.pfizer.com_81
Apache() loaded, lib directory added
/WWW/servers/apache/1.3.26c/apachectl start: httpd started
leopard# 
leopard# tail -f logs/jk2.log
[Tue Mar 16 19:04:10 2004] (error ) [jk_shm.c (102)]  shm.create(): error
creating shm 22 Invalid argument
[Tue Mar 16 19:04:10 2004] (error ) [jk_shm.c (174)]  shm.create(): error
creating shm /var/tmp/cr.sandwich.pfizer.com_81.shm
[Tue Mar 16 19:04:14 2004] (error ) [jk_shm.c (102)]  shm.create(): error
creating shm 70014 End of file found
[Tue Mar 16 19:04:14 2004] (error ) [jk_shm.c (174)]  shm.create(): error
creating shm /var/tmp/cr.sandwich.pfizer.com_81.shm
^C
leopard# ls -la /var/tmp/cr.sandwich.pfizer.com_81.shm 
-rw-r--r--   1 root other  0 Mar 16 19:04
/var/tmp/cr.sandwich.pfizer.com_81.shm

Again I have not had time to look into this.

Greg

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



RE: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread Mladen Turk
 

> -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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Fwd: Releasing JK 2.0.4]

2004-03-16 Thread Henri Gomez
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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[Fwd: Releasing JK 2.0.4]

2004-03-16 Thread Mladen Turk
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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]