3 Replies Latest reply on May 15, 2008 10:23 AM by manik

    2.1 upgrade from 2.0

    lovelyliatroim

      Hi Guys,
      Came across this problem when stepping up, might be already fixed but didnt see it in the JIRA. The new jboss-javaee.jar contains the javax.servlet package. Compare this to the older version 2.0 equivalent which doesnt package this package(jboss-j2ee.jar).

      So when deploying in tomcat and using the latest 2.1 with jboss-javaee.jar, i get


      INFO: validateJarFile(c:\tomcat-6.0.13\webapps\cmds\WEB-INF\lib\jboss-javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class


      If i revert back to using the 2.0 jar i have no problems but with the jboss-j2ee.jar cache wont start!!

      Cheers,
      LL




        • 1. Re: 2.1 upgrade from 2.0
          manik

          Thanks, will look into this. For now though, just use the jboss-javaee.jar from JBC 2.0.0.

          JBCACHE-1347

          • 2. Re: 2.1 upgrade from 2.0
            lovelyliatroim

            Just to clear up previous post, got the names of the jars mixed up

            2.0 comes with jboss-j2ee.jar

            2.1 comes with jboss-javaee.jar


            Problem is with using with jboss-javaee.jar with jboss cache 2.1. In meantime i took 2.0´s jboss-j2ee.jar and so far no problem using it with jboss-core 2.1.

            Cheers,
            LL




            • 3. Re: 2.1 upgrade from 2.0
              manik

              Yes, we only use that jar for the JTA interfaces. Look at the JIRA above, I'm proposing switching to using jta-1.1.jar instead of jboss-javaee.jar or jboss-j2ee.jar.