Re: SSL Offloading and Wicket

2013-12-12 Thread Martin Grigorov
Hi, I think you should ask in Tomcat mailing lists. The related code in Wicket is: https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/protocol/http/servlet/ServletWebResponse.java?source=cc#L232 As you can see Wicket always passes relative url to the

Re: SSL Offloading and Wicket

2013-12-12 Thread Michael Haitz
you could use proxyPort“ in your connector configuration, but this will always override ‚getServerPort‘ with this value no matter you’ve a http or https request. Do you use an apache or nginx in front? Am 12.12.2013 um 05:05 schrieb Matthew Welch matt...@welchkin.net: I'm sure I'm missing

Re: SSL Offloading and Wicket

2013-12-12 Thread Matthew Welch
That makes sense. I'll ask there. Thank you. Matt On Thu, Dec 12, 2013 at 2:00 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, I think you should ask in Tomcat mailing lists. The related code in Wicket is:

Re: SSL Offloading and Wicket

2013-12-12 Thread Matthew Welch
We are considering something along those lines you are suggesting as an alternative.As far as load balancers, we actually have two separate situations: one uses AWS Elastic Load Balancer and the other HAProxy. Matt On Thu, Dec 12, 2013 at 4:35 AM, Michael Haitz michael.ha...@1und1.dewrote:

Re: Converting 1.4.7 to 6.12 - Login Error

2013-12-12 Thread Entropy
So, the app worked before I made my 1.4.7 - 6.12 changes. The general flow is that when I hit the URL for the app (with no parameters...that 404 URL is not something I typed from the browser) it goes to the Application.getHomePage(), which returns the home page (not the login page). We have a

Re: Converting 1.4.7 to 6.12 - Login Error

2013-12-12 Thread Martin Grigorov
Hi, java.io.FileNotFoundException: /gov.usdoj.afms.esp.modules.login.LoginPage at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest( DefaultExtensionProcessor.java:572) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933) is an exception

Re: Example for presenting pdf in modal window

2013-12-12 Thread MyScheme
Thank you very much! But another Problem occurred while running your code. I need to load a Pdf file saved in a global path (like: D:/Users/test.pdf) and update the DocumentInlineFrame when a button was clicked. That´s why I tried to load your program with new DocumentInlineFrame(mypdf,new

Re: Example for presenting pdf in modal window

2013-12-12 Thread Martin Grigorov
Hi, On Thu, Dec 12, 2013 at 5:21 PM, MyScheme katerc...@web.de wrote: Thank you very much! But another Problem occurred while running your code. I need to load a Pdf file saved in a global path (like: D:/Users/test.pdf) and update the DocumentInlineFrame when a button was clicked. That´s

Re: Converting 1.4.7 to 6.12 - Login Error

2013-12-12 Thread Entropy
I know it is a web container page. I may not have been clear on this before. The URL I hit is: http://localhost:9080/EquitableSharing Wicket the forwards me to: http://localhost:9080/EquitableSharing/gov.usdoj.afms.esp.modules.login.LoginPage?1 But Wicket is involved because the WicketFilter is

Re: Converting 1.4.7 to 6.12 - Login Error

2013-12-12 Thread Entropy
I just tried replacing the exception line with: try { throw new RestartResponseAtInterceptPageException((Page) getLoginPageClass().newInstance()); } catch (IllegalAccessException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (InstantiationException