javax.naming.NameNotFoundException: CountHome not found

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • J2EE server problem or code?
    via by 807593,
  • How to access JNDI DataSource with Play Framework
    via Stack Overflow by Eric
    ,
  • More than one JNDISessionListener may be bound to a session. This causes the jndi context to not contain what it should. Need to add synchrnoization to prevent more than one JNDISessionListener from being added to a session. Here's what this looks like in the portal.log =============== INFO [TP-Processor15] jndi.JNDIManager.[] Oct/31 10:39:36 - JNDISessionListener bound for: C7ED999D54583BD6DB97D665E0A728F4 INFO [TP-Processor7] jndi.JNDIManager.[] Oct/31 10:39:36 - JNDISessionListener bound for: C7ED999D54583BD6DB97D665E0A728F4 INFO [TP-Processor7] jndi.JNDIManager.[] Oct/31 10:39:36 - JNDISessionListener unbound for: C7ED999D54583BD6DB97D665E0A728F4 ERROR [TP-Processor15] portal.ChannelManager.[] Oct/31 10:39:36 - javax.naming.NotContextException: 1 is not a subcontext javax.naming.NotContextException: 1 is not a subcontext at tyrex.naming.MemoryContext.internalLookup(Unknown Source) at tyrex.naming.MemoryContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jasig.portal.ChannelManager.getChannelJndiContext(ChannelManager.java:658) at org.jasig.portal.ChannelManager.startRenderingCycle(ChannelManager.java:1004) at org.jasig.portal.UserInstance.renderState(UserInstance.java:301) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:179) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:262) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) ============== INFO [TP-Processor13] jndi.JNDIManager.[] Oct/31 10:39:38 - JNDISessionListener unbound for: C7ED999D54583BD6DB97D665E0A728F4 ERROR [TP-Processor13] jndi.JNDIManager.[] Oct/31 10:39:38 - JNDISessionListener.valueUnbound(): Session C7ED999D54583BD6DB97D665E0A728F4does is not registered under /sessions context ! javax.naming.NameNotFoundException: C7ED999D54583BD6DB97D665E0A728F4 not found at tyrex.naming.MemoryContext.internalLookup(Unknown Source) at tyrex.naming.MemoryContext.lookup(Unknown Source) at org.jasig.portal.jndi.JNDIManager$JNDISessionListener.valueUnbound(JNDIManager.java:369) at org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1569) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:711) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:635) at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1054) at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:153) at org.jasig.portal.LoginServlet.service(LoginServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595)
    via by Brad Johnson,
    • javax.naming.NameNotFoundException: CountHome not found at tyrex.naming.MemoryContext.internalLookup(MemoryContext.java:348) at tyrex.naming.MemoryContext.lookup(MemoryContext.java:271) at javax.naming.InitialContext.lookup(InitialContext.java:345) at examples.CountClient.main(CountClient.java:16)
    No Bugmate found.