0 Replies Latest reply on Dec 7, 2010 12:42 PM by Michael Brackx

    jboss 6 M3 to CR1 migration

    Michael Brackx Newbie

      some "fixed" problems from migrating from M3 to CR1:

       

      "No original methods found" deploy problem

      workaround from http://community.jboss.org/message/558249

       

      joda time hibernate problem, resulting in java.lang.NoSuchFieldError: STRING

      joda time hibernate 1.2 is not working with hibernate 3.6.0-Final

      workaround: use usertype.sourceforge.net instead

       

      cdi related deploy problem

      fix: update beans.xml to

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="
            http://java.sun.com/xml/ns/javaee 
            http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
      </beans>

       

      resteasy/cdi related deploy problem resulting in

      java.lang.RuntimeException: Error instantiating class org.jboss.resteasy.cdi.ResteasyCdiExtension

      Caused by: java.lang.ClassCastException: org.jboss.resteasy.logging.impl.Log4jLogger cannot be cast to org.jboss.resteasy.logging.Logger

      fix: don't include resteasy jars in ear anymore