A known problem exists that causes Application Server to replace the https string in URLs to http during redirection. You can eliminate this problem by installing this patch.
Download the Sun Java System Application Server Enterprise Ed 8.1 2005Q1 Patch onto the Application Server 3 host and onto the Application Server 4 host. You can download the software using one of the following URLs:
http://sunsolve.sun.com/search/document.do?assetkey=1-21-119166
http://sunsolve.sun.com/search/document.do?assetkey=1-21-119170-14
http://sunsolve.sun.com/search/document.do?assetkey=1-21-119171-14