4 Replies Latest reply on Nov 15, 2011 1:23 AM by muzzajboss

    Change JBoss from 4.2 to 7.0.2

    generic1

      Hi,

       

      I have an application which is running on JBoss 4.2 and it works fine.

      Now I will change the JBoss from version 4.2 to 7.0.2 and there I have a few problems e.g. Jboss 4.2 contains a jar- file jboss-j2ee.jar and in this jar there is a class javax.sql.RowSet.

      If I change to JBoss 7.0.2, javax.sql.RowSet couldn't be found and there is no jboss-j2ee.jar or similary jar.

       

      Also log4j.jar is available at JBoss 4.2 but is not available with JBoss 7.0.2?

       

      Has anyone any idea what I can do in order to solve this probelem.

      Tahnks a lot!!

      all the best.

      Generic1

        • 1. Re: Change JBoss from 4.2 to 7.0.2
          jaikiran

          Are those compile times errors that you are mentioning? Are you using some IDE?

          • 2. Re: Change JBoss from 4.2 to 7.0.2
            generic1

            Yes, I use Eclipse Java EE IDE for Web Developers 3.7 (Indigo Release 1).

            If I change with right mouse context -> Properties for MYPROJEKT -> Java Build Path -> Libraries from JBoss 4.2 to JBoss 7.x Runtime than I get this Compiler error.

            • 3. Re: Change JBoss from 4.2 to 7.0.2
              peterj

              javax.sql.RowSet appears in rt.jar for JDK 5 and higher, therefore you should not need to include any JBoss JAR file for that class. Perhaps if you would post the errors you are getting we might be able to help you better.

              • 4. Re: Change JBoss from 4.2 to 7.0.2
                muzzajboss

                yes, for java v 5 and higher, we already have this class in rt.jar. but if you still find the problem in getting class during compilation (as you didnt mentioned) then you can use explicit library or can use 'sar' archive for this. As it helps you in getting the same class dynamically during runtime.

                 

                Message was edited by: Mohammed Mozammil