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

Roland Naudin made changes - Thu, 22 Jul 2010 - 15:25:19 +0200
Field Original Value New Value
Priority Minor [ 4 ]
Roland Naudin made changes - Wed, 25 Aug 2010 - 15:24:37 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ] Trivial [ 5 ]
Assignee Roland Naudin [ rnaudin ]
Christophe DENEUX made changes - Mon, 2 May 2011 - 16:27:48 +0200
Assignee Roland Naudin [ rnaudin ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Mon, 2 May 2011 - 16:43:56 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
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.
Christophe DENEUX made changes - Tue, 3 May 2011 - 10:22:38 +0200
Status In Progress [ 10003 ] Open [ 10002 ]
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 12:22:52 +0200
Description 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
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.

{code}
[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
{code}
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 12:54:37 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
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.
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 12:55:50 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.0 [ 10413 ]
Resolution Not a bug [ 9 ]
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 12:56:04 +0200
Link This issue depends on PETALSESBCONT-314 [ PETALSESBCONT-314 ]
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
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 12:58:18 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Not a bug [ 9 ]
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 13:00:18 +0200
Fix Version/s 5.0.1 [ 10579 ]
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 13:00:45 +0200
Fix Version/s 5.0.1 [ 10579 ]
Christophe DENEUX made changes - Tue, 13 Sep 2016 - 10:51:54 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Tue, 13 Sep 2016 - 10:52:15 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
34d
1
Roland Naudin
Wed, 25 Aug 2010 - 15:24:37 +0200
Open Open In Progress In Progress
250d 1h 19m
1
Christophe DENEUX
Mon, 2 May 2011 - 16:43:56 +0200
In Progress In Progress Open Open
17h 38m
1
Christophe DENEUX
Tue, 3 May 2011 - 10:22:38 +0200
Open Open In Progress In Progress
1616d 2h 31m
1
Christophe DENEUX
Mon, 5 Oct 2015 - 12:54:37 +0200
In Progress In Progress Resolved Resolved
1m 13s
1
Christophe DENEUX
Mon, 5 Oct 2015 - 12:55:50 +0200
Resolved Resolved Open Open
2m 28s
1
Christophe DENEUX
Mon, 5 Oct 2015 - 12:58:18 +0200
Open Open In Progress In Progress
343d 21h 53m
1
Christophe DENEUX
Tue, 13 Sep 2016 - 10:51:54 +0200
In Progress In Progress Resolved Resolved
21s
1
Christophe DENEUX
Tue, 13 Sep 2016 - 10:52:15 +0200



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