]
Daniel Bevenius closed JBESB-3756.
----------------------------------
Resolution: Done
Committed revision 37933.
Hibernate/juddi error upon deployment in JBoss AS 6.1.0.Final
-------------------------------------------------------------
Key: JBESB-3756
URL:
https://issues.jboss.org/browse/JBESB-3756
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Deployment
Affects Versions: 4.10
Reporter: Daniel Bevenius
Assignee: Daniel Bevenius
Priority: Optional
Fix For: 4.11
Upon start up of JBoss ESB 4.10 on JBoss AS 6.1.0.Final the following error is logged in
the console:
{code}
08:57:58,495 INFO [Configuration] Reading mappings from resource :
META-INF/esb-juddi-orm.xml
08:57:58,513 ERROR [ErrorLogger] Error parsing XML (5) : cvc-complex-type.3.1: Value
'1.0' of attribute 'version' of element 'entity-mappings' is not
valid with respect to the corresponding attribute use. Attribute 'version' has a
fixed value of '2.0'.
{code}
The mapping error is really just a warning that hibernate could not parse the mapping
file with JPA 2.0, but hibernate will fallback to 1.0 and things will work as expected.
Details can be found
[
here|http://lists.jboss.org/pipermail/hibernate-dev/2011-May/006483.html]
A possible solution for this is to have a different esb-juddi-orm.xml for as6 which will
be used when installing to AS 6.1.0.Final.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: