4 Replies Latest reply on Aug 6, 2004 11:32 AM by Scott Stark

    jndi datasource config

    graham o'regan Newbie

      Our team of developers likes to swap between jboss+tomcat and standalone tomcat whilst developing the different modules in our applications (not all applications need jboss during development). The problem that we have is that JBoss use a private JNDI space for datasouces (java:/MyDataSource) whilst Tomcat tries to prepend "java:comp/env for it's initial context.

      How can I set up datasources in jboss and tomcat that will use the same name so that the applications don't need to be modified? Perhaps Jetty would (as usual) be better for servlet development than Tomcat?