[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655255#action_12655255
 ] 

Stefan Seelmann commented on DIRSTUDIO-436:
-------------------------------------------

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)
 
----------------------------------------

> Eclipse Hangs on Startup
> ------------------------
>
>                 Key: DIRSTUDIO-436
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-436
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.2.0, 1.3.0
>         Environment: Windows XP Pro
> Eclipse Ganymede
> Directory Studio 1.3
>            Reporter: Eric C
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to