Petals BC SOAP

Provide SAs are corrupted at Petals restart

Details

  • Type: Bug Bug
  • Status: Inaccurate Inaccurate
  • Resolution: Incomplete
  • Affects Version/s: 4.1
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    When Petals is restarted with BC-SOAP + a "provide" SA deployed, the following error occurs (whatever the status of the web service imported: started or not): see stack trace below.

    If I remove and reinstall the SA, it works fine (like at 1st deployment).

    [Petals.JBI-Management.SystemRecoveryServiceImpl]-SEVERE 2011-01-21 15:35:33,694 org.ow2.petals.jbi.management.ManagementException: A service assembly consistency is corrupted: sa-SOAP-HelloWorldService-provide
    Caused by: JBI descriptor entry was not found in repository for JBI artefact 'sa-SOAP-HelloWorldService-provide'
    Its state changes to UNKNOWN
    Please check the repository consistency
    java.util.concurrent.ExecutionException: org.ow2.petals.jbi.management.ManagementException: A service assembly consistency is corrupted: sa-SOAP-HelloWorldService-provide
    Caused by: JBI descriptor entry was not found in repository for JBI artefact 'sa-SOAP-HelloWorldService-provide'
    Its state changes to UNKNOWN
    Please check the repository consistency
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:233)
    at java.util.concurrent.FutureTask.get(FutureTask.java:94)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllServiceAssembly(SystemRecoveryServiceImpl.java:364)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllEntities(SystemRecoveryServiceImpl.java:177)
    at org.objectweb.fractal.julia.generated.C290d4ec8_0.recoverAllEntities(INTERCEPTOR[SystemRecoveryService])
    at org.objectweb.fractal.julia.generated.Ca30db3f3_0.recoverAllEntities(INTERFACE[SystemRecoveryService])
    at org.ow2.petals.kernel.server.PetalsServerImpl.recoverSystem(PetalsServerImpl.java:590)
    at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:186)
    at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190)
    at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147)
    at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
    Caused by: org.ow2.petals.jbi.management.ManagementException: A service assembly consistency is corrupted: sa-SOAP-HelloWorldService-provide
    Caused by: JBI descriptor entry was not found in repository for JBI artefact 'sa-SOAP-HelloWorldService-provide'
    Its state changes to UNKNOWN
    Please check the repository consistency
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:320)
    at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
    at java.util.concurrent.FutureTask.run(FutureTask.java:149)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
    at java.util.concurrent.FutureTask.run(FutureTask.java:149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
    at java.lang.Thread.run(Thread.java:736)

    Show
    When Petals is restarted with BC-SOAP + a "provide" SA deployed, the following error occurs (whatever the status of the web service imported: started or not): see stack trace below. If I remove and reinstall the SA, it works fine (like at 1st deployment). [Petals.JBI-Management.SystemRecoveryServiceImpl]-SEVERE 2011-01-21 15:35:33,694 org.ow2.petals.jbi.management.ManagementException: A service assembly consistency is corrupted: sa-SOAP-HelloWorldService-provide Caused by: JBI descriptor entry was not found in repository for JBI artefact 'sa-SOAP-HelloWorldService-provide' Its state changes to UNKNOWN Please check the repository consistency java.util.concurrent.ExecutionException: org.ow2.petals.jbi.management.ManagementException: A service assembly consistency is corrupted: sa-SOAP-HelloWorldService-provide Caused by: JBI descriptor entry was not found in repository for JBI artefact 'sa-SOAP-HelloWorldService-provide' Its state changes to UNKNOWN Please check the repository consistency at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:233) at java.util.concurrent.FutureTask.get(FutureTask.java:94) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllServiceAssembly(SystemRecoveryServiceImpl.java:364) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllEntities(SystemRecoveryServiceImpl.java:177) at org.objectweb.fractal.julia.generated.C290d4ec8_0.recoverAllEntities(INTERCEPTOR[SystemRecoveryService]) at org.objectweb.fractal.julia.generated.Ca30db3f3_0.recoverAllEntities(INTERFACE[SystemRecoveryService]) at org.ow2.petals.kernel.server.PetalsServerImpl.recoverSystem(PetalsServerImpl.java:590) at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:186) at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190) at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147) at org.ow2.petals.distribution.platform.Main.main(Main.java:42) Caused by: org.ow2.petals.jbi.management.ManagementException: A service assembly consistency is corrupted: sa-SOAP-HelloWorldService-provide Caused by: JBI descriptor entry was not found in repository for JBI artefact 'sa-SOAP-HelloWorldService-provide' Its state changes to UNKNOWN Please check the repository consistency at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:320) at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl$2.call(SystemRecoveryServiceImpl.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736)
  • Environment:
    BC-SOAP 4.1-SNAPSHOT (compiled from trunk). Petals 3.1.1, Linux Ubuntu.