Conor,

   Following is the snippet of my weblogic deployment descriptor

   <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
      <ejb-name>IssAcq</ejb-name>
      <persistence-descriptor>
        <persistence-type>
          <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
          <type-version>5.1.0</type-version>

<type-storage>META-INF/CMP_WebLogic_CMP_RDBMS948707561415.xml</type-storage>
        </persistence-type>
        <persistence-use>
          <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
          <type-version>5.1.0</type-version>
        </persistence-use>
      </persistence-descriptor>
      <jndi-name>IssAcqJNDI</jndi-name>
    </weblogic-enterprise-bean>
  </weblogic-ejb-jar>

My Session and BMP beans are working fine except this CMP stuff.
Please elaborate adding newCMP="true" to the <weblogic> element

Thanks
Srini.

-----Original Message-----
From: Conor MacNeill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 7:06 PM
To: [EMAIL PROTECTED]
Subject: Re: CMP_WebLogic_CMP_RDBMS*.xml file not found error


Try adding the attribute newCMP="true" to the <weblogic> element. You may
still have problems, however. Can you let me know the snippet in your
weblogic deployment descriptor where it refers to the CMP descriptor. I
suggest you also set the keepgeneric attribute to true. You can then
examine the jar file that is being presented to ejbc. If you can run "jar
tvf [jarfilename]" on that, it would also help.

Conor

----- Original Message -----
From: "Srinivas Subbaraju" <[EMAIL PROTECTED]>
To: "Ant-User@Jakarta. Apache. Org" <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 10:58 PM
Subject: CMP_WebLogic_CMP_RDBMS*.xml file not found error


> Hi,
>
> I have the Following code in build.xml file
>
> <target name="ejbc">
> <ejbjar srcdir="c:/src"
>         descriptordir="./META-INF"
>             basejarname="TheEJBJar">
>
>       <weblogic destdir="."/>
>
>       <include name="**/ejb-jar.xml"/>
>       <exclude name="**/weblogic*.xml"/>
>     </ejbjar>
> </target>
> </project>
>
> When I run this build file I am getting the following error.
>
>      [ejbc] Could not find descriptor file with Jar entry name
> 'META-INF/WL-CMP-
> TYPES/CMP_WebLogic_CMP_RDBMS948707561415.xml' for specified type WebLogic
> RDBMS
> Persistence
>
> even though
./META-INF/WL-CMP-TYPES/CMP_WebLogic_CMP_RDBMS948707561415.xml
> is existing.
>
> I want to know how to include
> /META-INF/WL-CMP-TYPES/CMP_WebLogic_CMP_RDBMS948707561415.xml
> into build file.
>
> Srini
>
>
>

Reply via email to