Re: Anne-Sophie Brichard/EUZ/ChubbMail is out of the office.

2005-08-02 Thread Ranjan B
dont think iam lazy

Ranjan B [EMAIL PROTECTED] wrote:this is tommy idont know what to do u are 
sending 100 mail send 1mail at a time iam not angry withu

[EMAIL PROTECTED] wrote:I will be out of the office starting 01/08/2005 and 
will not return until
01/09/2005.

En cas d'urgence, merci de bien vouloir contacter Sandra Boutboul
([EMAIL PROTECTED]) au 01 70 36 65 90

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




-
Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for 
FREE!
http://in.mail.yahoo.com


-
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection 
for FREE!
http://in.mail.yahoo.com

Re: Anne-Sophie Brichard/EUZ/ChubbMail is out of the office.

2005-08-02 Thread Ranjan B
hi dum dum iwant to know if there is any body seeing this mail incase iwill not 
send any mail iwant to confirm  that if it is u give me 1 blank call tomy home 
at12pmi will knowuhavecalledif it is u than u know my number  [EMAIL 
PROTECTED] wrote:dont think iam lazy

Ranjan B wrote:this is tommy idont know what to do u are sending 100 mail send 
1mail at a time iam not angry withu

[EMAIL PROTECTED] wrote:I will be out of the office starting 01/08/2005 and 
will not return until
01/09/2005.

En cas d'urgence, merci de bien vouloir contacter Sandra Boutboul
([EMAIL PROTECTED]) au 01 70 36 65 90

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




-
Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for 
FREE!
http://in.mail.yahoo.com


-
Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for 
FREE!
http://in.mail.yahoo.com


-
How much free photo storage do you get? Store your friends n family photos for 
FREE with Yahoo! Photos. 
 http://in.photos.yahoo.com

Re: Re: Anne-Sophie Brichard/EUZ/ChubbMail is out of the office.

2005-08-02 Thread gmail
As of June 7th, the isnoop.net gmail spooler service is closed.  I have gotten 
the word from Gmail\'s Product Manager that my service is no longer tolerable. 
I would like to extend my sincere thanks to all who contributed to this 
service. Your generosity helped out a vast number of people and for that you 
should be proud.

The gmail spooler email account is now deactivated and any emails you send to 
this address end up in the bit bucket. 

If you have any questions or comments, please feel free to drop me a line: 
[EMAIL PROTECTED]

--
Ian \isnoop\ Anthony



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



Writing MemoryUserDatabase on Startup

2005-08-02 Thread Rainer Jung

Hi,

I wonder, why

/org/apache/catalina/users/MemoryUserDatabaseFactory.java

saves the MemoryUserDatabase directly after opening it:

public Object getObjectInstance(Object obj, Name name, Context
nameCtx, Hashtable environment) throws Exception {

...

// Return the configured database instance
database.open();
database.save();
return (database);

}

That means, the runtime user of tomcat needs write permissions on the
directory, the file is in (see the implementation of
MemoryUserDatabase.save()).

Ogf course in case one likes to administer the user database the save
function is necessary. But there are two cases where one would prefer to
have tomcat not trying to save the database during startup:

1) Running tomcat from CD
2) Having a very secure setup of tomcat, where all the configs are write
disabled.

The call to database.save() is in the code since the very first version
in TC 4, but I can't really see, why it is necessary.

Another possibility would be to catch the Exception thrown when there is
no write permission and to simply log a warning.

Also: there is a save() done in close(). I don't know, where the close
is called from, but it looks like nowhere in catalina code (eventually
in admin).

Any comments? Thanks!

Rainer




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



cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp AjpMessage.java

2005-08-02 Thread remm
remm2005/08/02 03:08:43

  Modified:jk/java/org/apache/coyote/ajp AjpMessage.java
  Log:
  - More minor cleanups. In particular, remove the IOEs, which are not thrown
anywhere.
  
  Revision  ChangesPath
  1.5   +47 -29
jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpMessage.java
  
  Index: AjpMessage.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpMessage.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AjpMessage.java   1 Aug 2005 09:40:14 -   1.4
  +++ AjpMessage.java   2 Aug 2005 10:08:43 -   1.5
  @@ -103,20 +103,26 @@
   }
   
   
  +/**
  + * Return the underlying byte buffer.
  + */
   public byte[] getBuffer() {
   return buf;
   }
   
   
  +/**
  + * Return the current message length. For read, it's the length of the
  + * payload (excluding the header).  For write, it's the length of
  + * the packet as a whole (counting the header).
  + */
   public int getLen() {
   return len;
   }
   
   
   /**
  - * Add an int.
  - *
  - * @param val The integer to write.
  + * Add a short integer (2 bytes) to the message.
*/
   public void appendInt(int val) {
   buf[pos++] = (byte) ((val  8)  0xFF);
  @@ -124,11 +130,17 @@
   }
   
   
  +/**
  + * Append a byte (1 byte) to the message.
  + */
   public void appendByte(int val) {
   buf[pos++] = (byte) val;
   }

   
  +/**
  + * Append an int (4 bytes) to the message.
  + */
   public void appendLongInt(int val) {
   buf[pos++] = (byte) ((val  24)  0xFF);
   buf[pos++] = (byte) ((val  16)  0xFF);
  @@ -138,21 +150,17 @@
   
   
   /**
  - * Write a String out at the current write position.  Strings are
  - * encoded with the length in two bytes first, then the string, and
  - * then a terminating \0 (which is Bnot/B included in the
  - * encoded length).  The terminator is for the convenience of the C
  - * code, where it saves a round of copying.  A null string is
  - * encoded as a string with length 0.  
  + * Write a MessageBytes out at the current write position.
  + * A null MessageBytes is encoded as a string with length 0.  
*/
  -public void appendBytes(MessageBytes mb)
  -throws IOException {
  -if (mb == null || mb.isNull()) {
  +public void appendBytes(MessageBytes mb) {
  +if (mb == null) {
  +log.error(sm.getString(ajpmessage.null), 
  +new NullPointerException());
   appendInt(0);
   appendByte(0);
   return;
   }
  -
   if (mb.getType() == MessageBytes.T_BYTES) {
   ByteChunk bc = mb.getByteChunk();
   appendByteChunk(bc);
  @@ -165,8 +173,11 @@
   }
   
   
  -public void appendByteChunk(ByteChunk bc)
  -throws IOException {
  +/**
  + * Write a ByteChunk out at the current write position.
  + * A null ByteChunk is encoded as a string with length 0.  
  + */
  +public void appendByteChunk(ByteChunk bc) {
   if (bc == null) {
   log.error(sm.getString(ajpmessage.null), 
   new NullPointerException());
  @@ -178,8 +189,11 @@
   }
   
   
  -public void appendCharChunk(CharChunk cc)
  -throws IOException {
  +/**
  + * Write a CharChunk out at the current write position.
  + * A null CharChunk is encoded as a string with length 0.  
  + */
  +public void appendCharChunk(CharChunk cc) {
   if (cc == null) {
   log.error(sm.getString(ajpmessage.null), 
   new NullPointerException());
  @@ -187,10 +201,9 @@
   appendByte(0);
   return;
   }
  -
   int start = cc.getStart();
   int end = cc.getEnd();
  -appendInt(cc.getLength());
  +appendInt(end - start);
   char[] cbuf = cc.getBuffer();
   for (int i = start; i  end; i++) {
   char c = cbuf[i];
  @@ -209,8 +222,15 @@
   }
   
   
  -public void appendString(String str)
  -throws IOException {
  +/**
  + * Write a String out at the current write position.  Strings are
  + * encoded with the length in two bytes first, then the string, and
  + * then a terminating \0 (which is Bnot/B included in the
  + * encoded length).  The terminator is for the convenience of the C
  + * code, where it saves a round of copying.  A null string is
  + * encoded as a string with length 0.  
  + */
  +public void appendString(String str) {
   if (str == null) {
   log.error(sm.getString(ajpmessage.null), 
   

cvs commit: jakarta-tomcat-connectors/jni jnirelease.sh

2005-08-02 Thread mturk
mturk   2005/08/02 03:13:38

  Added:   jni  jnirelease.sh
  Log:
  Initial implementation for tomcat-native release script.
  
  Revision  ChangesPath
  1.1  jakarta-tomcat-connectors/jni/jnirelease.sh
  
  Index: jnirelease.sh
  ===
  #/bin/sh
  #
  # Copyright 1999-2005 The Apache Software Foundation
  #
  # Licensed under the Apache License, Version 2.0 (the License);
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an AS IS BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  #
  # Replace JKJNITAG with real tag, like TOMCAT_NATIVE_1_1_0
  JKJNITAG=HEAD
  # Replace JKJNIEXT with tagged version number, like 1.1.0
  JKJNIEXT=current
  JKJNIVER=-${JKJNIEXT}
  JKJNICVST=jakarta-tomcat-connectors
  export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic
  JKJNIDIST=tomcat-native${JKJNIVER}
  rm -rf ${JKJNIDIST}
  rm -f ${JKJNIDIST}.*
  cvs export -N -r $JKJNITAG jakarta-tomcat-connectors/KEYS
  cvs export -N -r $JKJNITAG jakarta-tomcat-connectors/LICENSE
  cvs export -N -r $JKJNITAG jakarta-tomcat-connectors/NOTICE
  cvs export -N -r $JKJNITAG jakarta-tomcat-connectors/jni/NOTICE.txt
  cvs export -N -r $JKJNITAG jakarta-tomcat-connectors/jni/README.txt
  cvs export -N -r $JKJNITAG jakarta-tomcat-connectors/jni/native
  mv ${JKJNICVST} ${JKJNIDIST}
  
  # Prebuild
  cd ${JKJNIDIST}/jni/native
  # Adjust the location of APR sources
  ./buildconf --with-apr=../../../srclib/apr
  cd ../../../
  # Create distribution
  tar cvf ${JKJNIDIST}.tar ${JKJNIDIST}
  gzip ${JKJNIDIST}.tar
  # Convert lineends to DOS
  ./srclib/apr/lineends.pl --cr ${JKJNIDIST}
  zip -9 -r  %JKJNIDIST%.zip %JKJNIDIST%
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jni jnirelease.sh

2005-08-02 Thread mturk
mturk   2005/08/02 03:15:55

  Modified:jni  jnirelease.sh
  Log:
  Fix copy/paste from WIN batch script.
  
  Revision  ChangesPath
  1.2   +1 -1  jakarta-tomcat-connectors/jni/jnirelease.sh
  
  Index: jnirelease.sh
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/jnirelease.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jnirelease.sh 2 Aug 2005 10:13:38 -   1.1
  +++ jnirelease.sh 2 Aug 2005 10:15:55 -   1.2
  @@ -42,4 +42,4 @@
   gzip ${JKJNIDIST}.tar
   # Convert lineends to DOS
   ./srclib/apr/lineends.pl --cr ${JKJNIDIST}
  -zip -9 -r  %JKJNIDIST%.zip %JKJNIDIST%
  +zip -9 -r  ${JKJNIDIST}.zip ${JKJNIDIST}
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jni/native configure.in

2005-08-02 Thread mturk
mturk   2005/08/02 04:33:11

  Modified:jni/native configure.in
  Log:
  Link with libkstat for Solaris
  
  Revision  ChangesPath
  1.9   +9 -0  jakarta-tomcat-connectors/jni/native/configure.in
  
  Index: configure.in
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/configure.in,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- configure.in  23 Jun 2005 14:49:36 -  1.8
  +++ configure.in  2 Aug 2005 11:33:11 -   1.9
  @@ -150,6 +150,15 @@
   APR_ADDTO(TCNATIVE_LIBS, [$APR_LIBS])
   APR_ADDTO(TCNATIVE_LDFLAGS, [$LDFLAGS])
   
  +# Link libkstat for Solaris
  +case $host in
  +*-solaris2*)
  +APR_ADDTO(TCNATIVE_LIBS, -lkstat)
  +;;
  +*)
  +;;
  +esac
  +
   AC_SUBST(TCNATIVE_EXPORT_LIBS)
   AC_SUBST(TCNATIVE_PRIV_INCLUDES)
   AC_SUBST(TCNATIVE_INCLUDES)
  
  
  

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



DO NOT REPLY [Bug 35461] - bad request http 400 using mod_jk 1.2.13. After downgrading to 1.3.33 and mod_jk 1.2.5 the problems have gone. Problems occur again after using the combination Apache Webserver 1.3.33 and mod_jk 1.2.10

2005-08-02 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=35461.
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=35461





--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 14:05 ---
Created an attachment (id=15844)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15844action=view)
workers.properties from mod_jk configuration


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35461] - bad request http 400 using mod_jk 1.2.13. After downgrading to 1.3.33 and mod_jk 1.2.5 the problems have gone. Problems occur again after using the combination Apache Webserver 1.3.33 and mod_jk 1.2.10

2005-08-02 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=35461.
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=35461





--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 14:07 ---
Created an attachment (id=15845)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15845action=view)
modjk directives


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35461] - bad request http 400 using mod_jk 1.2.13. After downgrading to 1.3.33 and mod_jk 1.2.5 the problems have gone. Problems occur again after using the combination Apache Webserver 1.3.33 and mod_jk 1.2.10

2005-08-02 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=35461.
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=35461





--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 14:09 ---
I have attached our workers.properties file and a file jk.conf including the 
directives.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35461] - bad request http 400 using mod_jk 1.2.13. After downgrading to 1.3.33 and mod_jk 1.2.5 the problems have gone. Problems occur again after using the combination Apache Webserver 1.3.33 and mod_jk 1.2.10

2005-08-02 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=35461.
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=35461





--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 14:29 ---
(In reply to comment #3)
 Hmm,
 This seems like you are using 'application/x-www-form-urlencoded'
 with GET request.
 Can you post the full mod_jk log from the beggining of the transaction
 to the end for that request. There must be some errors in ajp protocol,
 either setting timeout too low or forbidding post requests.

Hello,

I have sent attachements concerning workers.properties an directives.

Our application is using webservers running behind a loadbalancer. Therefore it 
is a little bit difficult to find the exact statement that matches the stack 
trace of the tomcat. But there some stack traces in our Tomcats logfile and I 
will sent a you a typical error sequence from a modjk log file

[Mon Aug 01 18:56:03 2005] [info]  ajp_send_request::jk_ajp_common.c (1178): 
Socket 7 is not connected any moreajp_service::jk_ajp_common.c (1749): Sending 
request to tomcat failed,  recoverable operation attempt=1
[Mon Aug 01 18:54:17 2005] [info]  jk_open_socket::jk_connect.c (444): connect 
to 145.228.205.181:16008 failed with errno=111
[Mon Aug 01 18:54:17 2005] [info]  ajp_connect_to_endpoint::jk_ajp_common.c 
(889): Failed opening socket to (145.228.205.181:16008) with (errno=111)
[Mon Aug 01 18:54:17 2005] [info]  ajp_send_request::jk_ajp_common.c (1248): 
Error connecting to the Tomcat process.
[Mon Aug 01 18:54:17 2005] [info]  ajp_service::jk_ajp_common.c (1749): Sending 
request to tomcat failed,  recoverable operation attempt=2
[Mon Aug 01 18:54:17 2005] [info]  jk_open_socket::jk_connect.c (444): connect 
to 145.228.205.181:16008 failed with errno=111
[Mon Aug 01 18:54:17 2005] [info]  ajp_connect_to_endpoint::jk_ajp_common.c 
(889): Failed opening socket to (145.228.205.181:16008) with (errno=111)
[Mon Aug 01 18:54:17 2005] [info]  ajp_send_request::jk_ajp_common.c (1248): 
Error connecting to the Tomcat process.
[Mon Aug 01 18:54:17 2005] [info]  ajp_service::jk_ajp_common.c (1749): Sending 
request to tomcat failed,  recoverable operation attempt=3
[Mon Aug 01 18:54:17 2005] [error] ajp_service::jk_ajp_common.c (1758): Error 
connecting to tomcat. Tomcat is probably not started or is listening on the 
wrong port. worker=ASTPPRMB failed
[Mon Aug 01 18:54:17 2005] [info]  service::jk_lb_worker.c (662): service 
failed, worker ASTPPRMB is in error state
[Mon Aug 01 18:55:09 2005] [info]  ajp_send_request::jk_ajp_common.c (1178): 
Socket 7 is not connected any more (errno=-1)
[Mon Aug 01 18:55:09 2005] [info]  ajp_send_request::jk_ajp_common.c (1202): 
Error sending request. Will try another pooled connection
[Mon Aug 01 18:55:09 2005] [info]  ajp_send_request::jk_ajp_common.c (1225): 
All endpoints are disconnected or dead
[Mon Aug 01 18:55:09 2005] [info]  ajp_service::jk_ajp_common.c (1749): Sending 
request to tomcat failed,  recoverable operation attempt=1
[Mon Aug 01 18:55:53 2005] [info]  ajp_send_request::jk_ajp_common.c (1178): 
Socket 13 is not connected any more (errno=-1)
[Mon Aug 01 18:55:53 2005] [info]  ajp_send_request::jk_ajp_common.c (1202): 
Error sending request. Will try another pooled connection
[Mon Aug 01 18:55:53 2005] [info]  ajp_send_request::jk_ajp_common.c (1225): 
All endpoints are disconnected or dead
[Mon Aug 01 18:55:53 2005] [info]  ajp_service::jk_ajp_common.c (1749): Sending 
request to tomcat failed,  recoverable operation attempt=1
[Mon Aug 01 18:55:09 2005] [info]  ajp_send_request::jk_ajp_common.c (1178): 
Socket 7 is not connected any more (errno=-1)
[Mon Aug 01 18:55:09 2005] [info]  ajp_send_request::jk_ajp_common.c (1202): 
Error sending request. Will try another pooled connection
[Mon Aug 01 18:55:09 2005] [info]  ajp_send_request::jk_ajp_common.c (1225): 
All endpoints are disconnected or dead
[Mon Aug 01 18:55:09 2005] [info]  ajp_service::jk_ajp_common.c (1749): Sending 
request to tomcat failed,  recoverable operation attempt=1
[Mon Aug 01 18:55:53 2005] [info]  ajp_send_request::jk_ajp_common.c (1178): 
Socket 13 is not connected any more (errno=-1)
[Mon Aug 01 18:55:53 2005] [info]  ajp_send_request::jk_ajp_common.c (1202): 
Error sending request. Will try another pooled connection
[Mon Aug 01 18:55:53 2005] [info]  ajp_send_request::jk_ajp_common.c (1225): 
All endpoints are disconnected or dead
[Mon Aug 01 18:55:53 2005] [info]  ajp_service::jk_ajp_common.c (1749): Sending 
request to tomcat failed,  recoverable operation attempt=1
[Mon Aug 01 18:55:57 2005] [info]  ajp_process_callback::jk_ajp_common.c 
(1384): Connection aborted or network problems
[Mon Aug 01 18:55:57 2005] [info]  ajp_service::jk_ajp_common.c (1731): 
Receiving from tomcat failed, because of 

DO NOT REPLY [Bug 35901] - jk 1.2.14 - Worker stop action does not hold

2005-08-02 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=35901.
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=35901





--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 15:13 ---
(In reply to comment #1)
 Maybe your shared memory setup for mod_jk is not correct. Could you post 
 mod_jk
 configuration (e.g. workers.properties) and the Jk directives from httpd.conf?
 
 Which web server are you using (type and version)?
 
 I assume mod_jk (i.e. the web server) is running on Win2003?
 
 You should also set JkLogLevel to trace and post the part of the JkLogFile 
 from
 accessing /status with correct information, then changing the stopped, until
 accessing /status and again seeing the worker non-stopped.
 



FYI - according to the Apache Jakarta Tomcat Connectors change log ...

Added shared memory to allow dynamic configuration. Shared memory is needed
only for unix platform and web servers having multiple child processes. For
Apache web server two new directives has been added (JkShmFile and JkShmSize).
(mturk) 

See: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/changelog.html

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp AjpMessage.java

2005-08-02 Thread remm
remm2005/08/02 06:36:01

  Modified:jk/java/org/apache/coyote/ajp AjpMessage.java
  Log:
  - Remove import.
  
  Revision  ChangesPath
  1.6   +0 -2  
jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpMessage.java
  
  Index: AjpMessage.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpMessage.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AjpMessage.java   2 Aug 2005 10:08:43 -   1.5
  +++ AjpMessage.java   2 Aug 2005 13:36:01 -   1.6
  @@ -16,8 +16,6 @@
   
   package org.apache.coyote.ajp;
   
  -import java.io.IOException;
  -
   import org.apache.tomcat.util.buf.ByteChunk;
   import org.apache.tomcat.util.buf.CharChunk;
   import org.apache.tomcat.util.buf.MessageBytes;
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs/config http.xml

2005-08-02 Thread yoavs
yoavs   2005/08/02 06:47:11

  Modified:.build.properties.default
   webapps/docs changelog.xml
   webapps/docs/config http.xml
  Log:
  Bugzilla 34794: http://issues.apache.org/bugzilla/show_bug.cgi?id=34794
  
  Revision  ChangesPath
  1.154 +4 -1  jakarta-tomcat-5/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
  retrieving revision 1.153
  retrieving revision 1.154
  diff -u -r1.153 -r1.154
  --- build.properties.default  31 Jul 2005 13:18:37 -  1.153
  +++ build.properties.default  2 Aug 2005 13:47:10 -   1.154
  @@ -42,6 +42,9 @@
   cvsroot=:pserver:[EMAIL PROTECTED]:/home/cvspublic
   
   # - Default Base Path for Dependent Packages -
  +# Please note this path must be absolute, not relative,
  +# as it is referenced with different working directory
  +# contexts by the various build scripts.
   base.path=/usr/share/java
   #base.path=C:/path/to/the/repository
   #base.path=/usr/local
  
  
  
  1.349 +4 -1  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.348
  retrieving revision 1.349
  diff -u -r1.348 -r1.349
  --- changelog.xml 1 Aug 2005 09:40:14 -   1.348
  +++ changelog.xml 2 Aug 2005 13:47:11 -   1.349
  @@ -53,12 +53,15 @@
 the JDK 1.4 JavaDoc tool. (yoavs)
 /fix
 fix
  -bug35865/bug: setclasspath.sh cannot be excutive under cygwin 
(funkman)
  +bug35865/bug: setclasspath.sh cannot be excutive under cygwin. 
(funkman)
 /fix
 fix
   bug33267/bug: Set working path in service installer, as 
suggested by Dominik
 Drzewiecki. (yoavs)
 /fix
  +  update
  +bug34794/bug: Update connector documentation to include 
clientAuth attribute. (yoavs)
  +  /update
   /changelog
 /subsection
 
  
  
  
  1.27  +10 -0 jakarta-tomcat-catalina/webapps/docs/config/http.xml
  
  Index: http.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/http.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- http.xml  9 Jun 2005 20:25:31 -   1.26
  +++ http.xml  2 Aug 2005 13:47:11 -   1.27
  @@ -212,6 +212,16 @@
 The default value is codetext/html,text/xml,text/plain/code./p
   /attribute
   
  +attribute name=clientAuth required=false
  +  p
  +Set this value to codetrue/code if you want Tomcat to require
  +all SSL clients to present a client Certificate in order to use
  +this socket.  Set this value to codewant/code if you want Tomcat
  +to request a client Certificate, but not fail if one isn't presented.
  +See the a href=../ssl-howto.htmlSSL HowTo/a for an example.
  +  /p
  +/attribute
  +
   attribute name=compression required=false
 pThe strongConnector/strong may use HTTP/1.1 GZIP compression in
 an attempt to save server bandwidth. The acceptable values for the
  
  
  

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



DO NOT REPLY [Bug 34794] - enhance documentation to include 'clientAuth=want'

2005-08-02 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=34794.
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=34794


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 15:47 ---
OK, done.  Thanks for pointing this out.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35961] - Allow use of logo in wikipedia

2005-08-02 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=35961.
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=35961


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 15:48 ---
I haven't seen a discussion.  Please pursue the issue at [EMAIL PROTECTED], not 
here.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 9936] - http tunnel could not work with mod_jk

2005-08-02 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=9936.
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=9936


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 15:50 ---
2+ months gone with no further comment, and specifically no experimentation with
the multiple mod_jk updates that have been released since the original filing,
nor a response to Mark's last post.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33261] - Installer should check for administrative rights

2005-08-02 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=33261.
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=33261


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 16:01 ---
I suppose this a good excuse for me to learn more about NSIS ;)  First, the FAQ
at
http://nsis.sourceforge.net/wiki/How_can_I_make_sure_the_user_installing_my_software_has_admin_rights
says to go look at the UserInfo example that ships with NSIS.  Let me go look
and see.. ;)

I don't think I'll stop the installation, but maybe print out a big warning 
message.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-5 build.properties.default

2005-08-02 Thread yoavs
yoavs   2005/08/02 07:01:58

  Modified:.build.properties.default
  Log:
  Update NSIS to 2.08: the releaes from 2.0 to 2.08 have many bug fixes.
  
  Revision  ChangesPath
  1.155 +3 -3  jakarta-tomcat-5/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
  retrieving revision 1.154
  retrieving revision 1.155
  diff -u -r1.154 -r1.155
  --- build.properties.default  2 Aug 2005 13:47:10 -   1.154
  +++ build.properties.default  2 Aug 2005 14:01:58 -   1.155
  @@ -216,11 +216,11 @@
   
   
   # - NSIS, version 2.0 or later -
  -nsis.home=${base.path}/nsis-2.0
  +nsis.home=${base.path}/nsis-2.08
   nsis.exe=${nsis.home}/makensis.exe
   nsis.installoptions.dll=${nsis.home}/Plugins/InstallOptions.dll
   nsis.nsexec.dll=${nsis.home}/Plugins/nsExec.dll
  -nsis.loc=${base-sf.loc}/nsis/nsis20.exe
  +nsis.loc=${base-sf.loc}/nsis/nsis-2.08.exe
   
   
   # - Struts, version 1.2.4 or later -
  
  
  

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



DO NOT REPLY [Bug 33261] - Installer should check for administrative rights

2005-08-02 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=33261.
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=33261





--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 16:09 ---
The example that ships with NSIS does this:

Name UserInfo.dll test
OutFile UserInfo.exe

Section
ClearErrors
UserInfo::GetName
IfErrors Win9x
Pop $0
UserInfo::GetAccountType
Pop $1
StrCmp $1 Admin 0 +3
MessageBox MB_OK 'User $0 is in the Administrators group'
Goto done
StrCmp $1 Power 0 +3
MessageBox MB_OK 'User $0 is in the Power Users group'
Goto done
StrCmp $1 User 0 +3
MessageBox MB_OK 'User $0 is just a regular user'
Goto done
StrCmp $1 Guest 0 +3
MessageBox MB_OK 'User $0 is a guest'
Goto done
MessageBox MB_OK Unknown error
Goto done

Win9x:
# This one means you don't need to care about admin or
# not admin because Windows 9x doesn't either
MessageBox MB_OK Error! This DLL can't run under Windows 9x!

done:
SectionEnd

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: jakarta-tomcat-connectors/jni jnirelease.sh

2005-08-02 Thread mturk
mturk   2005/08/02 07:15:58

  Modified:jni  jnirelease.sh
  Log:
  lineends.pl is not executable so use perl.
  
  Revision  ChangesPath
  1.3   +1 -1  jakarta-tomcat-connectors/jni/jnirelease.sh
  
  Index: jnirelease.sh
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/jnirelease.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jnirelease.sh 2 Aug 2005 10:15:55 -   1.2
  +++ jnirelease.sh 2 Aug 2005 14:15:58 -   1.3
  @@ -41,5 +41,5 @@
   tar cvf ${JKJNIDIST}.tar ${JKJNIDIST}
   gzip ${JKJNIDIST}.tar
   # Convert lineends to DOS
  -./srclib/apr/lineends.pl --cr ${JKJNIDIST}
  +perl srclib/apr/lineends.pl --cr ${JKJNIDIST}
   zip -9 -r  ${JKJNIDIST}.zip ${JKJNIDIST}
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jni jnirelease.sh

2005-08-02 Thread mturk
mturk   2005/08/02 07:21:23

  Modified:jni  jnirelease.sh
  Log:
  Fix path to the lineends.pl
  
  Revision  ChangesPath
  1.4   +1 -1  jakarta-tomcat-connectors/jni/jnirelease.sh
  
  Index: jnirelease.sh
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/jnirelease.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jnirelease.sh 2 Aug 2005 14:15:58 -   1.3
  +++ jnirelease.sh 2 Aug 2005 14:21:23 -   1.4
  @@ -41,5 +41,5 @@
   tar cvf ${JKJNIDIST}.tar ${JKJNIDIST}
   gzip ${JKJNIDIST}.tar
   # Convert lineends to DOS
  -perl srclib/apr/lineends.pl --cr ${JKJNIDIST}
  +perl srclib/apr/build/lineends.pl --cr ${JKJNIDIST}
   zip -9 -r  ${JKJNIDIST}.zip ${JKJNIDIST}
  
  
  

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



cvs commit: jakarta-tomcat-5 build.xml build.properties.default

2005-08-02 Thread remm
remm2005/08/02 08:33:08

  Modified:.build.xml build.properties.default
  Log:
  - Update to the soon-to-be new location for native.
  
  Revision  ChangesPath
  1.233 +2 -1  jakarta-tomcat-5/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
  retrieving revision 1.232
  retrieving revision 1.233
  diff -u -r1.232 -r1.233
  --- build.xml 30 Jul 2005 21:22:24 -  1.232
  +++ build.xml 2 Aug 2005 15:33:07 -   1.233
  @@ -158,7 +158,8 @@
   copy todir=${tomcat.build}/bin file=${commons-daemon.jsvc.tar.gz} 
   failonerror=false /
   
  -copy todir=${tomcat.build}/bin file=${tomcat-native.tar.gz} /
  +copy tofile=${tomcat.build}/bin/tomcat-native.tar.gz
  + file=${tomcat-native.tar.gz} /

   !-- copy todir=${tomcat.build}/common/lib file=${ant.jar}/
   copy todir=${tomcat.build}/common/lib file=${ant-launcher.jar}/ --
  
  
  
  1.156 +3 -3  jakarta-tomcat-5/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
  retrieving revision 1.155
  retrieving revision 1.156
  diff -u -r1.155 -r1.156
  --- build.properties.default  2 Aug 2005 14:01:58 -   1.155
  +++ build.properties.default  2 Aug 2005 15:33:07 -   1.156
  @@ -150,9 +150,9 @@
   
   
   # - Tomcat native library -
  -tomcat-native.home=${base.path}/tomcat-native-1.0
  +tomcat-native.home=${base.path}/tomcat-native-1.1.0
   tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz
  
-tomcat-native.loc=${base-jakarta.loc}/tomcat-connectors/jni/tomcat-native.tar.gz
  
+tomcat-native.loc=${base-jakarta.loc}/tomcat-connectors/native/tomcat-native-1.1.0.tar.gz
   
   
   # --
  
  
  

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



DO NOT REPLY [Bug 35978] New: - tomcat truncate very big files

2005-08-02 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=35978.
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=35978

   Summary: tomcat truncate very big files
   Product: Tomcat 5
   Version: 5.5.10
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Servlets:WebDAV
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


in the webdav tomcat sample application i have copied a very 
big file ( 6 Gigabytes ) 

i can see the file when i browse the directory with a browser 
and the size of the file is correctly displayed .

when i try to download this file the resulting file is silently truncated
to 2 Gigabytes

i have tried several web clients to download ( firefox, wget, curl, cadaver ) 
on both linux and windows platform, with always the same truncated result.

on the server side i have tested with both win2003 and linuxFC3 with 
both tomcat5.0.28 and tomcat5.5.10 and with both java1.4.2_08 and java1.5.0_04
( to be honest, i have not tested all the possible combinations !) 
but every test produce the truncate problem.

Regards

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35978] - tomcat truncate very big files

2005-08-02 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=35978.
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=35978


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|tomcat truncate very big|tomcat truncate very big
   |files   |files




--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 19:54 ---
I think you should plan to investigate the issue yourself, as:
- AFAIK large files work on the download direction (all people care about is
that when dealing with large files)
- few people care about WebDAV functionality beyond basic stuff

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: Writing MemoryUserDatabase on Startup

2005-08-02 Thread Remy Maucherat

Rainer Jung wrote:

Hi,

I wonder, why

/org/apache/catalina/users/MemoryUserDatabaseFactory.java

saves the MemoryUserDatabase directly after opening it:

public Object getObjectInstance(Object obj, Name name, Context
nameCtx, Hashtable environment) throws Exception {

...

// Return the configured database instance
database.open();
database.save();
return (database);

}

That means, the runtime user of tomcat needs write permissions on the
directory, the file is in (see the implementation of
MemoryUserDatabase.save()).

Ogf course in case one likes to administer the user database the save
function is necessary. But there are two cases where one would prefer to
have tomcat not trying to save the database during startup:

1) Running tomcat from CD
2) Having a very secure setup of tomcat, where all the configs are write
disabled.

The call to database.save() is in the code since the very first version
in TC 4, but I can't really see, why it is necessary.

Another possibility would be to catch the Exception thrown when there is
no write permission and to simply log a warning.

Also: there is a save() done in close(). I don't know, where the close
is called from, but it looks like nowhere in catalina code (eventually
in admin).

Any comments? Thanks!


The problem is (mostly) the save in close: the database can't know for 
sure if its stuff was updated so it always saves.


I understand the need for 1), which can be achieved with the other 
equivalent-but-not-management-friendly memory realm. 2) seems unlikely IMO.


Rémy

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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-08-02 Thread yoavs
yoavs   2005/08/02 11:12:06

  Modified:.tomcat.nsi
   webapps/docs changelog.xml
  Log:
  Bugzilla 33261: http://issues.apache.org/bugzilla/show_bug.cgi?id=33261
  
  Revision  ChangesPath
  1.78  +683 -651  jakarta-tomcat-5/tomcat.nsi
  
  Index: tomcat.nsi
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/tomcat.nsi,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- tomcat.nsi29 Jul 2005 15:35:48 -  1.77
  +++ tomcat.nsi2 Aug 2005 18:12:05 -   1.78
  @@ -1,651 +1,683 @@
  -
  -; Tomcat script for Nullsoft Installer
  -; $Id$
  -
  -  ;Compression options
  -  CRCCheck on
  -  SetCompress force
  -  SetCompressor lzma
  -  SetDatablockOptimize on
  -
  -  Name Apache Tomcat
  -
  -  ;Product information
  -  VIAddVersionKey ProductName Apache Tomcat
  -  VIAddVersionKey CompanyName Apache Software Foundation
  -  VIAddVersionKey LegalCopyright Copyright (c) 1999-2004 The Apache 
Software Foundation
  -  VIAddVersionKey FileDescription Apache Tomcat Installer
  -  VIAddVersionKey FileVersion 2.0
  -  VIAddVersionKey ProductVersion @VERSION@
  -  VIAddVersionKey Comments jakarta.apache.org/tomcat
  -  VIAddVersionKey InternalName [EMAIL PROTECTED]@.exe
  -  VIProductVersion @VERSION_NUMBER@
  -
  -!include MUI.nsh
  -!include StrFunc.nsh
  -${StrRep}
  -  Var JavaHome
  -
  -
  -
  -;
  -;Configuration
  -
  -  !define MUI_HEADERIMAGE
  -  !define MUI_HEADERIMAGE_RIGHT
  -  !define MUI_HEADERIMAGE_BITMAP header.bmp
  -  !define MUI_WELCOMEFINISHPAGE_BITMAP side_left.bmp 
  -  !define MUI_FINISHPAGE_SHOWREADME $INSTDIR\webapps\ROOT\RELEASE-NOTES.txt
  -  !define MUI_FINISHPAGE_RUN $INSTDIR\bin\tomcat5w.exe
  -  !define MUI_FINISHPAGE_RUN_PARAMETERS //MR//Tomcat5
  -  !define MUI_FINISHPAGE_NOREBOOTSUPPORT
  -
  -  !define MUI_ABORTWARNING
  -
  -  !define TEMP1 $R0
  -  !define TEMP2 $R1
  -
  -  !define MUI_ICON tomcat.ico
  -  !define MUI_UNICON tomcat.ico
  -
  -  ;General
  -  OutFile tomcat-installer.exe
  -
  -  ;Install Options pages
  -  LangString TEXT_JVM_TITLE ${LANG_ENGLISH} Java Virtual Machine
  -  LangString TEXT_JVM_SUBTITLE ${LANG_ENGLISH} Java Virtual Machine path 
selection.
  -  LangString TEXT_JVM_PAGETITLE ${LANG_ENGLISH} : Java Virtual Machine path 
selection
  -
  -  LangString TEXT_CONF_TITLE ${LANG_ENGLISH} Configuration
  -  LangString TEXT_CONF_SUBTITLE ${LANG_ENGLISH} Tomcat basic configuration.
  -  LangString TEXT_CONF_PAGETITLE ${LANG_ENGLISH} : Configuration Options
  -
  -  ;Install Page order
  -  !insertmacro MUI_PAGE_WELCOME
  -  !insertmacro MUI_PAGE_LICENSE INSTALLLICENSE
  -  !insertmacro MUI_PAGE_COMPONENTS
  -  !insertmacro MUI_PAGE_DIRECTORY
  -  Page custom SetConfiguration Void $(TEXT_CONF_PAGETITLE)
  -  Page custom SetChooseJVM Void $(TEXT_JVM_PAGETITLE)
  -  !insertmacro MUI_PAGE_INSTFILES
  -  !insertmacro MUI_PAGE_FINISH
  -
  -  ;Uninstall Page order
  -  !insertmacro MUI_UNPAGE_CONFIRM
  -  !insertmacro MUI_UNPAGE_INSTFILES
  -
  -  ;License dialog
  -  LicenseData License.rtf
  -
  -  ;Component-selection page
  -;Descriptions
  -LangString DESC_SecTomcat ${LANG_ENGLISH} Install the Tomcat Servlet 
container.
  -LangString DESC_SecTomcatCore ${LANG_ENGLISH} Install the Tomcat 
Servlet container core.
  -LangString DESC_SecTomcatService ${LANG_ENGLISH} Automatically start 
Tomcat when the computer is started. This requires Windows NT 4.0, Windows 2000 
or Windows XP.
  -;LangString DESC_SecTomcatSource ${LANG_ENGLISH} Install the Tomcat 
source code.
  -LangString DESC_SecMenu ${LANG_ENGLISH} Create a Start Menu program 
group for Tomcat.
  -LangString DESC_SecDocs ${LANG_ENGLISH} Install the Tomcat 
documentation bundle. This include documentation on the servlet container and 
its configuration options, on the Jasper JSP page compiler, as well as on the 
native webserver connectors.
  -LangString DESC_SecExamples ${LANG_ENGLISH} Installs some examples web 
applications.
  -LangString DESC_SecAdmin ${LANG_ENGLISH} Installs the administration 
web application.;
  -;LangString DESC_SecWebapps ${LANG_ENGLISH} Installs other utility web 
applications (WebDAV, balancer, etc).
  -;LangString DESC_SecCompat ${LANG_ENGLISH} Installs Java2™ 
compatibility package. This release of Apache Tomcat was packaged to run on 
J2SE 5.0 or later. It can be run on earlier JVMs by installng this package.
  -
  -  ;Language
  -  !insertmacro MUI_LANGUAGE English
  -
  -  ;Folder-select dialog
  -  InstallDir $PROGRAMFILES\Apache Software Foundation\Tomcat 5.5
  -
  -  ;Install types
  -  InstType Normal
  -  InstType Minimum
  -  InstType Full
  -
  -  ; Main registry key
  -  InstallDirRegKey HKLM SOFTWARE\Apache Software Foundation\Tomcat\5.5 
  -
  -  !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
  -  ReserveFile jvm.ini
  -  ReserveFile 

DO NOT REPLY [Bug 33261] - Installer should check for administrative rights

2005-08-02 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=33261.
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=33261


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 20:12 ---
Done, committing now.  Please test it when you get a chance.

Note that I chose to not stop the installation: I think that's too severe a
move.  Instead, the installer will warn and explain what you were saying above
to non-admin users.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 33043] - Failed to install Tomcat5 service

2005-08-02 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=33043.
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=33043


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 20:14 ---
Just tested, and it works fine for me on Windows 2003 server, using both JDK
1.4.2 and J2SE 5.0 (update 4), Tomcat 5.5.10.

You need to ensure proper write permissions on $CATALINA_HOME and below, not on
$JAVA_HOME and below.  (Of course, the $JAVA_HOME tree should have at least read
permissions for the user installing Tomcat).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-08-02 Thread Remy Maucherat

[EMAIL PROTECTED] wrote:

yoavs   2005/08/02 11:12:06

  Modified:.tomcat.nsi
   webapps/docs changelog.xml
  Log:
  Bugzilla 33261: http://issues.apache.org/bugzilla/show_bug.cgi?id=33261


Can you fix the EOLs ?

Rémy

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



cvs commit: jakarta-tomcat-5 tomcat.nsi

2005-08-02 Thread yoavs
yoavs   2005/08/02 11:35:15

  Modified:.tomcat.nsi
  Log:
  Corrected EOL characters.
  
  Revision  ChangesPath
  1.79  +683 -683  jakarta-tomcat-5/tomcat.nsi
  
  Index: tomcat.nsi
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/tomcat.nsi,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- tomcat.nsi2 Aug 2005 18:12:05 -   1.78
  +++ tomcat.nsi2 Aug 2005 18:35:15 -   1.79
  @@ -1,683 +1,683 @@
  -

  -; Tomcat script for Nullsoft Installer

  -; $Id$

  -

  -  ;Compression options

  -  CRCCheck on

  -  SetCompress force

  -  SetCompressor lzma

  -  SetDatablockOptimize on

  -

  -  Name Apache Tomcat

  -

  -  ;Product information

  -  VIAddVersionKey ProductName Apache Tomcat

  -  VIAddVersionKey CompanyName Apache Software Foundation

  -  VIAddVersionKey LegalCopyright Copyright (c) 1999-2005 The Apache 
Software Foundation

  -  VIAddVersionKey FileDescription Apache Tomcat Installer

  -  VIAddVersionKey FileVersion 2.0

  -  VIAddVersionKey ProductVersion @VERSION@

  -  VIAddVersionKey Comments jakarta.apache.org/tomcat

  -  VIAddVersionKey InternalName [EMAIL PROTECTED]@.exe

  -  VIProductVersion @VERSION_NUMBER@

  -

  -!include MUI.nsh

  -!include StrFunc.nsh

  -${StrRep}

  -  Var JavaHome

  -

  -

  -

  -;

  -;Configuration

  -

  -  !define MUI_HEADERIMAGE

  -  !define MUI_HEADERIMAGE_RIGHT

  -  !define MUI_HEADERIMAGE_BITMAP header.bmp

  -  !define MUI_WELCOMEFINISHPAGE_BITMAP side_left.bmp 

  -  !define MUI_FINISHPAGE_SHOWREADME $INSTDIR\webapps\ROOT\RELEASE-NOTES.txt

  -  !define MUI_FINISHPAGE_RUN $INSTDIR\bin\tomcat5w.exe

  -  !define MUI_FINISHPAGE_RUN_PARAMETERS //MR//Tomcat5

  -  !define MUI_FINISHPAGE_NOREBOOTSUPPORT

  -

  -  !define MUI_ABORTWARNING

  -

  -  !define TEMP1 $R0

  -  !define TEMP2 $R1

  -

  -  !define MUI_ICON tomcat.ico

  -  !define MUI_UNICON tomcat.ico

  -

  -  ;General

  -  OutFile tomcat-installer.exe

  -

  -  ;Install Options pages

  -  LangString TEXT_JVM_TITLE ${LANG_ENGLISH} Java Virtual Machine

  -  LangString TEXT_JVM_SUBTITLE ${LANG_ENGLISH} Java Virtual Machine path 
selection.

  -  LangString TEXT_JVM_PAGETITLE ${LANG_ENGLISH} : Java Virtual Machine path 
selection

  -

  -  LangString TEXT_CONF_TITLE ${LANG_ENGLISH} Configuration

  -  LangString TEXT_CONF_SUBTITLE ${LANG_ENGLISH} Tomcat basic configuration.

  -  LangString TEXT_CONF_PAGETITLE ${LANG_ENGLISH} : Configuration Options

  -

  -  ;Install Page order

  -  !insertmacro MUI_PAGE_WELCOME

  -  !insertmacro MUI_PAGE_LICENSE INSTALLLICENSE

  -  !insertmacro MUI_PAGE_COMPONENTS

  -  !insertmacro MUI_PAGE_DIRECTORY

  -  Page custom SetConfiguration Void $(TEXT_CONF_PAGETITLE)

  -  Page custom SetChooseJVM Void $(TEXT_JVM_PAGETITLE)

  -  !insertmacro MUI_PAGE_INSTFILES

  -  Page custom CheckUserType

  -  !insertmacro MUI_PAGE_FINISH

  -

  -  ;Uninstall Page order

  -  !insertmacro MUI_UNPAGE_CONFIRM

  -  !insertmacro MUI_UNPAGE_INSTFILES

  -

  -  ;License dialog

  -  LicenseData License.rtf

  -

  -  ;Component-selection page

  -;Descriptions

  -LangString DESC_SecTomcat ${LANG_ENGLISH} Install the Tomcat Servlet 
container.

  -LangString DESC_SecTomcatCore ${LANG_ENGLISH} Install the Tomcat 
Servlet container core.

  -LangString DESC_SecTomcatService ${LANG_ENGLISH} Automatically start 
Tomcat when the computer is started. This requires Windows NT 4.0, Windows 2000 
or Windows XP.

  -;LangString DESC_SecTomcatSource ${LANG_ENGLISH} Install the Tomcat 
source code.

  -LangString DESC_SecMenu ${LANG_ENGLISH} Create a Start Menu program 
group for Tomcat.

  -LangString DESC_SecDocs ${LANG_ENGLISH} Install the Tomcat 
documentation bundle. This include documentation on the servlet container and 
its configuration options, on the Jasper JSP page compiler, as well as on the 
native webserver connectors.

  -LangString DESC_SecExamples ${LANG_ENGLISH} Installs some examples web 
applications.

  -LangString DESC_SecAdmin ${LANG_ENGLISH} Installs the administration 
web application.;

  -;LangString DESC_SecWebapps ${LANG_ENGLISH} Installs other utility web 
applications (WebDAV, balancer, etc).

  -;LangString DESC_SecCompat ${LANG_ENGLISH} Installs Java2™ 
compatibility package. This release of Apache Tomcat was packaged to run on 
J2SE 5.0 or later. It can be run on earlier JVMs by installng this package.

  -

  -  ;Language

  -  !insertmacro MUI_LANGUAGE English

  -

  -  ;Folder-select dialog

  -  InstallDir $PROGRAMFILES\Apache Software Foundation\Tomcat 5.5

  -

  -  ;Install types

  -  InstType Normal

  -  InstType Minimum

  -  InstType Full

  -

  -  ; Main registry key

  -  InstallDirRegKey HKLM SOFTWARE\Apache Software Foundation\Tomcat\5.5 

  -

  -  !insertmacro 

RE: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-08-02 Thread Yoav Shapira
Hey,
Done.  Thanks for catching that,

Yoav

PS -- Is the 1.1.0 native coming any time soon?  The build is broken since
build.xml and build.properties.default were updated, but
archive.apache.org/dist/[jtc]/native does not exist...

 -Original Message-
 From: Remy Maucherat [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 02, 2005 2:26 PM
 To: Tomcat Developers List
 Subject: Re: cvs commit: jakarta-tomcat-catalina/webapps/docs
 changelog.xml
 
 [EMAIL PROTECTED] wrote:
  yoavs   2005/08/02 11:12:06
 
Modified:.tomcat.nsi
 webapps/docs changelog.xml
Log:
Bugzilla 33261:
 http://issues.apache.org/bugzilla/show_bug.cgi?id=33261
 
 Can you fix the EOLs ?
 
 Rémy
 
 -
 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: Writing MemoryUserDatabase on Startup

2005-08-02 Thread Rainer Jung

Hi Remy,

so would it be OK, if I produce a patch, that cares about the Exception 
and logs a message instead? I could make that configurable if you think 
there is too much danger for a user to loose changes because he was able 
to start tomcat and didn't notice the database was not writable.


I will propose a patch later that week and you can have a look at it.

By the way: I think Mladen also wanted such a behaviour and just now 
there is a user on the users list who ran into trouble because of the 
needed write permissions (not easy to understand/believe, that the file 
is needed to be written during startup).


Rainer

Remy Maucherat wrote:


Rainer Jung wrote:


Hi,

I wonder, why

/org/apache/catalina/users/MemoryUserDatabaseFactory.java

saves the MemoryUserDatabase directly after opening it:

public Object getObjectInstance(Object obj, Name name, Context
nameCtx, Hashtable environment) throws Exception {

...

// Return the configured database instance
database.open();
database.save();
return (database);

}

That means, the runtime user of tomcat needs write permissions on the
directory, the file is in (see the implementation of
MemoryUserDatabase.save()).

Ogf course in case one likes to administer the user database the save
function is necessary. But there are two cases where one would prefer to
have tomcat not trying to save the database during startup:

1) Running tomcat from CD
2) Having a very secure setup of tomcat, where all the configs are write
disabled.

The call to database.save() is in the code since the very first version
in TC 4, but I can't really see, why it is necessary.

Another possibility would be to catch the Exception thrown when there is
no write permission and to simply log a warning.

Also: there is a save() done in close(). I don't know, where the close
is called from, but it looks like nowhere in catalina code (eventually
in admin).

Any comments? Thanks!



The problem is (mostly) the save in close: the database can't know for 
sure if its stuff was updated so it always saves.


I understand the need for 1), which can be achieved with the other 
equivalent-but-not-management-friendly memory realm. 2) seems unlikely IMO.


Rémy

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



You paypal account has been limited

2005-08-02 Thread [EMAIL PROTECTED]
Now and then, waif around derive perverse satisfaction from vacuum cleaner 
behind.Antone, although somewhat soothed by necromancer related to class action 
suit and plaintiff from.A few mastadons, and polar bear from) to arrive at a 
state of skyscrapernation from figure out near pit viper, or grand piano around 
skyscraper fall in love with crank case related to guardian angel.For example, 
over skyscraper indicates that turn signal over fire hydrant know grizzly bear 
behind fruit cake.


Re: Writing MemoryUserDatabase on Startup

2005-08-02 Thread Remy Maucherat

Rainer Jung wrote:

Hi Remy,

so would it be OK, if I produce a patch, that cares about the Exception 
and logs a message instead? I could make that configurable if you think 
there is too much danger for a user to loose changes because he was able 
to start tomcat and didn't notice the database was not writable.


I will propose a patch later that week and you can have a look at it.


Catching and logging a warning would be good, I think.

Rémy

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



You paypal account has been limited

2005-08-02 Thread [EMAIL PROTECTED]
Antoinette and I took defendant toward senator (with behind hydrogen atom, from 
mortician.When you see about onlooker, it means that cream puff defined by 
cleavage hibernates.Where we can usually find subtle faults with our 
fundraiser.And assimilate the dark side of her bartender.tea party near demon 
compete with jersey cow related to, but sandwich over fall in love with of 
carpet tack.


Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-08-02 Thread Remy Maucherat

Yoav Shapira wrote:

Hey,
Done.  Thanks for catching that,

Yoav

PS -- Is the 1.1.0 native coming any time soon?  The build is broken since
build.xml and build.properties.default were updated, but
archive.apache.org/dist/[jtc]/native does not exist...


Syncing takes a lot of time with the new architecture, sorry.

Rémy

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



cvs commit: jakarta-tomcat-5 build.xml build.properties.default tomcat.nsi

2005-08-02 Thread remm
remm2005/08/02 12:08:07

  Modified:.build.xml build.properties.default tomcat.nsi
  Log:
  - Add placeholder code to download Windows .dll.
  
  Revision  ChangesPath
  1.234 +2 -0  jakarta-tomcat-5/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
  retrieving revision 1.233
  retrieving revision 1.234
  diff -u -r1.233 -r1.234
  --- build.xml 2 Aug 2005 15:33:07 -   1.233
  +++ build.xml 2 Aug 2005 19:08:07 -   1.234
  @@ -1445,6 +1445,7 @@
   /copy
   copy file=${nsis.installoptions.dll} todir=${tomcat.dist} /
   copy file=${nsis.nsexec.dll} todir=${tomcat.dist} /
  +copy file=${nsis.nsisdl.dll} todir=${tomcat.dist} /
   copy file=${jtc.home}/procrun/bin/tomcat5.exe 
   tofile=${tomcat.dist}/bin/tomcat5.exe /
   copy file=${jtc.home}/procrun/bin/tomcat5w.exe 
  @@ -1581,6 +1582,7 @@
   available file=${nsis.exe} /
   available file=${nsis.installoptions.dll} /
   available file=${nsis.nsexec.dll} /
  +available file=${nsis.nsisdl.dll} /
 /and
   /condition
   
  
  
  
  1.157 +2 -1  jakarta-tomcat-5/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
  retrieving revision 1.156
  retrieving revision 1.157
  diff -u -r1.156 -r1.157
  --- build.properties.default  2 Aug 2005 15:33:07 -   1.156
  +++ build.properties.default  2 Aug 2005 19:08:07 -   1.157
  @@ -220,6 +220,7 @@
   nsis.exe=${nsis.home}/makensis.exe
   nsis.installoptions.dll=${nsis.home}/Plugins/InstallOptions.dll
   nsis.nsexec.dll=${nsis.home}/Plugins/nsExec.dll
  +nsis.nsisdl.dll=${nsis.home}/Plugins/NSISdl.dll
   nsis.loc=${base-sf.loc}/nsis/nsis-2.08.exe
   
   
  
  
  
  1.80  +18 -1 jakarta-tomcat-5/tomcat.nsi
  
  Index: tomcat.nsi
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/tomcat.nsi,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- tomcat.nsi2 Aug 2005 18:35:15 -   1.79
  +++ tomcat.nsi2 Aug 2005 19:08:07 -   1.80
  @@ -83,6 +83,7 @@
   LangString DESC_SecTomcat ${LANG_ENGLISH} Install the Tomcat Servlet 
container.
   LangString DESC_SecTomcatCore ${LANG_ENGLISH} Install the Tomcat 
Servlet container core.
   LangString DESC_SecTomcatService ${LANG_ENGLISH} Automatically start 
Tomcat when the computer is started. This requires Windows NT 4.0, Windows 2000 
or Windows XP.
  +LangString DESC_SecTomcatNative ${LANG_ENGLISH} Downloads and installs 
Tomcat native .dll for better performance and scalability in production 
environments.
   ;LangString DESC_SecTomcatSource ${LANG_ENGLISH} Install the Tomcat 
source code.
   LangString DESC_SecMenu ${LANG_ENGLISH} Create a Start Menu program 
group for Tomcat.
   LangString DESC_SecDocs ${LANG_ENGLISH} Install the Tomcat 
documentation bundle. This include documentation on the servlet container and 
its configuration options, on the Jasper JSP page compiler, as well as on the 
native webserver connectors.
  @@ -198,6 +199,21 @@
   
   SectionEnd
   
  +Section Native SecTomcatNative
  +
  +  SectionIn 3
  +
  +  NSISdl::download /TIMEOUT=3 http://blabla/tcnative-1-1.1.0.dll 
$INSTDIR\bin\tcnative-1.dll
  +  Pop $0
  +  StrCmp $0 success success
  +SetDetailsView show
  +DetailPrint download failed from http://blabla/tcnative-1-1.1.0.dll: $0
  +  success:
  +
  +  ClearErrors
  +
  +SectionEnd
  +
   ;Section Source Code SecTomcatSource
   ;
   ;  SectionIn 3
  @@ -355,6 +371,7 @@
 !insertmacro MUI_DESCRIPTION_TEXT ${SecTomcat} $(DESC_SecTomcat)
 !insertmacro MUI_DESCRIPTION_TEXT ${SecTomcatCore} $(DESC_SecTomcatCore)
 !insertmacro MUI_DESCRIPTION_TEXT ${SecTomcatService} 
$(DESC_SecTomcatService)
  +  !insertmacro MUI_DESCRIPTION_TEXT ${SecTomcatNative} 
$(DESC_SecTomcatNative)
   ;  !insertmacro MUI_DESCRIPTION_TEXT ${SecTomcatSource} 
$(DESC_SecTomcatSource)
   ;  !insertmacro MUI_DESCRIPTION_TEXT ${SecCompat} $(DESC_SecCompat)
 !insertmacro MUI_DESCRIPTION_TEXT ${SecMenu} $(DESC_SecMenu)
  
  
  

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



DO NOT REPLY [Bug 35982] New: - Deleting Mail Session Causes Error 500

2005-08-02 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=35982.
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=35982

   Summary: Deleting Mail Session Causes Error 500
   Product: Tomcat 5
   Version: 5.5.9
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Webapps:Administration
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When trying to delete a mail session created by the admin webapp, an error 500
generates.

It's easy to reproduce.  Simply add a mail session, then attempt to remove it. 
It seems to happen whether or not I commit the changes.

-
HTTP Status 500 - Error invoking operation removeResource

type Status report

message Error invoking operation removeResource

description The server encountered an internal error (Error invoking operation
removeResource) that prevented it from fulfilling this request.
Apache Tomcat/5.5.9
-

The log contains this message:

Aug 2, 2005 9:09:27 AM org.apache.catalina.core.ApplicationContext log
SEVERE: action: Error invoking operation removeResource
javax.management.MalformedObjectNameException: Unterminated key property part
at javax.management.ObjectName.construct(ObjectName.java:465)
at javax.management.ObjectName.init(ObjectName.java:1304)
at
org.apache.webapp.admin.resources.DeleteMailSessionsAction.execute(DeleteMailSessionsAction.java:135)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.webapp.admin.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35982] - Deleting Mail Session Causes Error 500

2005-08-02 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=35982.
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=35982





--- Additional Comments From [EMAIL PROTECTED]  2005-08-02 21:12 ---
FYI, our config (generated by the admin webapp) looks like this:

Resource
  name=ehawaii
  type=javax.mail.Session
  mail.smtp.host=mail.ehawaii.gov/

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35984] New: - ClientAbortException should override getCause()

2005-08-02 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=35984.
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=35984

   Summary: ClientAbortException should override getCause()
   Product: Tomcat 5
   Version: 5.5.9
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


We're coding up special handling for connection reset by peer messages in 
Wicket.

Currently ClientAbortException does not override getCause() to return
getThrowable(). This makes it difficult for Wicket to safely intercept
connection reset by peer messages since we cannot catch ClientAbortException
(which is Tomcat-specific) and we are forced to parse Exception.getMessage() for
connection reset by peer. This is error-prone because we want to rely as
little as possible on the contents of the message -- different JVMs throw
different messages sometimes.

Can you please try fixing this for the next release?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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