Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-504

Error on deployment after change expressionLanguage to XQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • None
    • Deployment
    • None
    • apache-tomcat-5.5.27, Java 1.6, OS X

    Description

      1. Download ODE 2.0 from trunk (pre-built WAR, not the source)
      2. Place war into tomcat and start
      3. copy examples/HelloWorld2 into ode/WEB-INF/processes/
      4. test process (works)
      5. edit HelloWorld2.bpel and change /process/@expressionLanguage from urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0 to urn:oasis:names:tc:wsbpel:2.0:sublang:xquery1.0
      6. delete HelloWorld2.deployed
      7. Note error in console
      8. revert change and process works

      Error from catalina.out:

      INFO - GeronimoLog.info(79) | Unregistered process

      {http://ode/bpel/unit-test}

      HelloWorld2-1.
      ERROR - GeronimoLog.error(104) | null:58: error: [UndeclaredVariable] Attempt to reference undeclared variable "pid".
      ERROR - GeronimoLog.error(108) | Deploy failed; error: [CompilationErrors] Compilation completed with 1 error(s):
      null:58: error: [UndeclaredVariable] Attempt to reference undeclared variable "pid".

      org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation completed with 1 error(s):
      null:58: error: [UndeclaredVariable] Attempt to reference undeclared variable "pid".

      at org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompilerImpl.java:763)
      at org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompilerImpl.java:132)
      at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:268)
      at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:338)
      at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:171)
      at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:134)
      at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:183)
      at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
      at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
      at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188)
      ERROR - GeronimoLog.error(108) | Deployment of HelloWorld2 failed, aborting for now.
      org.apache.ode.bpel.iapi.ContextException: Deploy failed; error: [CompilationErrors] Compilation completed with 1 error(s):
      null:58: error: [UndeclaredVariable] Attempt to reference undeclared variable "pid".

      at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:187)
      at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
      at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
      at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188)
      Caused by: org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation completed with 1 error(s):
      null:58: error: [UndeclaredVariable] Attempt to reference undeclared variable "pid".

      at org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompilerImpl.java:763)
      at org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompilerImpl.java:132)
      at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:268)
      at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:338)
      at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:171)
      at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:134)
      at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:183)
      ... 3 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            mark.ford Mark Ford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: