Petals ESB Container

Unable to deploy a SL containing a JBI descriptor without the attribute "version"

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 3.1
  • Fix Version/s: 5.0.0
  • Security Level: Public
  • Description:
    Hide

    It is not possible to deploy a SL (downloaded from http://download.java.net/jbi/binaries/open-jbi-components/main/nightly/latest/ojc/wsdlextlib.jar) containing a JBI descriptor in which the attribute "version" is not set.
    The error message is below.
    In the JBI specifications, this attribute is optional, see §6.3.1.

    [Petals.JBI-Management.InstallationServiceImpl]-SEVERE 2010-03-10 09:10:59,750 Unable to install the shared library at location 'file:/C:/ObjectWeb/petals-platform-3.0.5/install/wsdlextlib.jar' java.lang.Exception: The installation of the Shared Library 'file:/C:/ObjectWeb/petals-platform-3.0.5/install/wsdlextlib.jar' failed.
     at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:226)
     at org.objectweb.fractal.julia.generated.C6e5b7438_0.installSharedLibrary(INTERCEPTOR[InstallationServiceMBean])
     at org.objectweb.fractal.julia.generated.Cb8460763_0.installSharedLibrary(INTERFACE[InstallationServiceMBean])
     at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallSL(AutoLoaderServiceImpl.java:500)
     at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:136)
     at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
     at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
    Caused by: org.ow2.petals.kernel.api.server.PetalsException: The Shared Library version must be non null and non empty :C:\ObjectWeb\petals-platform-3.0.5\work\wsdlextlib.jar-20
     at org.ow2.petals.jbi.management.task.installation.install.sl.SLCheckPackageTask.checkPackage(SLCheckPackageTask.java:85)
     at org.ow2.petals.jbi.management.task.AbstractCheckPackageTask.execute(AbstractCheckPackageTask.java:56)
     at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
     at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:222)
     ... 7 more 
    [Petals.AutoLoaderServiceImpl]-SEVERE 2010-03-10 09:10:59,750 Failed to auto-install a shared library
    Show
    It is not possible to deploy a SL (downloaded from http://download.java.net/jbi/binaries/open-jbi-components/main/nightly/latest/ojc/wsdlextlib.jar) containing a JBI descriptor in which the attribute "version" is not set. The error message is below. In the JBI specifications, this attribute is optional, see §6.3.1.
    [Petals.JBI-Management.InstallationServiceImpl]-SEVERE 2010-03-10 09:10:59,750 Unable to install the shared library at location 'file:/C:/ObjectWeb/petals-platform-3.0.5/install/wsdlextlib.jar' java.lang.Exception: The installation of the Shared Library 'file:/C:/ObjectWeb/petals-platform-3.0.5/install/wsdlextlib.jar' failed.
     at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:226)
     at org.objectweb.fractal.julia.generated.C6e5b7438_0.installSharedLibrary(INTERCEPTOR[InstallationServiceMBean])
     at org.objectweb.fractal.julia.generated.Cb8460763_0.installSharedLibrary(INTERFACE[InstallationServiceMBean])
     at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallSL(AutoLoaderServiceImpl.java:500)
     at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:136)
     at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
     at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
    Caused by: org.ow2.petals.kernel.api.server.PetalsException: The Shared Library version must be non null and non empty :C:\ObjectWeb\petals-platform-3.0.5\work\wsdlextlib.jar-20
     at org.ow2.petals.jbi.management.task.installation.install.sl.SLCheckPackageTask.checkPackage(SLCheckPackageTask.java:85)
     at org.ow2.petals.jbi.management.task.AbstractCheckPackageTask.execute(AbstractCheckPackageTask.java:56)
     at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
     at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:222)
     ... 7 more 
    [Petals.AutoLoaderServiceImpl]-SEVERE 2010-03-10 09:10:59,750 Failed to auto-install a shared library
  • Environment:
    OS:all

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 12:58:18 +0200

Reopened to add an integration test about installing a SL without version

Show
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 12:58:18 +0200 Reopened to add an integration test about installing a SL without version
Hide
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 12:55:50 +0200

Since Petals 5, and PETALSESBCONT-314, the attribute "version" is mandatory.

Show
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 12:55:50 +0200 Since Petals 5, and PETALSESBCONT-314, the attribute "version" is mandatory.
Hide
Christophe DENEUX added a comment - Tue, 3 May 2011 - 10:22:13 +0200 - edited

According to JBI:

  • only one version of SL can be installed at the same time
  • the attribute 'version' is optional

Now, in Petals ESB:

  • several version of the same SL can be installed at the same time. It's required to be able to have several versions of the same service at the same time (several versions of the same component, so several versions of the same SL)
  • the attribute 'version' is mandatory.

It is interesting:

  • to have the attribute 'version' optional to plan SL upgrade without to uninstall services and components.
  • to be always able to install several versions of the same SL at the same time.

But this can not be implemented into a maintenance version of Petals ESB 3.1 because it will introduce JMX API incompatibilities. That's why it will be taken into account with the new major version of Petals ESB.

Show
Christophe DENEUX added a comment - Tue, 3 May 2011 - 10:22:13 +0200 - edited According to JBI:
  • only one version of SL can be installed at the same time
  • the attribute 'version' is optional
Now, in Petals ESB:
  • several version of the same SL can be installed at the same time. It's required to be able to have several versions of the same service at the same time (several versions of the same component, so several versions of the same SL)
  • the attribute 'version' is mandatory.
It is interesting:
  • to have the attribute 'version' optional to plan SL upgrade without to uninstall services and components.
  • to be always able to install several versions of the same SL at the same time.
But this can not be implemented into a maintenance version of Petals ESB 3.1 because it will introduce JMX API incompatibilities. That's why it will be taken into account with the new major version of Petals ESB.

People

Dates

  • Created:
    Thu, 22 Jul 2010 - 15:23:51 +0200
    Updated:
    Tue, 13 Sep 2016 - 10:52:15 +0200
    Resolved:
    Tue, 13 Sep 2016 - 10:52:15 +0200