The application failed to deploy after using <navigation:pages>.
I did find a solution by modifying the server.xml for the jboss.web connector. Adding
scheme="https" to the Connector set the correct scheme for the
HttpServletRequest to return the correct scheme.
Unfortunately, this creates the reverse problem of not being able to connect to the server
directly.
This problem of being behind an SSL load balancer seems to be more of a servlet container
issue.
<Service name="jboss.web">
|
| <!-- A "Connector" represents an endpoint by which requests are
received
| and responses are returned. Documentation at :
| Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
| Java AJP Connector: /docs/config/ajp.html
| APR (HTTP/AJP) Connector: /docs/apr.html
| Define a non-SSL HTTP/1.1 Connector on port 8000
| -->
| <Connector port="8000"
| scheme="https"
| maxThreads="250" maxHttpHeaderSize="8192"
| emptySessionPath="true" protocol="HTTP/1.1"
| enableLookups="false" redirectPort="8009"
acceptCount="100"
| connectionTimeout="20000" disableUploadTimeout="true"
/>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073718#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...