-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ed,

edponce wrote:
> I know this question has been asked a lot but I've read different solutions
> depending on the needs of the problem. I need to have 2 instances of tomcat
> on the same server for the same application. One would be for production and
> the other for development (which can be start and stopped whenever without
> affecting the production one).

No problem.

> From my understanding i need to have each instance on different ports and
> modifying some other files but what I am missing is the technical things.

If you want separate JVMs running Tomcat, then yes, you will need
separate ports for them. You might not need multiple instances, though.

> Can any one please guide me on the correct direction so that i don't mess up
> anything! I've never worked with Tomcat that is why i have no idea on how to
> do it.

For Java webapp newbies, it's important to understand terminology and
topography. Let's start with topography and move forward from there.

You can deploy Tomcat either standalone (where Tomcat directly receives
HTTP requests) or "fronted" with another web server like Apache httpd
(which is a very popular setup). Your strategy depends a lot on which
setup you'd like.

You can also deploy your applications into, say, /myApp and /myApp-dev.
If you have a preference, please let us know that before we do on.
Explaining everything start to finish is lengthy and my fingers will get
tired.

So, let us know is you will be running Tomcat standalone or behind a web
server, and then how you intend (or want) to deploy your webapps. Then
we can move on from there.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkitnC8ACgkQ9CaO5/Lv0PBAewCeIUof11yQbNF65/Krc6jzdUH0
rfYAnRmB/J47Hx1alk0XCoMG//B5pXv1
=cwqe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to