Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0
    • Fix Version/s: 1.4.0
    • Labels:
      None
    • Environment:
      Windows XP Pro
      Eclipse Ganymede
      Directory Studio 1.3

      Description

      Intermittent problem, seemingly dependent on what editor is open when eclipse is closed.

      If I have a .jsp open in an editor window (or .xml) and in focus, when restarting eclipse it will hang.

      The workaround to this is to delete all the <editor>...</editor> elements and their content from the workbench.xml eclipse file. If I have multiple editors open, sometimes I have the patience to find the one that is causing the problem and just delete that element from the workbench.xml.

      When I close Eclipse with a .java file open in an editor and in focus, I do not have this problem.

      I have had this problem for months, and was having a bear of a time figuring out what was causing this, and a teammate installed this plugin (at my behest, and later to my embarrassment) and his Eclipse hung when restarting. I cleaned his workbench.xml of open editors and it came up fine. He had installed 1.3, and had an xml file open at the time. I updated my version to 1.3, and can still reproduce the hang by simply closing Eclipse with an open jsp file.

      I could probably produce a stack dump while hung if it would help, but I'm not proficient enough with RCP to debug the problem myself.

        Activity

        Hide
        Stefan Seelmann added a comment -

        Hi Eric,

        Are you sure that DirStudio is the cause for that hang? I have the very same configuration here, working lot with .xml and have no such problem.

        Could you please provide a thread dump, maybe we could see if really DirStudio is the cause.

        Show
        Stefan Seelmann added a comment - Hi Eric, Are you sure that DirStudio is the cause for that hang? I have the very same configuration here, working lot with .xml and have no such problem. Could you please provide a thread dump, maybe we could see if really DirStudio is the cause.
        Hide
        Eric C added a comment -

        Here is a dump while hung:

        Start VM: -Dosgi.requiredJavaVersion=1.5
        -Xmx512m
        -Xms40m
        -Xmx256m
        -XX:MaxPermSize=256m
        -Djava.class.path=C:\eclipse_3.4_p4_dev\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
        -os win32
        -ws win32
        -arch x86
        -showsplash C:\eclipse_3.4_p4_dev\\plugins\org.eclipse.platform_3.3.101.v200809111700\splash.bmp
        -launcher C:\eclipse_3.4_p4_dev\eclipsec.exe
        -name Eclipsec
        --launcher.library C:\eclipse_3.4_p4_dev\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
        -startup C:\eclipse_3.4_p4_dev\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar 256M
        -debug
        -vm C:\Java\jdk1.5.0_14\bin\..\jre\bin\client\jvm.dll
        -vmargs
        -Dosgi.requiredJavaVersion=1.5
        -Xmx512m
        -Xms40m
        -Xmx256m
        -XX:MaxPermSize=256m
        -Djava.class.path=C:\eclipse_3.4_p4_dev\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
        Install location:
        file:/c:/eclipse_3.4_p4_dev/
        Configuration file:
        file:/c:/eclipse_3.4_p4_dev/configuration/config.ini loaded
        Configuration location:
        file:/c:/eclipse_3.4_p4_dev/configuration/
        Framework located:
        file:/c:/eclipse_3.4_p4_dev/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
        Framework classpath:
        file:/c:/eclipse_3.4_p4_dev/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
        Splash location:
        C:\eclipse_3.4_p4_dev\\plugins\org.eclipse.platform_3.3.101.v200809111700\splash.bmp
        Debug options:
        file:/C:/eclipse_3.4_p4_dev/.options not found
        Time to load bundles: 16
        Starting application: 969
        Full thread dump Java HotSpot(TM) Client VM (1.5.0_14-b03 mixed mode, sharing):

        "Thread-6" prio=6 tid=0x04d58680 nid=0xc18 waiting on condition [0x05caf000..0x05cafce8]
        at java.lang.Thread.sleep(Native Method)
        at com.bea.workshop.wls.core.j2eelib.LibraryModuleRegistry$LibraryArchiveChangeMonitor.run(LibraryModuleRegistry.java:419)

        "Thread-4" prio=6 tid=0x04d08008 nid=0x884 runnable [0x05aaf000..0x05aaf9e8]
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:203)
        at java.util.zip.ZipFile.<init>(ZipFile.java:234)
        at com.bea.workshop.common.util.fileio.ZipUtil.open(ZipUtil.java:219)
        at com.bea.workshop.common.util.fileio.ManifestUtil.readManifest(ManifestUtil.java:49)
        at com.bea.workshop.common.util.fileio.ManifestUtil.readManifestEntry(ManifestUtil.java:90)
        at com.bea.workshop.wls.core.WebLogicServerVersion.detect(WebLogicServerVersion.java:71)
        at com.bea.workshop.wls.core.WlsRuntimeComponentType.detectVersion(WlsRuntimeComponentType.java:85)
        at com.bea.workshop.wls.core.server.internal.WeblogicServerRuntime.validate(WeblogicServerRuntime.java:124)
        at org.eclipse.wst.server.core.internal.Runtime.validate(Runtime.java:64)
        at org.eclipse.wst.server.core.internal.facets.RuntimeBridge$Stub.validate(RuntimeBridge.java:173)
        at org.eclipse.wst.common.project.facet.core.runtime.internal.BridgedRuntime.validate(BridgedRuntime.java:99)
        at org.eclipse.wst.common.project.facet.core.runtime.internal.RuntimeManagerImpl$RuntimeValidationThread.run(RuntimeManagerImpl.java:1192)

        "Thread-3" prio=6 tid=0x04c8e750 nid=0xa48 in Object.wait() [0x059af000..0x059afa68]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0da54c78> (a java.util.LinkedList)
          at java.lang.Object.wait(Object.java:474)
          at com.bea.workshop.wls.core.internal.SystemLibrariesContainerImpl$ContainersRefresherThread.getProjectFromQueue(SystemLibrariesContainerImpl.java:466)
        • locked <0x0da54c78> (a java.util.LinkedList)
          at com.bea.workshop.wls.core.internal.SystemLibrariesContainerImpl$ContainersRefresherThread.run(SystemLibrariesContainerImpl.java:491)

        "Java indexing" daemon prio=4 tid=0x04bd5da0 nid=0x65c in Object.wait() [0x058af000..0x058afae8]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0d592d38> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
          at java.lang.Object.wait(Object.java:474)
          at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:371)
        • locked <0x0d592d38> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
          at java.lang.Thread.run(Thread.java:595)

        "Thread-2" prio=6 tid=0x03b039a8 nid=0x4c4 in Object.wait() [0x0510f000..0x0510fb68]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0d4021b8> (a org.eclipse.swt.widgets.RunnableLock)
          at java.lang.Object.wait(Object.java:474)
          at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:185)
        • locked <0x0d4021b8> (a org.eclipse.swt.widgets.RunnableLock)
          at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
          at org.eclipse.swt.widgets.Display.syncExec(Display.java:4251)
          at org.eclipse.ui.internal.StartupThreading.runWithThrowable(StartupThreading.java:85)
          at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:938)
          at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:3131)
          at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:2106)
          at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:3357)
          at org.eclipse.ui.internal.Workbench.access$30(Workbench.java:3299)
          at org.eclipse.ui.internal.Workbench$53.run(Workbench.java:2091)
          at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1804)
          at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:2089)
          at org.eclipse.ui.internal.Workbench.access$28(Workbench.java:2060)
          at org.eclipse.ui.internal.Workbench$48.run(Workbench.java:1923)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
          at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1867)
          at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
          at org.eclipse.ui.application.WorkbenchAdvisor$1.run(WorkbenchAdvisor.java:781)

        "Thread-1" prio=6 tid=0x03a13f28 nid=0xf64 in Object.wait() [0x0480f000..0x0480fbe8]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0cf4f058> (a org.eclipse.swt.widgets.RunnableLock)
          at java.lang.Object.wait(Object.java:474)
          at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:185)
        • locked <0x0cf4f058> (a org.eclipse.swt.widgets.RunnableLock)
          at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
          at org.eclipse.swt.widgets.Display.syncExec(Display.java:4251)
          at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
          at org.eclipse.ui.internal.Workbench.init(Workbench.java:1356)
          at org.eclipse.ui.internal.Workbench.access$32(Workbench.java:1278)
          at org.eclipse.ui.internal.Workbench$57.run(Workbench.java:2281)

        "Worker-0" prio=6 tid=0x03899da8 nid=0xb74 in Object.wait() [0x0469f000..0x0469fc68]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0c125220> (a org.eclipse.core.internal.jobs.WorkerPool)
          at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
        • locked <0x0c125220> (a org.eclipse.core.internal.jobs.WorkerPool)
          at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:217)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)

        "Start Level Event Dispatcher" daemon prio=6 tid=0x0386ab40 nid=0xf84 in Object.wait() [0x03eef000..0x03eefce8]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0c112190> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
          at java.lang.Object.wait(Object.java:474)
          at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:377)
        • locked <0x0c112190> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
          at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:317)

        "Framework Event Dispatcher" daemon prio=6 tid=0x038b74a8 nid=0x6c4 in Object.wait() [0x03def000..0x03defd68]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0c1121f8> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
          at java.lang.Object.wait(Object.java:474)
          at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:377)
        • locked <0x0c1121f8> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
          at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:317)

        "State Data Manager" daemon prio=6 tid=0x00b91f18 nid=0xdd0 waiting on condition [0x03cef000..0x03cef9e8]
        at java.lang.Thread.sleep(Native Method)
        at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297)
        at java.lang.Thread.run(Thread.java:595)

        "Low Memory Detector" daemon prio=6 tid=0x00b7b560 nid=0xabc runnable [0x00000000..0x00000000]

        "CompilerThread0" daemon prio=10 tid=0x00b7a140 nid=0xc90 waiting on condition [0x00000000..0x0339f8c8]

        "Signal Dispatcher" daemon prio=10 tid=0x00b4f570 nid=0xa7c waiting on condition [0x00000000..0x00000000]

        "Finalizer" daemon prio=8 tid=0x00b4c2d8 nid=0xfa4 in Object.wait() [0x0319f000..0x0319fc68]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0be79938> (a java.lang.ref.ReferenceQueue$Lock)
          at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
        • locked <0x0be79938> (a java.lang.ref.ReferenceQueue$Lock)
          at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
          at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

        "Reference Handler" daemon prio=10 tid=0x00b4ae58 nid=0x768 in Object.wait() [0x0309f000..0x0309fce8]
        at java.lang.Object.wait(Native Method)

        • waiting on <0x0be799c0> (a java.lang.ref.Reference$Lock)
          at java.lang.Object.wait(Object.java:474)
          at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        • locked <0x0be799c0> (a java.lang.ref.Reference$Lock)

        "main" prio=6 tid=0x0086fce8 nid=0xf30 runnable [0x0012d000..0x0012fc78]
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

        • locked <0x0ad70928> (a java.net.PlainSocketImpl)
          at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
          at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
          at java.net.Socket.connect(Socket.java:520)
          at java.net.Socket.connect(Socket.java:470)
          at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
          at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
          at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
        • locked <0x0ad709c8> (a sun.net.www.http.HttpClient)
          at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
          at sun.net.www.http.HttpClient.New(HttpClient.java:304)
          at sun.net.www.http.HttpClient.New(HttpClient.java:321)
          at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
          at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
          at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)
        • locked <0x0ad70a68> (a sun.net.www.protocol.http.HttpURLConnection)
          at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)
          at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905)
          at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872)
          at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
          at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
          at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
          at org.dom4j.io.SAXReader.read(SAXReader.java:465)
          at org.dom4j.io.SAXReader.read(SAXReader.java:343)
          at org.apache.directory.studio.apacheds.configuration.model.v154.ServerXmlIOV154.isValid(ServerXmlIOV154.java:155)
          at org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationContentDescriber.isValid(ApacheDSConfigurationContentDescriber.java:152)
          at org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationContentDescriber.describe(ApacheDSConfigurationContentDescriber.java:67)
          at org.eclipse.core.internal.content.ContentType.describe(ContentType.java:161)
          at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:190)
          at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:360)
          at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:407)
          at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:304)
          at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:318)
          at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:86)
          at org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper$1.getContentDescription(JavaEEEMFArchiveAdapterHelper.java:174)
          at org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper$1.createResource(JavaEEEMFArchiveAdapterHelper.java:200)
          at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandCreateResource(ResourceSetImpl.java:239)
          at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:391)
          at org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper.getResource(JavaEEEMFArchiveAdapterHelper.java:121)
          at org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper.getModelObject(JavaEEEMFArchiveAdapterHelper.java:126)
          at org.eclipse.jst.j2ee.internal.archive.ComponentArchiveLoadAdapter.getModelObject(ComponentArchiveLoadAdapter.java:660)
          at org.eclipse.jst.jee.archive.internal.ArchiveImpl.getModelObject(ArchiveImpl.java:221)
          at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:324)
          at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:304)
          at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:143)
          at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper$ArchiveCache.openArchive(JavaEEBinaryComponentHelper.java:461)
        • locked <0x0ad71290> (a org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper$ArchiveCache)
          at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.openArchive(JavaEEBinaryComponentHelper.java:333)
          at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.getUniqueArchive(JavaEEBinaryComponentHelper.java:322)
          at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.getArchive(JavaEEBinaryComponentHelper.java:315)
          at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.accessArchive(JavaEEBinaryComponentHelper.java:152)
          at org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities.readManifest(J2EEProjectUtilities.java:317)
          at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualArchiveComponent.getManifestClasspath(J2EEModuleVirtualArchiveComponent.java:45)
          at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestClasspath(J2EEModuleVirtualComponent.java:168)
          at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestReferences(J2EEModuleVirtualComponent.java:287)
          at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestReferences(J2EEModuleVirtualComponent.java:282)
          at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualArchiveComponent.getReferences(J2EEModuleVirtualArchiveComponent.java:36)
          at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.update(J2EEComponentClasspathContainer.java:195)
          at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.install(J2EEComponentClasspathContainer.java:327)
          at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathInitializer.initialize(J2EEComponentClasspathInitializer.java:29)
          at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2371)
          at org.eclipse.jdt.internal.core.JavaModelManager$13.run(JavaModelManager.java:2301)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
          at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2317)
          at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1679)
          at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2554)
          at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2562)
          at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1829)
          at org.eclipse.jdt.internal.core.DeltaProcessingState.initializeRoots(DeltaProcessingState.java:229)
          at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:706)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
          at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:775)
          at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4703)
          at org.eclipse.jdt.internal.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:69)
          at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2371)
          at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1684)
          at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2554)
          at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2562)
          at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1862)
          at org.eclipse.jst.jsp.core.taglib.ProjectDescription.ensureUpTodate(ProjectDescription.java:948)
          at org.eclipse.jst.jsp.core.taglib.ProjectDescription.resolve(ProjectDescription.java:1556)
          at org.eclipse.jst.jsp.core.taglib.TaglibIndex.internalResolve(TaglibIndex.java:845)
          at org.eclipse.jst.jsp.core.taglib.TaglibIndex.resolve(TaglibIndex.java:498)
          at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager.getCacheKey(TLDCMDocumentManager.java:684)
          at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager.getCMDocument(TLDCMDocumentManager.java:699)
          at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.enableTags(TLDCMDocumentManager.java:120)
          at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.enableTaglibFromURI(TLDCMDocumentManager.java:110)
          at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(TLDCMDocumentManager.java:399)
          at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processRegionCollection(TLDCMDocumentManager.java:174)
          at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.nodeParsed(TLDCMDocumentManager.java:190)
          at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.fireNodeParsed(XMLSourceParser.java:126)
          at org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser.parseNodes(JSPSourceParser.java:296)
          at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getDocumentRegions(XMLSourceParser.java:164)
          at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser._core_reparse_text(StructuredDocumentReParser.java:309)
          at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.core_reparse(StructuredDocumentReParser.java:708)
          at org.eclipse.jst.jsp.core.internal.parser.JSPReParser.reparse(JSPReParser.java:143)
          at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1284)
          at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel(BasicStructuredDocument.java:2708)
          at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1925)
          at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2414)
          at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set(BasicStructuredDocument.java:2930)
          at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.setDocumentContent(ResourceTextFileBuffer.java:580)
          at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.initializeFileBufferContent(ResourceTextFileBuffer.java:290)
          at org.eclipse.core.internal.filebuffers.ResourceFileBuffer.create(ResourceFileBuffer.java:241)
          at org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:112)
          at org.eclipse.ui.editors.text.TextFileDocumentProvider.createFileInfo(TextFileDocumentProvider.java:557)
          at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:476)
          at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:3991)
          at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:190)
          at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1325)
          at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:165)
          at org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput(StructuredTextEditor.java:1954)
          at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3026)
          at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:458)
          at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:366)
          at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
          at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
          at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2487)
          at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3044)
          at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3071)
          at org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredTextEditor.java:2546)
          at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:799)
          at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
          at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
          at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
          at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
          at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1410)
          at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:944)
          at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
          at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
          at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        • locked <0x0d4021b8> (a org.eclipse.swt.widgets.RunnableLock)
          at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
          at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
          at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
          at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
          at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
          at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        • locked <0x0cf4f058> (a org.eclipse.swt.widgets.RunnableLock)
          at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
          at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
          at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

        "VM Thread" prio=10 tid=0x0086d180 nid=0xbbc runnable

        "VM Periodic Task Thread" prio=10 tid=0x00b7c7c0 nid=0xba8 waiting on condition

        Show
        Eric C added a comment - Here is a dump while hung: Start VM: -Dosgi.requiredJavaVersion=1.5 -Xmx512m -Xms40m -Xmx256m -XX:MaxPermSize=256m -Djava.class.path=C:\eclipse_3.4_p4_dev\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar -os win32 -ws win32 -arch x86 -showsplash C:\eclipse_3.4_p4_dev\\plugins\org.eclipse.platform_3.3.101.v200809111700\splash.bmp -launcher C:\eclipse_3.4_p4_dev\eclipsec.exe -name Eclipsec --launcher.library C:\eclipse_3.4_p4_dev\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll -startup C:\eclipse_3.4_p4_dev\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar 256M -debug -vm C:\Java\jdk1.5.0_14\bin\..\jre\bin\client\jvm.dll -vmargs -Dosgi.requiredJavaVersion=1.5 -Xmx512m -Xms40m -Xmx256m -XX:MaxPermSize=256m -Djava.class.path=C:\eclipse_3.4_p4_dev\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar Install location: file:/c:/eclipse_3.4_p4_dev/ Configuration file: file:/c:/eclipse_3.4_p4_dev/configuration/config.ini loaded Configuration location: file:/c:/eclipse_3.4_p4_dev/configuration/ Framework located: file:/c:/eclipse_3.4_p4_dev/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar Framework classpath: file:/c:/eclipse_3.4_p4_dev/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar Splash location: C:\eclipse_3.4_p4_dev\\plugins\org.eclipse.platform_3.3.101.v200809111700\splash.bmp Debug options: file:/C:/eclipse_3.4_p4_dev/.options not found Time to load bundles: 16 Starting application: 969 Full thread dump Java HotSpot(TM) Client VM (1.5.0_14-b03 mixed mode, sharing): "Thread-6" prio=6 tid=0x04d58680 nid=0xc18 waiting on condition [0x05caf000..0x05cafce8] at java.lang.Thread.sleep(Native Method) at com.bea.workshop.wls.core.j2eelib.LibraryModuleRegistry$LibraryArchiveChangeMonitor.run(LibraryModuleRegistry.java:419) "Thread-4" prio=6 tid=0x04d08008 nid=0x884 runnable [0x05aaf000..0x05aaf9e8] at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.zip.ZipFile.<init>(ZipFile.java:234) at com.bea.workshop.common.util.fileio.ZipUtil.open(ZipUtil.java:219) at com.bea.workshop.common.util.fileio.ManifestUtil.readManifest(ManifestUtil.java:49) at com.bea.workshop.common.util.fileio.ManifestUtil.readManifestEntry(ManifestUtil.java:90) at com.bea.workshop.wls.core.WebLogicServerVersion.detect(WebLogicServerVersion.java:71) at com.bea.workshop.wls.core.WlsRuntimeComponentType.detectVersion(WlsRuntimeComponentType.java:85) at com.bea.workshop.wls.core.server.internal.WeblogicServerRuntime.validate(WeblogicServerRuntime.java:124) at org.eclipse.wst.server.core.internal.Runtime.validate(Runtime.java:64) at org.eclipse.wst.server.core.internal.facets.RuntimeBridge$Stub.validate(RuntimeBridge.java:173) at org.eclipse.wst.common.project.facet.core.runtime.internal.BridgedRuntime.validate(BridgedRuntime.java:99) at org.eclipse.wst.common.project.facet.core.runtime.internal.RuntimeManagerImpl$RuntimeValidationThread.run(RuntimeManagerImpl.java:1192) "Thread-3" prio=6 tid=0x04c8e750 nid=0xa48 in Object.wait() [0x059af000..0x059afa68] at java.lang.Object.wait(Native Method) waiting on <0x0da54c78> (a java.util.LinkedList) at java.lang.Object.wait(Object.java:474) at com.bea.workshop.wls.core.internal.SystemLibrariesContainerImpl$ContainersRefresherThread.getProjectFromQueue(SystemLibrariesContainerImpl.java:466) locked <0x0da54c78> (a java.util.LinkedList) at com.bea.workshop.wls.core.internal.SystemLibrariesContainerImpl$ContainersRefresherThread.run(SystemLibrariesContainerImpl.java:491) "Java indexing" daemon prio=4 tid=0x04bd5da0 nid=0x65c in Object.wait() [0x058af000..0x058afae8] at java.lang.Object.wait(Native Method) waiting on <0x0d592d38> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager) at java.lang.Object.wait(Object.java:474) at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:371) locked <0x0d592d38> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager) at java.lang.Thread.run(Thread.java:595) "Thread-2" prio=6 tid=0x03b039a8 nid=0x4c4 in Object.wait() [0x0510f000..0x0510fb68] at java.lang.Object.wait(Native Method) waiting on <0x0d4021b8> (a org.eclipse.swt.widgets.RunnableLock) at java.lang.Object.wait(Object.java:474) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:185) locked <0x0d4021b8> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4251) at org.eclipse.ui.internal.StartupThreading.runWithThrowable(StartupThreading.java:85) at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:938) at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:3131) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:2106) at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:3357) at org.eclipse.ui.internal.Workbench.access$30(Workbench.java:3299) at org.eclipse.ui.internal.Workbench$53.run(Workbench.java:2091) at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1804) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:2089) at org.eclipse.ui.internal.Workbench.access$28(Workbench.java:2060) at org.eclipse.ui.internal.Workbench$48.run(Workbench.java:1923) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1867) at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183) at org.eclipse.ui.application.WorkbenchAdvisor$1.run(WorkbenchAdvisor.java:781) "Thread-1" prio=6 tid=0x03a13f28 nid=0xf64 in Object.wait() [0x0480f000..0x0480fbe8] at java.lang.Object.wait(Native Method) waiting on <0x0cf4f058> (a org.eclipse.swt.widgets.RunnableLock) at java.lang.Object.wait(Object.java:474) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:185) locked <0x0cf4f058> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4251) at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1356) at org.eclipse.ui.internal.Workbench.access$32(Workbench.java:1278) at org.eclipse.ui.internal.Workbench$57.run(Workbench.java:2281) "Worker-0" prio=6 tid=0x03899da8 nid=0xb74 in Object.wait() [0x0469f000..0x0469fc68] at java.lang.Object.wait(Native Method) waiting on <0x0c125220> (a org.eclipse.core.internal.jobs.WorkerPool) at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185) locked <0x0c125220> (a org.eclipse.core.internal.jobs.WorkerPool) at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:217) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51) "Start Level Event Dispatcher" daemon prio=6 tid=0x0386ab40 nid=0xf84 in Object.wait() [0x03eef000..0x03eefce8] at java.lang.Object.wait(Native Method) waiting on <0x0c112190> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread) at java.lang.Object.wait(Object.java:474) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:377) locked <0x0c112190> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:317) "Framework Event Dispatcher" daemon prio=6 tid=0x038b74a8 nid=0x6c4 in Object.wait() [0x03def000..0x03defd68] at java.lang.Object.wait(Native Method) waiting on <0x0c1121f8> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread) at java.lang.Object.wait(Object.java:474) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:377) locked <0x0c1121f8> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:317) "State Data Manager" daemon prio=6 tid=0x00b91f18 nid=0xdd0 waiting on condition [0x03cef000..0x03cef9e8] at java.lang.Thread.sleep(Native Method) at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297) at java.lang.Thread.run(Thread.java:595) "Low Memory Detector" daemon prio=6 tid=0x00b7b560 nid=0xabc runnable [0x00000000..0x00000000] "CompilerThread0" daemon prio=10 tid=0x00b7a140 nid=0xc90 waiting on condition [0x00000000..0x0339f8c8] "Signal Dispatcher" daemon prio=10 tid=0x00b4f570 nid=0xa7c waiting on condition [0x00000000..0x00000000] "Finalizer" daemon prio=8 tid=0x00b4c2d8 nid=0xfa4 in Object.wait() [0x0319f000..0x0319fc68] at java.lang.Object.wait(Native Method) waiting on <0x0be79938> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120) locked <0x0be79938> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x00b4ae58 nid=0x768 in Object.wait() [0x0309f000..0x0309fce8] at java.lang.Object.wait(Native Method) waiting on <0x0be799c0> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:474) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) locked <0x0be799c0> (a java.lang.ref.Reference$Lock) "main" prio=6 tid=0x0086fce8 nid=0xf30 runnable [0x0012d000..0x0012fc78] at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) locked <0x0ad70928> (a java.net.PlainSocketImpl) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at sun.net.www.http.HttpClient.openServer(HttpClient.java:523) locked <0x0ad709c8> (a sun.net.www.http.HttpClient) at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.http.HttpClient.New(HttpClient.java:321) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934) locked <0x0ad70a68> (a sun.net.www.protocol.http.HttpURLConnection) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at org.apache.directory.studio.apacheds.configuration.model.v154.ServerXmlIOV154.isValid(ServerXmlIOV154.java:155) at org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationContentDescriber.isValid(ApacheDSConfigurationContentDescriber.java:152) at org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationContentDescriber.describe(ApacheDSConfigurationContentDescriber.java:67) at org.eclipse.core.internal.content.ContentType.describe(ContentType.java:161) at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:190) at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:360) at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:407) at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:304) at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:318) at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:86) at org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper$1.getContentDescription(JavaEEEMFArchiveAdapterHelper.java:174) at org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper$1.createResource(JavaEEEMFArchiveAdapterHelper.java:200) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandCreateResource(ResourceSetImpl.java:239) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:391) at org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper.getResource(JavaEEEMFArchiveAdapterHelper.java:121) at org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper.getModelObject(JavaEEEMFArchiveAdapterHelper.java:126) at org.eclipse.jst.j2ee.internal.archive.ComponentArchiveLoadAdapter.getModelObject(ComponentArchiveLoadAdapter.java:660) at org.eclipse.jst.jee.archive.internal.ArchiveImpl.getModelObject(ArchiveImpl.java:221) at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:324) at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:304) at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:143) at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper$ArchiveCache.openArchive(JavaEEBinaryComponentHelper.java:461) locked <0x0ad71290> (a org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper$ArchiveCache) at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.openArchive(JavaEEBinaryComponentHelper.java:333) at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.getUniqueArchive(JavaEEBinaryComponentHelper.java:322) at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.getArchive(JavaEEBinaryComponentHelper.java:315) at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.accessArchive(JavaEEBinaryComponentHelper.java:152) at org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities.readManifest(J2EEProjectUtilities.java:317) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualArchiveComponent.getManifestClasspath(J2EEModuleVirtualArchiveComponent.java:45) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestClasspath(J2EEModuleVirtualComponent.java:168) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestReferences(J2EEModuleVirtualComponent.java:287) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestReferences(J2EEModuleVirtualComponent.java:282) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualArchiveComponent.getReferences(J2EEModuleVirtualArchiveComponent.java:36) at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.update(J2EEComponentClasspathContainer.java:195) at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.install(J2EEComponentClasspathContainer.java:327) at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathInitializer.initialize(J2EEComponentClasspathInitializer.java:29) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2371) at org.eclipse.jdt.internal.core.JavaModelManager$13.run(JavaModelManager.java:2301) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2317) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1679) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2554) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2562) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1829) at org.eclipse.jdt.internal.core.DeltaProcessingState.initializeRoots(DeltaProcessingState.java:229) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:706) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:775) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4703) at org.eclipse.jdt.internal.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:69) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2371) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1684) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2554) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2562) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1862) at org.eclipse.jst.jsp.core.taglib.ProjectDescription.ensureUpTodate(ProjectDescription.java:948) at org.eclipse.jst.jsp.core.taglib.ProjectDescription.resolve(ProjectDescription.java:1556) at org.eclipse.jst.jsp.core.taglib.TaglibIndex.internalResolve(TaglibIndex.java:845) at org.eclipse.jst.jsp.core.taglib.TaglibIndex.resolve(TaglibIndex.java:498) at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager.getCacheKey(TLDCMDocumentManager.java:684) at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager.getCMDocument(TLDCMDocumentManager.java:699) at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.enableTags(TLDCMDocumentManager.java:120) at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.enableTaglibFromURI(TLDCMDocumentManager.java:110) at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(TLDCMDocumentManager.java:399) at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processRegionCollection(TLDCMDocumentManager.java:174) at org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.nodeParsed(TLDCMDocumentManager.java:190) at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.fireNodeParsed(XMLSourceParser.java:126) at org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser.parseNodes(JSPSourceParser.java:296) at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getDocumentRegions(XMLSourceParser.java:164) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser._core_reparse_text(StructuredDocumentReParser.java:309) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.core_reparse(StructuredDocumentReParser.java:708) at org.eclipse.jst.jsp.core.internal.parser.JSPReParser.reparse(JSPReParser.java:143) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1284) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel(BasicStructuredDocument.java:2708) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1925) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2414) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set(BasicStructuredDocument.java:2930) at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.setDocumentContent(ResourceTextFileBuffer.java:580) at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.initializeFileBufferContent(ResourceTextFileBuffer.java:290) at org.eclipse.core.internal.filebuffers.ResourceFileBuffer.create(ResourceFileBuffer.java:241) at org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:112) at org.eclipse.ui.editors.text.TextFileDocumentProvider.createFileInfo(TextFileDocumentProvider.java:557) at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:476) at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:3991) at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:190) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1325) at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:165) at org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput(StructuredTextEditor.java:1954) at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3026) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:458) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:366) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2487) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3044) at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3071) at org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredTextEditor.java:2546) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:799) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263) at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1410) at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:944) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133) locked <0x0d4021b8> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133) locked <0x0cf4f058> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) "VM Thread" prio=10 tid=0x0086d180 nid=0xbbc runnable "VM Periodic Task Thread" prio=10 tid=0x00b7c7c0 nid=0xba8 waiting on condition
        Hide
        Stefan Seelmann added a comment -

        Hi Eric,

        thanks for the thread dump. You are right, DirStudio causes the hang, see the snippet below. When opening your XML file each XML-Editor is asked if it can handle the XML file. The ApacheDS Configuration plugin then tries to parse the XML file and the parser tries to lookup the DTD or schema that is defined in your XML file from internet. It seems you don't have internet connection. We have to configure the XML parser to not download DTDs or XML schemas from internet.

        You could try the following workarounds:

        • Enable internet connection, specify a proxy within Eclipse if necessary
        • If you don't use the "ApacheDS Configuration" plugin you could disable or uninstall it.

        ----------------------------------------
        "main" prio=6 tid=0x0086fce8 nid=0xf30 runnable [0x0012d000..0x0012fc78]
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        ...
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)

        • locked <0x0ad70a68> (a sun.net.www.protocol.http.HttpURLConnection)
          at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)
          ...
          at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
          at org.dom4j.io.SAXReader.read(SAXReader.java:465)
          at org.dom4j.io.SAXReader.read(SAXReader.java:343)
          at org.apache.directory.studio.apacheds.configuration.model.v154.ServerXmlIOV154.isValid(ServerXmlIOV154.java:155)
          at org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationContentDescriber.isValid(ApacheDSConfigurationContentDescriber.java:152)
          at org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationContentDescriber.describe(ApacheDSConfigurationContentDescriber.java:67)
          ----------------------------------------
        Show
        Stefan Seelmann added a comment - Hi Eric, thanks for the thread dump. You are right, DirStudio causes the hang, see the snippet below. When opening your XML file each XML-Editor is asked if it can handle the XML file. The ApacheDS Configuration plugin then tries to parse the XML file and the parser tries to lookup the DTD or schema that is defined in your XML file from internet. It seems you don't have internet connection. We have to configure the XML parser to not download DTDs or XML schemas from internet. You could try the following workarounds: Enable internet connection, specify a proxy within Eclipse if necessary If you don't use the "ApacheDS Configuration" plugin you could disable or uninstall it. ---------------------------------------- "main" prio=6 tid=0x0086fce8 nid=0xf30 runnable [0x0012d000..0x0012fc78] at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) ... at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934) locked <0x0ad70a68> (a sun.net.www.protocol.http.HttpURLConnection) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973) ... at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at org.apache.directory.studio.apacheds.configuration.model.v154.ServerXmlIOV154.isValid(ServerXmlIOV154.java:155) at org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationContentDescriber.isValid(ApacheDSConfigurationContentDescriber.java:152) at org.apache.directory.studio.apacheds.configuration.ApacheDSConfigurationContentDescriber.describe(ApacheDSConfigurationContentDescriber.java:67) ----------------------------------------
        Hide
        Eric C added a comment -

        Wonderful workaround!! We are only using the LDAP Browser part.

        Uninstalling the Apache DS Configuration component did not do it.
        Uninstalling the Apache DS as well as the Configuration components did the trick.

        I found no way to turn off just Apache DS without uninstalling the components.

        Also, we have some heavy-duty internet security here, so widening the connection is probably not feasible.

        And thanks for your time Stefan!!!

        Show
        Eric C added a comment - Wonderful workaround!! We are only using the LDAP Browser part. Uninstalling the Apache DS Configuration component did not do it. Uninstalling the Apache DS as well as the Configuration components did the trick. I found no way to turn off just Apache DS without uninstalling the components. Also, we have some heavy-duty internet security here, so widening the connection is probably not feasible. And thanks for your time Stefan!!!
        Hide
        Stefan Seelmann added a comment -
        Show
        Stefan Seelmann added a comment - Fixed in trunk: http://svn.apache.org/viewvc?rev=748882&view=rev
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Apache Directory Studio version 1.4.0 has been released.

        Show
        Pierre-Arnaud Marcelot added a comment - Apache Directory Studio version 1.4.0 has been released.

          People

          • Assignee:
            Stefan Seelmann
            Reporter:
            Eric C
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development