Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1700

EJB3 installer deletes JBOSS_HOME/client/ejb3-persistence.jar and does not copy it back during patching

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0
    • 1.0.0-GA
    • installer
    • None
    • Interactive Demo/Tutorial
    • Workaround Exists
    • Hide

      1) Manually copy the ejb3-persistence.jar from %JBOSS_HOME%/common/lib folder to %JBOSS_HOME%/client

      OR
      2) Edit the client classpath to include %JBOSS_HOME%/common/lib/ejb3-persistence.jar in the classpath.

      Show
      1) Manually copy the ejb3-persistence.jar from %JBOSS_HOME%/common/lib folder to %JBOSS_HOME%/client OR 2) Edit the client classpath to include %JBOSS_HOME%/common/lib/ejb3-persistence.jar in the classpath.

      The installer deletes the following files from the %JBOSS_HOME%/client folder:

      client/jboss-annotations-ejb3.jar
      client/jboss-ejb3-impl.jar
      client/jboss-ejb3-client.jar
      client/ejb3-persistence.jar
      client/jboss-ejb3-impl-javadoc.jar
      client/jboss-ejb3-ext-api.jar
      client/jboss-ejb3-core-client.jar
      client/jboss-ejb3-proxy-client.jar
      client/jboss-ejb3-proxy-clustered-client.jar
      client/jboss-ejb3-security-client.jar

      but copies back only:

      jboss-ejb3-ext-api.jar
      jboss-ejb3-common-client.jar
      jboss-ejb3-core-client.jar
      jboss-ejb3-proxy-client.jar
      jboss-ejb3-proxy-clustered-client.jar
      jboss-ejb3-security-client.jar
      jboss-metadata.jar

      1) The installer has references to unexistent jars:

      client/jboss-annotations-ejb3.jar
      client/jboss-ejb3-impl.jar
      client/jboss-ejb3-client.jar
      client/jboss-ejb3-impl-javadoc.jar

      Need to see other such references to non-existent jar(s) and cleanup those references. Not very critical since those are just redundant references.

      2) The installer deletes the client/ejb3-persistence.jar and does not recopy it. Since we don't do any changes to this jar, we shouldn't be deleting this. Fixing this is important since it breaks the client which rely on the presence of this jar in their classpath (either directly or through jbossall-client.jar). Till this is fixed, the workaround for the clients of this jar is to add %JBOSS_HOME%/common/lib/ejb3-persistence.jar to their classpath.

            jaikiran Jaikiran Pai (Inactive)
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: