Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 653393 Details for
Bug 880962
errai-cdi-stress-test is leaking a thread after undeploying
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
output from the eap console showing the issue
output-stress.txt (text/plain), 7.66 KB, created by
Stefan Miklosovic
on 2012-11-28 09:43:38 UTC
(
hide
)
Description:
output from the eap console showing the issue
Filename:
MIME Type:
Creator:
Stefan Miklosovic
Created:
2012-11-28 09:43:38 UTC
Size:
7.66 KB
patch
obsolete
>(1) Deployment > >10:16:19,388 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "errai-cdi-demo-stresstest.war" >10:16:20,769 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.errai-cdi-demo-stresstest.war" is using a private module ("org.jboss.as.naming:main") which may be changed or removed in future versions without notice. >10:16:20,769 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.errai-cdi-demo-stresstest.war" is using a private module ("org.jboss.as.naming:main") which may be changed or removed in future versions without notice. >10:16:20,769 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.errai-cdi-demo-stresstest.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice. >10:16:20,770 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.errai-cdi-demo-stresstest.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice. >10:16:20,818 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) JBAS016002: Processing weld deployment errai-cdi-demo-stresstest.war >10:16:20,990 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016005: Starting Services for CDI deployment: errai-cdi-demo-stresstest.war >10:16:21,050 INFO [org.jboss.weld.Version] (MSC service thread 1-3) WELD-000900 1.1.10 (redhat) >10:16:21,095 INFO [org.jboss.as.osgi] (MSC service thread 1-2) JBAS011907: Register module: Module "deployment.errai-cdi-demo-stresstest.war:main" from Service Module Loader >10:16:21,103 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) JBAS016008: Starting weld service for deployment errai-cdi-demo-stresstest.war >10:16:21,249 INFO [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-5) starting errai cdi ... >10:16:21,984 INFO [org.jboss.errai.cdi.server.CDIExtensionPoints] (pool-9-thread-1) all services registered successfully >10:16:22,250 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /errai-cdi-demo-stresstest >10:16:22,378 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS018559: Deployed "errai-cdi-demo-stresstest.war" > > >(2) After visiting the page and clicking at the button > >10:16:34,571 INFO [stdout] (http-/127.0.0.1:8080-4) Firing 10 ticks... Got a subscription request. Client's time offset is 396ms. >10:16:34,578 INFO [stdout] (Thread-75) Ticker exited with exception (trace follows): >10:16:34,579 INFO [stdout] (Thread-75) java.util.concurrent.CancellationException >10:16:34,579 INFO [stdout] (Thread-75) at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:220) >10:16:34,580 INFO [stdout] (Thread-75) at java.util.concurrent.FutureTask.get(FutureTask.java:83) >10:16:34,580 INFO [stdout] (Thread-75) at org.jboss.errai.cdi.test.stress.server.SimpleCDIService$2.run(SimpleCDIService.java:120) >10:16:34,580 INFO [stdout] (Thread-75) Ticker finished >10:16:34,581 INFO [stdout] (pool-12-thread-1) done. (interrupted=false) > >(3) Application continues to log firing ticks > >10:16:34,592 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:34,835 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:35,080 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:35,330 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:35,580 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:35,830 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:36,080 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:36,330 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:36,580 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:36,830 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) > >... repeated infinitly > >(4) After undeploying from the eap management console > >10:16:42,023 INFO [org.jboss.as.osgi] (MSC service thread 1-3) JBAS011908: Unregister module: Module "deployment.errai-cdi-demo-stresstest.war:main" from Service Module Loader >10:16:42,055 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016009: Stopping weld service for deployment errai-cdi-demo-stresstest.war >10:16:42,082 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:42,096 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment errai-cdi-demo-stresstest.war in 78ms >10:16:42,186 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS018558: Undeployed "errai-cdi-demo-stresstest.war" > >(5) but ticks are not killed and continue to output fancy things even AFTER undeploying > >10:16:42,329 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:42,579 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:42,829 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:43,079 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:43,329 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:43,579 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:43,829 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:44,079 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) >10:16:44,329 INFO [stdout] (pool-12-thread-1) Firing 10 ticks... done. (interrupted=false) > >... repeated infinitly as well > >(6) So I have to manually CTRL+C the eap as in order to shout it up > >^C10:16:51,907 INFO [org.apache.catalina.core.StandardContext] (MSC service thread 1-6) Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started >10:16:51,912 INFO [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers >10:16:51,920 INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService >10:16:51,920 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager >10:16:51,925 INFO [org.jboss.as] JBAS015950: JBoss EAP 6.0.1.GA (AS 7.1.3.Final-redhat-4) stopped in 23ms > >$ <- shell > >code snippet from the main/java/org/jboss/errai/cdi/test/stress/server/SimpleCDIService.java > >100 currentTicker = tickMaker.scheduleAtFixedRate(new Runnable() { >101 @Override >102 public void run() { >103 try { >104 System.out.print("Firing " + config.getMessageCount() + " ticks... "); >105 for (int i = 0; i < config.getMessageCount(); i++) { >106 tickEvent.fire(new TickEvent(nextEventId.getAndIncrement(), System.currentTimeMillis(), payload)); >107 } >108 } catch (Throwable t) { >109 t.printStackTrace(System.out); >110 } finally { >111 System.out.println("done. (interrupted=" + Thread.currentThread().isInterrupted() + ")"); >112 } >113 } >114 }, 0, config.getMessageInterval(), TimeUnit.MILLISECONDS); >115 >116 new Thread() { >117 @Override >118 public void run() { >119 try { >120 currentTicker.get(); >121 } catch (Throwable t) { >122 System.out.println("Ticker exited with exception (trace follows):"); >123 t.printStackTrace(System.out); >124 } finally { >125 System.out.println("Ticker finished"); >126 } >127 }; >128 }.start();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 880962
: 653393