-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate Mapping parsing - validation not supported!
PostPosted: Thu Jan 06, 2011 3:28 pm 
Newbie

Joined: Fri Jan 12, 2007 1:31 pm
Posts: 3
Hi,
I have an application running in Oracle Application Server on Oracle 10g.
It has no problems in the in-house environment but on the client's production environment I'm getting the error below.
Any help in resolving this will be greatly appreciated.
I have to note that the application is able to create another hibernate session factory without a problem using a superset of the config files.

Caused by: org.hibernate.MappingException: Could not parse mapping document in input stream
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:431)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:482)
... 32 more
Caused by: org.dom4j.DocumentException: Validation not supported for XMLReader: oracle.xml.parser.v2.SAXParser@12cc460 Nested exception: SAX feature 'http://xml.org/sax/features/validation' not supported. Nested exception: Validation not supported for XMLReader: oracle.xml.parser.v2.SAXParser@12cc460 Nested exception: SAX feature 'http://xml.org/sax/features/validation' not supported.
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:422)
... 33 more
11/01/06 08:47:55 %%%% Error Creating Local SessionFactory %%%%
11/01/06 08:47:55 Rebuilding Session Factory.


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

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.