[
https://issues.jboss.org/browse/RF-12612?page=com.atlassian.jira.plugin.s...
]
Albert Gubaidullin edited comment on RF-12612 at 12/2/12 3:52 AM:
------------------------------------------------------------------
I gathered a demo project and now get
WARNING: GRIZZLY0024: Terminate process interrupted.
Listening for transport dt_socket at address: 9009
Launching GlassFish on Felix platform
INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2 (build 23)
WARNING: JK configuration file
C:\glassfish3\glassfish\domains\domain1/config/glassfish-jk.properties is not found.
INFO: Grizzly Framework 1.9.46 started in: 161ms - bound to [0.0.0.0:8009]
INFO: Grizzly Framework 1.9.46 started in: 144ms - bound to [0.0.0.0:7676]
INFO: Grizzly Framework 1.9.46 started in: 278ms - bound to [0.0.0.0:9090]
INFO: Grizzly Framework 1.9.46 started in: 191ms - bound to [0.0.0.0:9191]
INFO: Grizzly Framework 1.9.46 started in: 152ms - bound to [0.0.0.0:3700]
INFO: Grizzly Framework 1.9.46 started in: 179ms - bound to [0.0.0.0:4848]
INFO: The Admin Console is already installed, but not yet loaded.
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
persistence-type = replicated in BackingStoreFactoryRegistry
INFO: GlassFish Server Open Source Edition 3.1.2 (23) startup time : Felix (7 260ms),
startup services(2 143ms), total(9 403ms)
INFO: Hibernate Validator 4.2.0.Final
INFO: Grizzly Framework 1.9.46 started in: 10ms - bound to [0.0.0.0:9090]
INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService URL
service:jmx:rmi://192.168.0.101:8686/jndi/rmi://192.168.0.101:8686/jmxrmi
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 [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:9191]
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: WELD-000900 1.1.4 (Final)
INFO: Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context '/pager'
INFO: Selected fallback cache factory
INFO: Creating LRUMap cache instance using parameters:
{com.sun.faces.forceLoadConfiguration=true, com.sun.faces.validateXml=true,
org.atmosphere.useBlocking=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
INFO: WEB0671: Loading application [ru.moondb_pager_war_1.0] at [/pager]
INFO: ru.moondb_pager_war_1.0 was successfully deployed in 73 805 milliseconds.
WARNING: JK configuration file
C:\glassfish3\glassfish\domains\domain1/config/glassfish-jk.properties is not found.
WARNING: WEB0343: JK properties file
C:\glassfish3\glassfish\domains\domain1\config\glassfish-jk.properties does not exist
INFO: WEB0170: Apache mod_jk/jk2 attached to virtual-server [server] listening on port
[8 009]
INFO: Grizzly Framework 1.9.46 started in: 9ms - bound to [0.0.0.0:8009]
INFO: initialize()
SEVERE: log4j:WARN No appenders could be found for logger
(org.atmosphere.cpr.AtmosphereServlet).
SEVERE: log4j:WARN Please initialize the log4j system properly.
SEVERE: log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
info.
INFO: initialize()
WARNING: SelectorFactory. Can not create a selector
java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:125)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:141)
at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
at java.nio.channels.Pipe.open(Pipe.java:150)
at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:126)
at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
at java.nio.channels.Selector.open(Selector.java:227)
at com.sun.grizzly.util.Utils.openSelector(Utils.java:99)
at com.sun.grizzly.util.SelectorFactory.getSelector(SelectorFactory.java:113)
at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:140)
at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:76)
at
com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:417)
at
com.sun.grizzly.http.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:489)
at
com.sun.grizzly.http.SocketChannelOutputBuffer.endRequest(SocketChannelOutputBuffer.java:480)
at com.sun.grizzly.http.ProcessorTask.action(ProcessorTask.java:1116)
at com.sun.grizzly.tcp.Response.action(Response.java:268)
at com.sun.grizzly.tcp.Response.finish(Response.java:412)
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:341)
at org.apache.catalina.connector.Response.finishResponse(Response.java:582)
at org.apache.catalina.connector.CoyoteAdapter.afterService(CoyoteAdapter.java:375)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.afterService(ContainerMapper.java:483)
at com.sun.grizzly.http.ProcessorTask.finishResponse(ProcessorTask.java:781)
at com.sun.grizzly.http.ProcessorTask.postResponse(ProcessorTask.java:771)
at com.sun.grizzly.arp.DefaultAsyncExecutor.postExecute(DefaultAsyncExecutor.java:198)
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:114)
at com.sun.grizzly.comet.CometEngine.flushPostExecute(CometEngine.java:411)
at com.sun.grizzly.comet.CometEngine.interrupt0(CometEngine.java:393)
at com.sun.grizzly.comet.CometEngine.interrupt(CometEngine.java:371)
at com.sun.grizzly.comet.CometContext.resumeCometHandler(CometContext.java:435)
at org.atmosphere.container.GrizzlyCometSupport.resume(GrizzlyCometSupport.java:160)
at org.atmosphere.container.GrizzlyCometSupport.action(GrizzlyCometSupport.java:172)
at org.atmosphere.container.GrizzlyCometSupport.action(GrizzlyCometSupport.java:65)
at org.atmosphere.cpr.AtmosphereResourceImpl.resume(AtmosphereResourceImpl.java:218)
at org.richfaces.application.push.impl.RequestImpl.onBroadcast(RequestImpl.java:172)
at
org.atmosphere.cpr.AtmosphereResourceImpl.onBroadcast(AtmosphereResourceImpl.java:663)
at
org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:608)
at
org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:584)
at org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(DefaultBroadcaster.java:713)
at org.atmosphere.cpr.DefaultBroadcaster$3.run(DefaultBroadcaster.java:747)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.nio.channels.ClosedByInterruptException
at
java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:645)
at java.nio.channels.SocketChannel.open(SocketChannel.java:184)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:97)
... 46 more
WARNING: GRIZZLY0024: Terminate process interrupted.
java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1325)
at java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:414)
at com.sun.grizzly.http.ProcessorTask.terminateProcess(ProcessorTask.java:1010)
at
com.sun.grizzly.arp.DefaultAsyncExecutor.finishResponse(DefaultAsyncExecutor.java:186)
at com.sun.grizzly.arp.DefaultAsyncExecutor.finishExecute(DefaultAsyncExecutor.java:210)
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:129)
at com.sun.grizzly.comet.CometEngine.flushPostExecute(CometEngine.java:411)
at com.sun.grizzly.comet.CometEngine.interrupt0(CometEngine.java:393)
at com.sun.grizzly.comet.CometEngine.interrupt(CometEngine.java:371)
at com.sun.grizzly.comet.CometContext.resumeCometHandler(CometContext.java:435)
at org.atmosphere.container.GrizzlyCometSupport.resume(GrizzlyCometSupport.java:160)
at org.atmosphere.container.GrizzlyCometSupport.action(GrizzlyCometSupport.java:172)
at org.atmosphere.container.GrizzlyCometSupport.action(GrizzlyCometSupport.java:65)
at org.atmosphere.cpr.AtmosphereResourceImpl.resume(AtmosphereResourceImpl.java:218)
at org.richfaces.application.push.impl.RequestImpl.onBroadcast(RequestImpl.java:172)
at
org.atmosphere.cpr.AtmosphereResourceImpl.onBroadcast(AtmosphereResourceImpl.java:663)
at
org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:608)
at
org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:584)
at org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(DefaultBroadcaster.java:713)
at org.atmosphere.cpr.DefaultBroadcaster$3.run(DefaultBroadcaster.java:747)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
was (Author: moonturn):
I gathered a demo project and now get
WARNING: GRIZZLY0024: Terminate process interrupted.
Listening for transport dt_socket at address: 9009
INFO: Server shutdown initiated
INFO: JMX002: JMXStartupService: Stopped JMXConnectorServer: null
INFO: JMX001: JMXStartupService and JMXConnectors have been shut down.
INFO: Shutdown procedure finished
Completed shutdown of Log manager service
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
Completed shutdown of GlassFish runtime
Listening for transport dt_socket at address: 9009
Launching GlassFish on Felix platform
INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2 (build 23)
WARNING: JK configuration file
C:\glassfish3\glassfish\domains\domain1/config/glassfish-jk.properties is not found.
INFO: Grizzly Framework 1.9.46 started in: 161ms - bound to [0.0.0.0:8009]
INFO: Grizzly Framework 1.9.46 started in: 144ms - bound to [0.0.0.0:7676]
INFO: Grizzly Framework 1.9.46 started in: 278ms - bound to [0.0.0.0:9090]
INFO: Grizzly Framework 1.9.46 started in: 191ms - bound to [0.0.0.0:9191]
INFO: Grizzly Framework 1.9.46 started in: 152ms - bound to [0.0.0.0:3700]
INFO: Grizzly Framework 1.9.46 started in: 179ms - bound to [0.0.0.0:4848]
INFO: The Admin Console is already installed, but not yet loaded.
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
persistence-type = replicated in BackingStoreFactoryRegistry
INFO: GlassFish Server Open Source Edition 3.1.2 (23) startup time : Felix (7 260ms),
startup services(2 143ms), total(9 403ms)
INFO: Hibernate Validator 4.2.0.Final
INFO: Grizzly Framework 1.9.46 started in: 10ms - bound to [0.0.0.0:9090]
INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService URL
service:jmx:rmi://192.168.0.101:8686/jndi/rmi://192.168.0.101:8686/jmxrmi
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 [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:9191]
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: WELD-000900 1.1.4 (Final)
INFO: Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context '/pager'
INFO: Selected fallback cache factory
INFO: Creating LRUMap cache instance using parameters:
{com.sun.faces.forceLoadConfiguration=true, com.sun.faces.validateXml=true,
org.atmosphere.useBlocking=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
INFO: WEB0671: Loading application [ru.moondb_pager_war_1.0] at [/pager]
INFO: ru.moondb_pager_war_1.0 was successfully deployed in 73 805 milliseconds.
WARNING: JK configuration file
C:\glassfish3\glassfish\domains\domain1/config/glassfish-jk.properties is not found.
WARNING: WEB0343: JK properties file
C:\glassfish3\glassfish\domains\domain1\config\glassfish-jk.properties does not exist
INFO: WEB0170: Apache mod_jk/jk2 attached to virtual-server [server] listening on port
[8 009]
INFO: Grizzly Framework 1.9.46 started in: 9ms - bound to [0.0.0.0:8009]
INFO: initialize()
SEVERE: log4j:WARN No appenders could be found for logger
(org.atmosphere.cpr.AtmosphereServlet).
SEVERE: log4j:WARN Please initialize the log4j system properly.
SEVERE: log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
info.
INFO: initialize()
WARNING: SelectorFactory. Can not create a selector
java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:125)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:141)
at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
at java.nio.channels.Pipe.open(Pipe.java:150)
at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:126)
at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
at java.nio.channels.Selector.open(Selector.java:227)
at com.sun.grizzly.util.Utils.openSelector(Utils.java:99)
at com.sun.grizzly.util.SelectorFactory.getSelector(SelectorFactory.java:113)
at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:140)
at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:76)
at
com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:417)
at
com.sun.grizzly.http.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:489)
at
com.sun.grizzly.http.SocketChannelOutputBuffer.endRequest(SocketChannelOutputBuffer.java:480)
at com.sun.grizzly.http.ProcessorTask.action(ProcessorTask.java:1116)
at com.sun.grizzly.tcp.Response.action(Response.java:268)
at com.sun.grizzly.tcp.Response.finish(Response.java:412)
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:341)
at org.apache.catalina.connector.Response.finishResponse(Response.java:582)
at org.apache.catalina.connector.CoyoteAdapter.afterService(CoyoteAdapter.java:375)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.afterService(ContainerMapper.java:483)
at com.sun.grizzly.http.ProcessorTask.finishResponse(ProcessorTask.java:781)
at com.sun.grizzly.http.ProcessorTask.postResponse(ProcessorTask.java:771)
at com.sun.grizzly.arp.DefaultAsyncExecutor.postExecute(DefaultAsyncExecutor.java:198)
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:114)
at com.sun.grizzly.comet.CometEngine.flushPostExecute(CometEngine.java:411)
at com.sun.grizzly.comet.CometEngine.interrupt0(CometEngine.java:393)
at com.sun.grizzly.comet.CometEngine.interrupt(CometEngine.java:371)
at com.sun.grizzly.comet.CometContext.resumeCometHandler(CometContext.java:435)
at org.atmosphere.container.GrizzlyCometSupport.resume(GrizzlyCometSupport.java:160)
at org.atmosphere.container.GrizzlyCometSupport.action(GrizzlyCometSupport.java:172)
at org.atmosphere.container.GrizzlyCometSupport.action(GrizzlyCometSupport.java:65)
at org.atmosphere.cpr.AtmosphereResourceImpl.resume(AtmosphereResourceImpl.java:218)
at org.richfaces.application.push.impl.RequestImpl.onBroadcast(RequestImpl.java:172)
at
org.atmosphere.cpr.AtmosphereResourceImpl.onBroadcast(AtmosphereResourceImpl.java:663)
at
org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:608)
at
org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:584)
at org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(DefaultBroadcaster.java:713)
at org.atmosphere.cpr.DefaultBroadcaster$3.run(DefaultBroadcaster.java:747)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.nio.channels.ClosedByInterruptException
at
java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:645)
at java.nio.channels.SocketChannel.open(SocketChannel.java:184)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:97)
... 46 more
WARNING: GRIZZLY0024: Terminate process interrupted.
java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1325)
at java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:414)
at com.sun.grizzly.http.ProcessorTask.terminateProcess(ProcessorTask.java:1010)
at
com.sun.grizzly.arp.DefaultAsyncExecutor.finishResponse(DefaultAsyncExecutor.java:186)
at com.sun.grizzly.arp.DefaultAsyncExecutor.finishExecute(DefaultAsyncExecutor.java:210)
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:129)
at com.sun.grizzly.comet.CometEngine.flushPostExecute(CometEngine.java:411)
at com.sun.grizzly.comet.CometEngine.interrupt0(CometEngine.java:393)
at com.sun.grizzly.comet.CometEngine.interrupt(CometEngine.java:371)
at com.sun.grizzly.comet.CometContext.resumeCometHandler(CometContext.java:435)
at org.atmosphere.container.GrizzlyCometSupport.resume(GrizzlyCometSupport.java:160)
at org.atmosphere.container.GrizzlyCometSupport.action(GrizzlyCometSupport.java:172)
at org.atmosphere.container.GrizzlyCometSupport.action(GrizzlyCometSupport.java:65)
at org.atmosphere.cpr.AtmosphereResourceImpl.resume(AtmosphereResourceImpl.java:218)
at org.richfaces.application.push.impl.RequestImpl.onBroadcast(RequestImpl.java:172)
at
org.atmosphere.cpr.AtmosphereResourceImpl.onBroadcast(AtmosphereResourceImpl.java:663)
at
org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:608)
at
org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:584)
at org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(DefaultBroadcaster.java:713)
at org.atmosphere.cpr.DefaultBroadcaster$3.run(DefaultBroadcaster.java:747)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
CDI Push on GlassFish - can't resolve bean reference to
TopicsContext
---------------------------------------------------------------------
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
Labels: waiting_on_user
I'm trying to use the example RichFaces demo case cdi-push, but when I'm call the
pushEvent.fire(message); I get an error :
{code}
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)
{code}
full log below:
{code}
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
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)
{code}
--
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