javax.naming.NamingException: Invalid subcontext 'java:comp' in context ''

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Pentaho BI Platform Tracking by Bill Seyler, 1 year ago
Invalid subcontext 'java:comp' in context ''
via Pentaho BI Platform Tracking by Bill Seyler, 1 year ago
Invalid subcontext 'java:comp' in context ''
via Pentaho BI Platform Tracking by Rafael , 1 year ago
Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context ''
via Pentaho BI Platform Tracking by Rafael , 11 months ago
Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context ''
javax.naming.NamingException: Invalid subcontext 'java:comp' in context ''
at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:261)
at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:293)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.osjava.sj.jndi.DelegatingContext.lookup(DelegatingContext.java:60)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.tonbeller.tbutils.res.JNDIResourceProvider.getString(JNDIResourceProvider.java:29)
at com.tonbeller.tbutils.res.CompositeResourceProvider.getString(CompositeResourceProvider.java:25)
at com.tonbeller.tbutils.res.ReplacingResourceProvider.getString(ReplacingResourceProvider.java:23)
at com.tonbeller.tbutils.res.CompositeResourceProvider.getString(CompositeResourceProvider.java:25)
at com.tonbeller.tbutils.res.ReplacingResourceProvider.getString(ReplacingResourceProvider.java:23)
at com.tonbeller.tbutils.res.ResourcesFactory.initLocale(ResourcesFactory.java:303)
at com.tonbeller.tbutils.res.ResourcesFactory.initialize(ResourcesFactory.java:195)
at com.tonbeller.tbutils.res.ResourcesFactory.initialize(ResourcesFactory.java:161)
at com.tonbeller.tbutils.res.ResourcesFactory.(ResourcesFactory.java:92)
at com.tonbeller.tbutils.res.ResourcesFactory.(ResourcesFactory.java:89)
at com.tonbeller.tbutils.res.ResourcesFactoryContextListener.contextInitialized(ResourcesFactoryContextListener.java:23)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.pentaho.agilebi.platform.JettyServer.startServer(JettyServer.java:74)
at org.pentaho.di.core.lifecycle.pdi.AgileBILifecycleListener.onStart(AgileBILifecycleListener.java:35)
at org.pentaho.di.core.lifecycle.LifecycleSupport.onStart(LifecycleSupport.java:40)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:427)
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:592)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.