-->
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.  [ 4 posts ] 
Author Message
 Post subject: turn off dtd validation?
PostPosted: Fri Feb 10, 2006 9:23 pm 
Newbie

Joined: Fri Feb 10, 2006 9:20 pm
Posts: 3
is there a way to disable dtd validation? one of the servers i deploy to does not have access to the internet. i wanted to change the dtd to SYSTEM as opposed to PUBLIC, but i really don't have the time (project-wise) to find a place to put it on the server... etc. etc. etc.

thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 11, 2006 7:50 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
hibernate never access the internet to verify the DTD if the dtd declaration is correct

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 14, 2006 2:19 pm 
Newbie

Joined: Fri Feb 10, 2006 9:20 pm
Posts: 3
Well the problem I am having is that in one environment, I am getting this:

org.dom4j.DocumentException: Connection timed out Nested exception: Connection timed out

from another post I saw, it looks like my dtd is trying to validate if it can't find the correct dtd. That makes sense, until i factor in the following...

The same code (war file) deployed on the exact same distribution of jboss on a different server works....

In other words:

server1 + war1 + jboss1 = works
server2 + war1 + jboss1 = doesn't work

Any ideas where to look?

Any idea why hibernate would act this way?

Thanks in Advance!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 15, 2006 6:35 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
if you use the wrong dtd..

_________________
Max
Don't forget to rate


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