• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate WSAD configuration problem

 
kiranreddy reddy
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Clapham
Sheriff
Posts: 21152
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic