-->
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: Error messages using ehcache
PostPosted: Thu May 06, 2004 4:19 pm 
Beginner
Beginner

Joined: Tue Sep 09, 2003 5:28 pm
Posts: 33
Location: Cincinnati, OH
Hi all,

I am using Hibernate2.1.jar in my project, and running it both in Websphere and Jboss.

I used ehcache by putting <cache usage="read-only"/> inside my .hbm.xml files. When I deploy .ear file on Websphere, it works fine, but if I deploy the same .ear file on Jboss, it will throw out the error messages:

[net.sf.hibernate.cfg.Configuration] Mapping resource: com/dao/XXX.hbm.xml

[net.sf.hibernate.util.XMLHelper] Error parsing XML: XML InputStream(8) Element type "cache" must be declared.

So anyone had the same problem before?

Thanks so much for the help!


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.