1 Reply Latest reply on Jun 12, 2009 5:38 PM by Ronald van Kuijk

    jBPM4 configuration problem

    Rajesh Patel Newbie

      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