You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2002/09/27 19:49:02 UTC

cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache13 jk_service_apache13.c

mturk       2002/09/27 10:49:01

  Modified:    jk/native2/server/apache13 jk_service_apache13.c
  Log:
  Fix the compile warning.
  
  Revision  Changes    Path
  1.8       +1 -1      jakarta-tomcat-connectors/jk/native2/server/apache13/jk_service_apache13.c
  
  Index: jk_service_apache13.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache13/jk_service_apache13.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jk_service_apache13.c	20 Jun 2002 16:16:00 -0000	1.7
  +++ jk_service_apache13.c	27 Sep 2002 17:49:01 -0000	1.8
  @@ -207,7 +207,7 @@
   #endif
   
   static int JK_METHOD jk2_service_apache13_write(jk_env_t *env, jk_ws_service_t *s,
  -                                                const void *b, int len)
  +                                                const void *b, unsigned int len)
   {
       int rc;
       
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


[PATCH] 4.1.12 catalina.sh for cygwin

Posted by Peter Romianowski <me...@gmx.de>.
After 2 days of messing around with TC 4.1.12 on cygwin, I realized
that the catalina.sh is broken. It does not convert the $CATALINE_TMPDIR
environment-variable to a cygwin-path. This lead to these
javax.servlet.ServletException: Exception processing JAR at resource
path /WEB-INF/lib/<some jar>
exception, which lead me into the complete wrong direction :-)

Here's a patch for that (against the 4.1.12 RELEASE)

--- catalina_orig.sh	2002-09-23 11:23:00.000000000 +0200
+++ catalina.sh	2002-09-27 20:38:36.000000000 +0200
@@ -101,6 +101,7 @@
   CATALINA_HOME=`cygpath --path --windows "$CATALINA_HOME"`
   CATALINA_BASE=`cygpath --path --windows "$CATALINA_BASE"`
   CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+  CATALINA_TMPDIR=`cygpath --path --windows "$CATALINA_TMPDIR"`
   JSSE_HOME=`cygpath --path --windows "$JSSE_HOME"`
 fi

I hope I did it the right way.

Peter


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>