Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-406

Investigate about libraries upgradability (cornerstone/excalibur/avalon/phoenix)

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      We should try to upgrade to the latest libraries when feasible.

        Activity

        Hide
        bago Stefano Bagnara added a comment -

        Downloaded phoenix 4.0.4 sources.

        removed libs

        • avalon-framework-4.1.3.jar
        • excalibur-collections-1.0.jar
        • excalibur-concurrent-1.0.jar
        • excalibur-instrument-1.0.jar
        • excalibur-pool-1.0.jar
        • excalibur-thread-1.1.jar
        • logkit-1.1.1.jar
          added libs
        • avalon-framework-api-4.3-RC2.jar
        • avalon-framework-impl-4.3-RC2.jar
        • avalon-logkit-2.1-RC2.jar

        changed the build.xml to reflect the changes.
        rebuilt it and updated the james/phoenix-bin .

        Upgraded almost every library in james/lib:
        avalon-framework to 4.3 RC2
        excalibur-* to 2.1 RC2
        cornerstone-* to 2.1 RC2
        logkit to 2.1 RC2

        added concurrent-1.3.4.jar (latest excalibut/cornerstone need it).
        Changed the build.xml/include.properties and built.

        It now runs and seems to work.

        It now runs.

        Show
        bago Stefano Bagnara added a comment - Downloaded phoenix 4.0.4 sources. removed libs avalon-framework-4.1.3.jar excalibur-collections-1.0.jar excalibur-concurrent-1.0.jar excalibur-instrument-1.0.jar excalibur-pool-1.0.jar excalibur-thread-1.1.jar logkit-1.1.1.jar added libs avalon-framework-api-4.3-RC2.jar avalon-framework-impl-4.3-RC2.jar avalon-logkit-2.1-RC2.jar changed the build.xml to reflect the changes. rebuilt it and updated the james/phoenix-bin . Upgraded almost every library in james/lib: avalon-framework to 4.3 RC2 excalibur-* to 2.1 RC2 cornerstone-* to 2.1 RC2 logkit to 2.1 RC2 added concurrent-1.3.4.jar (latest excalibut/cornerstone need it). Changed the build.xml/include.properties and built. It now runs and seems to work. It now runs.
        Hide
        bago Stefano Bagnara added a comment -

        I've also downloaded the latest phoenix from https://svn.apache.org/repos/asf/avalon/cvs-migration-snapshot/avalon-phoeni
        x and tryed to upgrade it to the latest avalon. I've been successfull but when I try to run james in it I keep getting this error:

        Schema type specified as relax-ng was translated to URI http://relaxng.org/ns/structure/1.0 for component named database-connections of type org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.
        It is recomended that the components Info specify the URI rather than the type for compatability reasons.
        There was an uncaught exception:
        ---------------------------------------------------------
        — Message —
        Unable to validate configuration of component database-connections of type org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector
        — Stack Trace —
        org.apache.avalon.phoenix.interfaces.DeploymentException: Unable to validate configuration of component database-connections of type org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector
        at
        org.apache.avalon.phoenix.components.deployer.DefaultDeployer.validateConfig
        uration(DefaultDeployer.java:524)
        at
        org.apache.avalon.phoenix.components.deployer.DefaultDeployer.validateConfig
        uration(DefaultDeployer.java:503)
        at
        org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default
        Deployer.java:354)
        at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
        aultEmbeddor.java:542)
        at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
        aultEmbeddor.java:535)
        at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(De
        faultEmbeddor.java:520)
        at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultA
        pplications(DefaultEmbeddor.java:509)
        at
        org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(Defaul
        tEmbeddor.java:268)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
        at
        org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:184)
        at
        org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
        )
        at
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
        .java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:128)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:83)

        I'm using cornerstone-datasources-impl-2.1-RC2.jar but I don't know much about relax-ng... Any idea?

        Show
        bago Stefano Bagnara added a comment - I've also downloaded the latest phoenix from https://svn.apache.org/repos/asf/avalon/cvs-migration-snapshot/avalon-phoeni x and tryed to upgrade it to the latest avalon. I've been successfull but when I try to run james in it I keep getting this error: Schema type specified as relax-ng was translated to URI http://relaxng.org/ns/structure/1.0 for component named database-connections of type org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector. It is recomended that the components Info specify the URI rather than the type for compatability reasons. There was an uncaught exception: --------------------------------------------------------- — Message — Unable to validate configuration of component database-connections of type org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector — Stack Trace — org.apache.avalon.phoenix.interfaces.DeploymentException: Unable to validate configuration of component database-connections of type org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.validateConfig uration(DefaultDeployer.java:524) at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.validateConfig uration(DefaultDeployer.java:503) at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default Deployer.java:354) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def aultEmbeddor.java:542) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def aultEmbeddor.java:535) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(De faultEmbeddor.java:520) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultA pplications(DefaultEmbeddor.java:509) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(Defaul tEmbeddor.java:268) at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198) at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:184) at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:128) at org.apache.avalon.phoenix.launcher.Main.main(Main.java:83) I'm using cornerstone-datasources-impl-2.1-RC2.jar but I don't know much about relax-ng... Any idea?
        Hide
        bago Stefano Bagnara added a comment -

        Ok, by now we can test the new updated environment.
        ETA for the final releases of most of the RC2 libraries introduced is the 28th August 2005.

        I will do more test to find out wether it worth to upgrade to the latest phoenix or not.

        I keep open the task until the final releases.

        Show
        bago Stefano Bagnara added a comment - Ok, by now we can test the new updated environment. ETA for the final releases of most of the RC2 libraries introduced is the 28th August 2005. I will do more test to find out wether it worth to upgrade to the latest phoenix or not. I keep open the task until the final releases.
        Hide
        hilmer@apache.org Soren Hilmer added a comment -

        I know of a few bugs in the Phoenix we currently use (from the top of my head it had to do with JMX and classloading) which seams fixed in at least Phoenix 4.0.3.
        Also to know the source we use is major improvement IMO.

        Show
        hilmer@apache.org Soren Hilmer added a comment - I know of a few bugs in the Phoenix we currently use (from the top of my head it had to do with JMX and classloading) which seams fixed in at least Phoenix 4.0.3. Also to know the source we use is major improvement IMO.
        Hide
        bago Stefano Bagnara added a comment -

        Soren, differences between phoenix 4.0.1 and phoenix 4.0.4 are really FEW:

        • An added log line in DefaultApplication.java
        • Port choice support in MX4JSystemManager and service shutdown
        • Fixed string in a property file.

        So, if the bug was in phoenix and not in avalon, I think we don't fixed it by upgrading to the phoenix 4.0.4.
        The latest cvs for phoenix is indeed much different but I've not been able to run james inside that version by now.

        Show
        bago Stefano Bagnara added a comment - Soren, differences between phoenix 4.0.1 and phoenix 4.0.4 are really FEW: An added log line in DefaultApplication.java Port choice support in MX4JSystemManager and service shutdown Fixed string in a property file. So, if the bug was in phoenix and not in avalon, I think we don't fixed it by upgrading to the phoenix 4.0.4. The latest cvs for phoenix is indeed much different but I've not been able to run james inside that version by now.
        Hide
        hilmer@apache.org Soren Hilmer added a comment -

        Ahh, yes you are right it was the CVS that had the fixes.

        Show
        hilmer@apache.org Soren Hilmer added a comment - Ahh, yes you are right it was the CVS that had the fixes.
        Hide
        danny@apache.org Danny Angus added a comment -

        Closing issue fixed in released version.

        Show
        danny@apache.org Danny Angus added a comment - Closing issue fixed in released version.

          People

          • Assignee:
            bago Stefano Bagnara
            Reporter:
            bago Stefano Bagnara
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development