[JBoss jBPM] - problem with jpdl-4.0.xsd
by jwerkmeister
Hi
I just installed jBPM 4.0.CR1 following the user manual step by step.
I added the file jpdl-4.0.xsd to Eclipse (Preferences --> XML Catalog)
and still lots of problems appear after compiling the examples that come with jBPM. It seems that jpdl-4.0.xsd lacks some definitions.
For example:
Description Resource Path Location Type
cvc-complex-type.2.4.a: Invalid content was found starting with element 'custom'. One of '{"http://jbpm.org/4.0/jpdl":swimlane, "http://jbpm.org/4.0/jpdl":on, "http://jbpm.org/4.0/jpdl":timer, "http://jbpm.org/4.0/jpdl":start, "http://jbpm.org/4.0/jpdl":end, "http://jbpm.org/4.0/jpdl":end-cancel, "http://jbpm.org/4.0/jpdl":end-error, "http://jbpm.org/4.0/jpdl":state, "http://jbpm.org/4.0/jpdl":decision, "http://jbpm.org/4.0/jpdl":fork, "http://jbpm.org/4.0/jpdl":join, "http://jbpm.org/4.0/jpdl":script, "http://jbpm.org/4.0/jpdl":hql, "http://jbpm.org/4.0/jpdl":sql, "http://jbpm.org/4.0/jpdl":java, "http://jbpm.org/4.0/jpdl":task, "http://jbpm.org/4.0/jpdl":sub-process}' is expected. process.jpdl.xml examples/src/org/jbpm/examples/custom line 10 XML Problem
or this one:
Description Resource Path Location Type
cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'java'. process.jpdl.xml examples/src/org/jbpm/examples/async/activity line 20 XML Problem
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237379#4237379
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237379
16 years, 10 months
[JBoss jBPM] - jBPM4 configuration problem
by dharraj
Hello,
I am using the default configuration that came with jBPM4 examples. I am getting the following exception when calling Configuration.setXmlString.
log4jfile=/project/rt/dev/rrp/pgs/jpl/mipl/pgs4/config/log4j.cfg.xml
log4j:WARN No appenders could be found for logger (org.jbpm.pvm.internal.xml.Parser).
log4j:WARN Please initialize the log4j system properly.
Huaaaaaa
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jbpm.pvm.internal.env.JbpmConfigurationParser.(JbpmConfigurationParser.java:47)
at org.jbpm.pvm.internal.env.JbpmConfigurationParser.(JbpmConfigurationParser.java:50)
at org.jbpm.pvm.internal.cfg.JbpmConfiguration.parse(JbpmConfiguration.java:165)
at org.jbpm.pvm.internal.cfg.JbpmConfiguration.setXmlString(JbpmConfiguration.java:152)
at org.jbpm.api.Configuration.setXmlString(Configuration.java:94)
at jpl.mipl.pgs4.Environment.(Environment.java:64)
at jpl.mipl.pgs4.EnvironmentFactory.createEnvironment(EnvironmentFactory.java:45)
at jpl.mipl.pgs4.EnvironmentFactory.main(EnvironmentFactory.java:75)
Caused by: org.jbpm.api.JbpmException:
error: couldn't parse xml document : org.apache.crimson.tree.DomEx: NAMESPACE_ERR: Attempt to create or change an object in a way which is incorrect with regard to namespaces.
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:169)
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:142)
at org.jbpm.pvm.internal.xml.Parse.checkErrors(Parse.java:189)
at org.jbpm.pvm.internal.wire.xml.WireParser.(WireParser.java:274)
... 8 more
Caused by: org.jbpm.api.JbpmException
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:165)
... 11 more
Caused by: org.apache.crimson.tree.DomEx: NAMESPACE_ERR: Attempt to create or change an object in a way which is incorrect with regard to namespaces.
at org.apache.crimson.tree.ElementNode2.checkArguments(ElementNode2.java:182)
at org.apache.crimson.tree.XmlDocument.createElementNS(XmlDocument.java:844)
at org.apache.crimson.tree.DOMImplementationImpl.createDocument(DOMImplementationImpl.java:142)
at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:441)
at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:387)
at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157)
... 9 more
Please help ASAP.
Thanks
Raj
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237341#4237341
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237341
16 years, 10 months
[JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a
by golubec
Thanks kukeltje,
I've read that blog about performance before as well as your jbpmplanet blog too.
As for "tuning-jbpm-in-cluster.html" the point there is demonstration of jBPM scalalability rather than performance i guess.
For me it's not clear whether workflow under the test is complex or a simple one (as one i'm using), because for 2000 "escalations" (is it jBPM terminology?) even the best time of 34 secs doesn't look great.
But "tuning-jbpm-in-cluster.html" also mentions that number of threads which execute process can be increased - may be that's the way i could achieve better performance in my case?
Another question is there only one way to run the same process multiple times:
Execution execution = executionService.startProcessInstanceByKey("NoOperation");
, or may be other approaches exist which would allow better performance, considering more constraints of course.
If you ask me - 3 millisecs per process isn't very good result - don't blame me, but i've tried Drools Flow with similar NoOperation flow where only start and end present. The results i got were - [0.5 ... 10,5] secs depending on the how the sessions are treated. I understand that the process state in jBPM is persisted and it will always have impact on the performance.
May be it's not a correct question but is it possible to disable process state persistency, so DB won't be involved at all??
As i said am just making evalution and try to choose the right technology for "workflow" engine which could face our near real-time requirements.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237248#4237248
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237248
16 years, 10 months