Ok i fixed it myself by modyfing the proxyconfig. This changes did the trick for me:
ProxyPreserveHost Onfixed the URL problem and switching to https for the proxy connection fixed the redirect to a wrong port
old: (NOT WORKING!)
ProxyPreserveHost On ProxyPass /myapp/ http://127.0.0.1:8080/myapp/
SSLProxyEngine On ProxyPreserveHost On ProxyPass /myapp/ https://127.0.0.1:8443/myapp/ ProxyPassReverse /myapp/ https://localhost:8443/myapp/
Just enabled SSL-Connector in jbossweb.sar/server.xml
wrong copy/paste, the
ProxyPreserveHost Ondid NOT exist in the OLD config obv.