wood burning stoves 2.0*
The moose likes Websphere and the fly likes Hibernate WSAD configuration problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Hibernate WSAD configuration problem" Watch "Hibernate WSAD configuration problem" New topic
Author

Hibernate WSAD configuration problem

kiranreddy reddy
Greenhorn

Joined: Jan 02, 2006
Posts: 11
I was using Hibernate on Eclipse and it everything was fine, but when I moved to WSAD the same code, I had a problem. It show the error that it is unable to connect to host:hibernate.sourceforge.net,in hibernate.cfg.xml. So it is not able to read the DTD and not parse the xml file.

I dont have any clue why it is happening, Also in WSAD I checked the project properties and tried to disable DTD validation and stuff, but nothing helped

If anyone has any idea why this can happen, plz post ur ideas

Thanks
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Not really a Hibernate question. Perhaps someone in the WebSphere forum will know how to configure WSAD to do this so I'll move it there.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

You need a connection to the Internet when the files are validated. If you connect through a proxy server then use the menu sequence to tell WSAD about it: Window, Preferences, Internet, Proxy Settings. You will have to make some non-significant change to get the files re-validated (e.g. insert and delete a blank). It looks to me like WSAD caches these DTDs, as I had the problem when I started using Hibernate but now it doesn't happen to me any more.
jeroen dijkmeijer
Ranch Hand

Joined: Sep 26, 2003
Posts: 131
You may also store the dtd's at your local drive some where,
go to windows->preferences->xml->User specified entries
or edit directly the .plugins file:


regards
[ January 09, 2006: Message edited by: jeroen dijkmeijer ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate WSAD configuration problem