Apache Geronimo > Discussion Forums  User List | Dev List | Wiki | Issue Tracker  

Virtual Host vs. Deployment Environments

View: New views
1 Messages — Rating Filter:   Alert me  

Virtual Host vs. Deployment Environments

by DFrahm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I needed to configure a virtual host for my web app, so I added the HostGBean to the /var/config/config.xml, then added a <host> element to the geronimo-web.xml.

Everything worked great, except now I have to manually comment out that <host> element to deploy locally or to the test server, since there can only be one computer with that domain.

Any ideas on how to deal with this in a way that does not require project file changes for each environment?

Thanks!
LightInTheBox - Buy quality products at wholesale price