3 Replies Latest reply on Aug 28, 2002 4:27 PM by apost

    error true-mapping tag

    svevor

      I just upgraded from jboss3 to jboss3RC1

      I get next error when I deploy ear.

      Depends On Me: , ObjectName: jboss.j2ee:service=EJB,jndiName=SetupOfficeEJB
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: expected one true-mapping tag]

      I try to deploy another apps I get the same message.
      expected one true-mapping tag.

      I think I need to change something in my jboss.xml
      Can anybody help me with it?

      Thanks.

        • 1. Re: error true-mapping tag
          dsundstrom

          In JBoss 3.0.1+ two new required tags, true-mapping and false-mapping, was added to the type-mapping element of jbosscmp-jdbc.xml file. These tags contain the mappings of the EJB-QL literal TRUE and FALSE fot the datasource. Take a look at the dtd in the docs/dtd of the build you are using.

          • 2. Re: error true-mapping tag
            apost

            Does anybody out there have an example of what these tags are supposed to contain? The DTD just says PCDATA. I've tried the number 1 and it seems to accept it, but then none of my beans can find the datasource. I'm using the new 3.0.2 release.

            Thanks,

            Andy

            • 3. Re: error true-mapping tag
              apost

              [Sorry if this is a duplicate.]
              I just upgraded to 3.0.2.

              Does anybody have an example of what these tags are supposed to contain? I've tried several things, any of which make the error go away, but then the container can't find the datasource for any of the entity beans. I'm thinking the mapping is invalid, thus invalidating the datasource.

              Thanks,

              Andy