virendra agarwal [
http://community.jboss.org/people/viren_agarwal_rsg] replied to the
discussion
"Unable to set the mail configuration properties in JBPM 4.3"
To view the discussion, visit:
http://community.jboss.org/message/549321#549321
--------------------------------------------------------------
This is the stacktrace
Exception in thread "main" java.lang.NullPointerException
at
org.jbpm.pvm.internal.processengine.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:152)
at
org.jbpm.pvm.internal.processengine.ProcessEngineImpl.<init>(ProcessEngineImpl.java:105)
at
org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:92)
at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:126)
at org.jbpm.examples.java.JBPMRepository.createProcessEngine(JBPMRepository.java:35)
at org.jbpm.examples.java.JBPMMailTest.initiateJBPMEngine(JBPMMailTest.java:19)
at org.jbpm.examples.java.JBPMMailTest.main(JBPMMailTest.java:65)
I did little change in it to get it work . I have included these in xml file
<import resource="jbpm.default.cfg.xml" />
<import resource="jbpm.businesscalendar.cfg.xml" />
<import resource="jbpm.tx.hibernate.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.bpmn.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
Now null pointer is gone but authentication error is still there
How can i override default xml defination
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/549321#549321]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]