Is TC 5.0.28 forward compatible with Java 5

2005-12-05 Thread Satish MG
Hi,

I am using Tomcat 5.0.28 on Java 1.4.2. Now I have to use Tomcat with
Java 5.0. Even though Tomcat 5.5.X is  compatible with Java 5,
I wanted Tomcat 5.0.28 on Java 5. So I wanted to Know whether Tomcat
5.0.28 is compatible with Java 5. If it is not compatible then any idea as
to
what will be the effort required in porting Tomcat 5.0.28 to Java 5?

Thanks in Advance
satish


Is TC 5.0.28 forward compatible with Java 5

2005-12-06 Thread Satish MG
Hi,

I am using Tomcat 5.0.28 with Java 1.4.2. Now I have to use the Tomcat with
Java 5.0. Even though Tomcat 5.5.X is Java 5 compatible with Java 5,
I wanted Tomcat 5.0.28 on Java 5. So I wanted to Know whether Tomcat
5.0.28 is compatible with Java 5.

Thanks
satish


Re: Is TC 5.0.28 forward compatible with Java 5

2005-12-06 Thread Satish MG
Hi Yoav,

 Can I accomplish the goal of running Tomcat 5.0.28 on Java 5 by giving the
option "-source 1.4.2" to javac at compile time and by not making any
changes to the source code?

Thanks
satish

On 12/6/05, Yoav Shapira <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I think you can run Tomcat 5.0.28 on JSE 5 without any further work.
> In order to compile it on JSE 5 you need to replace the variables
> named enum with something that's not a keyword.
>
> Yoav
>
> On 12/6/05, Satish MG <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am using Tomcat 5.0.28 with Java 1.4.2. Now I have to use the Tomcat
> with
> > Java 5.0. Even though Tomcat 5.5.X is Java 5 compatible with Java 5,
> > I wanted Tomcat 5.0.28 on Java 5. So I wanted to Know whether Tomcat
> > 5.0.28 is compatible with Java 5.
> >
> > Thanks
> > satish
> >
> >
>
>
> --
> Yoav Shapira
> System Design and Management Fellow
> MIT Sloan School of Management
> Cambridge, MA, USA
> [EMAIL PROTECTED] / www.yoavshapira.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[BaseUrlClient] null failed for Java Harness Test

2006-01-24 Thread Satish MG
Hi,

I ran the Java Harness Test with Tomcat 5.0.28 compiled with Java 5 and
executed  on Java 1.4.2.
For one of the test cases,
com/sun/ts/tests/jsp/spec/core_syntax/scripting/el/URLClient.java#elNumberCoercionTest

I got the folowing error message -

ERROR: Exception at: ERROR:
com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED! at
com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:168)
at 
com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:383)
at
com.sun.ts.tests.jsp.spec.core_syntax.scripting.el.URLClient.elNumberCoercionTest
(URLClient.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(
Method.java:324) at com.sun.ts.lib.harness.EETest.run(EETest.java:473) at
com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:370) at
com.sun.ts.lib.harness.EETest.run(EETest.java:229) at
com.sun.ts.tests.jsp.spec.core_syntax.scripting.el.URLClient.main(
URLClient.java:23)
[BaseUrlClient] Test cleanup OK STATUS:Failed.Test case throws exception:
[BaseUrlClient] null failed! Check output for cause of failure

Could any one help me out in finding what is this error message and how to
overcome it.
Would appreciate your valuable help.


satish


Query regarding porting TC5.0 for Java 5

2006-02-16 Thread Satish MG
Hi ,

We are porting TC5.0 to Java 5. We have a requirement as to TC5.0 has to run
with
both Java 1.4 and Java 5. While porting we found that
jakarta-tomcat-5.0.28-src\jakarta-tomcat-connectors\util\build.xml
has -target=1.1 option. javac of Java 5 does not allow -target 1.1 . So if
someone can let
us know at a high level, as to what all the changes is required for making
java files in util
direcotry  compatible with Java 5.

Thanks and Regards
satish