-
1. Re: Error trying to run Errai 1.1-Final Examples under JBoss AS 5.1
umesh.hansla Feb 3, 2011 8:33 AM (in response to umesh.hansla)So a minor update. I imported the project under Eclipse and converted it using the m2eclipse plugin to get everything setup. I added a jboss-web.xml under the WEB-INF folder to set the context path
<jboss-web> <context-root>HelloWorld</context-root> </jboss-web>
Now I do not see the exception anymore, however in the logs I see that the HelloWorld service is no longer discovered.
17:21:54,663 INFO [TomcatDeployment] deploy, ctxPath=/HelloWorld 17:21:54,831 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings. 17:21:54,831 ERROR [STDERR] SLF4J: Found binding in [vfszip:/Users/usharma/Documents/code/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server_Demos/deploy/errai-bus-demos-helloworld.war/WEB-INF/lib/slf4j-log4j12-1.5.10.jar/org/slf4j/impl/StaticLoggerBinder.class] 17:21:54,832 ERROR [STDERR] SLF4J: Found binding in [vfszip:/Users/usharma/Documents/code/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class] 17:21:54,832 ERROR [STDERR] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 17:21:56,141 ERROR [STDERR] INFO [OrderedBootstrap] Bootstrap Errai 17:21:56,151 ERROR [STDERR] INFO [DefaultComponents] using dispatcher implementation: org.jboss.errai.bus.server.SimpleDispatcher 17:21:56,159 ERROR [STDERR] INFO [DefaultComponents] using session provider implementation: org.jboss.errai.bus.server.HttpSessionProvider 17:21:56,176 ERROR [STDERR] INFO [LoadExtensions] beging searching for Errai extensions ... 17:21:56,184 ERROR [STDERR] INFO [LoadExtensions] found extension org.jboss.errai.tools.monitoring.MonitorExtension 17:21:56,193 ERROR [STDERR] INFO [LoadExtensions] added extension binding: org.jboss.errai.bus.client.framework.ModelAdapter 17:21:56,193 ERROR [STDERR] INFO [LoadExtensions] total extension binding: 1 17:21:56,229 ERROR [STDERR] INFO [ServiceProcessor] discovered service: org.jboss.errai.tools.source.server.SourceViewService 17:21:56,238 ERROR [STDERR] INFO [EntityProcessor] Checking ErraiApp.properties for configured types ... 17:21:56,239 ERROR [STDERR] INFO [BootstrapContext] Running deferred bootstrap tasks ... 17:21:56,239 ERROR [STDERR] INFO [OrderedBootstrap] Bootstrap complete. Ready to rumble!
Logging in and clicking on the button gives an error from Errai
No subscribers for: HelloWorld
Additional details:
Attempt to send message to subject for which there are no subscribers
Additional Details:There were no Additional Details given.
Any help or tips would be appreciated!
-
2. Re: Error trying to run Errai 1.1-Final Examples under JBoss AS 5.1
umesh.hansla Feb 13, 2011 9:42 AM (in response to umesh.hansla)So apparently looks like there is an issue with trying to deploy the war in an exploded form. When deploying it in a compressed form, things work fine and the services get discovered!