[jboss-user] [EJB 3.0] - Re: Is it possible to deploy EJB2 style entity beans in a EJ

jeklund do-not-reply at jboss.com
Wed Aug 29 10:31:56 EDT 2007


So.. I've split the project into two jar files project-ejb.jar and project-ejb-entities.jar that are deployed within an .ear.

The EJB version of project-ejb-entities.jar is 2.1. If the EJB version of project-ejb.jar is 2.1 too, everything works fine as before, but if I set the version of project-ejb.jar to 3.0 things start to go wrong..

using project-ejb-entities#bean-name in <ejb-link> elements I get the following

2007-08-29 15:07:48,261 WARN  [org.jboss.ejb3.enc.DeploymentEjbResolver] can't find a deployment for path 'project-ejb-entities.jar' of ejb link 'project-ejb-entities.jar#TableProtectData'
2007-08-29 15:07:48,261 WARN  [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.ejbca.core.ejb.protect.TableProtectDataLocal and ejbLink of project-ejb-entities.jar#TableProtectData in  ejb-jar.xml of TableProtectSession it might not be deployed yet

and without specifying the jar

2007-08-29 15:07:48,261 WARN  [org.jboss.injection.EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.ejbca.core.ejb.protect.TableProtectDataLocal and ejbLink of TableProtectData in  ejb-jar.xml of TableProtectSession it might not be deployed yet

Using the same environment as before. Any help is greatly appreciated.
/Johan


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079194#4079194

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079194



More information about the jboss-user mailing list