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.  [ 5 posts ] 
Author Message
 Post subject: hibernate.sourceforge.net problem!
PostPosted: Tue Feb 03, 2009 5:48 am 
Newbie

Joined: Tue Feb 03, 2009 5:43 am
Posts: 3
Hi all,
sorry for my english.

It's normally?

Code:
# ping hibernate.sourgeforce.net
PING hibernate.sourgeforce.net (208.73.210.121) 56(84) bytes of data.
From 10.10.11.152 icmp_seq=1 Destination Host Unreachable


my mapping XML files try to connect "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd" but the result is:

Code:
Caused by: org.hibernate.HibernateException: Could not parse configuration: /hibernate.cfg.xml
        at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1500)
        at org.hibernate.cfg.Configuration.configure(Configuration.java:1434)
        at org.hibernate.cfg.Configuration.configure(Configuration.java:1420)
        at xaltia.toolkit.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:39)
        ... 25 more
Caused by: org.dom4j.DocumentException: Connection refused Nested exception: Connection refused
        at org.dom4j.io.SAXReader.read(SAXReader.java:484)
        at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1490)


with firefox: http://hibernate.sourceforge.net/hibern ... on-3.0.dtd
result is a blank screen!!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 03, 2009 9:05 am 
Newbie

Joined: Tue Feb 03, 2009 5:43 am
Posts: 3
sorry, not blank screen

(it is in HTML source)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 03, 2009 9:41 am 
Regular
Regular

Joined: Wed Oct 15, 2008 6:59 am
Posts: 103
Location: Chennai
ciao friend
dtd reference is just the namespace. it's not try to connect the dtd through net.

if u feel the problem is due that connection refused, use local reference to the dtd

place the following line below the xml root element.
<!DOCTYPE hibernate-mapping SYSTEM "E:\hibernate-mapping-3.0.dtd">
place the dtd file in 'E' drive.

_________________
If u feel it will help you, don't forget to rate me....


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 03, 2009 10:52 am 
Newbie

Joined: Tue Feb 03, 2009 5:43 am
Posts: 3
ciao Madan :)

thanks for the answer, i solved by your way

but is it normally this???

Code:
# ping hibernate.sourgeforce.net
PING hibernate.sourgeforce.net (208.73.210.121) 56(84) bytes of data.
From 10.10.11.152 icmp_seq=1 Destination Host Unreachable


Is it my problem? or is it a known issue??

i have to change ALL mapping xml files and hibernate configuration files!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2009 1:26 am 
Regular
Regular

Joined: Wed Oct 15, 2008 6:59 am
Posts: 103
Location: Chennai
The string in a namespace definition is just a string. Yes, these
strings look like URLs, but they're not. You could define xmlns:addr="mike" and that would work just as well. The only thing that's important about the namespace string is that it's unique; that's why most namespace definitions look like URLs. The XML parser does not go to http://www.zyx.com/books/ to search for a DTD or schema, it simply uses that text as a string. It's confusing, but that's how namespaces work.

This is the String encoded in the article 'Introduction to XML' by Doug Tidwell (dtidwell@us.ibm.com),XML Evangelist,IBM. It's available in IBM developers site.

Plz take a view this article.

_________________
If u feel it will help you, don't forget to rate me....


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