You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Tammo van Lessen (JIRA)" <ji...@apache.org> on 2010/04/13 14:29:23 UTC

[jira] Updated: (ODE-625) Deployment Poller Crashes when trying to deploy BPEL File with errors

     [ https://issues.apache.org/jira/browse/ODE-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tammo van Lessen updated ODE-625:
---------------------------------

    Fix Version/s: 1.3.5

> Deployment Poller Crashes when trying to deploy BPEL File with errors
> ---------------------------------------------------------------------
>
>                 Key: ODE-625
>                 URL: https://issues.apache.org/jira/browse/ODE-625
>             Project: ODE
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.0
>         Environment: Tomcat/5.5 debian Linux Ode Trunk Rev. 782012
>            Reporter: Christian Fonden
>             Fix For: 1.3.5
>
>
> Whenever a BPEL File that contains semantic errors is deployed, the deployment services crashes with a FATAL Exception, thus no more Processes can be deployed until the Ode Webapp is restarted. 
> This can be reproduced by performing the following steps: 
> 1. Deploy empty ode webapp in tomcat using the trunk revision (as listed in environment)
> 2. create a BPEL process that contains an error like a typo in an xpath variable name ore something else non-syntactical. 
> 3. The BPEL Compiler recognizes that error, which is the correct behaviour. 
> 4. The thrown exception is propagated into the deployment service
> 5. The Exception is not cought in the deployment service and the deployment poller crashes
> This can be seen easily in the following ODE Log file: 
> 18180 [Thread-8] ERROR org.apache.ode.bpel.compiler.BpelC  - null:237: error: [UndeclaredVariable] Attempt to reference undeclared variable "querytarget".
> ***************************************************************************************
> *** The error in the BPEL file here is a type in the variable name "querytarget". ***
> ***************************************************************************************
> 18194 [Thread-8] ERROR org.apache.ode.store.ProcessStoreImpl  - Deploy failed; error: [CompilationErrors] Compilation completed with 1 error(s):
>         null:237: error: [UndeclaredVariable] Attempt to reference undeclared variable "querytarget".
> org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation completed with 1 error(s):
>         null:237: error: [UndeclaredVariable] Attempt to reference undeclared variable "querytarget".
>         at org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompilerImpl.java:764)
>         at org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompilerImpl.java:133)
>         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:172)
>         at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:135)
>         at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:185)
>         at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:162)
>         at org.apache.ode.axis2.deploy.DeploymentPoller.access$400(DeploymentPoller.java:60)
>         at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:247)
> 18199 [Thread-8] ERROR org.apache.ode.axis2.deploy.DeploymentPoller  - Deployment of Context4BPELScenario failed, aborting for now.
> org.apache.ode.bpel.iapi.ContextException: Deploy failed; error: [CompilationErrors] Compilation completed with 1 error(s):
>         null:237: error: [UndeclaredVariable] Attempt to reference undeclared variable "querytarget".
>         at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:189)
>         at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:162)
>         at org.apache.ode.axis2.deploy.DeploymentPoller.access$400(DeploymentPoller.java:60)
>         at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:247)
> Caused by: org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation completed with 1 error(s):
>         null:237: error: [UndeclaredVariable] Attempt to reference undeclared variable "querytarget".
>         at org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompilerImpl.java:764)
>         at org.apache.ode.bpel.compiler.v2.BpelCompilerImpl.compile(BpelCompilerImpl.java:133)
>         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:172)
>         at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:135)
>         at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:185)
>         ... 3 more
> 21204 [Thread-8] FATAL org.apache.ode.axis2.deploy.DeploymentPoller  - Encountered an unexpected error.  Exiting poller...
> java.lang.NullPointerException
>         at org.apache.ode.store.ProcessStoreImpl.refreshSchedules(ProcessStoreImpl.java:851)
>         at org.apache.ode.axis2.deploy.DeploymentPoller$DDWatchDogObserver.init(DeploymentPoller.java:292)
>         at org.apache.ode.utils.WatchDog$DefaultObserver.onUpdate(WatchDog.java:302)
>         at org.apache.ode.utils.WatchDog.check(WatchDog.java:132)
> The last error destroys the deployment poller 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira