Bug 779284 (SOA-1672) - esb-juddi-orm.xml contains invalid schemaLocation attribute contents
Summary: esb-juddi-orm.xml contains invalid schemaLocation attribute contents
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1672
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Configuration, jUDDI - within SOA
Version: 5.0.0 ER4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 5.0.0 GA,5.0.0 ER5
Assignee: Kevin Conner
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-04 13:07 UTC by Jiri Pechanec
Modified: 2009-12-14 04:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-14 04:59:17 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1672 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.