Uploaded image for project: 'ZZZ-WSO2 Carbon'
  1. ZZZ-WSO2 Carbon
  2. CARBON-11456

For a faulty bpel deployment, the service appears in service list even though the package is not listed in deployed package list

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 4.0.0
    • Labels:
      None
    • Environment:

      WSO2 BPS 2.1.2 (26/10/2011 packs)

      Description

      -Upload attached bpel. While uploading it gives error found at [1]

      -Despite the error messages, the service appears in services list and process get listed in deployed process page (image1.png)

      -But the deployed package is not available in deployed packages list (image2.png). Hence cannot remove it through UI

      [1] [2011-11-02 16:31:20,353] INFO - BpelC - info: [CompilingProcess] Compiling BPEL process.
      [2011-11-02 16:31:20,427] INFO - DeploymentInterceptor - Deploying Axis2 service: HelloService

      {super-tenant}

      [2011-11-02 16:31:20,552] ERROR - ExternalVariableManager - External variable engine "

      {http://ode.apache.org/externalVariables/jdbc}

      jdbc" referenced by external variable "evar1" not registered.
      [2011-11-02 16:31:20,552] ERROR - ExternalVariableManager - The "__PROCESS_SCOPE:HelloWorld2" scope declared an unknown external variable "evar1"; check the deployment descriptor.
      [2011-11-02 16:31:20,552] ERROR - ExternalVariableManager - Error initializing external variables. See log for details.
      [2011-11-02 16:31:20,553] ERROR - NStateLatch - Latch error, was releasing for state 1 but actually in -1
      java.lang.Exception
      at org.apache.ode.bpel.engine.NStateLatch.release(NStateLatch.java:113)
      at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:751)
      at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:319)
      at org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl$ProcessStoreListenerImpl.onProcessStoreEvent(BPELServerImpl.java:741)
      at org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:700)
      at org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:680)
      at org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl.onBPELPackageDeployment(ProcessStoreImpl.java:353)
      at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deployBPELPackageInODE(TenantProcessStoreImpl.java:563)
      at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:233)
      at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94)
      at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
      at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
      at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
      at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371)
      at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
      at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:365)
      at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
      at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
      at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)

      [2011-11-02 16:31:20,554] ERROR - BPELDeployer - Error deploying BPEL package: ExtVar.zip
      org.apache.ode.bpel.iapi.BpelEngineException: Error initializing external variables. See log for details.
      at org.apache.ode.bpel.engine.extvar.ExternalVariableManager.<init>(ExternalVariableManager.java:121)
      at org.apache.ode.bpel.engine.BpelProcess.initExternalVariables(BpelProcess.java:178)
      at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:941)
      at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:836)
      at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:846)
      at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:92)
      at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:747)
      at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:319)
      at org.wso2.carbon.bpel.core.ode.integration.BPELServerImpl$ProcessStoreListenerImpl.onProcessStoreEvent(BPELServerImpl.java:741)
      at org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:700)
      at org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:680)
      at org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl.onBPELPackageDeployment(ProcessStoreImpl.java:353)
      at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deployBPELPackageInODE(TenantProcessStoreImpl.java:563)
      at org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:233)
      at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94)
      at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
      at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
      at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
      at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371)
      at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
      at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:365)
      at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
      at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
      at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      [2011-11-02 16:31:20,556] INFO - DeploymentEngine - org.apache.axis2.deployment.DeploymentException: Error deploying BPEL package: ExtVar.zip

        Attachments

        1. ExtVar.zip
          5 kB
        2. ExtVar.zip
          5 kB
        3. image1.png
          image1.png
          97 kB
        4. image2.png
          image2.png
          72 kB
        5. Screenshot-2.png
          Screenshot-2.png
          100 kB

          Activity

            People

            • Assignee:
              waruna@wso2.com Waruna Ranasinghe
              Reporter:
              pavithra@wso2.com Pavithra Madurangi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: