If jBoss embeds another container service (like Tomcat), it seems that
the current implementation of javaURLContextFactory won't work.
Just like for a bean, if a servlet in a web container does a lookup on a
name, it seems like the correct JNDI root needs to be associated with
the factory.
Currently, jBoss's javaURLContextFactory grabs the context class loader
associated with the current thread and casts it too a bean class loader.
Can something similar be done for a web container context with a Tomcat
class loader? I would think the class loader would be setup in an
Interceptor in Tomcat, but I haven't tried it, yet.
Is anyone going down this path? I think this will be essential for full
Tomcat integration.
Thanks.
--
Kevin Lewis
Middle Reliever
Axys Solutions
http://www.AxysSolutions.com/