facebook

[XDoclet] Validation of jboss.xml hangs

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #199871 Reply

    I am having trouble with XDoclet right now. The validation of the jboss.xml hangs and the action can’t be canceled. Therefore myEclipse hangs too (stuck in the action). Therefore I can’t continue to work anyhow :(.

    Therefore I want to know why and how this is happen… .
    I guess that the dtd for the xml validation is fetched from within jboss.org and I also guess these files are down (server prob or something). Therefore xdoclet stuck(Who programmed that behaviour?).

    Is it a correct guess? How can I change it/repair it?

    Thanks

    #199872 Reply

    I’ve checked jboss.org. It’s not reachable. So I guess I am right about the problem… . Is there any way to use a local version? Like a dtd file of the local jboss installation? I dont like to stop my work right now 🙁

    #199873 Reply

    Scott Anderson
    Participant

    When you’re not on the network you should turn off XML validation under the XML editor’s preference page. That should take care of the problem because the DTD will no longer be requested.

    –Scott
    MyEclipse Support

    #199874 Reply

    Well the problem is, the validation function is not well designed. You can’t abort it, if the server is not responding. It idles for more then 30min (after I hit abort). Killing the process and restarting eclipse wont work cause of autobuild. I am not that fast to stop it before it reaches the validation part.

    But I also have the required dtds on disc (they are shipped with jboss). Therefore I would like to replace the dtds… .

    Thanks

    #199875 Reply

    Scott Anderson
    Participant

    martin,

    if the server is not responding. It idles for more then 30min (after I hit abort).

    That’s really strange. I’ve tested this functionality by removing my network card and the timeout is typically less than 30 seconds, not minutes. I’ve never seen a machine wait that long for a network connection. Is there anything in the Eclipse log file at <workspace>/.metadata/.log?

    –Scott
    MyEclipse Support

    #199880 Reply

    Here is what the log says:

    !ENTRY XMLBuilderPlugin 4 0 Nov 07, 2003 22:19:05.250
    java.net.ConnectException: Connection timed out: connect

    !ENTRY XMLBuilderPlugin 4 0 Nov 07, 2003 22:19:26.359
    java.net.ConnectException: Connection timed out: connect

    !ENTRY XMLBuilderPlugin 4 0 Nov 07, 2003 22:19:53.218
    java.net.ConnectException: Connection timed out: connect

    After that it seamed to broke. Nothing follows but a restart at
    !ENTRY XMLBuilderPlugin 4 0 Nov 07, 2003 22:36:26.859

    The restart happend after I killed the eclipse process and restarted it.
    The time between abort of xdoclet failed.

    #199881 Reply

    Scott Anderson
    Participant

    Martin,

    What I don’t under stand is this statement:

    It idles for more then 30min (after I hit abort).

    In the log entry I see connection timeouts that are 30 seconds apart, not 30 minutes. This would be normal, although inconvenient, if you’re not connected to a network. The best solution is to allow the build to finish, taking 30 seconds on each XML file, and then turn off XML validation on the XML editor’s preference page.

    In an upcoming version of the XML editor we plan to implement local DTD caching to eliminate this issue.

    –Scott
    MyEclipse Support

    #199898 Reply

    By idle I mean, the cpu does nothing (99% idle state). The dialog is still visible telling me the validation of jboss.xml takes place. After hitting abort it does nothing too. It just waits for me to do a reset cause its a modal dialog (aka blocking all other eclipse-windows).

    The caching would be fine 😉

    Thanks

    #199900 Reply

    support-michael
    Keymaster

    Martin,

    We agree with you that lack of responsiveness and loss of UI control is annoying and needs to be addressed ASAP. It’s on our list of issues to resolve ASAP.

    Michael
    MyEclipse Support

    #199963 Reply

    Thanks for your support. Go ahead and make a great tool even better, I will enjoy using it for sure… .

    Thank you all!

    #199969 Reply

    Scott Anderson
    Participant

    Martin,

    Thank you for providing us feedback and also for helping other users with their porting questions or other stuff. Any time I’m not working on support I’m working on improving the product. 🙂

    The November release looks like it will have some nice enhancements for Struts and XML editing…

    –Scott
    MyEclipse Support

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: [XDoclet] Validation of jboss.xml hangs

You must be logged in to post in the forum log in