Problem with creating two domains (Web contexts) on Tomcat 8 standalone

I am a noob to using a standalone Tomcat 8 server so bear with me. I have
been using the standard Railo/Lucee server installer with Apache/ISS for
years so using Tomcat 8 by itself is uncharted territory. I have been all
over The Google trying to figure this out with no success.

My requirements are to have two domains (Web contexts) running CF apps on
Windows 2012 Server standard R2 running Tomcat 8. The server is locked down
(it is a state agency) so installing the Boncode connector (if that would
even help) or the Lucee Server Installer is not an option.

Normally, with the the Lucee/Railo server Installer, normally I would set
up new domains like so in server.xml and it just worked™.

  <Host name="hostone.com" appBase="webapps">

What I did:

I rename the lucee-4.5.1.000.war to hostone.war and placed it in the
webapps folder and Tomcat deployed the app. Then I add the following to
conf/server.xml, restarted Tomcat and it worked beautifully as expected.

  <Host name="hostone.com" appBase="webapps">

Then I added the folder hosttwo to webapps and placed an index.cfm file in
said folder and added the new host entry to server.xml. This is was worked
for me in the past.

I restarted Tomcat but when I did so a new context for hosttwo was not
created nor was it listed in the server Admin under Web contexts and the CF
code in hosttwo was not executed.

Then I tried renaming lucee-4.5.1.000.war to hosttwo.war and that sorta
worked. But now I have two instance of Lucee server running with two
separate server and web Admins. I am (sorta) ok with this as a quick fix in
a development environment but the client will not be happy. It is their
server and two instances of Lucee server eats gobs of ram.

As mentioned, I been all over the web and read countless posts and tried
many ways to get to to work without success.

Could someone be kind enough to point me in the right direction?

As always, many TIA,
G!

I never used tomcat standalone, but what happens if you delete both war
files, rename lucee-4.5.1.000.war to ROOT.war and place it
in d:\Webservers\Tomcat8\webapps?Am Mittwoch, 27. Mai 2015 23:18:46 UTC+2 schrieb Gerald Guido:

I am a noob to using a standalone Tomcat 8 server so bear with me. I have
been using the standard Railo/Lucee server installer with Apache/ISS for
years so using Tomcat 8 by itself is uncharted territory. I have been all
over The Google trying to figure this out with no success.

My requirements are to have two domains (Web contexts) running CF apps on
Windows 2012 Server standard R2 running Tomcat 8. The server is locked down
(it is a state agency) so installing the Boncode connector (if that would
even help) or the Lucee Server Installer is not an option.

Normally, with the the Lucee/Railo server Installer, normally I would set
up new domains like so in server.xml and it just worked™.

  <Host name="hostone.com" appBase="webapps">

What I did:

I rename the lucee-4.5.1.000.war to hostone.war and placed it in the
webapps folder and Tomcat deployed the app. Then I add the following to
conf/server.xml, restarted Tomcat and it worked beautifully as expected.

  <Host name="hostone.com" appBase="webapps">

Then I added the folder hosttwo to webapps and placed an index.cfm file in
said folder and added the new host entry to server.xml. This is was worked
for me in the past.

I restarted Tomcat but when I did so a new context for hosttwo was not
created nor was it listed in the server Admin under Web contexts and the CF
code in hosttwo was not executed.

Then I tried renaming lucee-4.5.1.000.war to hosttwo.war and that sorta
worked. But now I have two instance of Lucee server running with two
separate server and web Admins. I am (sorta) ok with this as a quick fix in
a development environment but the client will not be happy. It is their
server and two instances of Lucee server eats gobs of ram.

As mentioned, I been all over the web and read countless posts and tried
many ways to get to to work without success.

Could someone be kind enough to point me in the right direction?

As always, many TIA,
G!

I tried that. And got no love. I actually did a fresh install of everything
and tried that again and got the same.

I am out of my element with a plain Tomcat install. I have learned a lot,
mostly what not to do and what does not work. But this is a show stopper. I
could *really *use some help with this.

Many thanx
G!On Thursday, May 28, 2015 at 8:54:52 AM UTC-4, Patrick Heppler wrote:

I never used tomcat standalone, but what happens if you delete both war
files, rename lucee-4.5.1.000.war to ROOT.war and place it
in d:\Webservers\Tomcat8\webapps?

Am Mittwoch, 27. Mai 2015 23:18:46 UTC+2 schrieb Gerald Guido:

I am a noob to using a standalone Tomcat 8 server so bear with me. I have
been using the standard Railo/Lucee server installer with Apache/ISS for
years so using Tomcat 8 by itself is uncharted territory. I have been all
over The Google trying to figure this out with no success.

My requirements are to have two domains (Web contexts) running CF apps on
Windows 2012 Server standard R2 running Tomcat 8. The server is locked down
(it is a state agency) so installing the Boncode connector (if that would
even help) or the Lucee Server Installer is not an option.

Normally, with the the Lucee/Railo server Installer, normally I would set
up new domains like so in server.xml and it just worked™.

  <Host name="hostone.com" appBase="webapps">

What I did:

I rename the lucee-4.5.1.000.war to hostone.war and placed it in the
webapps folder and Tomcat deployed the app. Then I add the following to
conf/server.xml, restarted Tomcat and it worked beautifully as expected.

  <Host name="hostone.com" appBase="webapps">

Then I added the folder hosttwo to webapps and placed an index.cfm file
in said folder and added the new host entry to server.xml. This is was
worked for me in the past.

I restarted Tomcat but when I did so a new context for hosttwo was not
created nor was it listed in the server Admin under Web contexts and the CF
code in hosttwo was not executed.

Then I tried renaming lucee-4.5.1.000.war to hosttwo.war and that sorta
worked. But now I have two instance of Lucee server running with two
separate server and web Admins. I am (sorta) ok with this as a quick fix in
a development environment but the client will not be happy. It is their
server and two instances of Lucee server eats gobs of ram.

As mentioned, I been all over the web and read countless posts and tried
many ways to get to to work without success.

Could someone be kind enough to point me in the right direction?

As always, many TIA,
G!