Let's go inside

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

导航

常用链接

留言簿(4)

随笔分类(60)

随笔档案(59)

J2EE相关技术

个人空间

友情链接

搜索

  •  

积分与排名

  • 积分 - 40808
  • 排名 - 1147

最新评论

阅读排行榜

小结

Posted on 2006-07-21 06:34 Earth 阅读(304) 评论(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 !

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


网站导航: