0 Replies Latest reply on Nov 29, 2002 2:54 AM by woowindice

    problem of CMP deploy.

    woowindice Newbie

      Hey,im a layman of jboss,I try to deploy a CMP EJB, but jboss throw exeption as follows:


      [ObjectName: jboss.j2ee:jndiName=Usermajor,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Error compiling ejbql;
      - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountere
      d "c.majorid" at line 1, column 46.
      Was expecting one of:
      "NOT" ...
      "(" ...
      <COLLECTION_VALUED_PATH> ...
      <STRING_VALUED_PATH> ...
      "CONCAT" ...
      "SUBSTRING" ...
      <BOOLEAN_VALUED_PATH> ...
      <DATETIME_VALUED_PATH> ...
      <ENTITY_VALUED_PATH> ...
      <IDENTIFICATION_VARIABLE> ...
      <NUMERIC_VALUED_PATH> ...
      "LENGTH" ...
      "LOCATE" ...
      "ABS" ...
      "SQRT" ...
      "+" ...
      "-" ...
      <INTEGER_LITERAL> ...
      <FLOATING_POINT_LITERAL> ...
      <NUMERIC_VALUED_PARAMETER> ...


      my EJB QL:SELECT OBJECT(o) FROM Userprivilege AS o WHERE o.userid=?1

      Plz help me,thx!
      best regards!
      victor wu.