Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2800

Issue : Unable to run EJB test cases for upgradation in current project with Java 1.8 and WebLogic version 12.2.1.4 along with openejb.cxf.version 7.0.1 / openejb.cxf.version 8 jar.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 8.0.1
    • None
    • TomEE Build
    • Important

    Description

      In Details :

      In the present project set up we used Java 1.8 and WebLogic version 12.2.1.4 along with
      <openejb.cxf.version>7.0.3</openejb.cxf.version> or <openejb.cxf.version>8.0.0</openejb.cxf.version> and all open Ejb test case are falling and unable to proceed further.

      Now here goes the issue details of upgradation of current project :

      Issue 1 :
      We are trying to execute open ejb test cases with below mentioned configuration in POM.XML of our project
      <openejb.cxf.version>7.0.3</openejb.cxf.version>
      <activemq.client.version>5.13.5</activemq.client.version>
      <activemq.openwire.legacy.version>5.9.0</activemq.openwire.legacy.version>
      <maven.compiler.source>1.8</maven.compiler.source>
      <maven.compiler.target>1.8</maven.compiler.target>
      <weblogic.version>12.2.1.4</weblogic.version>

      Exception and error :
      We are facing below mentioned exception

      org.apache.openejb.OpenEjbContainer$InitializationException: java.lang.IllegalArgumentException
      Caused by: java.lang.IllegalArgumentException

      Issue 2 ) We are trying execute open Ejb test case with below mentioned configuration in POM.xml of project

      <openejb.cxf.version>8.0.1</openejb.cxf.version>
      <activemq.client.version>5.13.5</activemq.client.version>
      <activemq.openwire.legacy.version>5.9.0</activemq.openwire.legacy.version>
      <maven.compiler.source>1.8</maven.compiler.source>
      <maven.compiler.target>1.8</maven.compiler.target>
      <weblogic.version>12.2.1.4</weblogic.version>

      Exception details
      javax.ejb.EJBException: org.apache.openejb.OpenEJBException: OpenEJB has encountered a fatal error and cannot be started: The Assembler encountered an unexpected error while attempting to build the container system.: org/apache/activemq/ActiveMQXASslConnectionFactory
      Caused by: org.apache.openejb.OpenEJBException: OpenEJB has encountered a fatal error and cannot be started: The Assembler encountered an unexpected error while attempting to build the container system.: org/apache/activemq/ActiveMQXASslConnectionFactory
      Caused by: java.lang.NoClassDefFoundError: org/apache/activemq/ActiveMQXASslConnectionFactory
      Caused by: java.lang.ClassNotFoundException: org.apache.activemq.ActiveMQXASslConnectionFactory

      INFO: Inspecting classpath for applications: 41 urls. Consider adjusting your exclude/include. Current settings: openejb.deployments.classpath.exclude='', openejb.deployments.classpath.include='.*'
      Apr 08, 2020 12:08:33 PM org.apache.openejb.util.LogStreamAsync run
      Apr 08, 2020 12:08:34 PM org.apache.openejb.util.LogStreamAsync run
      INFO: Closing DataSource: DataSource

      2) Also Does JMS 2.0 is compatable with <openejb.cxf.version>7.0.3</openejb.cxf.version> or <openejb.cxf.version>8.0.0</openejb.cxf.version> JAR. Since we have are using JMS2.0 Queue in our project. Kindly be clear on this as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            manjunatha.mvit@gmail.com Manjunatha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified