'URL prefix for JSF/IceFaces application

I have a java/ICE 3.3 application that runs correctly on a jboss server and responds to some url http://jbserver/app

I have a second Apache proxy server that serves the same application under another url, in a subpath: http://apacheserver/somepath/app

Now, ICE does not work correctly in this second server. Static resources are searched under http://otherserver/app/*** instead of http://otherserver/somepath/app/***

Is there any property to fix this URL prefix?

Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source