RE: Tomcat w Java1.5 beta problem

2004-02-10 Thread Shapira, Yoav
Howdy, The problem I had, I think, is that my method used an Enumeration and under 1.5 enum is a new keyword but jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper used enum many places as an identifier, as do some classes in org.apache.tomcat.util.compat Cool, thanks for researching

Re: Tomcat w Java1.5 beta problem

2004-02-09 Thread James Black
Shawn wrote: Under Tomcat 5.0.18 with servlets compiled with 1.5 beta, I get an odd message, and the servlet won't load. When the same servlet is compiled with 1.4.2 it runs fine. I have tried compiling with: javac -source 1.5 -target 1.4 ... ? I get the complaint from both IDEs I use

RE: Tomcat w Java1.5 beta problem

2004-02-09 Thread Shapira, Yoav
Howdy, Under Tomcat 5.0.18 with servlets compiled with 1.5 beta, I get an odd message, and the servlet won't load. When the same servlet is compiled with 1.4.2 it runs fine. I suggest rebuilding tomcat with 1.5 beta if you want to run servlets compiled using 1.5 beta. I'm not even sure my

Re: Tomcat w Java1.5 beta problem

2004-02-09 Thread Remy Maucherat
Shapira, Yoav wrote: Howdy, Under Tomcat 5.0.18 with servlets compiled with 1.5 beta, I get an odd message, and the servlet won't load. When the same servlet is compiled with 1.4.2 it runs fine. I suggest rebuilding tomcat with 1.5 beta if you want to run servlets compiled using 1.5 beta. I'm

RE: Tomcat w Java1.5 beta problem

2004-02-09 Thread Shapira, Yoav
Howdy, Testing has shown it was about 10% faster, and used a little less memory (5% less) for the out of the box Tomcat. Cool ;) Can't wait to test it myself, but (actual, $$$) work will be very busy this week ;) Yoav Shapira This e-mail, including any attachments, is a confidential

Re: Tomcat w Java1.5 beta problem

2004-02-09 Thread James Black
I get the complaint from both IDEs I use because of the fact that the collections have changed, in order to support generics. I haven't tried running my JDK1.5 classes under jdk1.4.2 yet, as I am still trying to get all of my unit tests to pass. g Oh, I thought you had run it under Tomcat.

Re: Tomcat w Java1.5 beta problem

2004-02-09 Thread James Black
Shapira, Yoav wrote: I suggest rebuilding tomcat with 1.5 beta if you want to run servlets compiled using 1.5 beta. I'm not even sure my suggestion will work, as I haven't tried it myself. There has not been a tomcat release declared to support JDK 1.5 yet, although you're welcome to do

Re: Tomcat w Java1.5 beta problem

2004-02-09 Thread Shawn
I suggest rebuilding tomcat with 1.5 beta if you want to run servlets compiled using 1.5 beta. I'm not even sure my suggestion will work, as I haven't tried it myself. There has not been a tomcat release declared to support JDK 1.5 yet, although you're welcome to do building and testing for us