3 Replies Latest reply on Mar 13, 2014 4:57 PM by ctomc

    moving project from jboss 5.1 to jboss 6.1 eap

    harshith.hm

      how can i covert move war deployed in jboss 5.1 to 6.1 eap jboss  please if you have any sample code accessing war/ear deployed 5.1 and and accessed by 6.1 ear please share it thanks in advance

        • 1. Re: moving project from jboss 5.1 to jboss 6.1 eap
          wdfink

          If you follow the JEE specification it should work for both, you only need to configure datasource etc. with the same names.

           

          You might have a look to the EAP6 migration guide

          • 2. Re: moving project from jboss 5.1 to jboss 6.1 eap
            harshith.hm

            Thanks for your reply

            i tried to get datasource by looking into the jboss document. i got datasource but when i do datasource.getConnection() i am getting following exception: 17:24:12,455 WARN  [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Class not found for XADataSource oracle.jdbc.xa.client.OracleXADataSource; - nested throwable: (java.lang.ClassNotFoundException: oracle.jdbc.xa.client.OracleXADataSource from BaseClassLoader@2b115c9b{VFSClassLoaderPolicy@d6da34{name=vfszip:

             

            Caused by: java.lang.ClassNotFoundException: oracle.jdbc.xa.client.OracleXADataSource from BaseClassLoader@2b115c9b{VFSClassLoaderPolicy@d6da34

            • 3. Re: moving project from jboss 5.1 to jboss 6.1 eap
              ctomc

              That error is not from EAP 6.1 but from jboss as 6.1.0.GA community release...