Project: appceleratorstudio
Issue TISTUD-2591: Webserver core plugin starting too slowly
After updating from Studio 2.1.2 to the latest 3.0.0 RC, I saw the following exception in the log after restart: {code} !ENTRY org.eclipse.osgi 2 0 2012-10-20 18:30:17.474 !MESSAGE While loading class "com.aptana.webserver.core.IServerManager", thread "Thread[Worker-13,5,main]" timed out waiting (5001ms) for thread "Thread[Worker-10,5,main]" to finish starting bundle "com.aptana.webserver.core_3.0.0.1347887896 [400]". To avoid deadlock, thread "Thread[Worker-13,5,main]" is proceeding but "com.aptana.webserver.core.IServerManager" may not be fully initialized. !STACK 0 org.osgi.framework.BundleException: State change in progress for bundle "reference:file:plugins/com.aptana.webserver.core_3.0.0.1347887896.jar" by thread "Worker-10". org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087) org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297) org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440) org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268) org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107) org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463) org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216) org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400) org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35) org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473) org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) java.lang.ClassLoader.loadClass(ClassLoader.java:247) com.appcelerator.titanium.acs.core.ACSCorePlugin$ACCSInitializer.run(ACSCorePlugin.java:170) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException	... 16 more Root exception: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087) org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297) org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440) org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268) org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107) org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463) org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216) org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400) org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35) org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473) org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) java.lang.ClassLoader.loadClass(ClassLoader.java:247) com.appcelerator.titanium.acs.core.ACSCorePlugin$ACCSInitializer.run(ACSCorePlugin.java:170) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
Story points: 5