cvs commit: jakarta-tomcat-connectors/jk/native/common jk_md5.h

2005-07-06 Thread jfclere
jfclere 2005/07/05 23:58:50

  Modified:jk/native configure.in
   jk/native/common jk_md5.h
  Log:
  use the same logic for jk_u64_ and JK_UINT4.
  
  Revision  ChangesPath
  1.48  +12 -2 jakarta-tomcat-connectors/jk/native/configure.in
  
  Index: configure.in
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/configure.in,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- configure.in  14 Jun 2005 15:44:22 -  1.47
  +++ configure.in  6 Jul 2005 06:58:49 -   1.48
  @@ -53,6 +53,15 @@
   AC_CHECK_SIZEOF(uint32_t)
   AC_CHECK_SIZEOF(u_int32_t)
   AC_CHECK_SIZEOF(unsigned long)
  +if test $ac_cv_sizeof_uint32_t = 4; then
  +AC_DEFINE(HAVE_UINT32_T, [], [Use uint32_t for JK_UINT4])
  +elif test $ac_cv_sizeof_u_int32_t = 4; then
  +AC_DEFINE(HAVE_U_INT32_T, [], [Use u_int32_t for JK_UINT4])
  +elif test $ac_cv_sizeof_unsigned_long = 4; then
  +AC_DEFINE(HAVE_LONG, [], [Use unsigned long for JK_UINT4])
  +else
  +AC_ERROR([could not detect a 32-bit integer type])
  +fi
   
   AC_CHECK_SIZEOF(unsigned int)
   AC_CHECK_SIZEOF(unsigned long long)
  @@ -65,7 +74,7 @@
   AC_DEFINE(HAVE_LONG_LONG64, [], [Use long long for JK_UINT8])
   elif test $ac_cv_sizeof_unsigned_longlong = 8; then
   AC_DEFINE(HAVE_LONGLONG64, [], [Use longlong for JK_UINT8])
  -else 
  +else
   AC_ERROR([could not detect a 64-bit integer type])
   fi
   
  @@ -171,6 +180,7 @@
for INC in ${INCTEMP}; do
APRINCLUDEDIR=${APRINCLUDEDIR} -I${INC}
done
  +AC_MSG_RESULT([APRINCLUDEDIR is $APRINCLUDEDIR])
APXSCFLAGS=`${APXS} -q CFLAGS` `${APXS} -q 
EXTRA_CFLAGS` -DHAVE_APR ${APRINCLUDEDIR}
APXSCPPFLAGS=`${APXS} -q EXTRA_CPPFLAGS`
   APACHE_CONFIG_VARS=`${APXS} -q 
exp_installbuilddir`/config_vars.mk
  
  
  
  1.10  +3 -3  jakarta-tomcat-connectors/jk/native/common/jk_md5.h
  
  Index: jk_md5.h
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_md5.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- jk_md5.h  5 Jul 2005 16:22:21 -   1.9
  +++ jk_md5.h  6 Jul 2005 06:58:49 -   1.10
  @@ -61,12 +61,12 @@
   typedef DWORD JK_UINT4;
   #elif defined(NETWARE)  !defined(__NOVELL_LIBC__)
   typedef unsigned int JK_UINT4;
  -#elif SIZEOF_UINT32_T
  +#elif defined(HAVE_UINT32_T)
   typedef uint32_t JK_UINT4;
  -#elif SIZEOF_U_INT32_T
  +#elif defined(HAVE_U_INT32_T)
   typedef u_int32_t JK_UINT4;
   #else
  -typedef unsigned long JK_UINT4; /* ansi */
  +typedef unsigned long JK_UINT4; /* ansi HAVE_LONG */
   #endif
   
   /* MD5 context. */
  
  
  

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



Re: Releasing JK 1.2.14

2005-07-06 Thread Ari Suutari

Hi,
Now most of the bugs are closed, the documentation updated, JK 1.2.14 is nearly 
ready (changelog still needs some input).


I have put the current tarballs for testing at 
http://people.apache.org/~jfclere/jakarta-tomcat-connectors/




I have compiled these on FreeBSD 4.10, Apache 2.0.54. 
On tomcat side I have 4.1 and 5.0 versions.


No problems so far.

   Ari S.


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



DO NOT REPLY [Bug 33671] - Manual Windows service installation with custom name using service.bat fails.

2005-07-06 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=33671.
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=33671


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #15595|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2005-07-06 11:10 ---
Created an attachment (id=15602)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15602action=view)
adds check for service name length


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



There is a problem in 'SessionManager' implementation

2005-07-06 Thread Radivoj Milin
Hi,
 
There is a problem in 'SessionManager' implementation regarding count of 
expired sessions.
 
In 'org.apache.catalina.session.ManagerBase' class:
 
For each session, method 'ManagerBase.processExpires()' calls 
''org.apache.catalina.session.StandardSession.isValid()' method and increments 
number of expired session (in case that session isn`t valid)
  ... 
  if (!sessions[i].isValid()) {
expiredSessions++;
expireHere++;
}
   .
 
But, 'StandardSession.isValid()' method triggers 'StandardSession.expire(true)' 
method in cases when session should be invalidated. This method also increments 
number of expired sessions ('SessionManager' attribute).
 
expire(boolean value)
...
int numExpired = manager.getExpiredSessions();
numExpired++;
manager.setExpiredSessions(numExpired);

 
At the end, as result of session invalidation process, number of expired 
sessions is doubled.
 
Regards,
Radivoj Milin

Re: Releasing JK 1.2.14

2005-07-06 Thread jean-frederic clere

Ari Suutari wrote:

Hi,

Now most of the bugs are closed, the documentation updated, JK 1.2.14 
is nearly ready (changelog still needs some input).


I have put the current tarballs for testing at 
http://people.apache.org/~jfclere/jakarta-tomcat-connectors/




I have compiled these on FreeBSD 4.10, Apache 2.0.54. On tomcat side I 
have 4.1 and 5.0 versions.


No problems so far.


Thanks, I will tag jakarta-tomcat-connectors repository today.



   Ari S.




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



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

2005-07-06 Thread jfclere
jfclere 2005/07/06 06:36:55

  Modified:jk/native configure.in
  Log:
  Update version.
  
  Revision  ChangesPath
  1.49  +2 -2  jakarta-tomcat-connectors/jk/native/configure.in
  
  Index: configure.in
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/configure.in,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- configure.in  6 Jul 2005 06:58:49 -   1.48
  +++ configure.in  6 Jul 2005 13:36:55 -   1.49
  @@ -11,7 +11,7 @@
   
   dnl package and version. (synchronization with common/jk_version.h ?)
   PACKAGE=mod_jk
  -VERSION=1.2.9
  +VERSION=1.2.14
   
   AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})
   
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native/common jk_version.h

2005-07-06 Thread jfclere
jfclere 2005/07/06 06:44:25

  Modified:jk/native/common jk_version.h
  Log:
  ready for release.
  
  Revision  ChangesPath
  1.44  +3 -3  jakarta-tomcat-connectors/jk/native/common/jk_version.h
  
  Index: jk_version.h
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_version.h,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- jk_version.h  16 May 2005 06:43:56 -  1.43
  +++ jk_version.h  6 Jul 2005 13:44:25 -   1.44
  @@ -1,5 +1,5 @@
   /*
  - *  Copyright 1999-2004 The Apache Software Foundation
  + *  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.
  @@ -32,7 +32,7 @@
   #define JK_VERBETA  0
   #define JK_BETASTRING   0
   /* set JK_VERISRELEASE to 1 when release (do not forget to commit!) */
  -#define JK_VERISRELEASE 0
  +#define JK_VERISRELEASE 1
   #define JK_VERRC0
   #define JK_RCSTRING 0
   
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native/common portable.h

2005-07-06 Thread jfclere
jfclere 2005/07/06 06:52:06

  Modified:jk/native/common portable.h
  Log:
  just for the plaforms that don't have configure...
  
  Revision  ChangesPath
  1.4   +110 -0jakarta-tomcat-connectors/jk/native/common/portable.h
  
  Index: portable.h
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/portable.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- portable.h2 Dec 2004 06:50:01 -   1.3
  +++ portable.h6 Jul 2005 13:52:06 -   1.4
  @@ -1 +1,111 @@
   /* On most platform this file is overwritten when doing configure */
  +/* common/portable.h.  Generated by configure.  */
  +/* common/portable.h.in.  Generated from configure.in by autoheader.  */
  +
  +/* Define to 1 if you have the dlfcn.h header file. */
  +#define HAVE_DLFCN_H 1
  +
  +/* Have flock() */
  +#define HAVE_FLOCK 1
  +
  +/* Use int for JK_UINT8 */
  +/* #undef HAVE_INT64 */
  +
  +/* Define to 1 if you have the inttypes.h header file. */
  +#define HAVE_INTTYPES_H 1
  +
  +/* Use unsigned long for JK_UINT4 */
  +/* #undef HAVE_LONG */
  +
  +/* Use long for JK_UINT8 */
  +/* #undef HAVE_LONG64 */
  +
  +/* Use longlong for JK_UINT8 */
  +/* #undef HAVE_LONGLONG64 */
  +
  +/* Use long long for JK_UINT8 */
  +#define HAVE_LONG_LONG64 
  +
  +/* Define to 1 if you have the memory.h header file. */
  +#define HAVE_MEMORY_H 1
  +
  +/* Have snprintf() */
  +#define HAVE_SNPRINTF 1
  +
  +/* Define to 1 if you have the stdint.h header file. */
  +#define HAVE_STDINT_H 1
  +
  +/* Define to 1 if you have the stdlib.h header file. */
  +#define HAVE_STDLIB_H 1
  +
  +/* Define to 1 if you have the strings.h header file. */
  +#define HAVE_STRINGS_H 1
  +
  +/* Define to 1 if you have the string.h header file. */
  +#define HAVE_STRING_H 1
  +
  +/* Define to 1 if you have the sys/stat.h header file. */
  +#define HAVE_SYS_STAT_H 1
  +
  +/* Define to 1 if you have the sys/types.h header file. */
  +#define HAVE_SYS_TYPES_H 1
  +
  +/* Use uint32_t for JK_UINT4 */
  +#define HAVE_UINT32_T 
  +
  +/* Define to 1 if you have the unistd.h header file. */
  +#define HAVE_UNISTD_H 1
  +
  +/* Use u_int32_t for JK_UINT4 */
  +/* #undef HAVE_U_INT32_T */
  +
  +/* Have vsnprintf() */
  +#define HAVE_VSNPRINTF 1
  +
  +/* Name of package */
  +#define PACKAGE mod_jk
  +
  +/* Define to the address where bug reports for this package should be sent. 
*/
  +#define PACKAGE_BUGREPORT 
  +
  +/* Define to the full name of this package. */
  +#define PACKAGE_NAME 
  +
  +/* Define to the full name and version of this package. */
  +#define PACKAGE_STRING 
  +
  +/* Define to the one symbol short name of this package. */
  +#define PACKAGE_TARNAME 
  +
  +/* Define to the version of this package. */
  +#define PACKAGE_VERSION 
  +
  +/* The size of a `uint32_t', as computed by sizeof. */
  +#define SIZEOF_UINT32_T 4
  +
  +/* The size of a `unsigned int', as computed by sizeof. */
  +#define SIZEOF_UNSIGNED_INT 4
  +
  +/* The size of a `unsigned long', as computed by sizeof. */
  +#define SIZEOF_UNSIGNED_LONG 4
  +
  +/* The size of a `unsigned longlong', as computed by sizeof. */
  +#define SIZEOF_UNSIGNED_LONGLONG 0
  +
  +/* The size of a `unsigned long long', as computed by sizeof. */
  +#define SIZEOF_UNSIGNED_LONG_LONG 8
  +
  +/* The size of a `u_int32_t', as computed by sizeof. */
  +#define SIZEOF_U_INT32_T 4
  +
  +/* Define to 1 if you have the ANSI C header files. */
  +#define STDC_HEADERS 1
  +
  +/* Define to use SO_RCVTIMEO with setsockopt() */
  +#define USE_SO_RCVTIMEO 1
  +
  +/* Define to use SO_SNDTIMEO with setsockopt() */
  +#define USE_SO_SNDTIMEO 1
  +
  +/* Version number of package */
  +#define VERSION 1.2.14
  
  
  

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



Re: cvs commit: jakarta-tomcat-connectors/jk/native/common portable.h

2005-07-06 Thread Mladen Turk

[EMAIL PROTECTED] wrote:

jfclere 2005/07/06 06:52:06

  Modified:jk/native/common portable.h
  Log:
  just for the plaforms that don't have configure...
  
  Revision  ChangesPath

  1.4   +110 -0jakarta-tomcat-connectors/jk/native/common/portable.h



Why did you commit that?
It should be zero, because WIN and Netware will fail to build.
The portable.h is generated with configure, not in the CVS.

Regards,
Mladen.

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



cvs commit: jakarta-tomcat-connectors/jk HOWTO-RELEASE

2005-07-06 Thread jfclere
jfclere 2005/07/06 08:04:50

  Modified:jk   HOWTO-RELEASE
  Log:
  tagging only jk is not enough (common will be missing).
  
  Revision  ChangesPath
  1.13  +3 -3  jakarta-tomcat-connectors/jk/HOWTO-RELEASE
  
  Index: HOWTO-RELEASE
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/HOWTO-RELEASE,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- HOWTO-RELEASE 4 Jul 2005 09:26:17 -   1.12
  +++ HOWTO-RELEASE 6 Jul 2005 15:04:50 -   1.13
  @@ -64,11 +64,11 @@
   
   After updating revision numbers, commit your changes to CVS.
   
  -Tag and branch jk in CVS
  +Tag and branch jakarta-tomcat-connectors in CVS
   
   
  -Change directory (cd) to jakarta-tomcat-connectors/jk
  -Use the pattern below for branching and tagging the jk directory.
  +Change directory (cd) to jakarta-tomcat-connectors
  +Use the pattern below for branching and tagging the 
jakarta-tomcat-connectors directory.
   
   cvs tag -b JK_{MAJOR_REVISION}_{MINOR_REVISION}_{RELEASE}
   
  
  
  

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



Re: cvs commit: jakarta-tomcat-connectors/jk/native/common portable.h

2005-07-06 Thread jean-frederic clere

Mladen Turk wrote:

[EMAIL PROTECTED] wrote:


jfclere 2005/07/06 06:52:06

  Modified:jk/native/common portable.h
  Log:
  just for the plaforms that don't have configure...
Revision  ChangesPath
  1.4   +110 -0
jakarta-tomcat-connectors/jk/native/common/portable.h




Why did you commit that?


First because it was not up to date, I have not added it...
For something weird plaforms it is nice to have it instead having to get it's 
content.



It should be zero, because WIN and Netware will fail to build.
The portable.h is generated with configure, not in the CVS.


Right... That is a pitty to break Netware - I will add the file as 
portable.h.sample and restore the old one -




Regards,
Mladen.

-
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: cvs commit: jakarta-tomcat-connectors/jk/native/common portable.h

2005-07-06 Thread Mladen Turk

jean-frederic clere wrote:

Mladen Turk wrote:


Why did you commit that?



First because it was not up to date, I have not added it...
For something weird plaforms it is nice to have it instead having to get 
it's content.




Hmm, portable.h is generated from portable.h.in on platforms that
have ./configure scripts at the first place.
All other platforms simply don't use it, but the file exists so
that we don't need extra #ifdef's


Right... That is a pitty to break Netware - I will add the file as 
portable.h.sample and restore the old one -




What would be the purpose of that sample? I mean, it is generated,
so each platform has more or less unique one.

If the configure can not generate the platform.h from platform.h.is,
what's the purpose of the configure at the first place?

Regards,
Mladen.

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



cvs commit: jakarta-tomcat-connectors/jk/native/common portable.h.sample portable.h

2005-07-06 Thread jfclere
jfclere 2005/07/06 08:39:23

  Modified:jk/native/common portable.h
  Added:   jk/native/common portable.h.sample
  Log:
  add a sample because portable.h breaks Netware and windoze.
  
  Revision  ChangesPath
  1.5   +1 -110jakarta-tomcat-connectors/jk/native/common/portable.h
  
  Index: portable.h
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/portable.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- portable.h6 Jul 2005 13:52:06 -   1.4
  +++ portable.h6 Jul 2005 15:39:23 -   1.5
  @@ -1,111 +1,2 @@
   /* On most platform this file is overwritten when doing configure */
  -/* common/portable.h.  Generated by configure.  */
  -/* common/portable.h.in.  Generated from configure.in by autoheader.  */
  -
  -/* Define to 1 if you have the dlfcn.h header file. */
  -#define HAVE_DLFCN_H 1
  -
  -/* Have flock() */
  -#define HAVE_FLOCK 1
  -
  -/* Use int for JK_UINT8 */
  -/* #undef HAVE_INT64 */
  -
  -/* Define to 1 if you have the inttypes.h header file. */
  -#define HAVE_INTTYPES_H 1
  -
  -/* Use unsigned long for JK_UINT4 */
  -/* #undef HAVE_LONG */
  -
  -/* Use long for JK_UINT8 */
  -/* #undef HAVE_LONG64 */
  -
  -/* Use longlong for JK_UINT8 */
  -/* #undef HAVE_LONGLONG64 */
  -
  -/* Use long long for JK_UINT8 */
  -#define HAVE_LONG_LONG64 
  -
  -/* Define to 1 if you have the memory.h header file. */
  -#define HAVE_MEMORY_H 1
  -
  -/* Have snprintf() */
  -#define HAVE_SNPRINTF 1
  -
  -/* Define to 1 if you have the stdint.h header file. */
  -#define HAVE_STDINT_H 1
  -
  -/* Define to 1 if you have the stdlib.h header file. */
  -#define HAVE_STDLIB_H 1
  -
  -/* Define to 1 if you have the strings.h header file. */
  -#define HAVE_STRINGS_H 1
  -
  -/* Define to 1 if you have the string.h header file. */
  -#define HAVE_STRING_H 1
  -
  -/* Define to 1 if you have the sys/stat.h header file. */
  -#define HAVE_SYS_STAT_H 1
  -
  -/* Define to 1 if you have the sys/types.h header file. */
  -#define HAVE_SYS_TYPES_H 1
  -
  -/* Use uint32_t for JK_UINT4 */
  -#define HAVE_UINT32_T 
  -
  -/* Define to 1 if you have the unistd.h header file. */
  -#define HAVE_UNISTD_H 1
  -
  -/* Use u_int32_t for JK_UINT4 */
  -/* #undef HAVE_U_INT32_T */
  -
  -/* Have vsnprintf() */
  -#define HAVE_VSNPRINTF 1
  -
  -/* Name of package */
  -#define PACKAGE mod_jk
  -
  -/* Define to the address where bug reports for this package should be sent. 
*/
  -#define PACKAGE_BUGREPORT 
  -
  -/* Define to the full name of this package. */
  -#define PACKAGE_NAME 
  -
  -/* Define to the full name and version of this package. */
  -#define PACKAGE_STRING 
  -
  -/* Define to the one symbol short name of this package. */
  -#define PACKAGE_TARNAME 
  -
  -/* Define to the version of this package. */
  -#define PACKAGE_VERSION 
  -
  -/* The size of a `uint32_t', as computed by sizeof. */
  -#define SIZEOF_UINT32_T 4
  -
  -/* The size of a `unsigned int', as computed by sizeof. */
  -#define SIZEOF_UNSIGNED_INT 4
  -
  -/* The size of a `unsigned long', as computed by sizeof. */
  -#define SIZEOF_UNSIGNED_LONG 4
  -
  -/* The size of a `unsigned longlong', as computed by sizeof. */
  -#define SIZEOF_UNSIGNED_LONGLONG 0
  -
  -/* The size of a `unsigned long long', as computed by sizeof. */
  -#define SIZEOF_UNSIGNED_LONG_LONG 8
  -
  -/* The size of a `u_int32_t', as computed by sizeof. */
  -#define SIZEOF_U_INT32_T 4
  -
  -/* Define to 1 if you have the ANSI C header files. */
  -#define STDC_HEADERS 1
  -
  -/* Define to use SO_RCVTIMEO with setsockopt() */
  -#define USE_SO_RCVTIMEO 1
  -
  -/* Define to use SO_SNDTIMEO with setsockopt() */
  -#define USE_SO_SNDTIMEO 1
  -
  -/* Version number of package */
  -#define VERSION 1.2.14
  +/* DON'T COMMIT THE FILE IT BREAKS windoze and Netware, commit the sample 
file */
  
  
  
  1.1  
jakarta-tomcat-connectors/jk/native/common/portable.h.sample
  
  Index: portable.h.sample
  ===
  /* On most platform this file is overwritten when doing configure */
  /* common/portable.h.  Generated by configure.  */
  /* common/portable.h.in.  Generated from configure.in by autoheader.  */
  
  /* Define to 1 if you have the dlfcn.h header file. */
  #define HAVE_DLFCN_H 1
  
  /* Have flock() */
  #define HAVE_FLOCK 1
  
  /* Use int for JK_UINT8 */
  /* #undef HAVE_INT64 */
  
  /* Define to 1 if you have the inttypes.h header file. */
  #define HAVE_INTTYPES_H 1
  
  /* Use unsigned long for JK_UINT4 */
  /* #undef HAVE_LONG */
  
  /* Use long for JK_UINT8 */
  /* #undef HAVE_LONG64 */
  
  /* Use longlong for JK_UINT8 */
  /* #undef HAVE_LONGLONG64 */
  
  /* Use long long for JK_UINT8 */
  #define HAVE_LONG_LONG64 
  
  /* Define to 1 if you have the memory.h header file. */
  #define HAVE_MEMORY_H 1
  
  

cvs commit: jakarta-tomcat-connectors/jk/native/common portable.h

2005-07-06 Thread jfclere
jfclere 2005/07/06 08:58:53

  Modified:jk/native/common Tag: JK_1_2_14 portable.h
  Log:
  arrange JK_1_2_14.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.4.2.1   +0 -110jakarta-tomcat-connectors/jk/native/common/portable.h
  
  Index: portable.h
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/portable.h,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- portable.h6 Jul 2005 13:52:06 -   1.4
  +++ portable.h6 Jul 2005 15:58:53 -   1.4.2.1
  @@ -1,111 +1 @@
   /* On most platform this file is overwritten when doing configure */
  -/* common/portable.h.  Generated by configure.  */
  -/* common/portable.h.in.  Generated from configure.in by autoheader.  */
  -
  -/* Define to 1 if you have the dlfcn.h header file. */
  -#define HAVE_DLFCN_H 1
  -
  -/* Have flock() */
  -#define HAVE_FLOCK 1
  -
  -/* Use int for JK_UINT8 */
  -/* #undef HAVE_INT64 */
  -
  -/* Define to 1 if you have the inttypes.h header file. */
  -#define HAVE_INTTYPES_H 1
  -
  -/* Use unsigned long for JK_UINT4 */
  -/* #undef HAVE_LONG */
  -
  -/* Use long for JK_UINT8 */
  -/* #undef HAVE_LONG64 */
  -
  -/* Use longlong for JK_UINT8 */
  -/* #undef HAVE_LONGLONG64 */
  -
  -/* Use long long for JK_UINT8 */
  -#define HAVE_LONG_LONG64 
  -
  -/* Define to 1 if you have the memory.h header file. */
  -#define HAVE_MEMORY_H 1
  -
  -/* Have snprintf() */
  -#define HAVE_SNPRINTF 1
  -
  -/* Define to 1 if you have the stdint.h header file. */
  -#define HAVE_STDINT_H 1
  -
  -/* Define to 1 if you have the stdlib.h header file. */
  -#define HAVE_STDLIB_H 1
  -
  -/* Define to 1 if you have the strings.h header file. */
  -#define HAVE_STRINGS_H 1
  -
  -/* Define to 1 if you have the string.h header file. */
  -#define HAVE_STRING_H 1
  -
  -/* Define to 1 if you have the sys/stat.h header file. */
  -#define HAVE_SYS_STAT_H 1
  -
  -/* Define to 1 if you have the sys/types.h header file. */
  -#define HAVE_SYS_TYPES_H 1
  -
  -/* Use uint32_t for JK_UINT4 */
  -#define HAVE_UINT32_T 
  -
  -/* Define to 1 if you have the unistd.h header file. */
  -#define HAVE_UNISTD_H 1
  -
  -/* Use u_int32_t for JK_UINT4 */
  -/* #undef HAVE_U_INT32_T */
  -
  -/* Have vsnprintf() */
  -#define HAVE_VSNPRINTF 1
  -
  -/* Name of package */
  -#define PACKAGE mod_jk
  -
  -/* Define to the address where bug reports for this package should be sent. 
*/
  -#define PACKAGE_BUGREPORT 
  -
  -/* Define to the full name of this package. */
  -#define PACKAGE_NAME 
  -
  -/* Define to the full name and version of this package. */
  -#define PACKAGE_STRING 
  -
  -/* Define to the one symbol short name of this package. */
  -#define PACKAGE_TARNAME 
  -
  -/* Define to the version of this package. */
  -#define PACKAGE_VERSION 
  -
  -/* The size of a `uint32_t', as computed by sizeof. */
  -#define SIZEOF_UINT32_T 4
  -
  -/* The size of a `unsigned int', as computed by sizeof. */
  -#define SIZEOF_UNSIGNED_INT 4
  -
  -/* The size of a `unsigned long', as computed by sizeof. */
  -#define SIZEOF_UNSIGNED_LONG 4
  -
  -/* The size of a `unsigned longlong', as computed by sizeof. */
  -#define SIZEOF_UNSIGNED_LONGLONG 0
  -
  -/* The size of a `unsigned long long', as computed by sizeof. */
  -#define SIZEOF_UNSIGNED_LONG_LONG 8
  -
  -/* The size of a `u_int32_t', as computed by sizeof. */
  -#define SIZEOF_U_INT32_T 4
  -
  -/* Define to 1 if you have the ANSI C header files. */
  -#define STDC_HEADERS 1
  -
  -/* Define to use SO_RCVTIMEO with setsockopt() */
  -#define USE_SO_RCVTIMEO 1
  -
  -/* Define to use SO_SNDTIMEO with setsockopt() */
  -#define USE_SO_SNDTIMEO 1
  -
  -/* Version number of package */
  -#define VERSION 1.2.14
  
  
  

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



Re: cvs commit: jakarta-tomcat-connectors/jk/native/common portable.h

2005-07-06 Thread jean-frederic clere

Mladen Turk wrote:

jean-frederic clere wrote:


Mladen Turk wrote:



Why did you commit that?




First because it was not up to date, I have not added it...
For something weird plaforms it is nice to have it instead having to 
get it's content.




Hmm, portable.h is generated from portable.h.in on platforms that
have ./configure scripts at the first place.
All other platforms simply don't use it, but the file exists so
that we don't need extra #ifdef's


Agreed.




Right... That is a pitty to break Netware - I will add the file as 
portable.h.sample and restore the old one -




What would be the purpose of that sample? I mean, it is generated,
so each platform has more or less unique one.

If the configure can not generate the platform.h from platform.h.is,
what's the purpose of the configure at the first place?


Well... If configure fails it is more easy to hand write a platform.h from a 
platform.h.sample then from nothing. The other reason could be cross compiling 
but the Makefile are missing if configure fails.




Regards,
Mladen.

-
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: Releasing JK 1.2.14

2005-07-06 Thread jean-frederic clere

jean-frederic clere wrote:

Ari Suutari wrote:


Hi,

Now most of the bugs are closed, the documentation updated, JK 1.2.14 
is nearly ready (changelog still needs some input).


I have put the current tarballs for testing at 
http://people.apache.org/~jfclere/jakarta-tomcat-connectors/




I have compiled these on FreeBSD 4.10, Apache 2.0.54. On tomcat side I 
have 4.1 and 5.0 versions.


No problems so far.



Thanks, I will tag jakarta-tomcat-connectors repository today.


Done, the branch is ready.
The files are in http://people.apache.org/~jfclere/jakarta-tomcat-connectors/
If no one complains I will move it its offical location tomorrow morning (it is 
19h00 in Barcelona, time to care for the hamsters).






   Ari S.




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



DO NOT REPLY [Bug 35632] New: - 5.5 no Content Type header information for TXT files

2005-07-06 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=35632.
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=35632

   Summary: 5.5 no Content Type header information for TXT files
   Product: Tomcat 5
   Version: 5.5.9
  Platform: PC
OS/Version: Windows Server 2003
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Tomcat 5.5 does not create the Content Type header information when serving
TXT files back to the browser.

proof of bug, is that i captured the header information from Tomcat 4.1 and
Tomcat 5.5.  i also made sure to clear the cache each time prior to request the
TXT file.

header chunk from Tomcat 4.1 when serving a TXT file:
HTTP/1.1 200 
Server: Microsoft-IIS/5.0
Date: Wed, 06 Jul 2005 16:22:39 GMT
ETag: W/1706-1120587147968
Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
Content-Type: text/plain
Content-Length: 1706

header chunk from Tomcat 5.5 when serving a TXT file:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: W/1706-1120666790014
Last-Modified: Wed, 06 Jul 2005 16:19:50 GMT
Content-Length: 1706
Date: Wed, 06 Jul 2005 16:20:26 GMT

i also verified Tomcat 5.5's conf/web.xml file and it does have the mime mapping
entry for TXT files:

mime-mapping
extensiontxt/extension
mime-typetext/plain/mime-type
/mime-mapping


the side effect resulting from this is that Internet Explorer 6.0 displays the
TXT file using a non fixed-width font and any 'formatting' is lost as a result.
 that is, all the consecutive spaces are stripped.  it seems to rely on Content
Type.

however, in FireFox 1.04, the lack of this Content Type header information
does *not* seem to matter as it displayed the TXT file correctly (ie. with a
fixed width font) and preserved the 'formatting'.

-- 
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: Releasing JK 1.2.14

2005-07-06 Thread Mladen Turk

jean-frederic clere wrote:


Done, the branch is ready.
The files are in 
http://people.apache.org/~jfclere/jakarta-tomcat-connectors/



Hmm, it will not do.
The .zip files should have .dsp files (at least) in CR-LF format.
Think you'll need a win platform for making those.
If you don't have one, I can build a .zip files.

Regards,
Mladen

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



[OT] No software patents in Europe

2005-07-06 Thread Mladen Turk

Hi all,

Sorry for the off-topic post, but IMHO this is a great news for
all of us (free software developers).

After years of struggle, the European Parliament finally rejected the 
software patent directive with 648 of 680 votes: A strong signal against 
patents on software logic, a sign of lost faith in the European Union 
and a clear request for the European Patent Office (EPO) to change its 
policy: the EPO must stop issuing software patents today


More on:
http://www.fsfeurope.org/

Regards,
Mladen.

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



Re: Releasing JK 1.2.14

2005-07-06 Thread William A. Rowe, Jr.
Assuming you have apr checked out, apr/build/lineends.pl --cr will
convert a tree to cr/lf dos format, and info-zip does a lovely
job on Unix of zipping it up.

Bill

At 12:02 PM 7/6/2005, Mladen Turk wrote:
jean-frederic clere wrote:
Done, the branch is ready.
The files are in http://people.apache.org/~jfclere/jakarta-tomcat-connectors/


Hmm, it will not do.
The .zip files should have .dsp files (at least) in CR-LF format.
Think you'll need a win platform for making those.
If you don't have one, I can build a .zip files.

Regards,
Mladen

-
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: Releasing JK 1.2.14

2005-07-06 Thread Mladen Turk

William A. Rowe, Jr. wrote:

Assuming you have apr checked out, apr/build/lineends.pl --cr will
convert a tree to cr/lf dos format, and info-zip does a lovely
job on Unix of zipping it up.



Right, a smarter unix2dos :)

Mladen.

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



Re: Releasing JK 1.2.14

2005-07-06 Thread William A. Rowe, Jr.
At 12:50 PM 7/6/2005, Mladen Turk wrote:
William A. Rowe, Jr. wrote:
Assuming you have apr checked out, apr/build/lineends.pl --cr will
convert a tree to cr/lf dos format, and info-zip does a lovely
job on Unix of zipping it up.

Right, a smarter unix2dos :)

Yup :)  It has the benefit that if it sees randomly placed ^M's
that don't coincide with ^J's, or if some ^J's have ^M's and some
don't, it asserts that the file is binary.  --force will override
if, for example, someone tosses in a few ^M's or strips them making
the file inconsistent.





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



DO NOT REPLY [Bug 35632] - 5.5 no Content Type header information for TXT files

2005-07-06 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=35632.
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=35632


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-07-06 21:55 ---
Yeah, right. Please try not wasting people's time. Any attempt to reopen this
report will lead me to mark it as INVALID again without further comments.

GET /RELEASE-NOTES.txt HTTP/1.1
Host: localhost:8080

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: W/6384-1120204442875
Last-Modified: Fri, 01 Jul 2005 07:54:02 GMT
Content-Type: text/plain
Content-Length: 6384
Date: Wed, 06 Jul 2005 19:53:15 GMT



 Apache Tomcat Version 5.5.10-dev
Release Notes


$Id: RELEASE-NOTES,v 1.25 2005/01/19 20:30:26 remm Exp $


-- 
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 35635] New: - Cannot pass JMX arguments to Tomcat JRE

2005-07-06 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=35635.
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=35635

   Summary: Cannot pass JMX arguments to Tomcat JRE
   Product: Tomcat 5
   Version: 5.5.9
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:Integration
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I think this issue is related to Bug #35128

Now instead of not being able to pass -ea, I am not able to pass in the
following arguments:

-Dcom.sun.management.jmxremote.port=
-Dcom.sun.management.jmxremote.password.file=C:\Documents and
Settings\User\jmxremote.password

net start Tomcat5 returns error 1067

If I remove these arguments, it starts up just fine. I tried the attachment in
Bug #35128 but it didn't help.

-- 
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 35635] - Tomcat service does not log startup error messages

2005-07-06 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=35635.
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=35635


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|Cannot pass JMX arguments to|Tomcat service does not log
   |Tomcat JRE  |startup error messages




--- Additional Comments From [EMAIL PROTECTED]  2005-07-06 23:25 ---
Ok, the reason I was getting error 1067 is because java.exe was spewing out an
error message and closing down. The error message was:

Error: Password file read access must be restricted

So I've modified this bug report to get at the root of the problem: If the
service fails to start due to some sort of JVM startup error, Tomcat should dump
the error message into the service log file. I'm expecting to see this message
inside jakarta_service*.log otherwise it makes it quite difficult to debug these
kinds of problems.

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