-->
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: Problem Reading Mapping Files using Resin
PostPosted: Thu Mar 04, 2004 6:34 am 
Newbie

Joined: Wed Jan 14, 2004 11:29 am
Posts: 19
I've created a web application using Hibernate and Spring. My development environment uses JBoss where everything works OK, but uploading the same web application to Resin causes the error shown at the end of this message.

Having looked around the web this appears to be a problem with the XML parser but I cannot find the solution to the problem.

Can anyone help.................


Error:

Caused by: net.sf.hibernate.MappingException: org.dom4j.DocumentException:
Validation not supported for XMLReader: com.caucho.xml.Xml@201a41 Nested
exception: http://xml.org/sax/features/validation Nested exception: Validation
not supported for XMLReader: com.caucho.xml.Xml@201a41 Nested exception:
http://xml.org/sax/features/validation
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:290)
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:304)
... 24 more
Caused by: org.dom4j.DocumentException: Validation not supported for XMLReader:
com.caucho.xml.Xml@201a41 Nested exception: http://xml.org/sax/features/validation
Nested exception: Validation not supported for XMLReader: com.caucho.xml.Xml@201a41
Nested exception: http://xml.org/sax/features/validation

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 05, 2004 4:40 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
try to put xerces in your application cp.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 05, 2004 6:23 pm 
Newbie

Joined: Wed Jan 14, 2004 11:29 am
Posts: 19
I did find a message about this suggesting the same thing (http://forum.hibernate.org/viewtopic.ph ... ight=resin)

This didn't seem to fix the problem, not sure why!

Do you know if it's possible to change Hibernates XML parser, and if so would this fix the problem?


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.