- 
        1. Re: Deployment Error : EJB Spec violationadrian.brock May 19, 2003 9:50 AM (in response to vashistvishal)Post the output of bank.jar 
 Does your source look something like this
 package cmp;
 ...
 public class Account
 ...
 Regards,
 Adrian
- 
        2. Re: Deployment Error : EJB Spec violationadrian.brock May 19, 2003 9:51 AM (in response to vashistvishal)That should be the output of 
 jar -tf bank.jar
 Regards,
 Adrian
- 
        3. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:03 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        4. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:04 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        5. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:05 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        6. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:05 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        7. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:06 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        8. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:07 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        9. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:08 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 I haven't included the assembly descriptorand other in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        10. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:08 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        11. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:10 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        12. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:11 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        13. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:20 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <![CDATA[No Description.]]>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the markup for those beans.
 -->
 <!-- Entity Beans -->
 <![CDATA[]]>
 <ejb-name>Account</ejb-name>
 cmp.AccountHome
 cmp.Account
 <local-home>cmp.AccountLocalHome</local-home>
 cmp.AccountLocal
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</ejb-class>
 <persistence-type>Container</persistence-type>
 <prim-key-class>java.lang.String</prim-key-class>
 False
 <cmp-version>2.x</cmp-version>
 <abstract-schema-name>account</abstract-schema-name>
 <cmp-field >
 <![CDATA[Returns the acctnumber]]>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the customerID]]>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the description]]>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <![CDATA[Returns the balance]]>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
- 
        14. Re: Deployment Error : EJB Spec violationvashistvishal May 19, 2003 6:31 PM (in response to vashistvishal)
 Hi Adrian,
 The o/p of MyBank.jar is
 -----------------------------
 jar -tf MyBank.jar
 META-INF/
 META-INF/MANIFEST.MF
 META-INF/targets.xml
 META-INF/ejb-jar.xml
 META-INF/mapping.xml
 META-INF/weblogic-ejb-jar.xml
 META-INF/weblogic-cmp-rdbms-jar.xml
 META-INF/jboss.xml
 META-INF/jbosscmp-jdbc.xml
 META-INF/jrun-ejb-jar.xml
 META-INF/ibm-ejb-jar-bnd.xmi
 META-INF/ibm-ejb-jar-ext.xmi
 META-INF/Schema.dbxmi
 META-INF/jonas-ejb-jar.xml
 META-INF/orion-ejb-jar.xml
 Also as u mentioned, my Account .java
 is in package cmp.
 so iam importing taht package in Account.
 Contents of jboss.xml
 -------------------------
 <jboss>
 <unauthenticated-principal>nobody</unauthenticated-principal>
 <enterprise-beans>
 <entity>
 <ejb-name>Account</ejb-name>
 <jndi-name>AccountBean</jndi-name>
 <local-jndi-name>AccountLocal</local-jndi-name>
 </entity>
 </enterprise-beans>
 <resource-managers>
 </resource-managers>
 </jboss>
 Contents of ejb-jar.xml
 ---------------------------
 ejb-jar >
 <description><![CDATA[No Description.]]></description>
 <display-name>Generated by XDoclet</display-name>
 <enterprise-beans>
 <!-- Session Beans -->
 <!--
 To add session beans that you have deployment descriptor info for, add
 a file to your XDoclet merge directory called session-beans.xml that contains
 the <session></session> markup for those beans.
 -->
 <!-- Entity Beans -->
 <entity >
 <description><![CDATA[]]></description>
 <ejb-name>Account</ejb-name>
 <home>cmp.AccountHome</home>
 <remote>cmp.Account</remote>
 <local-home>cmp.AccountLocalHome</local-home>
 <local>cmp.AccountLocal</local>
 <ejb-class>BankApp.ejbsrc.cmp.AccountCMP</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>account</abstract-schema-name>
 <cmp-field >
 <description><![CDATA[Returns the acctnumber]]></description>
 <field-name>acctnumber</field-name>
 </cmp-field>
 <cmp-field >
 <description><![CDATA[Returns the customerID]]></description>
 <field-name>customerID</field-name>
 </cmp-field>
 <cmp-field >
 <description><![CDATA[Returns the description]]></description>
 <field-name>description</field-name>
 </cmp-field>
 <cmp-field >
 <description><![CDATA[Returns the balance]]></description>
 <field-name>balance</field-name>
 </cmp-field>
 <primkey-field>acctnumber</primkey-field>
 <query>
 <query-method>
 <method-name>findAll</method-name>
 <method-params>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a]]></ejb-ql>
 </query>
 <query>
 <query-method>
 <method-name>findByCustomerID</method-name>
 <method-params>
 <method-param>String</method-param>
 </method-params>
 </query-method>
 <ejb-ql><![CDATA[SELECT OBJECT(a) FROM account as a where a.customerid = ?1]]></ejb-ql>
 </query>
 </entity>
 I haven't included the assembly decriptor in this snippet as it is complaining about <ejb-class> tag.
 I hope this info will help to solve this problem I facing, with no clues to me.
 Cheers....
 Vishal
