Problem declared DataSource for a CMP (Forte4J & iAS6 SP2)

Discussions

EJB programming & troubleshooting: Problem declared DataSource for a CMP (Forte4J & iAS6 SP2)

  1. Hi,

    I'm creating a CMP entity bean in Forte for Java 3.0 EA, and I donm`t find where to declare the iAS DataSource the bean must use. I find it for J2EE RI. The problem is that the <EJB>_ias_cmp.xml generated in iAS is like:

    <ias-persistence-manager>
      <ejb-name>MyCMP</ejb-name>
      <bean-property>
        <property>
          <name>dataSource</name>
          <type>java.lang.String</type>
          <value>UnknownDataSource</value>
          <delimiter>,</delimiter>
        </property>
      </bean-property>
      <bean-property>
    ....
    </ias-persistence-manager>

    You can see the dataSource is "UnknownDataSource". Anybody knows where can I declare the DataSource for a CMP in Forte for Java.

    ThanX
  2. I discover the solution. A problem with the F4J wizards.

    ThanX2All