Hello,
I have a problem with using Vaadin CDI and Wildfly. Everything works except ass soon as I click on a button or do anything with the ui I get a communication error. No exception,nothing. I checked the wildfly logs and found several warnings
,069 WARN [org.jboss.as.server.deployment]
(MSC service thread 1-3) JBAS015960: Class Path entry vaadin-server-7.3.1.jar in /D:/SERVERS/wildfly8.1/standalone/deployments/XaiProConServer.war/WEB-INF/lib/vaadin-cdi-1.0.2.jar does not point to a valid jar for a Class-Path reference.
18:04:16,070 WARN [org.jboss.as.server.deployment]
(MSC service thread 1-3) JBAS015960: Class Path entry vaadin-shared-7.3.1.jar in /D:/SERVERS/wildfly8.1/standalone/deployments/XaiProConServer.war/WEB-INF/lib/vaadin-cdi-1.0.2.jar does not point to a valid jar for a Class-Path reference.
18:04:18,435 WARN [org.jboss.weld.Event]
(MSC service thread 1-4) WELD-000411: Observer method [BackedAnnotatedMethod]
protected org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension.vetoBeans(@Observes ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds.
18:04:18,476 WARN [org.jboss.weld.Event]
(MSC service thread 1-4) WELD-000411: Observer method [BackedAnnotatedMethod]
protected org.apache.deltaspike.core.impl.message.MessageBundleExtension.detectInterfaces(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds.
18:04:23,167 INFO [org.atmosphere.cpr.AtmosphereFramework]
(default task-2) Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
18:04:23,168 INFO [org.atmosphere.cpr.DefaultAnnotationProcessor]
(default task-2) AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$ServletContainerInitializerAnnotationProcessor being used
18:04:23,171 WARNING [org.atmosphere.cpr.DefaultAnnotationProcessor]
(default task-2) Unable to detect annotations. Application may fail to deploy.
Could that be a problem with the version of atmosphere ? I’m also using CDI 1.0.2 and Wildfly 8.2.0 Final.
My Servlet class is configures as follows:
@WebServlet(value = "/*", asyncSupported = false)
@VaadinServletConfiguration(productionMode = false, ui = XaiProConUI.class)
public static class Servlet extends VaadinCDIServlet {
}
I’m not sure whats wrong. Maybe the wildfly is miss configured ? Would be great if anyone could point me in the right direction.