2 dev installs on one application server

myee's Avatar

myee

15 Feb, 2012 02:10 AM

We have one existing 6.8 install running on port 8080 on Linux RH4 in one directory structure.
I attempted to install a second 6.8 to a different directory structure, and followed the server install notes to change to port 8081 (dev2).

One dev instance will run but not both at the same time. Is tihs possible?

Would I have needed to run the JAR install doing a full install (not an upgrade). I did not choose a full option just in case it would overlay an existing install. The "Cascade Server" directory separation seems to work partially.

The cascade.sh stop, in one directory, stopped both java sessions, not surprisingly.
Thanks in advance,

Michael Yee
P.S. thought or intended this to be public, if you can make it so, please do.

  1. Support Staff 1 Posted by Tim on 15 Feb, 2012 01:56 PM

    Tim's Avatar

    Hi Michael,

    My guess is that there may be one more port change needed in order to make this work. Aside from changing the HTTP port (which you already have done), try doing the following for your second instance:

    • Edit the file \tomcat\conf\server.xml
    • Locate the shutdown port. It will look something like this (~line 20):
        <Server port="8205" shutdown="SHUTDOWN">
      
    • Modify that port to be different from the default

    As long as both the HTTP ports and the shutdown ports are different, both instances should be able to start. If you continue to have problems after making this change, it could be due to memory allocation problems depending on how your RAM is configured. If you suspect something else is going on, please attach a zip file of the contents of the folder \tomcat\logs from the second dev instance.

    Thanks!

  2. 2 Posted by myee on 15 Feb, 2012 06:42 PM

    myee's Avatar

    Your suggestion worked! Thanks so much for the quick reply.
    Michael

  3. Support Staff 3 Posted by Tim on 15 Feb, 2012 06:52 PM

    Tim's Avatar

    Perfect! Glad I was able to help out.

    Take care.

  4. Tim closed this discussion on 15 Feb, 2012 06:52 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac