问题描述:

I am getting the below error while starting JBoss.

We are using JBoss 6 EAP, EJB 2.0. This issue is not happening in DEV and QA environments. But in Live environment. We have the same configuration in all the environment but issue is only in Live.

The JNDI name we use is "java:global/Bdol/60babel-ejb/RemoveActiveSessionsScheduledJob!com.nielsen.book.babel.ejb.security.RemoveActiveSessionsScheduledJobLocalHome"

Can someone please help with this issue? I tried different ways to sort this out but nothing seems to be working in Live environment.

60babel-ejb is the JAR that has all the beans defined. What could be the issue?

^[[0m^[[31m12-Dec-2016 06:12:11,564 ERROR [com.nielsen.book.babel.web.security.AuthenticationContextListener:130] (ServerService Thread Pool -- 91) javax.naming.NameNotFoundException: Bdol/60babel-ejb/RemoveActiveSessionsScheduledJob!com.nielsen.book.babel.ejb.security.RemoveActiveSessionsScheduledJobLocalHome -- service jboss.naming.context.java.global.Bdol.60babel-ejb."RemoveActiveSessionsScheduledJob!com.nielsen.book.babel.ejb.security.RemoveActiveSessionsScheduledJobLocalHome": javax.naming.NameNotFoundException: Bdol/60babel-ejb/RemoveActiveSessionsScheduledJob!com.nielsen.book.babel.ejb.security.RemoveActiveSessionsScheduledJobLocalHome -- service jboss.naming.context.java.global.Bdol.60babel-ejb."RemoveActiveSessionsScheduledJob!com.nielsen.book.babel.ejb.security.RemoveActiveSessionsScheduledJobLocalHome"

at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:103)

at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)

at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:174)

at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:245)

at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:183)

at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)

at javax.naming.InitialContext.lookup(InitialContext.java:392) [rt.jar:1.6.0_20]

at javax.naming.InitialContext.lookup(InitialContext.java:392) [rt.jar:1.6.0_20]

at com.nielsen.book.babel.ejb.security.RemoveActiveSessionsScheduledJobUtil.lookupHome(RemoveActiveSessionsScheduledJobUtil.java:18) [60babel-ejb.jar:]

at com.nielsen.book.babel.ejb.security.RemoveActiveSessionsScheduledJobUtil.getJBoss7LocalHome(RemoveActiveSessionsScheduledJobUtil.java:50) [60babel-ejb.jar:]

at com.nielsen.book.babel.web.security.AuthenticationContextListener.contextInitialized(AuthenticationContextListener.java:99) [classes:]

at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.4.10.Final-redhat-1.jar:7.4.10.Final-redhat-1]

at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.4.10.Final-redhat-1.jar:7.4.10.Final-redhat-1]

at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161) [jboss-as-web-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2]

at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:59) [jboss-as-web-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2]

at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:94) [jboss-as-web-7.4.3.Final-redhat-2.jar:7.4.3.Final-redhat-2]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_20]

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_20]

at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_20]

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_20]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_20]

at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]

at org.jboss.threads.JBossThread.run(JBossThread.java:122)

相关阅读:
Top