Re: Wicket 6 + WebSocket + Apache + mod_jk
http://tomcat.10.n6.nabble.com/Tomcat7-WebSocket-mod-jk-td4986848.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-WebSocket-Apache-mod-jk-tp4652073p4652128.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket 6 + WebSocket + Apache + mod_jk
I have realized my WebSocket connection was closing briefly after opening because I have Apache httpd on port 80 with mod_jk running in front of my Tomcat instance on port 8080. When I connect directly on 8080 to Tomcat the Wicket WebSocket demo app works. What is the recommended configuration to allow a WebSocket app to run through Apache to Tomcat/Wicket and/or how do you adjust mod_jk to allow the WebSocket connection? Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-WebSocket-Apache-mod-jk-tp4652073.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket 6 Websocket Example
Thanks... the Tomcat artifact could be switched to 0.2 as well - I know its commented out but would make it easier switching from Jetty to Tomcat. Curious though in the example, ChartsResourceReference.java: JavaScriptHeaderItem.forReference(WicketWebSocketJQueryResourceReference.get()) presumably adds: to the header, but it also seems that by adding a WebSocketBehavior to the Panel, this is automatically included. Just trying to figure the bare minimum to get a WebsocketBehavior to work. Is adding this resource reference necessary? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Websocket-Example-tp4652059p4652067.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket 6 Websocket Example
got it - thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Websocket-Example-tp4652059p4652064.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket 6 Websocket Example
ChartsResourceReference.java will not compile with a missing import on: import org.apache.wicket.request.resource.ExternalUrlResourceReference; This is with the Wicket version set in the pom.xml as either 6.0-SNAPSHOT (as it currently is) or changing it to 6.0.0. also, the pom.xml will not resolve this dependency: org.apache.wicket wicket-native-websocket-tomcat 0.1-SNAPSHOT but I found version 0.2 or 0.3-SNAPSHOT do resolve. similarly for the wicket-native-websocket-jetty artifact. Quoting Martin Grigorov : Hi, http://wicketinaction.com/2012/07/wicket-6-native-websockets/ This is the Java example. What is the problem with compiling it ? On Mon, Sep 17, 2012 at 11:13 PM, sfwicket wrote: Is there a working Wicket 6.0.0 Websocket example written in Java? The only demo provided here on the wiki page is written in Scala. https://cwiki.apache.org/WICKET/wicket-native-websockets.html The other demo I found has outdated dependencies on Wicket 6.0-SNAPSHOT and wicket-native-websocket-tomcat 0.1-SNAPSHOT and will not compile after altering these dependencies to 6.0.0 and 0.2 respectively. Can someone point me to a working Wicket 6.0.0 Websocket demo? Thanks! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket 6 Websocket Example
Is there a working Wicket 6.0.0 Websocket example written in Java? The only demo provided here on the wiki page is written in Scala. https://cwiki.apache.org/WICKET/wicket-native-websockets.html The other demo I found has outdated dependencies on Wicket 6.0-SNAPSHOT and wicket-native-websocket-tomcat 0.1-SNAPSHOT and will not compile after altering these dependencies to 6.0.0 and 0.2 respectively. Can someone point me to a working Wicket 6.0.0 Websocket demo? Thanks! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org