Let's go inside

this blog is deprecated as a result of laziness.
posts - 59, comments - 2, trackbacks - 0, articles - 0

小结

Posted on 2006-07-21 06:34 Earth 阅读(300) 评论(0)  编辑  收藏 所属分类: Java

如果DB不一到,记得要修改两个地方,
default/deploy/xxx-ds.xml
persistence.xml中的hibernate.dialect

Sessionbean的JNDI的名字规则是:EAR_NAME + "/" + BeanName + "/" + local/remote,因此JNDI的名字根据Project是否以EAR方式发布相关。

exception

javax.ejb.EJBException: Invalid invocation of local interface (null container)

Hello,
You're trying to get a local EJB to your client (which is out of the server jvm so not local to the server).
You must use @Remote instead of @Local of your business Interface Calculator.
Good luck !

只有注册用户登录后才能发表评论。


网站导航: