ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: CMP_WebLogic_CMP_RDBMS*.xml file not found error
Date Wed, 04 Jul 2001 13:35:46 GMT
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" <srinivas.subbaraju@majoris.com>
To: "Ant-User@Jakarta. Apache. Org" <ant-user@jakarta.apache.org>
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
>
>
>


Mime
View raw message