RE: mod_jk for Apache 1.3.17
Hi, Lots of people have been having trouble with the standard downloadable binaries not working lately. You may need to recompile it for your machine. I'm not sure of how to do this in Win32. Try downloading the source (from the jakarta website) and going to src/native/apache1.3/ and opening the workspace there in Visual Studio 6 and compiling it. Hope this helps. Regards, Adam. Adam Fowler Second year Computer Science undergraduate University of Wales, Aberystwyth Carroll College, WI, USA(2000-2001) web: http://gucciboy.dyndns.org/aff9 e-mail: [EMAIL PROTECTED] "Every new beginning comes from some other beginning's end" -Original Message- From: Pilho Kim [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 24, 2001 5:42 PM To: [EMAIL PROTECTED] Subject: Re: mod_jk for Apache 1.3.17 It doesn't work with Apache 1.3.17. On Sat, 24 Feb 2001, Dave Oxley wrote: > > http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i38 6/mod_jk.dll > > > > >Hi, > > > >I need mod_jk for Apache 1.3.17 & Tomcat 3.2.1 > >on NT 4.0. > > > >Where can I get it? > > > >Thanks in advance, > >Kim > > > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, email: [EMAIL PROTECTED] > > > > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: mod_jk for Apache 1.3.17
It doesn't work with Apache 1.3.17. On Sat, 24 Feb 2001, Dave Oxley wrote: > > >http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/mod_jk.dll > > > > >Hi, > > > >I need mod_jk for Apache 1.3.17 & Tomcat 3.2.1 > >on NT 4.0. > > > >Where can I get it? > > > >Thanks in advance, > >Kim > > > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, email: [EMAIL PROTECTED] > > > > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0 build.bat
craigmcc01/02/24 14:23:56 Modified:.build.bat Log: Fix the line endings. Revision ChangesPath 1.16 +175 -175 jakarta-tomcat-4.0/build.bat Index: build.bat === RCS file: /home/cvs/jakarta-tomcat-4.0/build.bat,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- build.bat 2001/02/16 07:14:32 1.15 +++ build.bat 2001/02/24 22:23:56 1.16 @@ -1,175 +1,175 @@ -@echo off -rem -- -rem build.bat - Build Script for Tomcat -rem -rem Environment Variable Prerequisites: -rem -rem JAVA_HOMEMust point at your Java Development Kit [REQUIRED] -rem -rem JAXP_HOMEPoints at a JAXP compliant XML parser -reminstallation directory [NONE] -rem JAXP_PARSER_JAR The jar filename of the JAXP compliant -rem'XML parser' [crimson.jar] -rem -rem ANT_HOME Must point at your Ant installation [../jakarta-ant] -rem -rem ANT_OPTS Command line options to the Java runtime -remthat executes Ant [NONE] -rem ANT_XML_CLASSPATH -remJar files added to the classpath for the XML parsing -remrequirements of ant -rem[%JAXP_HOME%\%JAXP_PARSER_JAR%;%JAXP_HOME%\jaxp.jar] -rem -rem JMX_HOME Must point at your JMX installation [REQUIRED] -rem -rem JNDI_HOMEMust point at your JNDI installation [REQUIRED] -rem -rem JSSE_HOMEMust point at your JSSE installation [REQUIRED] -rem -rem REGEXP_HOME Must point at your Regexp installation [REQUIRED] -rem -rem SERVLETAPI_HOME Must point at your "jakarta-servletapi" installation. -rem[REQUIRED] -rem -rem CATALINA_JAXP_HOME -remJAXP 1.0 compliant XML parser installation directory -remused for catalina [JAXP_HOME] -rem CATALINA_JAXP_PARSER_JAR -remThe jar filename of the JAXP compliant XML parser -remused for catalina [JAXP_PARSER_JAR] -rem -rem JASPER_JAXP_HOME -remJAXP 1.1 compliant XML parser installation directory -remused for jasper [JAXP_HOME] -rem JASPER_JAXP_PARSER_JAR -remThe jar filename of the JAXP compliant XML parser -remused for jasper [JAXP_PARSER_JAR] -rem -rem $Id: build.bat,v 1.15 2001/02/16 07:14:32 craigmcc Exp $ -rem --- - - -rem - Save Environment Variables -- - -set _CLASSPATH=%CLASSPATH% -set _JAXP_PARSER_JAR=%JAXP_PARSER_JAR% -set _ANT_HOME=%ANT_HOME% -set _ANT_XML_CLASSPATH=%ANT_XML_CLASSPATH% -set _CATALINA_JAXP_HOME=%CATALINA_JAXP_HOME% -set _CATALINA_JAXP_PARSER_JAR=%CATALINA_JAXP_PARSER_JAR% -set _JASPER_JAXP_HOME=%JASPER_JAXP_HOME% -set _JASPER_JAXP_PARSER_JAR=%JASPER_JAXP_PARSER_JAR% - - -rem - Verify and Set Required Environment Variables --- - -if not "%JAVA_HOME%" == "" goto gotJavaHome -echo You must set JAVA_HOME to point at your Java Development Kit installation -goto cleanup -:gotJavaHome - -if not "%JAXP_PARSER_JAR%" == "" goto gotJaxpParserJar -set JAXP_PARSER_JAR=crimson.jar -:gotJaxpParserJar - -if not "%ANT_XML_CLASSPATH%" == "" goto gotAntXmlClasspath -if "%JAXP_HOME%" == "" goto jaxpHome -set ANT_XML_CLASSPATH=%JAXP_HOME%\%JAXP_PARSER_JAR%;%JAXP_HOME%\jaxp.jar -:gotAntXmlClasspath - -if not "%CATALINA_JAXP_HOME%" == "" goto gotCatalinaJaxpHome -if "%JAXP_HOME%" == "" goto jaxpHome -set CATALINA_JAXP_HOME=%JAXP_HOME% -:gotCatalinaJaxpHome - -if not "%CATALINA_JAXP_PARSER_JAR%" == "" goto gotCatalinaJaxpParserJar -set CATALINA_JAXP_PARSER_JAR=%JAXP_PARSER_JAR% -:gotCatalinaJaxpParserJar - -if not "%JASPER_JAXP_HOME%" == "" goto gotJasperJaxpHome -if "%JAXP_HOME%" == "" goto jaxpHome -set JASPER_JAXP_HOME=%JAXP_HOME% -:gotJasperJaxpHome - -if not "%JASPER_JAXP_PARSER_JAR%" == "" goto gotJasperJaxpParserJar -set JASPER_JAXP_PARSER_JAR=%JAXP_PARSER_JAR% -:gotJasperJaxpParserJar - -goto gotJaxpHome - -:jaxpHome -echo You must set JAXP_HOME to point at your XML Parser install directory. -echo By default, ant, catalina, and jasper will use jaxp.jar and crimson.jar from -echo that directory. -echo - A different parser jar file can be specified globally for all -echo components via environment variable JAXP_PARSER_JAR (e.g. xerces.jar). -echo - XML requirements for each component can also be set individually via -echo
context-param troubleshooting...
Hi everybody, Since I have no answer in tomcat-user list, I'm trying here as a last chance to get a answer to my question : I'm definetly getting crasy with a context param ... I want to offer init parameters to all my JSP pages... so in the WEB-INF/web.xml file of my application, I've put something like : ... RmiServer //10.10.10.7/BOB Nom de l'objet RMI de connexion. ... How can I retrieve this value from a JSP Page... I've tried many things like getServletContext().getInitParameter("RmiServer"); and it always returns null. Using getInitParameterNames() returns a Enumeration which is empty ... What can I do else Tcha. Lo; ___ Laurent LAUBIN S2M Ingénieur système 2, rue des champs - BP 2282 Tél : +33 232 64 33 76 27950 St-Marcel - France Fax : +33 232 21 25 99 http://www.s2m.fr/ ___ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Please add full support UTF-8
method POST # * # replace in javax/servlet/http/HttpUtils.java # * private static String parseName( String data, StringBuffer buf ) { buf.setLength(0); for( int i = 0; i < data.length(); i++ ) { char c = data.charAt(i); switch(c) { case 0: break; case 43: // '+' buf.append(' '); break; case 37: // '%' try { if ( data.length() - i < 3 ) break; int b1 = Integer.parseInt( "" + data.charAt(++i) + data.charAt(++i), 16); if ( ( b1 & 128 ) == 0 ) { buf.append( (char)b1 ); break; } if ( data.length() - i < 4 || data.charAt(++i) != '%' ) break; int b2 = Integer.parseInt( "" + data.charAt(++i) + data.charAt(++i), 16); if ( ( ( b1 & 192 ) == 192 ) && ( ( b2 & 128 ) == 128 ) ) { buf.append( (char)( ( ( b1 & 31 ) << 6 ) | ( b2 & 63 ) ) ); break; } if ( data.length() - i < 4 || data.charAt(++i) != '%' ) break; int b3 = Integer.parseInt( "" + data.charAt(++i) + data.charAt(++i), 16); if ( ( ( b1 & 192 ) == 192 ) && ( ( b2 & 128 ) == 128 ) && ( ( b3 & 128 ) == 128 ) ) buf.append((char)( ( ( b1 & 15 ) << 12 ) | ( ( b2 & 63 ) << 6 ) | ( b3 & 63 ) ) ); break; } catch(NumberFormatException _ex) { String msg = "Decode error "; throw new IllegalArgumentException(msg); } catch(StringIndexOutOfBoundsException _ex) {} break; default: buf.append(c); break; } } return buf.toString(); } method GET # * # replace in org/apache/tomcat/util/RequestUtil.java # * public static String unUrlDecode(String data) { StringBuffer buf = new StringBuffer(); for(int i = 0; i < data.length(); i++) { char c = data.charAt(i); switch(c) { case 43: // '+' buf.append(' '); break; case 37: // '%' try { if ( data.length() - i < 3 ) break; int b1 = Integer.parseInt( "" + data.charAt(++i) + data.charAt(++i), 16); if ( ( b1 & 128 ) == 0 ) { buf.append( (char)b1 ); break; } if ( data.length() - i < 4 || data.charAt(++i) != '%' ) break; int b2 = Integer.parseInt( "" + data.charAt(++i) + data.charAt(++i), 16); if ( ( ( b1 & 192 ) == 192 ) && ( ( b2 & 128 ) == 128 ) ) { buf.append( (char)( ( ( b1 & 31 ) << 6 ) | ( b2 & 63 ) ) ); break; } if ( data.length() - i < 4 || data.charAt(++i) != '%' ) break; int b3 = Integer.parseInt( "" + data.charAt(++i) + data.charAt(++i), 16); if ( ( ( b1 & 192 ) == 192 ) && ( ( b2 & 128 ) == 128 ) && ( ( b3 & 128 ) == 128 ) ) buf.append((char)( ( ( b1 & 15 ) << 12 ) | ( ( b2 & 63 ) << 6 ) | ( b3 & 63 ) ) ); break; } catch(NumberFormatException _ex) { String msg = "Decode error "; throw new IllegalArgumentException(msg); } catch(StringIndexOutOfBoundsException _ex) {} break; default: buf.append(c); break; } } return buf.toString(); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: TC3.2.1 - response commit on included JSPs
--- [EMAIL PROTECTED] wrote: > > I won't contest that, but I would suggest > considering > > the idea that the final, or intended destination > is > > not necessarily the browser. In the case of an > > included resource, it is the calling servlet that > is > > acting as client to the included resource. In > good OO > > design, it should be in the control of that client > > what to do with the data that has been 'committed' > by > > the included resource. > > Except that this is explicitely specified - the > flush() > in JspWriter should be propagated to the next > stream. > > " if that destination is another character or > byte stream, flush it." > > In this case, the destination is the servlet output > stream - and it has to be flushed. That is only because the particular servlet engine implementation implements the ServletOutputStream of the Response object passed to the included servlet by wrapping it around (or simply passing on) the current ServletOutputStream. Technically, that does not have to be so. > > And it is also explicitely stated that the included > servlet can commit the response ( in > RequestDispatcher > spec ) > This is true. My argument then is only that I think the spec is bad in this regard. However, as I stated, I can live with it. > > Looking at the Tomcat 3.2.1 code, I see that this > > situation is still further broken in this regard > > The main change in 3.3 is removing many of the > dependencies and cleaning the code. M > I like what you've alluded to in the 'buffer' being a first class object - that sounds more correct. > > I would say 3.3 :-) > > We hope to have a beta in few weeks - the code is > already > usable and stable. > So, I'm trying to decide whether to use the latest milestone build, nightly build or to setup a cvs project and simply track the latest code with the eventual goal of helping to contribute. Having to build one of my deployment tools from source is not something I really wanted to do from a project management perspective, but oh well I presume I can hook up as a 'read only' user of the tc 3.3 cvs repositories with wincvs? Where can I find the necessary repository url and authentication info? Or can I actually checkout the whole project via cvsweb? Looks like I need to do some poking around... This will be a bit of a learning experience since I've never built with Ant before. :-) Thanks for the discussion, Costin. Mel __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: mod_jk for Apache 1.3.17
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/mod_jk.dll >From: Pilho Kim <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: mod_jk for Apache 1.3.17 >Date: Sat, 24 Feb 2001 21:39:09 +0900 (KST) > >Hi, > >I need mod_jk for Apache 1.3.17 & Tomcat 3.2.1 >on NT 4.0. > >Where can I get it? > >Thanks in advance, >Kim > > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, email: [EMAIL PROTECTED] > _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
mod_jk for Apache 1.3.17
Hi, I need mod_jk for Apache 1.3.17 & Tomcat 3.2.1 on NT 4.0. Where can I get it? Thanks in advance, Kim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]