Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17990

MSSQL 2008, 2012, Unable to build EntityManagerFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • fuse-6.3-R19-GA
    • Fuse Standalone
    • None
    • False
    • False
    • % %
    • Todo
    • Hide

      1. run this jenkis job:
      fuse-6.3-eap-camel-components-database
       with parameters:

      GIT_BRANCH=6.3.x
      GIT_BRANCH_JJ=6.3.x
      FUSE_VERSION=6.3.0.redhat-515
      CUSTOM_BUILD_NAME=6.3.0.redhat-515
      JOB_EAP_URL=file://${HUDSON_STATIC_ENV}/eap/6.4.0/jboss-eap-6.4.0.zip
      
      JOB_EAP_PATCH_PATHS=${HUDSON_STATIC_ENV}/eap/6.4.9/jboss-eap-6.4.9-patch.zip,${HUDSON_STATIC_ENV}/eap/6.4.19/jboss-eap-6.4.19-patch.zip,${HUDSON_STATIC_ENV}/eap/6.4.23/jboss-eap-6.4.23-patch.zip
      
      JOB_EAP_FUSE_INSTALLER_URL=file://${HUDSON_STATIC_ENV}/fuse/fuse-eap-installer-${FUSE_VERSION}.jar
      

       (simplest way is: 'Rebuild Last')
       select just one combination in matrix: e.g MSSQL2008 + openjdk1.8_local

      2. go to logs of that run (see also an example in the description)

      Show
      1. run this jenkis job: fuse-6.3-eap-camel-components-database  with parameters: GIT_BRANCH=6.3.x GIT_BRANCH_JJ=6.3.x FUSE_VERSION=6.3.0.redhat-515 CUSTOM_BUILD_NAME=6.3.0.redhat-515 JOB_EAP_URL=file: //${HUDSON_STATIC_ENV}/eap/6.4.0/jboss-eap-6.4.0.zip JOB_EAP_PATCH_PATHS=${HUDSON_STATIC_ENV}/eap/6.4.9/jboss-eap-6.4.9-patch.zip,${HUDSON_STATIC_ENV}/eap/6.4.19/jboss-eap-6.4.19-patch.zip,${HUDSON_STATIC_ENV}/eap/6.4.23/jboss-eap-6.4.23-patch.zip JOB_EAP_FUSE_INSTALLER_URL=file: //${HUDSON_STATIC_ENV}/fuse/fuse-eap-installer-${FUSE_VERSION}.jar  (simplest way is: 'Rebuild Last')  select just one combination in matrix: e.g MSSQL2008 + openjdk1.8_local 2. go to logs of that run (see also an example in the description)

    Description

      SQL binding test fails due to:

      Caused by: java.lang.Exception: {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"sql-binding-test.jar#JpaEvents\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"sql-binding-test.jar#JpaEvents\": javax.persistence.PersistenceException: [PersistenceUnit: JpaEvents] Unable to build EntityManagerFactory
      12:04:14     Caused by: javax.persistence.PersistenceException: [PersistenceUnit: JpaEvents] Unable to build EntityManagerFactory
      12:04:14     Caused by: org.hibernate.HibernateException: Connection cannot be null when 'hibernate.dialect' not set"}}
      

      This problem is observed both on Fuse on EAP and Fuse on Karaf (similar error),
      Problem is observed strictly on MSSQL 2008 and 2012 (MSSQL 2014 is OK)
      in combination with various javas (interesting is, with ibm7 it works OK)

      e.g see log:
      console-output

      This is probably not a new problem (not introduced during 6.3 R19).
       

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            sveres@redhat.com Stefan Veres
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: