-->
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.  [ 3 posts ] 
Author Message
 Post subject: Jboss is down / DTD Lookup Fails
PostPosted: Wed Jan 19, 2011 10:34 am 
Newbie

Joined: Sat Jul 24, 2010 6:17 pm
Posts: 8
Hello friends -

Hibernate 2 + 3 mixed application running on Tomcat 5. Application has been generally stable for several years. This morning, anyone who needed to rebuild their session factory started bombing out. Log files indicate a dom4j.DocumentException

"Error on line 1 of document http://www.jboss.org/dtd/hibernate/hibe ... on-2.0.dtd: The markup declarations contained or pointed to by the document type delcaration contained or pointed to by the document type declaration must be well-formed"

If I goto http://www.jboss.org/dtd/hibernate/hibe ... on-2.0.dtd, I get a Maintenance message from the Jboss guys about how they'll be back up and running a few hours ago.

That being said, I've tried to replace references to hibernate-mapping-#.0.dtd to the local filesystem to no avail. I have replaced references in my application hibernate.cfg.xml to local and verified the path. I also have opened up hibernate2.jar and hibernate3.jar, exploded out hibernate-mapping-#.0.dtd and hibernate-configuration-#.0.dtd, replaced with local references, and pushed back into the jar files without any love.

I'm not clear where else I can monkey with files to have my application think it doesn't need to talk to hibernate.sourceforge.org. Can anyone help? Also, is anyone else having this problem? I'm thinking I would have run into this problem considering how long the application has been running.

Thanks.

brian

[Note: accidentally posted to nHibernate Users first. Sorry for the crosspost]


Top
 Profile  
 
 Post subject: Re: Jboss is down / DTD Lookup Fails
PostPosted: Wed Jan 19, 2011 4:10 pm 
Newbie

Joined: Sat Jul 24, 2010 6:17 pm
Posts: 8
Hello friends -

Solved this before jboss returned; it looks like the .jar file version of the .dtd was being skipped due to a mismatch dtd declaration in one file; i.e., hibernate3 trying to load a .hbm.xml file with a -2.0.dtd defintion. FYI for anyone who runs into this in the future.

brian


Top
 Profile  
 
 Post subject: Re: Jboss is down / DTD Lookup Fails
PostPosted: Thu Jan 20, 2011 8:51 am 
Newbie

Joined: Sat Jun 11, 2005 8:35 am
Posts: 14
What is the syntax that you used to fix this problem and point to the local file system copy of the dtd? Even with the site back up - I am getting validation errors in Eclipse builds - indicating that there is an error with the dtd file now. So it would be great to eliminate this dependency altogether.

_________________
Regards,

Scott Jacobs
srj@mindspring.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.