2 Replies Latest reply on Dec 2, 2005 3:23 PM by eraser

    Is there any way to avoid using the java:/ prefix when looki

    eraser Newbie

      I am currently developing an application using JBoss. This application needs to be deployed to Weblogic.

      For the most part deploying to both app servers works fairly well, there is only one problem. JBoss requires the JNDI name of a datasource to be prefixed with "java:/", while Weblogic does not.

      Is there any way to avoid having to use the "java:/" prefix when obtaining a datasource from JNDI under JBoss? This would make it possible for my application to be deployed "as is" to both JBoss and Weblogic.

      I googled around for a solution to this problem to no avail.

      Thanks