Bug 779284 (SOA-1672)

Summary: esb-juddi-orm.xml contains invalid schemaLocation attribute contents
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Jiri Pechanec <jpechane>
Component: Configuration, jUDDI - within SOAAssignee: Kevin Conner <kevin.conner>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0.0 ER4   
Target Milestone: ---   
Target Release: 5.0.0 GA, 5.0.0 ER5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1672
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-14 04:59:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Pechanec 2009-12-04 13:07:31 UTC
Date of First Response: 2009-12-04 08:13:14
project_key: SOA

There is a warning in the log file during startup

2009-12-04 12:29:51,326 WARN  [org.hibernate.util.XMLHelper] (main) Warning parsing XML: XML InputStream(5) SchemaLocation: schemaLocation value = 'http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd' must have even number of URI's.

The problem is caused by the root elemnt in config file esb-juddi-orm.xml

<entity-mappings
  xmlns="http://java.sun.com/xml/ns/persistence/orm"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd"
  version="1.0">

Namespace name http://java.sun.com/xml/ns/persistence/orm should be there only once in the schemaLocation attribute

Comment 1 Kevin Conner 2009-12-04 13:13:14 UTC
schemaLocation should read "http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"


Comment 2 Kevin Conner 2009-12-04 13:14:16 UTC
Link: Added: This issue depends JBESB-3023


Comment 3 Kevin Conner 2009-12-04 13:16:57 UTC
Fixed in the project, will be in next merge.

Comment 4 Jiri Pechanec 2009-12-14 04:59:17 UTC
Verified in ER5