RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread LANDRAIN Jean-Pol
 Of course - otherwise it couldn't run under 1.4.

http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : Tomcat
5.5 requires JRE 5.0 by default

Regards,
Jean-Pol.
 

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: 09 January 2006 16:00
To: Tomcat Users List
Subject: RE: Tomcat 5.5.x and java 1.4.x

 From: Akoulov, Alexandre [IT] 
 [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat 5.5.x and java 1.4.x
 
 My question is: was Tomcat 5.5.12 binary version that can be 
 downloaded from 
 http://tomcat.apache.org/download-55.cgi#5.5.12 compiled with 
 java 1.4?

Of course - otherwise it couldn't run under 1.4.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Markus Schönhaber
LANDRAIN Jean-Pol wrote:
  Of course - otherwise it couldn't run under 1.4.

 http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : Tomcat
 5.5 requires JRE 5.0 by default

Fine. Nevertheless, Charles' statement is perfectly true.

Regards
  mks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Caldarale, Charles R
 From: LANDRAIN Jean-Pol [mailto:[EMAIL PROTECTED] 
 Subject: RE: Tomcat 5.5.x and java 1.4.x
 
 http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : Tomcat
 5.5 requires JRE 5.0 by default

An excellent example of quoting out of context.  The very next sentence
says:
Read the RELEASE-NOTES and the RUNNING.txt file in the distribution for
more details.

And, if you actually bother to do that, you'll find the following in
RUNNING.txt:
Out of the box, Tomcat 5.5 requires the Java 2 Standard Edition Runtime
Environment (JRE) version 5.0 or later.  However, you can also run
Tomcat
5.5 on earlier versions of the JRE, as detailed below.

The only thing needed to run on 1.4 is the compatibility package, which
contains a few class files that are standard in the 1.5 JRE but have to
be downloaded separately for 1.4.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread LANDRAIN Jean-Pol
 The only thing needed to run on 1.4 is the compatibility package,
which
 contains a few class files that are standard in the 1.5 JRE but have
to
 be downloaded separately for 1.4. 

It's not class files it contains: it's xml and jmx jars. I haven't
quoted out of context: I know the details.

Regards,
Jean-Pol.

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: 10 January 2006 15:43
To: Tomcat Users List
Subject: RE: Tomcat 5.5.x and java 1.4.x

 From: LANDRAIN Jean-Pol [mailto:[EMAIL PROTECTED] 
 Subject: RE: Tomcat 5.5.x and java 1.4.x
 
 http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : Tomcat
 5.5 requires JRE 5.0 by default

An excellent example of quoting out of context.  The very next sentence
says:
Read the RELEASE-NOTES and the RUNNING.txt file in the distribution for
more details.

And, if you actually bother to do that, you'll find the following in
RUNNING.txt:
Out of the box, Tomcat 5.5 requires the Java 2 Standard Edition Runtime
Environment (JRE) version 5.0 or later.  However, you can also run
Tomcat
5.5 on earlier versions of the JRE, as detailed below.

The only thing needed to run on 1.4 is the compatibility package, which
contains a few class files that are standard in the 1.5 JRE but have to
be downloaded separately for 1.4.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Fredrik Rubensson

 The only thing needed to run on 1.4 is the compatibility package,
which
 contains a few class files that are standard in the 1.5 JRE but have
to
 be downloaded separately for 1.4. 

 It's not class files it contains: it's xml and jmx jars. I haven't
quoted out of  context: I know the details.

And just maybe there may be class files in the jar files? 

Fredrik

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Hasan, Nadeem
What do you think is in those jar files? Home made pickles?

-Original Message-
From: LANDRAIN Jean-Pol [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 9:47 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.x and java 1.4.x


 The only thing needed to run on 1.4 is the compatibility package,
which
 contains a few class files that are standard in the 1.5 JRE but have
to
 be downloaded separately for 1.4. 

It's not class files it contains: it's xml and jmx jars. I haven't
quoted out of context: I know the details.


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.x and java 1.4.x

2006-01-09 Thread Caldarale, Charles R
 From: Akoulov, Alexandre [IT] 
 [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat 5.5.x and java 1.4.x
 
 My question is: was Tomcat 5.5.12 binary version that can be 
 downloaded from 
 http://tomcat.apache.org/download-55.cgi#5.5.12 compiled with 
 java 1.4?

Of course - otherwise it couldn't run under 1.4.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.x and java 1.4.x

2006-01-09 Thread Caldarale, Charles R
 From: Akoulov, Alexandre [IT] 
 [mailto:[EMAIL PROTECTED] 
 Subject: RE: Tomcat 5.5.x and java 1.4.x
 
 now I am trying to compile Tomcat5.5.12 with java 1.4.2_10 
 and getting the following error:

Your compile-time classpath still refers to packages built with 1.5 -
these did not come from the Tomcat download.

But the real question is, why are you compiling Tomcat at all?  It's
pure Java, so the binary distribution will run on any platform.  Why are
you making more work for yourself?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.5.x and java 1.4.x

2006-01-08 Thread Akoulov, Alexandre [IT]
Hi all,

Some time ago I built Tomcat 5.5.12 from source with java 1.5.0_05 and then ran 
it with the same java version (ie 1.5.0_05). However, our requirements have 
changed since then and now I need to run Tomcat 5.5.12 in java 1.4.2_10.

I've dropped the content of the 'compat' directory into the Tomcat5.5.12 
installation directory (as per instructions found on 
http://tomcat.apache.org/tomcat-5.5-doc/building.html and also in RUNNING.txt). 
Then tried to start tomcat and got java.lang.UnsupportedClassVersionError, 
which in our case indicates that classes that were compiled with the lower java 
version attempt to run in the higher java version. This is exactly what I 
expected.

However, when doing the same thing with the Tomcat 5.5.12 binaries downloaded 
directly from the tomcat.apache.org I was surprised to find that it started 
successfully. 

My question is: was Tomcat 5.5.12 binary version that can be downloaded from 
http://tomcat.apache.org/download-55.cgi#5.5.12 compiled with java 1.4?


Thanks a lot for your help on this issue.

Alex.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.x and java 1.4.x

2006-01-08 Thread Akoulov, Alexandre [IT]
now I am trying to compile Tomcat5.5.12 with java 1.4.2_10 and getting the 
following error:

build-catalina-core:
[javac] Compiling 318 source files to 
/home/aa05584/tmp/apache-tomcat-5.5.12-src_hasBuildWithJava1.4.2_10/jakarta-tomcat-5/build/classes
[javac] 
/home/aa05584/tmp/apache-tomcat-5.5.12-src_hasBuildWithJava1.4.2_10/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Container.java:23:
 cannot access javax.servlet.ServletException
[javac] bad class file: 
/software/local/java/packages/servletapi/servletapi-2.4/lib/servlet-api.jar(javax/servlet/ServletException.class)
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory 
of the classpath.
[javac] import javax.servlet.ServletException;
[javac]  ^
[javac] 1 error


Any ideas on what's going on?

Kind regards,

Sasha. 

-Original Message-
From: Akoulov, Alexandre [IT] 
Sent: Monday, 9 January 2006 3:28 PM
To: Tomcat Users List
Subject: Tomcat 5.5.x and java 1.4.x


Hi all,

Some time ago I built Tomcat 5.5.12 from source with java 1.5.0_05 and then ran 
it with the same java version (ie 1.5.0_05). However, our requirements have 
changed since then and now I need to run Tomcat 5.5.12 in java 1.4.2_10.

I've dropped the content of the 'compat' directory into the Tomcat5.5.12 
installation directory (as per instructions found on 
http://tomcat.apache.org/tomcat-5.5-doc/building.html and also in RUNNING.txt). 
Then tried to start tomcat and got java.lang.UnsupportedClassVersionError, 
which in our case indicates that classes that were compiled with the lower java 
version attempt to run in the higher java version. This is exactly what I 
expected.

However, when doing the same thing with the Tomcat 5.5.12 binaries downloaded 
directly from the tomcat.apache.org I was surprised to find that it started 
successfully. 

My question is: was Tomcat 5.5.12 binary version that can be downloaded from 
http://tomcat.apache.org/download-55.cgi#5.5.12 compiled with java 1.4?


Thanks a lot for your help on this issue.

Alex.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]