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/12/09 13:07:02 UTC
[jira] Resolved: (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 resolved ODE-625.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.0-beta3)
1.4
1.3.5
Assignee: Tammo van Lessen
fixed with https://svn.apache.org/repos/asf/ode/trunk@955618 - thanks for the hint.
> 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
> Assignee: Tammo van Lessen
> Fix For: 1.3.5, 1.4
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.