EJB容器初始化错误:绑定JNDI名称时出错

时间:2016-04-23 16:03:47

标签: java web-applications glassfish ejb

我正在尝试部署使用Java语言创建的企业Web应用程序。当我部署项目时,我从Glassfish服务器日志中收到此错误。我正在使用一个名为“MiuUsertableFacade”的无状态远程会话Bean,它与类库进行交互。

Severe:   Exception while loading the app
Info:   file:/C:/Users/miura/Documents/NetBeansProjects/RioGamesOnlinePortalApplication/dist/gfdeploy/RioGamesOnlinePortalApplication/RioGamesOnlinePortal_jar/_RioGamesOnlinePortalPU logout successful
Severe:   Exception while loading the app : EJB Container initialization error
java.lang.RuntimeException: Error while binding JNDI name miuusertablefacade#com.riogames.Entity.MiuUsertableFacadeRemote for EJB MiuUsertableFacade

.......

at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.naming.NameAlreadyBoundException: Use rebind to override

0 个答案:

没有答案