• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Entity Bean Deployment in jboss-5.1

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to deploy an Entity Bean in jboss-5.1 but getting error like Failed to parse '<entity>', below are my ejb-jar.xml and jboss.xml code:
ejb-jar.xml:

<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" version="3.0">
<display-name>Emagia Enterprise</display-name>
<enterprise-beans>
<entity id="Entity_16">
<description>Strategy Identifiers Entity Bean ( BMP )</description>
<display-name>StrategyIdentifers</display-name>
<ejb-name>StrategyIdentifers_EB</ejb-name>
<home>emagia.ejb.StrategyIdentifersHome</home>
<remote>emagia.ejb.StrategyIdentifersRemote</remote>
<ejb-class>emagia.ejb.StrategyIdentifers_EB</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<primkey-field>id</primkey-field>
</entity>
</enterprise-beans>
</ejb-jar>

jboss.xml :

<?xml version="1.0" encoding="UTF-8"?>
<jboss>
<enterprise-beans>
<entity>
<ejb-name>StrategyIdentifers_EB</ejb-name>
<jndi-name>emagia/ejb/StrategyIdentifersHome</jndi-name>
</entity>
</enterprise-beans>
</jboss>

Please help me to resolve this.

Regards
Jagan
Thank You.
 
reply
    Bookmark Topic Watch Topic
  • New Topic