tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nacho <na...@siapi.es>
Subject RE: building Tomcat 3.2 on JDK 1.1
Date Mon, 23 Oct 2000 14:11:05 GMT
Thanks for the patch i'll commit  it ASAP, 

i think  tomcat 3.2 is not suppoused to build on JDK 1.1, some time ago
this issue was discussed on Tomcat-dev and the result was 3.x is built
on jdk 1.2 and can run on 1.1 and tomcat 4.x only runs on 1.2 and up,
but your patch it's needed to be able to run on 1.1.......

Lesson: RELEASE 3.2 ASAP!!!! no more "secure" commits in please.

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Andrew Sudell [mailto:asudell@Op.Net]
> Enviado el: lunes 23 de octubre de 2000 15:34
> Para: tomcat-user@jakarta.apache.org
> Asunto: building Tomcat 3.2 on JDK 1.1
> 
> 
> Recently, there was a post from Mirek.Subrt@intax.cz, who was failing
> to build 3.2 on JDK 1.1.8.  I'd run into the same problem, but due
> to ISP dificulties (bad DNS lookups to the mail server) have recently
> been unable to mail to the jakarta lists.  Since, I haven't 
> seen anyone
> put forth this answer, and I don't se a similar change in the code.
> Here's what I've done to get around it.
> 
> Catch: 
> While the change makes sense to me, and I can build, and I can run,
> it's worth noting that I haven't had time to really test it.  
> Specifically,
> I haven't actually tried supplying an alternate random class.
> 
> Drew Sudell
> 
> Index: build.sh
> ===================================================================
> RCS file: /home/cvspublic/jakarta-tomcat/build.sh,v
> retrieving revision 1.11
> diff -c -r1.11 build.sh
> *** build.sh	2000/05/01 15:46:47	1.11
> --- build.sh	2000/10/23 04:55:15
> ***************
> *** 20,26 ****
>   
>   JAVACMD=$JAVA_HOME/bin/java $ANT_OPTS
>   
> ! 
> cp=../jakarta-ant/lib/ant.jar:../jakarta-servletapi/lib/servle
t.jar:../jakarta-tools/moo.jar:../build/tomcat/classes:>
$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dev.jar
>   
>   $JAVACMD -classpath $cp:$CLASSPATH org.apache.tools.ant.Main "$@"
>   
> --- 20,26 ----
>   
>   JAVACMD=$JAVA_HOME/bin/java $ANT_OPTS
>   
> ! 
> cp=../jakarta-ant/lib/ant.jar:../jakarta-servletapi/lib/servle
t.jar:../jakarta-tools/moo.jar:../build/tomcat/classes:>
$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dev.jar:$JAVA_HOME/lib
> /classes.zip
>   
>   $JAVACMD -classpath $cp:$CLASSPATH org.apache.tools.ant.Main "$@"
>   
> Index: src/share/org/apache/tomcat/core/ContextManager.java
> ===================================================================
> RCS file: 
> /home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/cor
e/ContextManager.java,v
> retrieving revision 1.100.2.11
> diff -c -r1.100.2.11 ContextManager.java
> *** src/share/org/apache/tomcat/core/ContextManager.java	
> 2000/10/04 20:49:16	1.100.2.11
> --- src/share/org/apache/tomcat/core/ContextManager.java	
> 2000/10/23 04:55:46
> ***************
> *** 332,338 ****
>        *  session id generator. 
>        */
>       public void setRandomClass(String randomClass) {
> !         System.setProperty("tomcat.sessionid.randomclass", 
> randomClass);
>       }
>   
>       /** Get the showDebugInfo property to be used for 
> controlling the display of
> --- 332,341 ----
>        *  session id generator. 
>        */
>       public void setRandomClass(String randomClass) {
> ! 		  // XXX - JDK 1.1 lacks System.setProperty()
> ! 		  Properties sysProp = System.getProperties();
> ! 		  sysProp.put("tomcat.sessionid.randomclass", 
> randomClass);
> ! 
>       }
>   
>       /** Get the showDebugInfo property to be used for 
> controlling the display of
> -- 
>     Drew Sudell        asudell@acm.org         
http://www.op.net/~asudell

Mime
View raw message