- This topic has 10 replies, 3 voices, and was last updated 21 years ago by Scott Anderson.
-
AuthorPosts
-
Martin_KerstenMemberI 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
Martin_KerstenMemberI’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 🙁
Scott AndersonParticipantWhen 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
Martin_KerstenMemberWell 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
Scott AndersonParticipantmartin,
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
Martin_KerstenMemberHere 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.859The restart happend after I killed the eclipse process and restarted it.
The time between abort of xdoclet failed.
Scott AndersonParticipantMartin,
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
Martin_KerstenMemberBy 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
support-michaelKeymasterMartin,
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
Martin_KerstenMemberThanks for your support. Go ahead and make a great tool even better, I will enjoy using it for sure… .
Thank you all!
Scott AndersonParticipantMartin,
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 -
AuthorPosts