geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: classcastException when trying to deploy
Date Wed, 03 Jan 2007 15:28:02 GMT

On Jan 3, 2007, at 9:47 AM, Kamalanathan Raman wrote:

<snip>
> Open-Ejb-jar for entity bean
You want these EntityBeans to be of type <entity>, not <session>...  
OpenEJB could be a bit more helpful, here... I'd suggest you open a  
Jira...

--kevan

<snip>

>     <enterprise-beans>
>
>         <session>
>
>             <ejb-name>UserEntity</ejb-name>
>
>             <jndi-name>ejb/UserEntity</jndi-name>
>
>             <resource-ref>
>
>                <ref-name>datasource/wlbx-ds</ref-name>
>
>                <resource-link>wlbx-ds</resource-link>
>
>             </resource-ref>
>
>         </session>
>
>         <session>
>
>             <ejb-name>LockboxEntity</ejb-name>
>
>             <jndi-name>ejb/LockboxEntity</jndi-name>
>
>             <resource-ref>
>
>                <ref-name>datasource/wlbx-ds</ref-name>
>
>                <resource-link>wlbx-ds</resource-link>
>
>             </resource-ref>
>
>         </session>
>
>         <session>
>
>             <ejb-name>ApplicationEntity</ejb-name>
>
>             <jndi-name>ejb/ApplicationEntity</jndi-name>
>
>             <resource-ref>
>
>                <ref-name>datasource/wlbx-ds</ref-name>
>
>                <resource-link>wlbx-ds</resource-link>
>
>             </resource-ref>
>
>         </session>
>
>         <session>
>
>             <ejb-name>ProfileEntity</ejb-name>
>
>             <jndi-name>ejb/ProfileEntity</jndi-name>
>
>             <resource-ref>
>
>                <ref-name>datasource/wlbx-ds</ref-name>
>
>                <resource-link>wlbx-ds</resource-link>
>
>             </resource-ref>
>
>         </session>
>
>     </enterprise-beans>
>
>
>
> </openejb-jar>


Mime
View raw message