Hi!
Mmmh ... I have some problems to deploy a process with ant if async=true is
used in a node.
processdefinition.xml
| <node name="Send Email" async="true">
| <action class='my.process.action.SendEmail'></action>
| <transition name="to Finished" to="Finished"></transition>
| </node>
|
build.xml
| <target name="deploy.mysql.par" depends="clean, build.processes,
declare.jbpm.tasks" description="deploys the process-dfinition">
| <deployprocess cfg="${basedir}/src/config.files/hibernate.cfg.xml"
|
properties="${basedir}/src/resources/mysql/create.db.hibernate.properties">
| <fileset dir="build" includes="*.par" />
| </deployprocess>
| </target>
|
==> ERROR:
| [deployprocess] 17:32:44,201 [main] DEBUG NodeTypes : node 'page' will not
be available. class 'org.jboss.seam.jbpm.Page' couldn't be loaded
| [deployprocess] 17:32:44,201 [main] DEBUG JbpmContext : closing JbpmContext
| [deployprocess] org.jbpm.jpdl.JpdlException: [[ERROR] line 63:
cvc-complex-type.3.2.2: Attribute 'async' is not allowed to appear in element
'node'.]
| [deployprocess] at
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:163)
| [deployprocess] at
org.jbpm.jpdl.par.JpdlArchiveParser.readFromArchive(JpdlArchiveParser.java:47)
| [deployprocess] at
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:81)
| [deployprocess] at
org.jbpm.graph.def.ProcessDefinition.parseParZipInputStream(ProcessDefinition.java:189)
| [deployprocess] at
org.jbpm.ant.DeployProcessTask.deploy(DeployProcessTask.java:98)
| [deployprocess] at
org.jbpm.ant.DeployProcessTask.execute(DeployProcessTask.java:83)
| [deployprocess] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
| [deployprocess] at org.apache.tools.ant.Task.perform(Task.java:364)
| [deployprocess] at org.apache.tools.ant.Target.execute(Target.java:341)
| [deployprocess] at org.apache.tools.ant.Target.performTasks(Target.java:369)
| [deployprocess] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
| [deployprocess] at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
| [deployprocess] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
| [deployprocess] at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
| [deployprocess] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
| [deployprocess] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
| [deployprocess] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
|
| BUILD FAILED
| C:\Workspace\process_add_new_customer\build.xml:60: couldn't deploy process
archives : [[ERROR] line 63: cvc-complex-type.3.2.2: Attribute 'async' is not
allowed to appear in element 'node'.]
|
What am I doing wrong? Any suggestions?
Thanks for advice.
Greetz
k
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918943#3918943
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918943
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user