[Vote] Guenter Knauf as commiter

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

jk2 2.0.4 seems in a good shape and I'd like to thanks all of
you commiter, and tomcat-dev members for your feedback, patches
and time.
I'd like to see Guenter Knauf promoted to commiter since he
provided us may fine patches on jk2 and help make this release
happen.
We need more and more people involved in the native side of
jakarta-tomcat-connectors and Guenter show us these lasts week
that he's a good candidate.
Vote please, he's got of course my +1.

-
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: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Dominik Drzewiecki
I'd like to see Guenter Knauf promoted to commiter since he

provided us may fine patches on jk2 and help make this release

happen.



We need more and more people involved in the native side of

jakarta-tomcat-connectors and Guenter show us these lasts week

that he's a good candidate.





Vote please, he's got of course my +1.



If anybody cares for a vote of a plain tomcat-dev subscriber who follows the

posts on the list very carefully, Guenter deserves a committer status. My +1 for

him. 



regz,

/dd








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



RE: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Mladen Turk
 

 -Original Message-
 From: Henri Gomez
 
 I'd like to see Guenter Knauf promoted to commiter since he 
 provided us may fine patches on jk2 and help make this release happen.


+1

I was going to propose him by myself too :)

 
 We need more and more people involved in the native side of 
 jakarta-tomcat-connectors and Guenter show us these lasts 
 week that he's a good candidate.
 

The more the merrier ;-)

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
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 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 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: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Remy Maucherat
Henri Gomez wrote:
Hi to all,

jk2 2.0.4 seems in a good shape and I'd like to thanks all of
you commiter, and tomcat-dev members for your feedback, patches
and time.
I'd like to see Guenter Knauf promoted to commiter since he
provided us may fine patches on jk2 and help make this release
happen.
We need more and more people involved in the native side of
jakarta-tomcat-connectors and Guenter show us these lasts week
that he's a good candidate.
Vote please, he's got of course my +1.
+1

Rémy

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

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:

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:

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: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Tim Funk
+1

-Tim

Henri Gomez wrote:

Hi to all,

jk2 2.0.4 seems in a good shape and I'd like to thanks all of
you commiter, and tomcat-dev members for your feedback, patches
and time.
I'd like to see Guenter Knauf promoted to commiter since he
provided us may fine patches on jk2 and help make this release
happen.
We need more and more people involved in the native side of
jakarta-tomcat-connectors and Guenter show us these lasts week
that he's a good candidate.
Vote please, he's got of course my +1.
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Larry Isaacs
+1

Larry

 -Original Message-
 From: Henri Gomez [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 17, 2004 3:42 AM
 To: [EMAIL PROTECTED]
 Subject: [Vote] Guenter Knauf as commiter
 
 
 Hi to all,
 
 jk2 2.0.4 seems in a good shape and I'd like to thanks all of
 you commiter, and tomcat-dev members for your feedback, patches
 and time.
 
 I'd like to see Guenter Knauf promoted to commiter since he
 provided us may fine patches on jk2 and help make this release
 happen.
 
 We need more and more people involved in the native side of
 jakarta-tomcat-connectors and Guenter show us these lasts week
 that he's a good candidate.
 
 
 Vote please, he's got of course my +1.
 
 -
 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: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Kurt Miller
+1

-Kurt

From: Henri Gomez [EMAIL PROTECTED]
 Hi to all,

 jk2 2.0.4 seems in a good shape and I'd like to thanks all of
 you commiter, and tomcat-dev members for your feedback, patches
 and time.

 I'd like to see Guenter Knauf promoted to commiter since he
 provided us may fine patches on jk2 and help make this release
 happen.

 We need more and more people involved in the native side of
 jakarta-tomcat-connectors and Guenter show us these lasts week
 that he's a good candidate.


 Vote please, he's got of course my +1.

 
-
 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: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Glenn Nielsen
+1

On Wed, Mar 17, 2004 at 09:41:45AM +0100, Henri Gomez wrote:
 Hi to all,
 
 jk2 2.0.4 seems in a good shape and I'd like to thanks all of
 you commiter, and tomcat-dev members for your feedback, patches
 and time.
 
 I'd like to see Guenter Knauf promoted to commiter since he
 provided us may fine patches on jk2 and help make this release
 happen.
 
 We need more and more people involved in the native side of
 jakarta-tomcat-connectors and Guenter show us these lasts week
 that he's a good candidate.
 
 
 Vote please, he's got of course my +1.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming   |  * if iz ina coment.  |
Missouri Research and Education Network  |  */   |
--

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



Re: [Vote] Guenter Knauf as commiter

2004-03-17 Thread jean-frederic clere
Henri Gomez wrote:
Hi to all,

jk2 2.0.4 seems in a good shape and I'd like to thanks all of
you commiter, and tomcat-dev members for your feedback, patches
and time.
I'd like to see Guenter Knauf promoted to commiter since he
provided us may fine patches on jk2 and help make this release
happen.
We need more and more people involved in the native side of
jakarta-tomcat-connectors and Guenter show us these lasts week
that he's a good candidate.
Vote please, he's got of course my +1.
+1

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




signature.asc
Description: OpenPGP digital signature


RE: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Shapira, Yoav

Hi,

We need more and more people involved in the native side of
jakarta-tomcat-connectors and Guenter show us these lasts week
that he's a good candidate.

More connectors people == very good ;)

+1

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Galam
 
+1.

 
Althogh I am not yet a tomcat developer, but  please count my votes. I am always a 
strong supporter of tomcat and I've started to looking into the tomcat source code and 
hoping to contribute to this great product sometime soon.  Thanks everyone!
 
 
Galam.
 
 
 


Remy Maucherat [EMAIL PROTECTED] wrote:Henri Gomez wrote:
 Hi to all,
 
 jk2 2.0.4 seems in a good shape and I'd like to thanks all of
 you commiter, and tomcat-dev members for your feedback, patches
 and time.
 
 I'd like to see Guenter Knauf promoted to commiter since he
 provided us may fine patches on jk2 and help make this release
 happen.
 
 We need more and more people involved in the native side of
 jakarta-tomcat-connectors and Guenter show us these lasts week
 that he's a good candidate.
 
 
 Vote please, he's got of course my +1.

+1

Rémy

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


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

DO NOT REPLY [Bug 4103] - Session info is removed prior to calling events

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=4103.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=4103

Session info is removed prior to calling events

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |



--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 15:22 ---
As of today, I quote this reference: 
http://java.sun.com/webservices/docs/1.3/api/javax/servlet/http/HttpSessionListener.html
 
 
where it says: 
public void sessionDestroyed(HttpSessionEvent se) 
 Notification that a session is about to be invalidated.  
^^^ 
Any other behavior is totally nonsensical since this listener is exactly meant 
to dispose of resources in session attributes, in the easiest way.

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



DO NOT REPLY [Bug 4103] - Session info is removed prior to calling events

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=4103.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=4103

Session info is removed prior to calling events

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 15:30 ---
Your doc link covers servlet api 2.4. The behavior change from 2.3 to 2.4.

(IIRC) Tomcat 4 (based on servlet spec 2.3) and 5 (based on servlet spec 2.4)
handle this correctly.

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


DO NOT REPLY [Bug 27584] - Tag attributes need escaping of EL quotes

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27584.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27584

Tag attributes need escaping of EL quotes

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 15:45 ---
This would be a problem since tomcat4 using JSTL too. 

An alternative is to mix your quotes. But the error message does state where in
the JSP file there is an error.

At best this could be an enhancement.

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



Re: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Costin Manolache
Henri Gomez wrote:
Hi to all,

jk2 2.0.4 seems in a good shape and I'd like to thanks all of
you commiter, and tomcat-dev members for your feedback, patches
and time.
I'd like to see Guenter Knauf promoted to commiter since he
provided us may fine patches on jk2 and help make this release
happen.
We need more and more people involved in the native side of
jakarta-tomcat-connectors and Guenter show us these lasts week
that he's a good candidate.
Vote please, he's got of course my +1.
+1 :-)

Costin

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


cvs commit: jakarta-tomcat-connectors/jk/native2 INSTALL.txt

2004-03-17 Thread mturk
mturk   2004/03/17 07:51:48

  Added:   jk/native2 INSTALL.txt
  Log:
  Install howto jumpstart
  
  Revision  ChangesPath
  1.1  jakarta-tomcat-connectors/jk/native2/INSTALL.txt
  
  Index: INSTALL.txt
  ===
APACHE INSTALLATION OVERVIEW
  
For complete documentation, see
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html

Quick Start - Apache 2
  
In the following example Apache2 is installed in 
/usr/local/apache2 and the commands are executed in the
jakarta-tomcat-connectors/native2 directory. 
  
$ ./buildconf
$ ./configure --with-apxs2=PREFIX/bin/apxs
$ make
$ make install
$ PREFIX/bin/apachectl start
  
   NOTES: * Replace PREFIX with the filesystem path under which 
Apache should be installed.  A typical installation
might use /usr/local/apache2 for PREFIX (without the
quotes).
  
  
  
  
  

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



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: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Jeanfrancois Arcand
+1

-- Jeanfrancois

Henri Gomez wrote:

Hi to all,

jk2 2.0.4 seems in a good shape and I'd like to thanks all of
you commiter, and tomcat-dev members for your feedback, patches
and time.
I'd like to see Guenter Knauf promoted to commiter since he
provided us may fine patches on jk2 and help make this release
happen.
We need more and more people involved in the native side of
jakarta-tomcat-connectors and Guenter show us these lasts week
that he's a good candidate.
Vote please, he's got of course my +1.

-
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: jk2 new shmem using APR

2004-03-17 Thread Paul Rasmussen
Thanks a lot for this synopsis Glenn.  Obviously I am also considering whether 
I should recommmend moving to Apache2 to our team.

- paul r.

In message [EMAIL PROTECTED]you write:
On Tue, Mar 16, 2004 at 02:48:26PM -, [EMAIL PROTECTED] wrote:
  Greg,
 As an aside our team will be looking at apache2 and tomcat5 sooner rather
 than later as it would appear that more development effort is taking place
 on these platforms.  However balancing lots of apps and infrastructure
 upgrades and testing with day to day support means this will not happen
 soon.

I went through the process of upgrading our servers to Apache2 over
the last 9 months. These are Sun servers running Solaris and using
the Apache 2 worker MPM.  There are alot of advantages to upgrading.
My testing found Apache 2 to require a great deal fewer system resources
(CPU,memory) when using the worker MPM and be much more scaleable.
I also like the way filters work. You can now have Tomcat generate HTML
with SSI which mod_include can then parse. This can help scaling for
Tomcat.  We use it with Tomcat4 and mod_jk 1.2.5, both are working very
reliably for us.

I did run into a number of problems at first. Most of them were
Solaris specific.  And some bugs which caused problems. I ended
up learning a whole lot more about apache internals than I really
wanted to, and even submitted a number of patches which got rolled
into later releases.

All in all it is working pretty well for us but we still get some
core dumps once in a while, nothing that causes apache to completely
fail though. We do have one nasty bug we hope the 2.0.49 release will
fix.  That is a runaway apache process which consumes all memory on
the server.  That was pretty nasty until we used ulimit on solaris
to limit the size of the data and virtual memory segments for apache
processes. Now the infrequent times this bug is triggered the apache
process core dumps when it hits these memory limits rather than 
causing general failures on the server due to exhausing all physical
and virtual memory.

The biggest effort had to be put into making sure all the third
party apache modules we use were thread safe. This included patches
to mod_jk 1.2 to fix a few thread safe problems. The mod_jk 1.2.5
includes all these patches.

All in all it was worth the effort, 9 months later it should be
easier for someone with a similar environment to mine to upgrade
to apache 2.

Regards,

Glenn

--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming   |  * if iz ina coment.  |
Missouri Research and Education Network  |  */   |
--

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



cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 08:47:48

  Modified:jk/native2/server/apache2 mod_jk2.c
  Log:
  Remove unused vars (thanks gcc -wall)
  
  Revision  ChangesPath
  1.80  +1 -8  jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c
  
  Index: mod_jk2.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- mod_jk2.c 15 Mar 2004 14:16:24 -  1.79
  +++ mod_jk2.c 17 Mar 2004 16:47:48 -  1.80
  @@ -91,8 +91,6 @@
   const char *name,  char *value)
   {
   server_rec *s = cmd-server;
  -jk_uriEnv_t *serverEnv=(jk_uriEnv_t *)
  -ap_get_module_config(s-module_config, jk2_module);
   jk_env_t *env=workerEnv-globalEnv;
   int rc;
   
  @@ -114,8 +112,6 @@
   const char *name, char *property, char *value)
   {
   server_rec *s = cmd-server;
  -jk_uriEnv_t *serverEnv=(jk_uriEnv_t *)
  -ap_get_module_config(s-module_config, jk2_module);
   jk_env_t *env=workerEnv-globalEnv;
   int rc;
   jk_bean_t *mbean;
  @@ -432,7 +428,6 @@
 void *basev, 
 void *overridesv)
   {
  -jk_uriEnv_t *base = (jk_uriEnv_t *) basev;
   jk_uriEnv_t *overrides = (jk_uriEnv_t *)overridesv;
   
   ap_log_perror(APLOG_MARK, APLOG_DEBUG, 0, p,
  @@ -629,10 +624,8 @@
*/
   static int jk2_handler(request_rec *r)
   {   
  -jk_logger_t  *l=NULL;
   int  rc;
   jk_worker_t *worker=NULL;
  -jk_endpoint_t *end = NULL;
   jk_uriEnv_t *uriEnv;
   jk_env_t *env;
   
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_channel_apr_socket.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 08:51:25

  Modified:jk/native2/common jk_channel_apr_socket.c
  Log:
  Remove unused vars (thanks gcc -wall)
  
  Revision  ChangesPath
  1.39  +0 -4  
jakarta-tomcat-connectors/jk/native2/common/jk_channel_apr_socket.c
  
  Index: jk_channel_apr_socket.c
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel_apr_socket.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- jk_channel_apr_socket.c   1 Mar 2004 14:05:54 -   1.38
  +++ jk_channel_apr_socket.c   17 Mar 2004 16:51:25 -  1.39
  @@ -127,11 +127,9 @@
   jk_channel_apr_private_t *socketInfo=
   (jk_channel_apr_private_t *)(ch-_privatePtr);
   int rc;
  -apr_port_t port=socketInfo-port;
   
   if( socketInfo-host==NULL ) {
   char *localName=ch-mbean-localName;
  -jk_config_t *cfg=ch-workerEnv-config;
   
   char *portIdx=strchr( localName, ':' );
   
  @@ -364,8 +362,6 @@
   apr_status_t stat;
   apr_size_t length;
   char data[128];
  -
  -int  sent=0;
   
   sock=endpoint-channelData;
   
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_channel_un.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 08:52:03

  Modified:jk/native2/common jk_channel_un.c
  Log:
  Remove unused vars (thanks gcc -wall)
  
  Revision  ChangesPath
  1.20  +0 -1  jakarta-tomcat-connectors/jk/native2/common/jk_channel_un.c
  
  Index: jk_channel_un.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel_un.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- jk_channel_un.c   5 Mar 2004 23:35:51 -   1.19
  +++ jk_channel_un.c   17 Mar 2004 16:52:03 -  1.20
  @@ -224,7 +224,6 @@
   jk_channel_t *ch,
   jk_endpoint_t *endpoint)
   {
  -int err;
   jk_channel_un_private_t *socketInfo=
   (jk_channel_un_private_t *)(ch-_privatePtr);
   int unixsock;
  
  
  

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



double submit in form-based authentication throws IllegaStateException

2004-03-17 Thread Andrigo Spall Gomes
	Hello!

	I'm having a problem when trying to cope with double submits in a 
form-based authentication in Tomcat 4.1.30.

	I get to the login page when I try to access a protected page (actually 
a struts action - .do).

	I then inform the username and password in the form whose target is 
j_security_check and, if I just push submit once, everything goes 
allright, I am authenticated and taken to the struts action, that does 
its job and forwards to its view.

	But if I simulate a double submit (impatient users :), I am shown a 
IllegalStateException, thrown by 
org.apache.catalina.servlets.DefaultServlet.

	Well, I downloaded tomcat's source code and traced it to see what was 
going on.

	I found out that in the first request 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter() will 
call servlet.service(), and in this case the servlet is struts' 
ActionServlet, whereas in the second (and simultaneous) submit, the 
servlet invoked is org.apache.catalina.servlets.DefaultServlet.

	I think this behaviour is probably because in the second submit the 
resource I !first! requested was j_security_check (the action of the 
form), and not the struts action (.do extension), like in the first submit).

	DefaultServlet will then try to serve, in the second submit, 
j_security_check. It will not find the resource and will try to call 
response.sendError(HttpServletResponse.SC_NOT_FOUND,
   request.getRequestURI());

	The thing is that, at this point, response.isCommitted() == true, and 
then it throws IllegalStateException.

	If we analyse what is actually going on, the problem is not the 
IllegalStateException itself, but the fact that tomcat is trying to 
serve j_security_check in the second submit, rather than the struts 
action I requested in the first place. The exception I get is just a 
consequence of the wrong processing.

	Would this be a bug in tomcat? Would there be any workarounds to make 
it remind that the second submit still has as target the struts action, 
and not j_security_check as it is currently interpreting?

	I'd appreciate any thoughts.

Best Regards,
Andrigo Gomes
	PS: here is the stack trace I get:

java.lang.IllegalStateException
at
org.apache.coyote.tomcat4.CoyoteResponseFacade.sendError(CoyoteResponseFacade.java:310)
at
org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:936)
at
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:518)
at
org.apache.catalina.servlets.DefaultServlet.doPost(DefaultServlet.java:554)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
companyFilter.doFilter(some row)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:227)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_config.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 08:55:48

  Modified:jk/native2/common jk_config.c
  Log:
  Remove unused vars (thanks gcc -wall)
  
  Revision  ChangesPath
  1.33  +2 -8  jakarta-tomcat-connectors/jk/native2/common/jk_config.c
  
  Index: jk_config.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_config.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- jk_config.c   24 Feb 2004 08:44:40 -  1.32
  +++ jk_config.c   17 Mar 2004 16:55:48 -  1.33
  @@ -62,9 +62,6 @@
char *propertyString,
char **objName, char 
**propertyName )
   {
  -jk_bean_t *w = NULL;
  -char *type=NULL;
  -char *dot=0;
   char *lastDot;
   char *lastDot1;
   
  @@ -181,7 +178,7 @@
   return JK_OK;
   }
   if( strcmp( name, disabled ) == 0 ) {
  -int oldDisabled=mbean-disabled;
  +/* int oldDisabled=mbean-disabled; */
   
   mbean-disabled=atoi( val );
   if(mbean-setAttribute) {
  @@ -229,9 +226,6 @@
char *name, char *value)
   {
   jk_bean_t *mbean;
  -
  -jk_workerEnv_t *wEnv=cfg-workerEnv;
  -jk_map_t *initData=cfg-map;
   int status;
   char *objName=NULL;
   char *propName=NULL;
  @@ -352,7 +346,7 @@
   int jk2_config_processConfigData(jk_env_t *env, jk_config_t *cfg,int firstTime )
   {
   int i;
  -int rc;
  +int rc = 0;
   
   /* Set the config
*/
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_mutex_proc.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 08:59:39

  Modified:jk/native2/common jk_mutex_proc.c
  Log:
  Avoid gcc warn about uninitialised st var.

  

  BTW, what should be return is mutex is NULL ?

  

  0 or - 1 ?
  
  Revision  ChangesPath
  1.7   +1 -1  jakarta-tomcat-connectors/jk/native2/common/jk_mutex_proc.c
  
  Index: jk_mutex_proc.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_mutex_proc.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- jk_mutex_proc.c   24 Feb 2004 08:44:40 -  1.6
  +++ jk_mutex_proc.c   17 Mar 2004 16:59:39 -  1.7
  @@ -53,7 +53,7 @@
   jk_mutex_t *jkMutex=mutexB-object;
   
   apr_proc_mutex_t *mutex=(apr_proc_mutex_t *)jkMutex-privateData;
  -apr_status_t  st;
  +apr_status_t  st = 0;
   
   if( mutex!= NULL )
   st=apr_proc_mutex_destroy( mutex );
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_shm.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 09:02:38

  Modified:jk/native2/common jk_shm.c
  Log:
  Remove unused vars (thanks gcc -wall)

  

  no need to get name if it never used
  
  Revision  ChangesPath
  1.45  +1 -1  jakarta-tomcat-connectors/jk/native2/common/jk_shm.c
  
  Index: jk_shm.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_shm.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- jk_shm.c  16 Mar 2004 09:03:12 -  1.44
  +++ jk_shm.c  17 Mar 2004 17:02:38 -  1.45
  @@ -433,8 +433,8 @@
   return JK_OK;
   }
   case SHM_DUMP: {
  -char *name=msg-getString( env, msg );
   #if 0
  +char *name=msg-getString( env, msg );
   /* XXX do we realy need that */
   jk2_shm_dump( env, shm, name );
   #endif
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_shm.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 09:03:48

  Modified:jk/native2/common jk_shm.c
  Log:
  Security, init slot to NULL
  
  Revision  ChangesPath
  1.46  +1 -1  jakarta-tomcat-connectors/jk/native2/common/jk_shm.c
  
  Index: jk_shm.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_shm.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- jk_shm.c  17 Mar 2004 17:02:38 -  1.45
  +++ jk_shm.c  17 Mar 2004 17:03:48 -  1.46
  @@ -236,7 +236,7 @@
   /* For now all slots are equal size
*/
   int i;
  -jk_shm_slot_t *slot;
  +jk_shm_slot_t *slot = NULL;
   
   if (shm-head != NULL) { 
   for (i = 0; i  shm-head-lastSlot; i++) {
  
  
  

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



Re: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Mike Anderson
A BIG +1. Guenter is awesome.
Mike Anderson

[EMAIL PROTECTED] 03/17 1:41 am
Hi to all,

jk2 2.0.4 seems in a good shape and I'd like to thanks all of
you commiter, and tomcat-dev members for your feedback, patches
and time.

I'd like to see Guenter Knauf promoted to commiter since he
provided us may fine patches on jk2 and help make this release
happen.

We need more and more people involved in the native side of
jakarta-tomcat-connectors and Guenter show us these lasts week
that he's a good candidate.


Vote please, he's got of course my +1.

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




Re: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Henri Gomez
Mike Anderson wrote:

A BIG +1. Guenter is awesome.
And he's working on/for Novell ;-)

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


cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriMap.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 09:07:56

  Modified:jk/native2/common jk_uriMap.c
  Log:
  Remove unused vars (thanks gcc -wall)
  
  Revision  ChangesPath
  1.70  +1 -7  jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c
  
  Index: jk_uriMap.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- jk_uriMap.c   12 Mar 2004 11:59:32 -  1.69
  +++ jk_uriMap.c   17 Mar 2004 17:07:56 -  1.70
  @@ -157,9 +157,6 @@
   static int JK_METHOD jk2_uriMap_setProperty(jk_env_t *env, jk_bean_t *mbean,
   char *name, void *valueP)
   {
  -jk_uriMap_t *uriMap = mbean-object;
  -char *value = valueP;
  -
   return JK_OK;
   }
   
  @@ -885,9 +882,6 @@
 const char *vhost, int port,
 const char *uri)
   {
  -int best_match = -1;
  -int longest_match = 0;
  -char *clean_uri = NULL;
   char *url_rewrite = NULL;
   int uriLen;
   jk_uriEnv_t *hostEnv;
  @@ -1008,7 +1002,7 @@
   }
   }
   
  -/* Try to find exact match of /uri and prefix /uri/* */
  +/* Try to find exact match of /uri and prefix /uri/star (*) */
   match = jk2_uriMap_contextMap(env, uriMap, ctxEnv-prefixMatch, uri, uriLen);
   if (match != NULL) {
   /* restore */
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_workerEnv.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 09:11:48

  Modified:jk/native2/common jk_workerEnv.c
  Log:
  Remove unused vars (thanks gcc -wall)
  
  Revision  ChangesPath
  1.66  +1 -12 jakarta-tomcat-connectors/jk/native2/common/jk_workerEnv.c
  
  Index: jk_workerEnv.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_workerEnv.c,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- jk_workerEnv.c24 Feb 2004 08:44:40 -  1.65
  +++ jk_workerEnv.c17 Mar 2004 17:11:48 -  1.66
  @@ -166,12 +166,9 @@
jk_workerEnv_t *wEnv)
   {
   int i;
  -jk_worker_t *lb=wEnv-defaultWorker;
   
   for( i=0; i wEnv-worker_map-size( env, wEnv-worker_map ); i++ ) {
  -char *name= wEnv-worker_map-nameAt( env, wEnv-worker_map, i );
   jk_worker_t *w= wEnv-worker_map-valueAt( env, wEnv-worker_map, i );
  -
   jk2_workerEnv_initWorker( env, wEnv, w );
   }
   return JK_OK;
  @@ -210,8 +207,6 @@
   int i;
   
   for( i=0; i wEnv-channel_map-size( env, wEnv-channel_map ); i++ ) {
  -
  -char *name= wEnv-channel_map-nameAt( env, wEnv-channel_map, i );
   jk_channel_t *ch= wEnv-channel_map-valueAt( env, wEnv-channel_map, i );
   jk2_workerEnv_initChannel( env, wEnv, ch );
   }
  @@ -431,9 +426,6 @@
   int code;
   jk_handler_t *handler;
   int rc;
  -jk_handler_t **handlerTable=wEnv-handlerTable;
  -int maxHandler=wEnv-lastMessageId;
  - int headeratclient=JK_FALSE;
   ep-currentRequest=req;
   
   /* Process reply - this is the main loop */
  @@ -560,7 +552,6 @@
   static int jk2_workerEnv_addChannel(jk_env_t *env, jk_workerEnv_t *wEnv,
   jk_channel_t *ch) 
   {
  -int err=JK_OK;
   jk_bean_t *jkb;
   
   ch-mbean-id=wEnv-channel_map-size( env, wEnv-channel_map );
  @@ -627,9 +618,7 @@
  jk_workerEnv_t *wEnv,
  char *type, char *name) 
   {
  -int err=JK_OK;
   jk_worker_t *w = NULL;
  -jk_worker_t *oldW = NULL;
   jk_bean_t *jkb;
   
   /* First find if it already exists */
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_ajp13.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 09:12:47

  Modified:jk/native2/common jk_worker_ajp13.c
  Log:
  Remove unused vars
  
  Revision  ChangesPath
  1.63  +0 -2  jakarta-tomcat-connectors/jk/native2/common/jk_worker_ajp13.c
  
  Index: jk_worker_ajp13.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_ajp13.c,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- jk_worker_ajp13.c 12 Mar 2004 20:42:51 -  1.62
  +++ jk_worker_ajp13.c 17 Mar 2004 17:12:47 -  1.63
  @@ -231,7 +231,6 @@
   static int jk2_check_alive(jk_env_t *env, jk_endpoint_t *ae, int timeout) {
   
   int err;
  -jk_channel_t *channel=ae-worker-channel;
   jk_msg_t * msg=ae-reply;
   
   jk2_serialize_cping( env, msg, ae );
  @@ -353,7 +352,6 @@
   int err=JK_OK;
   int attempt;
   int has_post_body=JK_FALSE;
  -jk_channel_t *channel= worker-channel;
   
   e-recoverable = JK_TRUE;
   s-is_recoverable_error = JK_TRUE;
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 09:13:32

  Modified:jk/native2/common jk_worker_lb.c
  Log:
  Remove unused vars
  
  Revision  ChangesPath
  1.39  +0 -4  jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c
  
  Index: jk_worker_lb.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- jk_worker_lb.c8 Mar 2004 23:01:06 -   1.38
  +++ jk_worker_lb.c17 Mar 2004 17:13:32 -  1.39
  @@ -440,7 +440,6 @@
   */
   static int JK_METHOD jk2_lb_refresh(jk_env_t *env, jk_worker_t *lb)
   {
  -int currentWorker=0;
   int i;
   int num_of_workers=lb-lbWorkerMap-size( env, lb-lbWorkerMap);
   
  @@ -503,7 +502,6 @@
   char *name)
   {
   jk_worker_t *lb=mbean-object;
  -unsigned i = 0;
   jk_worker_lb_private_t *lb_priv = lb-worker_private;
   
   if( strcmp( name, workers) == 0 ) {
  @@ -533,7 +531,6 @@
   {
   jk_worker_t *lb=mbean-object;
   char *value=valueP;
  -unsigned i = 0;
   jk_worker_lb_private_t *lb_priv = lb-worker_private;
   
   if( strcmp( name, worker) == 0 ) {
  @@ -593,7 +590,6 @@
   
   static int JK_METHOD jk2_lb_destroy(jk_env_t *env, jk_bean_t *bean)
   {
  -jk_worker_t *w=bean-object;
   /* Workers are destroyed by the workerEnv. It is possible
  that a worker is part of more than a lb.
  Nothing to clean up so far.
  
  
  

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



Re: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Amy Roh
+1  Welcome.  :-)

Amy

Henri Gomez wrote:
 
 Hi to all,
 
 jk2 2.0.4 seems in a good shape and I'd like to thanks all of
 you commiter, and tomcat-dev members for your feedback, patches
 and time.
 
 I'd like to see Guenter Knauf promoted to commiter since he
 provided us may fine patches on jk2 and help make this release
 happen.
 
 We need more and more people involved in the native side of
 jakarta-tomcat-connectors and Guenter show us these lasts week
 that he's a good candidate.
 
 Vote please, he's got of course my +1.
 
 -
 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]



cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_status.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 09:16:25

  Modified:jk/native2/common jk_worker_status.c
  Log:
  Remove unused vars
  
  Revision  ChangesPath
  1.59  +1 -20 jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c
  
  Index: jk_worker_status.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- jk_worker_status.c16 Mar 2004 08:47:25 -  1.58
  +++ jk_worker_status.c17 Mar 2004 17:16:25 -  1.59
  @@ -137,7 +137,6 @@
   s-jkprintf(env, s, thReqStart/thth+jk/thth+end/th );
   
   for( i=0; i  env-_objects-size( env, env-_objects ); i++ ) {
  -char *name=env-_objects-nameAt( env, env-_objects, i );
   jk_bean_t *mbean=env-_objects-valueAt( env, env-_objects, i );
   jk_endpoint_t *ep;
   
  @@ -166,14 +165,12 @@
   static void jk2_worker_status_displayScoreboardInfo(jk_env_t *env, jk_ws_service_t 
*s,
   jk_workerEnv_t *wenv)
   {
  -jk_map_t *map=wenv-initData;
   int i;
   int j;
   int totalReq=0;
   int totalErr=0;
   unsigned long totalTime=0;
   unsigned long maxTime=0;
  -int needHeader=JK_TRUE;
   
   if( wenv-shm==NULL || wenv-shm-head==NULL) {
   s-jkprintf(env, s, h3No Scoreboard available/h3\n); 
  @@ -228,7 +225,6 @@
   static void jk2_worker_status_displayRuntimeType(jk_env_t *env, jk_ws_service_t *s,
jk_workerEnv_t *wenv, char *type)
   {
  -jk_map_t *map=wenv-initData;
   int i;
   int needHeader=JK_TRUE;
   int typeLen=strlen( type );
  @@ -389,14 +385,8 @@
   static void jk2_worker_status_lstEndpoints(jk_env_t *env, jk_ws_service_t *s,
  jk_workerEnv_t *wenv)
   {
  -jk_map_t *map=wenv-initData;
   int i;
   int j;
  -int totalReq=0;
  -int totalErr=0;
  -unsigned long totalTime=0;
  -unsigned long maxTime=0;
  -int needHeader=JK_TRUE;
   
   if( wenv-shm==NULL || wenv-shm-head==NULL) {
   return;
  @@ -414,7 +404,6 @@
   
   for( j=0; jslot-structCnt ; j++ ) {
   jk_stat_t *statArray=(jk_stat_t *)data;
  -jk_stat_t *stat=statArray + j;
   
   s-jkprintf(env, s, [endpoint:%s%d]\n, name, j );
   s-jkprintf(env, s, T=endpoint\n );
  @@ -441,14 +430,8 @@
   static void jk2_worker_status_dmpEndpoints(jk_env_t *env, jk_ws_service_t *s,
  jk_workerEnv_t *wenv)
   {
  -jk_map_t *map=wenv-initData;
   int i;
   int j;
  -int totalReq=0;
  -int totalErr=0;
  -unsigned long totalTime=0;
  -unsigned long maxTime=0;
  -int needHeader=JK_TRUE;
   
   if( wenv-shm==NULL || wenv-shm-head==NULL) {
   return;
  @@ -523,7 +506,6 @@
   char *name=env-_objects-nameAt( env, env-_objects, i );
   jk_bean_t *mbean=env-_objects-valueAt( env, env-_objects, i );
   char **getAtt=mbean-getAttributeInfo;
  -char **setAtt=mbean-setAttributeInfo;
   
   /* That's a bad name, created for backward compat. It should be 
deprecated.. */
   if( strchr( name, ':' )==NULL )
  @@ -690,7 +672,6 @@
   char *name=env-_objects-nameAt( env, env-_objects, i );
   jk_bean_t *mbean=env-_objects-valueAt( env, env-_objects, i );
   char **getAtt=mbean-getAttributeInfo;
  -char **setAtt=mbean-setAttributeInfo;
   int j,k;
   
   /* That's a bad name, created for backward compat. It should be 
deprecated.. */
  @@ -898,7 +879,7 @@
   for( i=0; i  env-_objects-size( env, env-_objects ); i++ ) {
   char *name=env-_objects-nameAt( env, env-_objects, i );
   jk_bean_t *mbean=env-_objects-valueAt( env, env-_objects, i );
  -int res;
  +int res = 0;
   
   if( mbean==NULL ) 
   continue;
  
  
  

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



Re: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Mike Anderson
[EMAIL PROTECTED] 03/17 10:04 am
Mike Anderson wrote:

A BIG +1. Guenter is awesome.

And he's working on/for Novell ;-)
Which is the only reason I didn't propose him myself. I didn't want to
seem to have favorites based on platforms :-)
Guenter does look at multiple platforms and has provided valuable
patches for more than just NetWare. He definitely has helped improve the
NetWare side of things though :-)
Mike Anderson

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




cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_status.c

2004-03-17 Thread hgomez
hgomez  2004/03/17 09:20:14

  Modified:jk/native2/common jk_worker_status.c
  Log:
  Oups
  
  Revision  ChangesPath
  1.60  +1 -0  jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c
  
  Index: jk_worker_status.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- jk_worker_status.c17 Mar 2004 17:16:25 -  1.59
  +++ jk_worker_status.c17 Mar 2004 17:20:14 -  1.60
  @@ -506,6 +506,7 @@
   char *name=env-_objects-nameAt( env, env-_objects, i );
   jk_bean_t *mbean=env-_objects-valueAt( env, env-_objects, i );
   char **getAtt=mbean-getAttributeInfo;
  +char **setAtt=mbean-setAttributeInfo;
   
   /* That's a bad name, created for backward compat. It should be 
deprecated.. */
   if( strchr( name, ':' )==NULL )
  
  
  

-
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: [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: jk2 new shmem using APR

2004-03-17 Thread Glenn Nielsen
One thing I forgot to mention is that when using the worker MPM
and mod_jk with Tomcat it helps reduce Tomcat overhead by reducing
the number of Connectors Tomcat requires due to mod_jk being
able to use a cached pool of connectors to Tomcat per process.

This really helped Tomcat scale better.  From requiring 500
Connectors to Tomcat with Apache 1.3 we now rarely need more
than 50 connectors to Tomcat with Apache 2.

Regards,

Glenn

On Wed, Mar 17, 2004 at 08:25:59AM -0800, Paul Rasmussen wrote:
 Thanks a lot for this synopsis Glenn.  Obviously I am also considering whether 
 I should recommmend moving to Apache2 to our team.
 
 - paul r.
 
 In message [EMAIL PROTECTED]you write:
 On Tue, Mar 16, 2004 at 02:48:26PM -, [EMAIL PROTECTED] wrote:
   Greg,
  As an aside our team will be looking at apache2 and tomcat5 sooner rather
  than later as it would appear that more development effort is taking place
  on these platforms.  However balancing lots of apps and infrastructure
  upgrades and testing with day to day support means this will not happen
  soon.
 
 I went through the process of upgrading our servers to Apache2 over
 the last 9 months. These are Sun servers running Solaris and using
 the Apache 2 worker MPM.  There are alot of advantages to upgrading.
 My testing found Apache 2 to require a great deal fewer system resources
 (CPU,memory) when using the worker MPM and be much more scaleable.
 I also like the way filters work. You can now have Tomcat generate HTML
 with SSI which mod_include can then parse. This can help scaling for
 Tomcat.  We use it with Tomcat4 and mod_jk 1.2.5, both are working very
 reliably for us.
 
 I did run into a number of problems at first. Most of them were
 Solaris specific.  And some bugs which caused problems. I ended
 up learning a whole lot more about apache internals than I really
 wanted to, and even submitted a number of patches which got rolled
 into later releases.
 
 All in all it is working pretty well for us but we still get some
 core dumps once in a while, nothing that causes apache to completely
 fail though. We do have one nasty bug we hope the 2.0.49 release will
 fix.  That is a runaway apache process which consumes all memory on
 the server.  That was pretty nasty until we used ulimit on solaris
 to limit the size of the data and virtual memory segments for apache
 processes. Now the infrequent times this bug is triggered the apache
 process core dumps when it hits these memory limits rather than 
 causing general failures on the server due to exhausing all physical
 and virtual memory.
 
 The biggest effort had to be put into making sure all the third
 party apache modules we use were thread safe. This included patches
 to mod_jk 1.2 to fix a few thread safe problems. The mod_jk 1.2.5
 includes all these patches.
 
 All in all it was worth the effort, 9 months later it should be
 easier for someone with a similar environment to mine to upgrade
 to apache 2.
 
 Regards,
 
 Glenn
 
 --
 Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
 MOREnet System Programming   |  * if iz ina coment.  |
 Missouri Research and Education Network  |  */   |
 --
 
 -
 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]
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming   |  * if iz ina coment.  |
Missouri Research and Education Network  |  */   |
--

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



DO NOT REPLY [Bug 27752] New: - context fails if the path contains subdirectories

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27752.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27752

context fails if the path contains subdirectories

   Summary: context fails if the path contains subdirectories
   Product: Tomcat 5
   Version: 5.0.19
  Platform: PC
   URL: http://localhost:8080/admin/frameset.jsp (web admin GUI)
OS/Version: Linux
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Webapps:Administration
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The context works OK until I try to 'commit changes' on any setting in the GUI
web admin or reboot the server.

eg context path for the webapp is
  /courseCode/startDate

the directory URL is 
  file:/public/htmldocs/courseCode/startDate

If I press save, commit changes then log out, when I log back in again admin
returns the following error:
   type Status report

   message Error retrieving attribute debug

   description The server encountered an internal error (Error retrieving
   attribute debug) that prevented it from fulfilling this request.

Manager then does not show that the context exists. Any requests to the page
show This application is not currently available

If I reboot the server the context has gone as well.

If I use a flat context (eg /courseCode_startDate) it works.

This was not a problem in previous versions.

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



Re: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Guenter Knauf
Hi all,
thank you all for your votes!

I want to introduce a bit who I am and what I'm doing when I'm not on the list.
I'm a self-employee, and my daily work is mainly keeping the various servers (NetWare, 
Linux, Win32) of my customers running. In addition I also write interfaces to special 
databases, backup scripts, tools, etc., all very special for my customers. I do a lot 
with Perl and PHP, but NetWare often forces me to write in C since some of the 
scripting languages lack of functions which I have on Linux and Win32.
In my freetime I maintain my website with a couple of Apache module binaries as well 
as Apache self. I started initially only with NetWare binaries, that was with Apache 
1.3.12; later I added Win32 binaries because I always needed to have something to 
compare to see if issues are NetWare only, or apply to all suported platforms. Win32 
was the choice because of the similar file system structure, both have 'drive 
letters', on NetWare they are called volumes, and can be much longer than only one 
letter (but minimum I think 2 chars, or is it 3?).
Meanwhile I have Win32 downloads ten times as much as NetWare...
Also I'm a SysOp of the Novell Developer forums, and try to help there other 
developers in getting their Apache1|2 / Perl / PHP problems solved. Also I maintain 
mod_edir which is a Novell OpenSource module for access control.
This is my relationship to Novell, and although I get an _excellent_ support from 
Novell, I'm not hired.
How came I to this list?? Well, mostly Norm and other developers on the forums where 
guilty for that. There were always questions about 'when will we get mod_jk2 on 
NetWare?' which I couldnt ask, and Norm kept the ball in move consequently, he tried 
everything he could manage from his side, but he had to struggle always because our 
official compiler is is a  thing which nobody buys just for fun, just like MSVC. 
Although meanwhile we have also gcc available, we have still issues with the builds 
together with Apache (alignment stuff, bitfiels in Apache).
Well, now I can answer the questions in the forums that we _have_ mod_jk2 for 
NetWare..., smile...
so thanks again to all for their patience with all the commits!
my main focus for the future will be JK and JK2 connectors, keep them compilable with 
latest Apache2.1 on NetWare, Win32 and Linux (I'm also on the httpd dev list, and 
seems that we will soon get a first 2.1.0, thanks Sander!).

thanks, Guenter.



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



DO NOT REPLY [Bug 27584] - Tag attributes need escaping of EL quotes

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27584.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27584

Tag attributes need escaping of EL quotes





--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 18:29 ---
JSP.1.6 defines rules for quoting and escape conventions.  Any attributes,
including ELs, must follow these rules.

The error message is not perfect, but it usually includes line column numbers,
which should let you locate the problems.

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



DO NOT REPLY [Bug 27752] - context fails if the path contains subdirectories

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27752.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27752

context fails if the path contains subdirectories





--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 18:29 ---
What does your localhost_admin.log say when you log back into admin and get
message Error retrieving attribute debug error on your browser?  Exception
trace detail would be helpful to see what's going on.

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



DO NOT REPLY [Bug 27754] New: - FormAuthenticator and timed out (destroyed) session

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27754.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27754

FormAuthenticator and timed out (destroyed) session

   Summary: FormAuthenticator and timed out (destroyed) session
   Product: Tomcat 5
   Version: 5.0.19
  Platform: All
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


When using a login page with the formlogin method and the page is displayed
until the current session timed out - after pressing login button I'll getting a
formlogin error.
The cause is the FormAuthenticator class which cannot handle the destroyed session.
if (requestURI == null)
{
   hres.sendError(HttpServletResponse.SC_BAD_REQUEST,
  sm.getString(authenticator.formlogin));
...

Regards,
  Wolfgang

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



cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/xmlparser ASCIIReader.java ParserUtils.java TreeNode.java UCSReader.java UTF8Reader.java XMLEncodingDetector.java XercesEncodingDetector.java

2004-03-17 Thread luehe
luehe   2004/03/17 11:23:05

  Modified:jasper2/src/share/org/apache/jasper Constants.java
EmbeddedServletOptions.java JasperException.java
JspC.java JspCompilationContext.java Options.java
   jasper2/src/share/org/apache/jasper/compiler
BeanRepository.java Collector.java Compiler.java
DefaultErrorHandler.java Dumper.java
ELFunctionMapper.java ELNode.java ELParser.java
ErrorDispatcher.java ErrorHandler.java
Generator.java ImplicitTagLibraryInfo.java
JasperTagInfo.java JavacErrorDetail.java
JspConfig.java JspDocumentParser.java
JspReader.java JspRuntimeContext.java JspUtil.java
Localizer.java Mark.java Node.java
PageDataImpl.java PageInfo.java Parser.java
ParserController.java ScriptingVariabler.java
ServletWriter.java SmapGenerator.java
SmapStratum.java SmapUtil.java TagConstants.java
TagFileProcessor.java TagLibraryInfoImpl.java
TagPluginManager.java TextOptimizer.java
TldLocationsCache.java Validator.java
   jasper2/src/share/org/apache/jasper/compiler/tagplugin
TagPlugin.java TagPluginContext.java
   jasper2/src/share/org/apache/jasper/runtime
BodyContentImpl.java HttpJspBase.java
JspContextWrapper.java JspFactoryImpl.java
JspFragmentHelper.java JspRuntimeLibrary.java
JspSourceDependent.java JspWriterImpl.java
PageContextImpl.java PerThreadTagHandlerPool.java
ProtectedFunctionMapper.java
ServletResponseWrapperInclude.java
TagHandlerPool.java
   jasper2/src/share/org/apache/jasper/security
SecurityClassLoad.java
   jasper2/src/share/org/apache/jasper/servlet
JasperLoader.java JspCServletContext.java
JspServlet.java JspServletWrapper.java
   jasper2/src/share/org/apache/jasper/tagplugins/jstl
Choose.java ForEach.java If.java Otherwise.java
When.java
   jasper2/src/share/org/apache/jasper/util FastDateFormat.java
Queue.java SimplePool.java SystemLogHandler.java
   jasper2/src/share/org/apache/jasper/xmlparser
ASCIIReader.java ParserUtils.java TreeNode.java
UCSReader.java UTF8Reader.java
XMLEncodingDetector.java
XercesEncodingDetector.java
  Log:
  Upgrade to Apache License 2.0
  
  Revision  ChangesPath
  1.16  +14 -54
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Constants.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Constants.java.diff?r1=1.15r2=1.16
  
  
  1.10  +13 -58
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbeddedServletOptions.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/EmbeddedServletOptions.java.diff?r1=1.9r2=1.10
  
  
  1.2   +13 -58
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JasperException.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JasperException.java.diff?r1=1.1r2=1.2
  
  
  1.68  +13 -58
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java.diff?r1=1.67r2=1.68
  
  
  1.45  +13 -59
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java.diff?r1=1.44r2=1.45
  
  
  1.23  +13 -58
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Options.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Options.java.diff?r1=1.22r2=1.23
  
  
  1.4   +13 -58
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/BeanRepository.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/BeanRepository.java.diff?r1=1.3r2=1.4
  
  
  1.14  +13 -59
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Collector.java
  
  
http://cvs.apache.org/viewcvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Collector.java.diff?r1=1.13r2=1.14
  
  
  1.79  +14 

DO NOT REPLY [Bug 26662] - ClassCastException in GzipOutputFilter

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26662.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26662

ClassCastException in GzipOutputFilter





--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 19:23 ---

I found what was causing the class cast exception.  The maxKeepAliveRequests is 
set to 100.  If more than 100 requests are sent to that connection then the 
Http11Processor.process() sets keepAlive to false (which is the correct 
behavior) but when Http11Processor.processResponse() is called the following 
code 

1485if (contentLength != -1) {
1486response.getMimeHeaders().setValue(Content-Length)
1487.setInt(contentLength);
1488outputBuffer.addActiveFilter
1489(outputFilters[Constants.IDENTITY_FILTER]);
1490contentDelimitation = true;
1491} else {
1492if (entityBody  http11  keepAlive) {
1493outputBuffer.addActiveFilter
1494(outputFilters[Constants.CHUNKED_FILTER]);
1495contentDelimitation = true;
1496response.addHeader(Transfer-Encoding, chunked);
1497}
1498}

does not add a filter there for causing the compression filter to be the only 
one added.  

I am attaching a patch that checks to see if there are any filters added before 
the compression filter is and if not added the identityFilter.

All line numbers and the patch are for 5.0.18

John

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



DO NOT REPLY [Bug 26662] - ClassCastException in GzipOutputFilter

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26662.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26662

ClassCastException in GzipOutputFilter





--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 19:24 ---
Created an attachment (id=10835)
Patch for the HttpProcessor, fixes classCastException

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



cvs commit: jakarta-tomcat-jasper LICENSE

2004-03-17 Thread luehe
luehe   2004/03/17 11:30:40

  Modified:.LICENSE
  Log:
  Upgrade to Apache License 2.0
  
  Revision  ChangesPath
  1.2   +202 -61   jakarta-tomcat-jasper/LICENSE
  
  Index: LICENSE
  ===
  RCS file: /home/cvs/jakarta-tomcat-jasper/LICENSE,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LICENSE   8 May 2001 02:09:16 -   1.1
  +++ LICENSE   17 Mar 2004 19:30:40 -  1.2
  @@ -1,61 +1,202 @@
  -/* = *
  - *   *
  - * The Apache Software License,  Version 1.1 *
  - *   *
  - *  Copyright (c) 1999, 2000, 2001  The Apache Software Foundation.  *
  - *   All rights reserved.*
  - *   *
  - * = *
  - *   *
  - * Redistribution and use in source and binary forms,  with or without modi- *
  - * fication, are permitted provided that the following conditions are met:   *
  - *   *
  - * 1. Redistributions of source code  must retain the above copyright notice *
  - *notice, this list of conditions and the following disclaimer.  *
  - *   *
  - * 2. Redistributions  in binary  form  must  reproduce the  above copyright *
  - *notice,  this list of conditions  and the following  disclaimer in the *
  - *documentation and/or other materials provided with the distribution.   *
  - *   *
  - * 3. The end-user documentation  included with the redistribution,  if any, *
  - *must include the following acknowlegement: *
  - *   *
  - *   This product includes  software developed  by the Apache  Software *
  - *Foundation http://www.apache.org/.  *
  - *   *
  - *Alternately, this acknowlegement may appear in the software itself, if *
  - *and wherever such third-party acknowlegements normally appear. *
  - *   *
  - * 4. The names  The  Jakarta  Project,  Tomcat,  and  Apache  Software *
  - *Foundation  must not be used  to endorse or promote  products derived *
  - *from this  software without  prior  written  permission.  For  written *
  - *permission, please contact [EMAIL PROTECTED].*
  - *   *
  - * 5. Products derived from this software may not be called Apache nor may *
  - *Apache appear in their names without prior written permission of the *
  - *Apache Software Foundation.*
  - *   *
  - * THIS SOFTWARE IS PROVIDED AS IS AND ANY EXPRESSED OR IMPLIED WARRANTIES *
  - * INCLUDING, BUT NOT LIMITED TO,  THE IMPLIED WARRANTIES OF MERCHANTABILITY *
  - * AND FITNESS FOR  A PARTICULAR PURPOSE  ARE DISCLAIMED.  IN NO EVENT SHALL *
  - * THE APACHE  SOFTWARE  FOUNDATION OR  ITS CONTRIBUTORS  BE LIABLE  FOR ANY *
  - * DIRECT,  INDIRECT,   INCIDENTAL,  SPECIAL,  EXEMPLARY,  OR  CONSEQUENTIAL *
  - * DAMAGES (INCLUDING,  BUT NOT LIMITED TO,  PROCUREMENT OF SUBSTITUTE GOODS *
  - * OR SERVICES;  LOSS OF USE,  DATA,  OR PROFITS;  OR BUSINESS INTERRUPTION) *
  - * HOWEVER CAUSED AND  ON ANY  THEORY  OF  LIABILITY,  WHETHER IN  CONTRACT, *
  - * STRICT LIABILITY, OR TORT  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN *
  - * ANY  WAY  OUT OF  THE  USE OF  THIS  SOFTWARE,  EVEN  IF  ADVISED  OF THE *
  - * POSSIBILITY OF SUCH DAMAGE.   *
  - *   *
  - * = *
  - *   *
  - * This software  consists of voluntary  contributions made  by many indivi- *
  - * duals on behalf of the  Apache Software Foundation.  For more information *
  - * on the Apache Software Foundation, please see http://www.apache.org/.   *
  - *   

DO NOT REPLY [Bug 26662] - ClassCastException in GzipOutputFilter

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26662.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26662

ClassCastException in GzipOutputFilter





--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 20:00 ---
Created an attachment (id=10836)
fixed the patch.. had a extra char in it. sorry remy

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



Jean Hayes is out of office.

2004-03-17 Thread Jean_Hayes
I will be out of the office starting  03/15/2004 and will not return until
03/29/2004.

If you need immediate assistance contact the receptionist and she will
re-direct your requrest.



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



DO NOT REPLY [Bug 27757] - Problem receiving data more than 3 KB.

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27757.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27757

Problem receiving data more than 3 KB.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 AssignedTo|[EMAIL PROTECTED]   |tomcat-
   ||[EMAIL PROTECTED]
  Component|Core|Connector:AJP
Product|Apache httpd-2.0|Tomcat 5
Version|2.0-HEAD|5.0.18

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



RE: [Vote] Guenter Knauf as commiter

2004-03-17 Thread Mark Thomas
+1

Mark 

From: Henri Gomez [mailto:[EMAIL PROTECTED] 
 I'd like to see Guenter Knauf promoted to commiter since he
 provided us may fine patches on jk2 and help make this release
 happen.



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



DO NOT REPLY [Bug 27754] - FormAuthenticator and timed out (destroyed) session

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27754.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27754

FormAuthenticator and timed out (destroyed) session

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 20:59 ---
I looked at this recently. The best I could come up with was a better error 
message. This change has been committed and will be in the next release.

*** This bug has been marked as a duplicate of 18005 ***

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



DO NOT REPLY [Bug 18005] - Realm authentication forgets requested URL

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=18005.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=18005

Realm authentication forgets requested URL

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 20:59 ---
*** Bug 27754 has been marked as a duplicate of this bug. ***

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



cvs commit: jakarta-tomcat-4.0/catalina/src/test/org/apache/naming/resources BaseDirContextTestCase.java

2004-03-17 Thread markt
markt   2004/03/17 14:30:04

  Modified:catalina/src/test/org/apache/naming/resources
BaseDirContextTestCase.java
  Log:
  Change 'asset()' to 'assertTrue()' to fix build problem on 1.4 JDK.
  
  Revision  ChangesPath
  1.4   +68 -70
jakarta-tomcat-4.0/catalina/src/test/org/apache/naming/resources/BaseDirContextTestCase.java
  
  Index: BaseDirContextTestCase.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/test/org/apache/naming/resources/BaseDirContextTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BaseDirContextTestCase.java   21 Oct 2001 22:03:34 -  1.3
  +++ BaseDirContextTestCase.java   17 Mar 2004 22:30:04 -  1.4
  @@ -75,9 +75,7 @@
   import javax.naming.directory.Attributes;
   import javax.naming.directory.DirContext;
   
  -import junit.framework.Test;
   import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   
   
   /**
  @@ -247,8 +245,8 @@
   // Look up the WEB-INF entry
   Object webInfEntry = context.lookup(WEB-INF);
   assertNotNull(Found WEB-INF entry, webInfEntry);
  -assert(WEB-INF entry is a DirContext,
  -   webInfEntry instanceof DirContext);
  +assertTrue(WEB-INF entry is a DirContext,
  +   webInfEntry instanceof DirContext);
   DirContext webInfContext = (DirContext) webInfEntry;
   
   // Check the contents of the WEB-INF context directly
  @@ -303,8 +301,8 @@
   // Look up the WEB-INF entry
   Object webInfEntry = context.lookup(WEB-INF);
   assertNotNull(Found WEB-INF entry, webInfEntry);
  -assert(WEB-INF entry is a DirContext,
  -   webInfEntry instanceof DirContext);
  +assertTrue(WEB-INF entry is a DirContext,
  +   webInfEntry instanceof DirContext);
   DirContext webInfContext = (DirContext) webInfEntry;
   
   // Check the bindings of the WEB-INF context directly
  @@ -353,20 +351,20 @@
   while (ne.hasMore()) {
   
   Object next = ne.next();
  -assert(list() returns NameClassPair instances,
  -   next instanceof NameClassPair);
  +assertTrue(list() returns NameClassPair instances,
  +   next instanceof NameClassPair);
   NameClassPair ncp = (NameClassPair) next;
   
  -assert(Name ' + ncp.getName() + ' is expected,
  -   isListed(ncp.getName(), list));
  +assertTrue(Name ' + ncp.getName() + ' is expected,
  +   isListed(ncp.getName(), list));
   
   if (isDirContext(ncp.getName())) {
  -assert(Class ' + ncp.getClassName() + ' is ' +
  -   contextClassName + ',
  -   contextClassName.equals(ncp.getClassName()));
  +assertTrue(Class ' + ncp.getClassName() + ' is ' +
  +   contextClassName + ',
  +   contextClassName.equals(ncp.getClassName()));
   }
   
  -assert(Relative is 'true', ncp.isRelative());
  +assertTrue(Relative is 'true', ncp.isRelative());
   
   }
   
  @@ -391,30 +389,30 @@
   while (ne.hasMore()) {
   
   Object next = ne.next();
  -assert(listBindings() returns Binding instances,
  -   next instanceof Binding);
  +assertTrue(listBindings() returns Binding instances,
  +   next instanceof Binding);
   Binding b = (Binding) next;
   
  -assert(Name ' + b.getName() + ' is expected,
  -   isListed(b.getName(), list));
  +assertTrue(Name ' + b.getName() + ' is expected,
  +   isListed(b.getName(), list));
   
   if (isDirContext(b.getName())) {
  -assert(Class ' + b.getClassName() + ' is ' +
  -   contextClassName + ',
  -   contextClassName.equals(b.getClassName()));
  +assertTrue(Class ' + b.getClassName() + ' is ' +
  +   contextClassName + ',
  +   contextClassName.equals(b.getClassName()));
   }
   
  -assert(Relative is 'true', b.isRelative());
  +assertTrue(Relative is 'true', b.isRelative());
   
   Object object = b.getObject();
   assertNotNull(Name ' + b.getName() + ' has a non-null object,
 object);
   if (b.getName().equals(web.xml)) {
  -assert(Entry ' + b.getName() + ' is a Resource,
  -   object instanceof Resource);
  +assertTrue(Entry ' + 

cvs commit: jakarta-tomcat-4.0/catalina/src/test/org/apache/catalina/util CookieToolsTestCase.java

2004-03-17 Thread markt
markt   2004/03/17 14:37:09

  Modified:catalina/src/test/org/apache/catalina/util
CookieToolsTestCase.java
  Log:
  Fix bug 18294. Add spaces to expected values to enable tests to pass. Whitespace is 
allowed between tokens.
  
  Revision  ChangesPath
  1.5   +6 -6  
jakarta-tomcat-4.0/catalina/src/test/org/apache/catalina/util/CookieToolsTestCase.java
  
  Index: CookieToolsTestCase.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/test/org/apache/catalina/util/CookieToolsTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CookieToolsTestCase.java  18 Mar 2002 00:07:13 -  1.4
  +++ CookieToolsTestCase.java  17 Mar 2004 22:37:09 -  1.5
  @@ -185,13 +185,13 @@
   sb = new StringBuffer();
   CookieTools.getCookieHeaderValue(version0, sb);
   assertEquals(Version 0 cookie header value,
  - Version 0 Name=Version 0 
Value;Domain=localhost;Path=/version0,
  + Version 0 Name=Version 0 Value; Domain=localhost; 
Path=/version0,
sb.toString());
   
   sb = new StringBuffer();
   CookieTools.getCookieHeaderValue(version1, sb);
   assertEquals(Version 1 cookie header value,
  - Version 1 Name=\Version 1 
Value\;Version=1;Comment=\Version 1 
Comment\;Domain=localhost;Discard;Path=\/version1\,
  + Version 1 Name=\Version 1 Value\; Version=1; 
Comment=\Version 1 Comment\; Domain=localhost; Discard; Path=\/version1\,
sb.toString());
   
   }
  
  
  

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



DO NOT REPLY [Bug 18294] - Build test fails with apparently obvious problem

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=18294.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=18294

Build test fails with apparently obvious problem

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 22:44 ---
This has been fixed in CVS.

Many thanks for reporting.

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



DO NOT REPLY [Bug 18073] - gzip compression checks for wrong content type

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=18073.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=18073

gzip compression checks for wrong content type

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 23:14 ---
Alternative patches have been applied (4.1.28 onwards) which should resolve 
the issues you are seeing.

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



DO NOT REPLY [Bug 26662] - ClassCastException in GzipOutputFilter

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=26662.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26662

ClassCastException in GzipOutputFilter





--- Additional Comments From [EMAIL PROTECTED]  2004-03-17 23:16 ---
The current code reads:

if (contentLength != -1) {
response.getMimeHeaders().setValue(Content-Length)
.setInt(contentLength);
outputBuffer.addActiveFilter
(outputFilters[Constants.IDENTITY_FILTER]);
contentDelimitation = true;
} else {
if (entityBody  http11  keepAlive) {
outputBuffer.addActiveFilter
(outputFilters[Constants.CHUNKED_FILTER]);
contentDelimitation = true;
response.addHeader(Transfer-Encoding, chunked);
} else {
outputBuffer.addActiveFilter
(outputFilters[Constants.IDENTITY_FILTER]);
}
}

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



cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper Mapper.java

2004-03-17 Thread luehe
luehe   2004/03/17 17:55:16

  Modified:util/java/org/apache/tomcat/util/http/mapper Mapper.java
  Log:
  Fix for Bugzilla 27704 (Result of request.getServletPath() wrong in case JSP inside 
jsp-property-group)
  
  Revision  ChangesPath
  1.37  +5 -0  
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java
  
  Index: Mapper.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- Mapper.java   16 Mar 2004 22:18:13 -  1.36
  +++ Mapper.java   18 Mar 2004 01:55:16 -  1.37
  @@ -672,6 +672,11 @@
*/ 
   mappingData.wrapper = null;
   checkJspWelcomeFiles = true;
  +} else {
  +// See Bugzilla 27704
  +mappingData.wrapperPath.setChars(buf, path.getStart(),
  + path.getLength());
  +mappingData.pathInfo.recycle();
   }
   }
   }
  
  
  

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



DO NOT REPLY [Bug 27762] New: - Including Tagfiles Makes Includes Fail to Include

2004-03-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27762.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27762

Including Tagfiles Makes Includes Fail to Include

   Summary: Including Tagfiles Makes Includes Fail to Include
   Product: Tomcat 5
   Version: 5.0.18
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: Major
  Priority: Other
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


If a page has a tagfile, even if the tag file is blank, then %@ include
file=foo.jsp % will fail to include any content and fail to give any error.

The main page:
---
%@ page language=java %
%@ taglib prefix=x tagdir=/WEB-INF/tags/xhtml %

x:stuff/
%@ include file=/WEB-INF/include.jsp %
---

The stuff taglib (empty on purpose):
---
%@ tag body-content=empty %
---

The included file contents:
---
Hello from include
---

The generated code:
---
  out.write('\n');
  out.write('\n');
  out.write('\n');
  if (_jspx_meth_x_stuff_0(pageContext))
return;
  out.write('\n');
} catch (Throwable t) {
  if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null  out.getBufferSize() != 0)
  out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
  }
} finally {
  if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
---

Notice how there is no Hello from include

Now, if we comment out the tag file like so:
---
%@ page language=java %
%@ taglib prefix=x tagdir=/WEB-INF/tags/xhtml %

!--x:stuff/--
%@ include file=/WEB-INF/include.jsp %
---

We get the included file in the generated source:
---
  out.write(\n\n\n!--x:stuff/--\n);
  out.write(Hello from include);
} catch (Throwable t) {
  if (!(t instanceof SkipPageException)){
---

Am I missing some assumption or is this a bug?

Thanks!
Seth

-
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:
other content deleted
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: [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: [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]



[GUMP@lsd]: jakarta-tomcat-5/jakarta-tomcat-5 failed

2004-03-17 Thread bobh
To whom it may engage...

This is an automated request, but not an unsolicited one. For help 
understanding the request please visit 
http://gump.apache.org/nagged.html, 
and/or contact [EMAIL PROTECTED]

Project jakarta-tomcat-5 has an issue affecting its community integration. The current 
state is 'Failed', for reason 'Build Failed'

Full details are available at: 
http://lsd.student.utwente.nl/gump/jakarta-tomcat-5/jakarta-tomcat-5.html, however 
some snippets follow:

-  -  -  -  - -- --  G U M P

Gump provided these annotations:

 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/server/lib/servlets-default.jar] 
identifier set to jar basename: [servlets-default.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/common/lib/naming-common.jar] 
identifier set to jar basename: [naming-common.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/common/lib/naming-resources.jar] 
identifier set to jar basename: [naming-resources.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/server/lib/catalina.jar] 
identifier set to jar basename: [catalina.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/bin/bootstrap.jar] identifier set 
to jar basename: [bootstrap.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/server/lib/servlets-common.jar] 
identifier set to jar basename: [servlets-common.jar]
 - Warning - Jar [/data3/gump/jakarta-tomcat-5/dist/server/lib/servlets-invoker.jar] 
identifier set to jar basename: [servlets-invoker.jar]
 - Info - Dependency on javamail exists, no need to add for property mail.jar.
 - Info - Dependency on jaf exists, no need to add for property activation.jar.
 - Info - Dependency on jakarta-servletapi-5-servlet exists, no need to add for 
property servlet-api.jar.
 - Info - Dependency on jakarta-servletapi-5-jsp exists, no need to add for property 
jsp-api.jar.
 - Info - Dependency on xml-xerces exists, no need to add for property xercesImpl.jar.
 - Info - Dependency on xml-xerces exists, no need to add for property 
xmlParserAPIs.jar.
 - Info - Dependency on jakarta-tomcat-util exists, no need to add for property 
tomcat-util.jar.
 - Info - Dependency on commons-el exists, no need to add for property commons-el.jar.
 - Info - Dependency on commons-logging exists, no need to add for property 
commons-logging-api.jar.
 - Info - Dependency on commons-modeler exists, no need to add for property 
commons-modeler.jar.
 - Info - Dependency on ant exists, no need to add for property ant.home.
 - Info - Dependency on jsse exists, no need to add for property jsse.home.
 - Info - Dependency on jmx exists, no need to add for property jmx.home.
 - Info - Dependency on jmx exists, no need to add for property jmx.jar.
 - Info - Dependency on jmx exists, no need to add for property jmx-tools.jar.
 - Info - Dependency on jndi exists, no need to add for property jndi.home.
 - Info - Dependency on jakarta-regexp exists, no need to add for property regexp.home.
 - Info - Dependency on jakarta-regexp exists, no need to add for property regexp.jar.
 - Info - Dependency on javamail exists, no need to add for property mail.home.
 - Info - Dependency on jakarta-tomcat-coyote exists, no need to add for property 
tomcat-coyote.home.
 - Info - Dependency on jakarta-tomcat-jasper_tc5 exists, no need to add for property 
jasper.home.
 - Info - Dependency on jaf exists, no need to add for property activation.home.
 - Info - Dependency on commons-modeler exists, no need to add for property 
commons-modeler.home.
 - Info - Dependency on commons-daemon exists, no need to add for property 
commons-daemon.jsvc.tar.gz.
 - Info - Dependency on jakarta-struts exists, no need to add for property struts.home.
 - Info - Enable verbose output, due to 1 previous error(s).
 - Error - Failed with reason build failed


-  -  -  -  - -- --  G U M P
Gump performed this work:

Work Name: build_jakarta-tomcat-5_jakarta-tomcat-5 (Type: Build)
State: Failed
Elapsed: 0 hours, 0 minutes, 26 seconds
Command Line: java -Djava.awt.headless=true -Dbuild.clonevm=true 
-Xbootclasspath/p:/data3/gump/xml-xerces2/java/build/xercesImpl.jar:/data3/gump/xml-xerces2/java/build/xmlParserAPIs.jar:/data3/gump/xml-xalan/java/build/xalan-unbundled.jar:/data3/gump/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -verbose 
-Dgump.merge=/data3/gump/gump-install/work/merge.xml -Dbuild.sysclasspath=only 
-Dtomcat33.home=*Unset* 
-Djsp-api.jar=/data3/gump/jakarta-servletapi-5/jsr152/dist/lib/jsp-api.jar 
-Dtomcat-coyote.home=/data3/gump/jakarta-tomcat-connectors/coyote 
-Djndi.jar=/data3/gump/opt/jndi1_2_1/lib/jndi.jar 
-Dsite2.home=/data3/gump/jakarta-site2 
-DxmlParserAPIs.jar=/data3/gump/xml-xerces2/java/build/xercesImpl.jar 
-Dactivation.home=/data3/gump/opt/jaf-1.0.1 -Djmx.home=/data3/gump/opt/jmx-1_2-ri 
-Djdbc20ext.jar=/data3/gump/opt/jdbc2_0/jdbc2_0-stdext.jar