Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Re: Seam SSL form Redirect

scott.stark@jboss.org

2007-08-13


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#4073718

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073718
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.