[JBoss JIRA] (RF-12612) showcase - a4j:push - CDI Push - error at line "pushEvent.fire(message); "
by Albert Gubaidullin (JIRA)
Albert Gubaidullin created RF-12612:
---------------------------------------
Summary: showcase - a4j:push - CDI Push - error at line "pushEvent.fire(message);"
Key: RF-12612
URL: https://issues.jboss.org/browse/RF-12612
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.2.Final
Environment: W7 x64, GlassFish Server Open Source Edition 3.1.2.2 (build 5), RichFaces 4.2.2.Final, Atmosphere 0.8.4,Grizzly Framework 1.9.50, sls4j-api-1.6.1
Reporter: Albert Gubaidullin
INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2.2 (build 5)
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
WARNING: JK configuration file C:\glassfish-3.1.2.2\glassfish\domains\domain1/config/glassfish-jk.properties is not found.
INFO: Grizzly Framework 1.9.50 started in: 647ms - bound to [0.0.0.0:38037]
INFO: Grizzly Framework 1.9.50 started in: 774ms - bound to [0.0.0.0:9090]
INFO: Grizzly Framework 1.9.50 started in: 931ms - bound to [0.0.0.0:8009]
INFO: Grizzly Framework 1.9.50 started in: 968ms - bound to [0.0.0.0:38042]
INFO: Grizzly Framework 1.9.50 started in: 930ms - bound to [0.0.0.0:37998]
INFO: Grizzly Framework 1.9.50 started in: 1002ms - bound to [0.0.0.0:4848]
INFO: The Admin Console is already installed, but not yet loaded.
WARNING: DPL5404:Specification-Version for the optional package [ dom4j ] in the jarfile [ C:\glassfish-3.1.2.2\glassfish\domains\domain1\lib\ext\dom4j-1.6.1.jar ] is not specified. Please provide a valid specification version for this optional package
INFO: GlassFish Server Open Source Edition 3.1.2.2 (5) startup time : Felix (3 045ms), startup services(2 229ms), total(5 274ms)
INFO: HV000001: Hibernate Validator 4.3.0.Final
INFO: Grizzly Framework 1.9.50 started in: 448ms - bound to [0.0.0.0:9090]
INFO: Created EjbThreadPoolExecutor with thread-core-pool-size 16 thread-max-pool-size 32 thread-keep-alive-seconds 60 thread-queue-capacity 2147483647 allow-core-thread-timeout false
WARNING: JK configuration file C:\glassfish-3.1.2.2\glassfish\domains\domain1/config/glassfish-jk.properties is not found.
INFO: Initiating Jersey application, version 'Jersey: 1.11.1 03/31/2012 06:49 PM'
INFO: Grizzly Framework 1.9.50 started in: 425ms - bound to [0.0.0.0:8009]
INFO: SEC1002: Security Manager is OFF.
INFO: SEC1010: Entering Security Startup Service
INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
INFO: SEC1115: Realm [QMSRealm] of classtype [com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm] successfully created.
INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
INFO: SEC1011: Security Service(s) Started Successfully
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:9090]
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:38042]
INFO: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]
INFO: WEB0169: Created HTTP listener [jk-connector] on host/port [0.0.0.0:8009]
INFO: WEB0171: Created virtual server [server]
INFO: WEB0171: Created virtual server [__asadmin]
INFO: WEB0172: Virtual server [server] loaded default web module []
INFO: REST00001: Listening to REST requests at context: /management/domain
INFO: The Admin Console is already installed, but not yet loaded.
INFO: The Admin Console is starting. Please wait.
INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService URL service:jmx:rmi://mycomputer:38047/jndi/rmi://mycomputer:38047/jmxrmi
INFO: WELD-000900 1.1.8 (Final)
INFO: Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context '/pushdemo'
INFO: Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context ''
INFO: Selected fallback cache factory
INFO: Creating LRUMap cache instance using parameters: {com.sun.faces.forceLoadConfiguration=true, org.richfaces.skin=classic, com.sun.faces.validateXml=true, org.atmosphere.useBlocking=true, org.richfaces.push.jms.enabled=false}
INFO: Creating LRUMap cache instance of 512 items capacity
INFO: RichFaces Core Implementation by JBoss by Red Hat, version v.4.2.2.Final
INFO: Selected fallback cache factory
INFO: Creating LRUMap cache instance using parameters: {com.sun.faces.forceLoadConfiguration=true, com.sun.jsftemplating.FS_DENY_PATHS=META-INF/:WEB-INF/:*.jsf:*.inc:*.xhtml:*.xml, com.sun.jsftemplating.RESOURCE_PREFIX=/html, com.sun.jsftemplating.CLASSLOADER=org.glassfish.admingui.common.plugin.ConsoleClassLoader, com.sun.faces.validateXml=true, javax.faces.VALIDATE_EMPTY_FIELDS=false, com.sun.jsftemplating.DEBUG=false, javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR=true, com.sun.faces.enableMultiThreadedStartup=true, com.sun.faces.enableRestoreView11Compatibility=true}
INFO: Creating LRUMap cache instance of 512 items capacity
INFO: RichFaces Core Implementation by JBoss by Red Hat, version v.4.2.2.Final
WARNING: JMS API was found on the classpath; if you want to enable RichFaces Push JMS integration, set context-param 'org.richfaces.push.jms.enabled' in web.xml
WARNING: JMS API was found on the classpath; if you want to enable RichFaces Push JMS integration, set context-param 'org.richfaces.push.jms.enabled' in web.xml
INFO: WEB0671: Loading application [ru.moondb_pushdemo_war_1.0] at [/pushdemo]
INFO: WEB0671: Loading application [__admingui] at [/]
INFO: CORE10010: Loading application __admingui done in 10 432 ms
INFO: The Admin Console application is loaded.
INFO: ru.moondb_pushdemo_war_1.0 was successfully deployed in 12 653 milliseconds.
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:38042]
INFO: Grizzly Framework 1.9.50 started in: 371ms - bound to [0.0.0.0:38042]
SEVERE: 22 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Using BroadcasterFactory class: org.atmosphere.cpr.DefaultBroadcasterFactory
SEVERE: 48 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Installed AtmosphereHandler org.atmosphere.handler.ReflectorServletProcessor mapped to context-path: /*
SEVERE: 105 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Atmosphere is using async support: org.atmosphere.container.GlassFishWebSocketSupport running under container: GlassFish Server Open Source Edition 3.1.2.2 with WebSocket enabled.
SEVERE: 123 [http-thread-pool-9090(2)] INFO org.atmosphere.handler.ReflectorServletProcessor - Installing Servlet null
SEVERE: 126 [http-thread-pool-9090(2)] INFO org.atmosphere.handler.ReflectorServletProcessor - Installing Filter PushHandlerFilter
SEVERE: 126 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Using broadcaster class: org.atmosphere.cpr.DefaultBroadcaster
SEVERE: 130 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Atmosphere Framework 0.8.4 started.
SEVERE: java.util.NoSuchElementException
at com.google.common.collect.Iterators$1.next(Iterators.java:71)
at org.richfaces.cdi.push.PushCDIExtension$PushObserverMethod.getBeanReference(PushCDIExtension.java:172)
at org.richfaces.cdi.push.PushCDIExtension$PushObserverMethod.notify(PushCDIExtension.java:140)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:590)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:585)
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:69)
at ru.moondb.webapp.bean.PushCdiBean.sendMessage(PushCdiBean.java:66)
at ru.moondb.webapp.bean.PushCdiBean$Proxy$_$$_WeldClientProxy.sendMessage(PushCdiBean$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:459)
at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:316)
at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87)
at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171)
at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143)
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:102)
at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)
at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175)
at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145)
at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:210)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)
--
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
11 years, 12 months