org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Entity Bean StringProcessor: The abstract-s chema-name must be specified for CMP 2.x Beans
By the looks of it you are missing schema -name of yr database in the deployment descriptors in ejb-jar.xml You have to have this <abstract-schema-name>YR DB SCHEMA NAME HERE</abstract-schema-name> as shown below in code snippet. Check yr ejb-jar.xml file. <ejb-class>au.com.tusc.cmp.ItemCMP</ejb-class> | <persistence-type>Container</persistence-type> | <prim-key-class>java.lang.String</prim-key-class> | <reentrant>False</reentrant> | <cmp-version>2.x</cmp-version> | <abstract-schema-name>MyStoreItem</abstract-schema-name> | | <cmp-field > | <description>[CDATA[Returns the itemID]]</description> | I use xdoclet to generate the descriptors.. @ejb.bean name="Item" | * jndi-name="ItemBean" | * type="CMP" | * primkey-field="itemID" | * schema="MyStoreItem" | * cmp-version="2.x" | * view-type="local" | **/ | I hope this helps Vishal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869014#3869014 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869014 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
