I just tried to switch to "wicket native websockets" in a springboot project:
1) filter changed to
„org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter“
2) added „add(new WebSocketBehavior() {});“ to page
3) pom:
1.8
8.5.15
7.7.0
...
org.springframework.boot
spring-boot-start
Yes tomcat-embed-websocket-8.5.15.jar is in the spring boot fat jar
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678101.html
Sent from the Users forum mailing list archive at Nabble.com.
-
I tried with packaging as war instead fat jar, but I get the same 404 error.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678110.html
Sent from the Users forum mailing list archive at Nabble.com.
I found the reason of my problem. By using Spring Boot it is necessary to set
the WicketFilter
@Bean
public FilterRegistrationBean wicketFilter() {
final FilterRegistrationBean wicketFilter = new
FilterRegistrationBean();
wicketFilter.setDispatcherTypes(DispatcherType.REQUEST
and
org.springframework.boot
spring-boot-starter-websocket
has to be added to pom
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/javax-websockets-in-Spring-Boot-project-404-error-tp4678080p4678113.html
Sent from the Users forum mai
Could you solve the problem ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/After-upgrade-to-Wicket-7-6-0-WebSocket-logs-Broken-pipe-tp4676630p4678119.html
Sent from the Users forum mailing list archive at Nabble.com.
---