5 Replies Latest reply on Oct 18, 2011 12:18 PM by jaikiran

    startup errors on old data source string (where is it?!)

    nickleus

      hi, i'm trying to migrate from jboss 4.2.2 to 7 and i've changed the datasource from "java:mycompany/jdbc/ejbdatasource" to "java:/OracleDS" in standalone.xml and everywhere else in my application, but every time i start the jboss7 server, it errors with the following in server.log:

       

      15:13:14,692 ERROR [org.jboss.as.controller] (Controller Boot Thread) Operation ("add") failed - address: ([

          ("subsystem" => "datasources"),

                at org.jboss.as.naming.deployment.ContextNames.bindInfoFor(ContextNames.java:283)

          ("data-source" => "java:mycompany/jdbc/ejbdatasource")

      ]): java.lang.RuntimeException: Illegal context in name: java:mycompany/jdbc/ejbdatasource

       

      i've even deleted the folder jboss-as-web-7.0.2.Final/standalone/tmp

       

      i've searched my entire application and cant find this datasource anywhere. where is it grabbing it from?