-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate/WebLogic 9 DTD problem
PostPosted: Thu Jan 18, 2007 12:01 pm 
Newbie

Joined: Thu Jan 18, 2007 11:41 am
Posts: 2
I have a problem with an application that uses Hibernate (3.2.1) and during initialization on our WebLogic Server (9.2.1) it throws the following exception:

java.rmi.RemoteException: Error in ejbCreate:; nested exception is:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [hibernate.cfg.xml]; nested exception is java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'hibernate.sourceforge.net', port: '80'


This problem would arise because Hibernate wants to validate the hibernate.cfg.xml file against the DTD and as the WebLogic server sits behind a firewall there is no access to the internet.

I did read the Hibernate FAQ, saying that I should change to another xml parser (not an option and I think that WLS uses the latest parser from JDK5 and that should be good enough) or change the DOCTYPE declaration in my configuration file to SYSTEM ID instead of PUBLIC which is the default. The later, is that the way to go? Has anybody out there dealt with this problem already and has a neat solution?

Thanks,


Top
 Profile  
 
 Post subject: It is working now
PostPosted: Mon Jan 22, 2007 6:24 am 
Newbie

Joined: Thu Jan 18, 2007 11:41 am
Posts: 2
did some configuration workarounds..


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.