Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On Suse Linux server I have Tomcat 5.5. installed (port 8080)

Can I also install Tomcat 6 on the same server (side by side) but on different port (for example 8081).

Are there any pitfalls I should be aware of?

Since this is production server, what are your advices?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Manually install it in /opt, change server.xml to your needs (port). Do not forget to add a start/stop script in case a reboot is needed.

Be sure you have enough memory for both. Depending on the application, you will need several gigs of RAM.

share|improve this answer
    
Thank you for the answer. Do you have any suggestions for multiple java versions? (currenty java 1.5 is installed, I would like to have java 6 on the new tomcat instance). Maybe setting JAVA_HOME would help, but where? –  Emir May 17 '11 at 11:10
1  
Yes, I use to have all my java versions extracted into /opt and added in classpath.sh on each tomcat. –  Paul May 17 '11 at 12:07
    
Thank you for the answers –  Emir May 18 '11 at 5:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.