Hi all, I'm trying to add a subclass of org.apache.naming.resources.BaseDirContext to a deployment for a specific webapp to implement a VFS for the single webapp. I'm having some problems understanding where to hook this in while Tomcat is running under JBoss. Any ideas?
More information about what I have found: 1) The current manner of embedding Tomcat does not seem to be developed sufficiently to support this. Putting a <Resources> element in the <DefaultContext> element of deploy/jboss-web-tomcat.sar/META-INF/jboss-service.xml does not seem to make a difference, which would be backed up by org.jboss.web.catalina.ConfigHandler.java. Even if that were to be supported, this would add a VFS to every web app context created, which is not desirable either. 2) The concept of using a DirContext... is this something that is shared by Jetty? It doesn't seem to show up in a search of their site and their javadoc is down. If so, it seems like something that could be added to org.jboss.metadata.WebMetaData and configured in both containers. If not, it's unclear where this could be configured on a per-app basis. So what to do? It seems like there needs to be a tomcat-web.xml file that is looked for in /WEB-INF from createWebContext():org.jboss.web.catalina.EmbeddedCatalinaService41.java, and the contents integrated into the StandardContext before virtualHost.addChild() is called. No? Thanks! -b ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
