Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

Entity Bean Deployment in jboss-5.1

 
jagannadha reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not create multiple threads for the same question. I'm closing this one. Please continue the discussion in your other thread here http://www.coderanch.com/t/591657/JBoss/Entity-Bean-Deployment-jboss
 
    Bookmark Topic Watch Topic
  • New Topic