Discussion:
wlappc: Exception due to finder-expression
(too old to reply)
Elena Kolodizki
2005-01-13 17:41:14 UTC
Permalink
Hi,

I have to migrate a project developed under wls 5.1 to wls 8.1. Wenn running ant I do receive the following Exception:
BUILD FAILED
file:D:/projekte/SPQM/ccm_wa/SPQM/etc/build.xml:468: weblogic.utils.compiler.ToolFailureException: [J2EE:160119]Appc is unable to process the file 'D:
\projekte\SPQM\ccm_wa\SPQM\dist\ejb_Fragen.jar'. The following error occurred:

[EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
[EJB:011048]Finder-expressions are no longer supported..

at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:255)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)

I do still use EJB 1.1. And according to BEA it is possible to use the old EJB specification since the finder expressions are no longer supported by EJB 2.0.

It seems that the compiler tries to apply the new specification (although in my xml files I do use the 1.1 version).

Do you know how I could solve the problem.

Thanks in advance.

Best regards,
Elena Kolodizki
pradeep tiwari
2005-01-13 20:27:45 UTC
Permalink
Hi,
Please show your weblogic-cmp-rdbms-jar.xml file.
Pradeep
Elena Kolodizki
2005-01-14 09:11:34 UTC
Permalink
Hi,

here is the file:

<!DOCTYPE weblogic-rdbms-bean PUBLIC
"-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB RDBMS Persistence//EN"
"http://www.bea.com/servers/wls510/dtd/weblogic-rdbms-persistence.dtd">
<weblogic-rdbms-bean>
<pool-name>spqmPool</pool-name>
<table-name>tblFrage</table-name>
<attribute-map>
<object-link>
<bean-field>frIstWert</bean-field>
<dbms-column>fr_Istwert</dbms-column>
</object-link>
<object-link>
<bean-field>frErstDatum</bean-field>
<dbms-column>fr_Erstdatum</dbms-column>
</object-link>
<object-link>
<bean-field>frULimit</bean-field>
<dbms-column>fr_Ulimit</dbms-column>
</object-link>
<object-link>
<bean-field>frAenderer</bean-field>
<dbms-column>fr_Aenderer</dbms-column>
</object-link>
<object-link>
<bean-field>frExportiert</bean-field>
<dbms-column>fr_Exportiert</dbms-column>
</object-link>
<object-link>
<bean-field>frRelevanz</bean-field>
<dbms-column>fr_Relevanz</dbms-column>
</object-link>
<object-link>
<bean-field>frID</bean-field>
<dbms-column>fr_ID</dbms-column>
</object-link>
<object-link>
<bean-field>frMaster</bean-field>
<dbms-column>fr_Master</dbms-column>
</object-link>
<object-link>
<bean-field>frOLimit</bean-field>
<dbms-column>fr_OLimit</dbms-column>
</object-link>
<object-link>
<bean-field>frHerkunft</bean-field>
<dbms-column>fr_Herkunft</dbms-column>
</object-link>
<object-link>
<bean-field>frErlaeuterung</bean-field>
<dbms-column>fr_Erlaeuterung</dbms-column>
</object-link>
<object-link>
<bean-field>frUpdcounter</bean-field>
<dbms-column>fr_updcounter</dbms-column>
</object-link>
<object-link>
<bean-field>frBewertung</bean-field>
<dbms-column>fr_Bewertung</dbms-column>
</object-link>
<object-link>
<bean-field>frNotiz</bean-field>
<dbms-column>fr_Notiz</dbms-column>
</object-link>
<object-link>
<bean-field>frAendDatum</bean-field>
<dbms-column>fr_Aenddatum</dbms-column>
</object-link>
<object-link>
<bean-field>frMerkerfrage</bean-field>
<dbms-column>fr_Merkerfrage</dbms-column>
</object-link>
<object-link>
<bean-field>frUeberschriftID</bean-field>
<dbms-column>fr_UeberschriftID</dbms-column>
</object-link>
<object-link>
<bean-field>frVorgaenger</bean-field>
<dbms-column>fr_Vorgaenger</dbms-column>
</object-link>
<object-link>
<bean-field>frNachfolger</bean-field>
<dbms-column>fr_Nachfolger</dbms-column>
</object-link>
<object-link>
<bean-field>frDeleted</bean-field>
<dbms-column>fr_Deleted</dbms-column>
</object-link>
<object-link>
<bean-field>frFragestellung</bean-field>
<dbms-column>fr_Fragestellung</dbms-column>
</object-link>
<object-link>
<bean-field>frErsteller</bean-field>
<dbms-column>fr_Ersteller</dbms-column>
</object-link>
</attribute-map>
<finder-list>
<finder>
<method-name>findByUebIDAndNoPredecessor</method-name>
<method-params>
<method-param>java.lang.Integer</method-param>
</method-params>
<finder-query><![CDATA[(&(= frUeberschriftID $0) (isNull frVorgaenger))]]></finder-query>
</finder>
<finder>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>com.spqm.ejb.fragen.FragenPK</method-param>
</method-params>
<finder-query><![CDATA[ (= $0 frID) ]]></finder-query>
<finder-expression>
<expression-number>0</expression-number>
<expression-text><![CDATA[@0.frID]]></expression-text>
<expression-type>java.lang.Integer</expression-type>
</finder-expression>
</finder>
</finder-list>
<options>
<use-quoted-names>false</use-quoted-names>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
</options>
</weblogic-rdbms-bean>

Loading...