geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Collins <>
Subject RE: jar.xml files
Date Tue, 10 Mar 2009 16:29:28 GMT
Here is what my ejb-jar.xml file looks like

<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns:xsi="" xmlns=""
xmlns:ejb="" xsi:schemaLocation="" version="3.0">
Secondenterprise </display-name>

From: Kevan Miller []
Sent: Tuesday, March 10, 2009 8:32 AM
Subject: Re: jar.xml files

On Mar 10, 2009, at 12:12 AM, Russell Collins wrote:

I am having an issue with the ejb-jar.xml and openejb-jar.xml files.  When I don't add anything
to these files, they have no errors.  However, when I add an element (in this case <enterprise-beans>)
I get the following errors:

[severity=ERROR,message=unexpected element (uri:"", local:"enterprise-beans"). Expected elements
are <{}ejb-ql-compiler-factory>,<{}service>,<{}message-destination>,<{}db-syntax-factory>,<{}security>,<{}environment>,<{}persistence>,<{}cmp-connection-factory>,<{}relationships>,<{}gbean>,<{}enterprise-beans>,<{}enforce-foreign-key-constraints>,<{}security>,locator=[node=null,object=null,url=null,line=11,col=24,offset=-1]]

Looks like your enterprise-beans element is in the wrong xml namespace. What does your plan
look like?


View raw message