My JSF application works in my local tomcat for URL like http://localhost:8080/MyApp/admin, but not on the hosting server, the URL there is http://www.myapp.com/admin Do I need to do something with 'context.xml'/ put BocBase & AppBase. I got these things googling, but could not understand what exactly I have to do. Can anyone help me with the exact thing thats has to be done to get this working?
Although it is possible to configure Tomcat to respond to a "normal" URL, production servers often place a front-end server ahead of it. Apache is a popular choice. The front-end server takes the "normal" URLs and reroutes them to Tomcat using a proxy or tomcat connector channel. This is mostly done by configuring the front-end server to let it know what URLs to route to Tomcat and what channel to use.
An IDE is no substitute for an Intelligent Developer.
Joined: Sep 14, 2010
Can you provide me an example of what exactly I have to do to fix this?