[jboss-user] [EJB 3.0] - Re: Can a Stateless bean make a call to an entity bean to pe

ashusri000 do-not-reply at jboss.com
Thu Jun 28 00:03:19 EDT 2007


Hi ! 
        I am able to get the datasource being properly deployed and able to see it at the server console also. There is no error so far with this part . But when I go for deployment of the entity  bean then it shows an error that this jndi name is not a  compound name and then the call to the entity also fails .

I had already put the ds.xml file in the deploy directory but it when I go to access the entity it throws up this error :

Internal Exception: javax.naming.InvalidNameException: Not a compound name: my-ejb-test
16:05:48,312 ERROR [STDERR] at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:220)
16:05:48,312 ERROR [STDERR] at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.



And the question about using Toplink , I mean since I am not using hibernate that's why I am making use of toplink  jars for persisietnce .

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

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



More information about the jboss-user mailing list