javax.naming.NameNotFoundException

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.

  • RDBMS compatibility
    via runawfe by yilativs
    ,
  • recompilation & deploiment
    via runawfe by *anonymous
    ,
  • Custome Module on CRS
    via by enzo_rio,
  • Jboss Startup error
    via Stack Overflow by Priyank
    ,
  • Start process
    via runawfe by dimouse
    ,
  • Problem in getting the datasource for mysql
    via by Mike Thomson,
  • JNDI binding for simple bean class
    via Stack Overflow by Srinivas Kothuri
    ,
    • javax.naming.NameNotFoundException: DefaultDS not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:527) at org.jnp.server.NamingServer.getBinding(NamingServer.java:535) at org.jnp.server.NamingServer.getObject(NamingServer.java:541) at org.jnp.server.NamingServer.lookup(NamingServer.java:294) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:621) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:583) at javax.naming.InitialContext.lookup(InitialContext.java:351) at net.sf.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:44) at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83) at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76) at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1172) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:803) at ru.runa.commons.hibernate.HibernateSessionFactory.getSessionFactory(HibernateSessionFactory.java:52) at ru.runa.commons.hibernate.HibernateSessionFactory.openSession(HibernateSessionFactory.java:83) at ru.runa.commons.hibernate.HibernateSessionFactory.openSession(HibernateSessionFactory.java:76) at ru.runa.af.dao.impl.HibernateSessionFactory.openSession(HibernateSessionFactory.java:34) at ru.runa.af.dao.impl.DAOHibernateImpl.<init>(DAOHibernateImpl.java:52) at ru.runa.af.dao.impl.InitializerDAOHibernateImpl.<init>(InitializerDAOHibernateImpl.java:42) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at ru.runa.af.dao.DAOFactory.createInitializerDAO(DAOFactory.java:101) at ru.runa.af.logic.InitializerLogic.isAlreadyIntialized(InitializerLogic.java:38) at ru.runa.af.service.impl.ejb.InitializerServiceBean.isAlreadyIntialized(InitializerServiceBean.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:698) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:198) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:87) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:101) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:348) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:179) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:345) at org.jboss.ejb.Container.invoke(Container.java:723) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:111) at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:193) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:179) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:115) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) at $Proxy66.isAlreadyIntialized(Unknown Source) at ru.runa.af.delegate.impl.InitializerServiceDelegateRemoteImpl.isAlreadyIntialized(InitializerServiceDelegateRemoteImpl.java:61) at ru.runa.wf.web.servlet.InitializerServletContextListener.contextInitialized(InitializerServletContextListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3831) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4323) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:288) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:98) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:334) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:404) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184) at $Proxy27.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:371) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616) at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:316) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:490) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:213) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:286) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:404) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68) at org.jboss.mx.server.Invocation.invoke(Invocation.java:96) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353) at org.jboss.Main.boot(Main.java:201) at org.jboss.Main$1.run(Main.java:459) at java.lang.Thread.run(Thread.java:595)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates