Henrique.

Me parece que voc� est� fazendo o deployment do ejb
sem   mandar o ejb-jar.xml junto.

N�o achei refer�ncia ao ejb-jar.xml no site que voc�
referenciou.


--- Henrique Sakata <[EMAIL PROTECTED]>
wrote:
> 
> ola,
> 
>     estou tendo problemas com ejb. Estou tentando
> rodar um codigo que achei na net sobre cmp 2.0, mas
> ele est� dando alguns erros ainda.
> 
> Rodei o verifier do deploytool e ele me gerou os
> seguintes erros descritos abaixo:
> 
> For [ AddressBean ]
> Error: There are no method permissions within this
> bean [ AddressBean ].   Transaction attributes must
> be specified for the methods defined in the remote
> interface [ customer.LocalAddress ].  Method [
> getState ] has no transaction attribute defined.
> 
> 
> For [ SubscriptionBean ]
> Error: There are no method permissions within this
> bean [ SubscriptionBean ].   Transaction attributes
> must be specified for the methods defined in the
> remote interface [ customer.LocalSubscription ]. 
> Method [ getType ] has no transaction attribute
> defined.
> 
> 
> For [ SubscriptionBean ]
> For Home Interface [ customer.LocalSubscriptionHome
> ] method [ findAllSubscriptions ]
> Error: A [ findAllSubscriptions ] method was found,
> but did not have a query element assigned
> 
> 
> For [ CustomerBean ]
> Error: There are no method permissions within this
> bean [ CustomerBean ].   Transaction attributes must
> be specified for the methods defined in the remote
> interface [ customer.LocalCustomer ].  Method [
> getLastName ] has no transaction attribute defined.
> 
> 
> For [ CustomerBean ]
> For Home Interface [ customer.LocalCustomerHome ]
> method [ findByFirstName ]
> Error: A [ findByFirstName ] method was found, but
> did not have a query element assigned
> 
> 
> Algu�m j� teve algum problema parecido com este? 
> 
> o codigo deste ejb pode ser encontrado no site:
> 
>
http://developer.java.sun.com/developer/technicalArticles/ebeans/EJB20CMP/
> 
>  
> 
> Abra�os,
> 
>     Henrique
> 
> 
> 
> ---------------------------------
> Busca Yahoo! 
> O melhor lugar para encontrar tudo o que voc�
> procura na Internet


=====
[EMAIL PROTECTED]
www.marcelloschmidt.tk
Linux user #297319
http://counter.li.org

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Para cancelar a subscri��o, envie mensagem para: 
[EMAIL PROTECTED]
Para comandos adicionais, envie mensagem para: [EMAIL PROTECTED]

Responder a