You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jonathan Mast <jh...@gmail.com> on 2009/03/23 19:23:25 UTC

Upgrading to Java 1.5

I'm working in a Java 1.4.2, Apache 1.3.33, Tomcat 5.5, Linux environment.
I want to migrate to Java 1.5.  Is it possible to do this vis-a-vis Tomcat
by just altering what the /usr/local/java link points to?  Or will I need to
do more under-the-hood changes?

RE: Tomcat SSL

Posted by "Ramamoorthy, Saku" <Sa...@oliverwyman.com>.
I had APR installed. Thanks for the insight. 


Saku

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Monday, March 23, 2009 3:14 PM
To: Tomcat Users List
Subject: RE: Tomcat SSL

> From: Ramamoorthy, Saku [mailto:Saku.Ramamoorthy@oliverwyman.com]
> Subject: Tomcat SSL
> 
> Any ideas why SSL is not working?

Do you have APR installed?  (Check for tcnative-1.dll in Tomcat's bin
directory.)  If so, the SSL config is completely different:
http://tomcat.apache.org/tomcat-6.0-doc/apr.html#HTTPS

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------------- 
This e-mail and any attachments may be confidential or legally privileged.  If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein.  Please inform us of the erroneous delivery by return e-mail. 

Thank you for your cooperation.
---------------------------------------------------------------------------- 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat SSL

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ramamoorthy, Saku [mailto:Saku.Ramamoorthy@oliverwyman.com] 
> Subject: Tomcat SSL
> 
> Any ideas why SSL is not working?

Do you have APR installed?  (Check for tcnative-1.dll in Tomcat's bin directory.)  If so, the SSL config is completely different:
http://tomcat.apache.org/tomcat-6.0-doc/apr.html#HTTPS

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Tomcat SSL

Posted by "Ramamoorthy, Saku" <Sa...@oliverwyman.com>.
Hello,

   I am trying to enable SSL in the test server. I have followed the SSL
- Howto documentation and created the keystore file and modified
server.xml (please see below) connector for SSL. When I try to access
using https, the application times out after a while. There are no
errors in the log. 

Windows OS : Windows Server 2003 R2 Standard Edition
JDK Version: 1.5.0.16
Tomcat: 5.5.27
 
Any ideas why SSL is not working?

Thanks,
Saku


<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
port="80"               maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" redirectPort="443"
acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout
value
     to 0 -->
	
	<!-- Note : To use gzip compression you could set the following
properties :
	
			   compression="on" 
			   compressionMinSize="2048" 
			   noCompressionUserAgents="gozilla, traviata" 
			   compressableMimeType="text/html,text/xml"
	-->

    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <Connector port="443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false"
keystoreFile="D:\Java\Tomcat5_5_27\webapps\ROOT\KeyStore\.keystore"
keystorePass="DevPass" sslProtocol="TLS" />
---------------------------------------------------------------------------- 
This e-mail and any attachments may be confidential or legally privileged.  If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein.  Please inform us of the erroneous delivery by return e-mail. 

Thank you for your cooperation.
---------------------------------------------------------------------------- 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Upgrading to Java 1.5

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Gregor [mailto:rc46fi@googlemail.com]
> Subject: Re: Upgrading to Java 1.5
> 
> +1
> @chuck:chocolate's about to be on it's way... ;)

Danke.

 - 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.


Re: Upgrading to Java 1.5

Posted by Gregor <rc...@googlemail.com>.
+1
@chuck:chocolate's about to be on it's way... ;)

gregor

Am 26.03.2009 um 08:50 schrieb André Warnier <aw...@ice-sa.com>:

> Caldarale, Charles R wrote:
>>> From: Jonathan Mast [mailto:jhmast.developer@gmail.com] Subject:  
>>> Re: Upgrading to Java 1.5
>>>
>>> So am I now like Frodo in Lord of the Rings? About to be dissolved  
>>> by the evil Chuck-spider's venom? ;-)
>> Nope, I bark, but don't bite.  Looks like you've done it properly.
>> Besides, André's off to Amsterdam this week, hunting for Belgian b 
>> eer...
> But still lurking around, so watch what you're saying, or I'll  
> badmouth you all with all the Tomcat gurus out here.
> Keep up the good work and watch the fort, Chuck.
> Regards from Gregor, Rainer, myself etc..
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Upgrading to Java 1.5

Posted by André Warnier <aw...@ice-sa.com>.
Caldarale, Charles R wrote:
>> From: Jonathan Mast [mailto:jhmast.developer@gmail.com] 
>> Subject: Re: Upgrading to Java 1.5
>>
>> So am I now like Frodo in Lord of the Rings? About to be 
>> dissolved by the evil Chuck-spider's venom? ;-)
> 
> Nope, I bark, but don't bite.  Looks like you've done it properly.
> 
> Besides, André's off to Amsterdam this week, hunting for Belgian beer...
> 
But still lurking around, so watch what you're saying, or I'll badmouth 
you all with all the Tomcat gurus out here.
Keep up the good work and watch the fort, Chuck.
Regards from Gregor, Rainer, myself etc..


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Upgrading to Java 1.5

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jonathan Mast [mailto:jhmast.developer@gmail.com] 
> Subject: Re: Upgrading to Java 1.5
> 
> So am I now like Frodo in Lord of the Rings? About to be 
> dissolved by the evil Chuck-spider's venom? ;-)

Nope, I bark, but don't bite.  Looks like you've done it properly.

Besides, André's off to Amsterdam this week, hunting for Belgian beer...

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Upgrading to Java 1.5

Posted by Jonathan Mast <jh...@gmail.com>.
Yeah I executed the jdk_1.5.bin file from Sun.  Didn't change anything else
and restarted tomcat.  Its up and running but I haven't had time to double
check that it is still running with v1.4 JVM (which it should, because I
haven't changed anything else).

I'm running Slackware Linux.

So am I now like Frodo in Lord of the Rings? About to be dissolved by the
evil Chuck-spider's venom? ;-)

On Tue, Mar 24, 2009 at 5:30 AM, André Warnier <aw...@ice-sa.com> wrote:

> Caldarale, Charles R wrote:
>
>> From: Jonathan Mast [mailto:jhmast.developer@gmail.com] Subject: Re:
>>> Upgrading to Java 1.5
>>>
>>> Will the java 1.5 installer do anything under-the-hood that could prevent
>>> the v1.4.2 JDK from working?
>>>
>>
>> I suppose that depends on the installer being used.  I've certainly had
>> multiple functional levels of a JDK installed simultaneously on both Linux
>> and Windows, so there's nothing intrinsically wrong with doing that.
>>
>>  To the OP : careful now.  Chuck is sitting there like a spider, baiting
> you, and getting ready to jump on you the minute your next post indicates
> that you are under Linux and installing your java package with the standard
> platform installer ...
> ;-)
>
> Well, are you ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Upgrading to Java 1.5

Posted by André Warnier <aw...@ice-sa.com>.
Caldarale, Charles R wrote:
>> From: Jonathan Mast [mailto:jhmast.developer@gmail.com] 
>> Subject: Re: Upgrading to Java 1.5
>>
>> Will the java 1.5 installer do anything under-the-hood that 
>> could prevent the v1.4.2 JDK from working?
> 
> I suppose that depends on the installer being used.  I've certainly had multiple functional levels of a JDK installed simultaneously on both Linux and Windows, so there's nothing intrinsically wrong with doing that.
> 
To the OP : careful now.  Chuck is sitting there like a spider, baiting 
you, and getting ready to jump on you the minute your next post 
indicates that you are under Linux and installing your java package with 
the standard platform installer ...
;-)

Well, are you ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Upgrading to Java 1.5

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jonathan Mast [mailto:jhmast.developer@gmail.com] 
> Subject: Re: Upgrading to Java 1.5
> 
> Will the java 1.5 installer do anything under-the-hood that 
> could prevent the v1.4.2 JDK from working?

I suppose that depends on the installer being used.  I've certainly had multiple functional levels of a JDK installed simultaneously on both Linux and Windows, so there's nothing intrinsically wrong with doing that.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Upgrading to Java 1.5

Posted by Jonathan Mast <jh...@gmail.com>.
Thanks Chuck, one more thing.

I know this is very basic, but let me ask:

Will the java 1.5 installer do anything under-the-hood that could prevent
the v1.4.2 JDK from working?  I plan doing a lot of back and forth testing
between the JDKs so they must both able to run.

On Mon, Mar 23, 2009 at 2:34 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Jonathan Mast [mailto:jhmast.developer@gmail.com]
> > Subject: Upgrading to Java 1.5
> >
> > I want to migrate to Java 1.5.  Is it possible to
> > do this vis-a-vis Tomcat by just altering what the
> > /usr/local/java link points to?
>
> You'll also need to remove the compatibility package that you installed in
> order to run Tomcat 5.5 with the 1.4 JRE.  The compatibility package
> consists of:
>  bin/jmx.jar
>  common/endorsed/xercesImpl.jar
>  common/endorsed/xml-apis.jar
>
> Leaving them around can cause classloading problems under a 1.5 JRE.
>
>  - 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Upgrading to Java 1.5

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jonathan Mast [mailto:jhmast.developer@gmail.com] 
> Subject: Upgrading to Java 1.5
> 
> I want to migrate to Java 1.5.  Is it possible to 
> do this vis-a-vis Tomcat by just altering what the
> /usr/local/java link points to?

You'll also need to remove the compatibility package that you installed in order to run Tomcat 5.5 with the 1.4 JRE.  The compatibility package consists of:
  bin/jmx.jar
  common/endorsed/xercesImpl.jar
  common/endorsed/xml-apis.jar

Leaving them around can cause classloading problems under a 1.5 JRE.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org