karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1715) Occasional freeze on feature:install webconsole
Date Mon, 13 Aug 2012 14:02:37 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433146#comment-13433146
] 

Christian Schneider commented on KARAF-1715:
--------------------------------------------

Here is another stack trace of a thread that may be involved.
So it seems because of the waitForInit the activator thread does not return. As the activator
probably already locked the bundle the config admin thread above will not succeed. So the
waitForIntit can also not succeed.

Daemon Thread [Thread-8] (Suspended)	
	Thread.sleep(long) line: not available [native method]	
	HttpServiceStarted.waitForInit(HttpServiceStarted$ServletPlus) line: 268	
	HttpServiceStarted.registerServlet(String, Servlet, Dictionary, HttpContext) line: 193	
	HttpServiceProxy.registerServlet(String, Servlet, Dictionary, HttpContext) line: 59	
	KarafOsgiManager(OsgiManager).bindHttpService(HttpService) line: 726	
	OsgiManager$HttpServiceTracker.addingService(ServiceReference) line: 650	
	ServiceTracker$Tracked.customizerAdding(ServiceReference, ServiceEvent) line: 980	
	ServiceTracker$Tracked.customizerAdding(Object, Object) line: 906	
	ServiceTracker$Tracked(AbstractTracked).trackAdding(Object, Object) line: 262	
	ServiceTracker$Tracked(AbstractTracked).trackInitial() line: 185	
	OsgiManager$HttpServiceTracker(ServiceTracker).open(boolean) line: 348	
	OsgiManager$HttpServiceTracker(ServiceTracker).open() line: 283	
	KarafOsgiManager(OsgiManager).updateConfiguration(Dictionary) line: 869	
	KarafOsgiManager(OsgiManager).<init>(BundleContext) line: 287	
	KarafOsgiManager.<init>(BundleContext) line: 37	
	KarafOsgiManagerActivator$1.run() line: 45	
	KarafOsgiManagerActivator.start(BundleContext) line: 49	
	SecureAction.startActivator(BundleActivator, BundleContext) line: 645	
	Felix.activateBundle(BundleImpl, boolean) line: 1977	
	Felix.startBundle(BundleImpl, int) line: 1895	
	BundleImpl.start(int) line: 944	
	BundleImpl.start() line: 931	
	FeaturesServiceImpl.startBundle(FeaturesServiceImpl$InstallationState, Bundle) line: 540

	FeaturesServiceImpl.installFeatures(Set<Feature>, EnumSet<Option>) line: 495

	FeaturesServiceImpl.installFeature(Feature, EnumSet<Option>) line: 431	
	FeaturesServiceImpl.installFeature(String, String, EnumSet<Option>) line: 420	
	Proxyb7a59f09_5bd1_4db1_9436_b2f6b4e1402b.installFeature(String, String, EnumSet) line: not
available	
	InstallFeatureCommand.doExecute(FeaturesService) line: 62	
	InstallFeatureCommand(FeaturesCommandSupport).doExecute() line: 38	
	InstallFeatureCommand(AbstractAction).execute(CommandSession) line: 33	
	InstallFeatureCommand(OsgiCommandSupport).execute(CommandSession) line: 39	
	BlueprintCommand(AbstractCommand).execute(CommandSession, List<Object>) line: 33	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]

	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25	
	Method.invoke(Object, Object...) line: 597	
	ProxyHandler$1.invoke(Object, Method, Object[]) line: 54	
	ProxyHandler.invoke(Object, Method, Object[]) line: 119	
	$BlueprintCommand25912032.execute(CommandSession, List<Object>) line: not available

	CommandProxy.execute(CommandSession, List<Object>) line: 78	
	Closure.executeCmd(String, List<Object>) line: 477	
	Closure.executeStatement(List<Token>) line: 403	
	Pipe.run() line: 108	
	Closure.execute(List<Object>) line: 183	
	Closure.execute(CommandSession, List<Object>) line: 120	
	CommandSessionImpl.execute(CharSequence) line: 89	
	ConsoleImpl.run() line: 179	
	ConsoleFactoryService$3(Thread).run() line: 662	
	ConsoleFactoryService$3.doRun() line: 115	
	ConsoleFactoryService$3$1.run() line: 106	
	AccessController.doPrivileged(PrivilegedAction<T>, AccessControlContext) line: not
available [native method]	
	Subject.doAs(Subject, PrivilegedAction<T>) line: 337	
	ConsoleFactoryService$3.run() line: 104
                
> Occasional freeze on feature:install webconsole
> -----------------------------------------------
>
>                 Key: KARAF-1715
>                 URL: https://issues.apache.org/jira/browse/KARAF-1715
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-webconsole
>    Affects Versions: 3.0.0.RC1, 3.0.0
>            Reporter: Ioannis Canellos
>            Priority: Critical
>
> This is not something that happens all the time, so it might require a couple of attempts
in order to reproduce it.
> On a clean Karaf container feature:install webconsole can freeze and never return. When
this happens CTRL-C does not stop the command execution and the only way to recover is a restart
of the container.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message