File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Entity Bean Deployment in jboss-5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Entity Bean Deployment in jboss-5.1" Watch "Entity Bean Deployment in jboss-5.1" New topic
Author

Entity Bean Deployment in jboss-5.1

jagannadha reddy
Greenhorn

Joined: Jul 02, 2010
Posts: 14
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Entity Bean Deployment in jboss-5.1
 
Similar Threads
Local Entity Bean not bound in EJB 2.1 on JBoss 4.2.3 server
javax.naming.NameNotFoundException: cust not bound
getting exception while bean look up by PortableRemoteObject.narrow
Jboss5 deployment error
Entity Bean Deployment in jboss-5.1