tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From padma T <>
Subject JNDI lookup failure with tomcat 8.5.6
Date Fri, 04 Nov 2016 10:45:52 GMT

Getting ,JNDI lookup failed exception while starting tomcat 8.

While debugging it was found that getInitialContext()
of class returns NamingContext
context instead of the custom ContextClassLoader set by our application
 and the reason is "ContextBindings.isClassLoaderBound()"  return false for
application's custom ContextClassLoader.

Code to set custom contextloader :


Please let me know if i have to do any configurations for tomcat 8, to
resolve this issue .

Note : Our application start fine with tomcat 7.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message