hmm, would be interesting if you can log the classloader when doing your lookup (just log Thread.currentThread().getContextClassLoader() and Thread.currentThread().getContextClassLoader().getClass())
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-10-06 13:06 GMT+02:00 skrajath <[email protected]>: > Right. Here is a bit complex part of the ear. > > Ear is built along with lib folder containing couple of dependent jars. > Also our app depends on 3rd party jars so these jars placed in a dir and > this dir is configured in catalinia.properties -> sharedloader = > <3rdparty-lib-dir>/*.jar > > So is this look up happening in shared jar and failing? If so how to > achieve this lookup? > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/javax-naming-NameNotFoundException-Name-comp-env-is-not-bound-in-this-Context-tp4676365p4676424.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
