0 Replies Latest reply on Mar 16, 2004 10:58 AM by kmarcos

    Getting Datasource & java.lang.ClassCastException on applica

    kmarcos Newbie

      Hi. (first, sorry for my english)

      i get java.lang.ClassCastException when i tried to get DataSource on my application client...

      On LoaderRepository i get:

      org.jboss.resource.adapter.jdbc.WrapperDataSource Information
      Repository cache version:
      org.jboss.resource.adapter.jdbc.WrapperDataSource(9daa17).ClassLoader=org.jboss.mx.loading.UnifiedClassLoader3@39ab89{ url=file:/C:/Desarrollo/jboss-3.2.3/server/default/tmp/deploy/tmp29846jboss-service.xml ,addedOrder=2}
      ..org.jboss.mx.loading.UnifiedClassLoader3@39ab89{ url=file:/C:/Desarrollo/jboss-3.2.3/server/default/tmp/deploy/tmp29846jboss-service.xml ,addedOrder=2}
      ..org.jboss.system.server.NoAnnotationURLClassLoader@c3c749
      ..sun.misc.Launcher$AppClassLoader@e80a59
      ....file:/C:/Desarrollo/jboss-3.2.3/bin/
      ....file:/C:/Desarrollo/Java/Sun/AppServer/jdk/lib/tools.jar
      ....file:/C:/Desarrollo/jboss-3.2.3/bin/run.jar
      ..sun.misc.Launcher$ExtClassLoader@1ff5ea7
      ....file:/C:/Desarrollo/Java/Sun/AppServer/jdk/jre/lib/ext/dnsns.jar
      ....file:/C:/Desarrollo/Java/Sun/AppServer/jdk/jre/lib/ext/ldapsec.jar
      ....file:/C:/Desarrollo/Java/Sun/AppServer/jdk/jre/lib/ext/localedata.jar
      ....file:/C:/Desarrollo/Java/Sun/AppServer/jdk/jre/lib/ext/sunjce_provider.jar
      ++++CodeSource: (file:/C:/Desarrollo/jboss-3.2.3/server/default/lib/jboss-common-jdbc-wrapper.jar )
      Implemented Interfaces:
      ++interface javax.resource.Referenceable(189cecf)
      ++++ClassLoader: org.jboss.mx.loading.UnifiedClassLoader3@39ab89{ url=file:/C:/Desarrollo/jboss-3.2.3/server/default/tmp/deploy/tmp29846jboss-service.xml ,addedOrder=2}
      ++++CodeSource: (file:/C:/Desarrollo/jboss-3.2.3/server/default/lib/jboss-j2ee.jar )
      ++interface javax.sql.DataSource(687ae0)
      ++++ClassLoader: null
      ++++Null CodeSource
      ++interface java.io.Serializable(132e910)
      ++++ClassLoader: null
      ++++Null CodeSource

      ### Instance0 found in UCL: org.jboss.mx.loading.UnifiedClassLoader3@39ab89{ url=file:/C:/Desarrollo/jboss-3.2.3/server/default/tmp/deploy/tmp29846jboss-service.xml ,addedOrder=2}


      javax.sql.DataSource Information
      Repository cache version:
      javax.sql.DataSource(13816e0).ClassLoader=null
      ++++Null CodeSource
      Implemented Interfaces:

      ### Instance0 found in UCL: org.jboss.mx.loading.UnifiedClassLoader3@39ab89{ url=file:/C:/Desarrollo/jboss-3.2.3/server/default/tmp/deploy/tmp397jboss-service.xml ,addedOrder=2}

      I dont have any clue why .. somebody tu help... please!