Hi,
you do not need to define findAll method in jaws.xml, it is magic.
Anyway, your definition of finder method is not correct at all.
Review the doc
Vincent.
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Roman
> Br�ckner
> Envoy� : jeudi 3 mai 2001 17:29
> � : '[EMAIL PROTECTED]'
> Objet : [JBoss-user] [JBoss-user]expected one name tag ; Someone familar
> with this er ror?
>
>
> Hi,
> I am trying to deploy a jar file which contains a few EJBs, however I am
> getting th efollowing error message:
>
> [Container factory] Deploying TariffSession
> [Container factory] org.jboss.ejb.DeploymentException: Error in
> jaws.xml for Ent
> ity Discount: expected one name tag
>
> Well this is my jaws.xml for the discount bean:
>
> <datasource>java:/DefaultDS</datasource>
> <type-mapping>Oracle8</type-mapping>
> <enterprise-beans>
> <entity>
> <ejb-name>Discount</ejb-name>
> <table-name>Discount</table-name>
> <cmp-field>
> <field-name>discountID</field-name>
> <column-name>discount_id</column-name>
> </cmp-field>
> <finder>
> <method-signature>findAll()</method-signature>
> <where-clause></where-clause>
> <load-state>True</load-state>
> </finder>
> </entity>
>
> Well I don't have a clue how to resolve this, maybe someone can help me,
> please.
> Roman
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user