1 Reply Latest reply on Aug 23, 2001 9:59 AM by Ronaldo Nascimento

    CMP Deployment error CASE_INSENSITIVE_ORDER

    Ronaldo Nascimento Newbie

      I developed my first CMP outside of an IDE by hand. I have a session bean and a CMP bean. But I can not seem to deploy it because of an error:

      [Container factory] org.jboss.ejb.DeploymentException: Bean NPUser has PK of type java.lang.String, so it should have a cmp-field named CASE_INSENSITIVE_ORDER

      here is a sample of my ejb-jar.xml file:

      <prim-key-class>java.lang.String</prim-key-class>
      <prinkey-field>userid</prinkey-field>

      <cmp-field>
      no description
      <field-name>userid</field-name>
      </cmp-field>

      What on earth am I doing wrong? Do i really need to add an entry in the XML file for a cmp-field that does not exist in mt bean? Where is the error documentation for this? This is extremely frustrating.
      Thanks