Jan Papousek created RF-13040:
---------------------------------
Summary: Examples don't work on WildFly
Key: RF-13040
URL:
https://issues.jboss.org/browse/RF-13040
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.0.0.Alpha1
Environment: WildFly 8.0.0.Alpha1
Reporter: Jan Papousek
- components-demo: with standalone-jbossweb.xml OK, with standalone-full.xml deployable,
but doesn't work
- showcase (jbas71 classifier): can't deploy, the following error appears
(standalone-full.xml):
{code}
16:22:01,672 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed
to start service jboss.undertow.deployment.default-host./showcase:
org.jboss.msc.service.StartException in service
jboss.undertow.deployment.default-host./showcase: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1930)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_17]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.RuntimeException: Capability org.richfaces.demo.push.JMSInitializer was not
correctly initialized
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:194)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:75)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]
... 3 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Capability
org.richfaces.demo.push.JMSInitializer was not correctly initialized
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:273)
at
io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:127)
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:172)
... 6 more
Caused by: java.lang.RuntimeException: Capability org.richfaces.demo.push.JMSInitializer
was not correctly initialized
at
org.richfaces.demo.push.AbstractCapabilityInitializer.processEvent(AbstractCapabilityInitializer.java:66)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108)
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2187)
at
com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2163)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:303)
at
org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288)
at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:685)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:253)
... 8 more
Caused by: java.lang.RuntimeException: Unable to create topic 'pushJms' (JNDI:
/topic/pushJms)
at org.richfaces.demo.push.JMSInitializer.createTopic(JMSInitializer.java:86)
at org.richfaces.demo.push.JMSInitializer.initializeJMS(JMSInitializer.java:75)
at org.richfaces.demo.push.JMSInitializer.initializeCapability(JMSInitializer.java:63)
at
org.richfaces.demo.push.AbstractCapabilityInitializer.processEvent(AbstractCapabilityInitializer.java:63)
... 15 more
Caused by: java.io.IOException: java.net.ConnectException: JBAS012144: Could not connect
to http-remoting://127.0.0.1:9999. The connection timed out
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:129)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:81)
at
org.richfaces.demo.push.provider.AS7MessagingProviderManagement.createTopic(AS7MessagingProviderManagement.java:83)
at org.richfaces.demo.push.JMSInitializer.createTopic(JMSInitializer.java:84)
... 18 more
Caused by: java.net.ConnectException: JBAS012144: Could not connect to
http-remoting://127.0.0.1:9999. The connection timed out
at
org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:131)
at
org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256)
at
org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
at
org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:176)
at
org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:148)
at
org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:67)
at
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:115)
at
org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:90)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141)
at
org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127)
... 21 more
{code}
- irc-client: can't deploy
{code}
16:35:39,805 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed
to start service
jboss.undertow.deployment.default-host./irc-client.UndertowDeploymentInfoService:
org.jboss.msc.service.StartException in service
jboss.undertow.deployment.default-host./irc-client.UndertowDeploymentInfoService:
java.lang.ClassNotFoundException: org.richfaces.webapp.PushFilter from [Module
"deployment.irc-client.war:main" from Service Module Loader]
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:587)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.start(UndertowDeploymentInfoService.java:200)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907)
[jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_17]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
Caused by: java.lang.ClassNotFoundException: org.richfaces.webapp.PushFilter from [Module
"deployment.irc-client.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196)
[jboss-modules.jar:1.2.0.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444)
[jboss-modules.jar:1.2.0.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432)
[jboss-modules.jar:1.2.0.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374)
[jboss-modules.jar:1.2.0.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119)
[jboss-modules.jar:1.2.0.Final]
at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_17]
at java.lang.Class.forName(Class.java:266) [rt.jar:1.7.0_17]
at
org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54)
[wildfly-server-8.0.0.Alpha1.jar:8.0.0.Alpha1]
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService.createServletConfig(UndertowDeploymentInfoService.java:426)
... 6 mor
{code}
- jpa-demo: with standalone-jbossweb.xml OK, with standalone-full.xml deployable, but
doesn't work
...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira