• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate WSAD configuration problem

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic