0 Replies Latest reply on Jan 14, 2003 9:02 AM by Ignacio

    same datasource JNDI name on JBoss3.2.0.beta3 and Weblogic 7

    Ignacio Newbie

      When a datasource is deployed (in JBoss) with "something" as its JNDI name, yo must refer it from your code as "java:/something" (to get the datasource reference inside a DAO, for example).

      If it is deployed using WLS 7.0 and you use "something" as JNDI name then you must lookup it as "something".

      Is there any way to use the same JNDI name from code with both JBoss3.2.0 and WLS 7.0? comp/env solutions are not an option since what I want is to deploy seamlessly between JBoss and Weblogic.

      TIA,

      Nacho.