Hi Anand, in jBPM 5.2 the timeout on loading processes should have been removed, can you please test and let us know if you are still running into this issue?
Great. I will test and let you know.
BTW, I am not seeing the report engine working in 5.2 Console
. I have installed latest birt runtime in
and i am pointing my server to above location but when i try to load the templates, I keep getting following error:
Reporting Engine does not seem to be running. Please make sure it is running before creating reports.
Consult the jBPM Installer chapter in the documentation to learn how to set up the Reporting Engine.
· Action: 'org.jboss.bpm.console.client.report.UpdateReportConfigAction'
· Exception: 'class com.google.gwt.http.client.RequestException'
Has configuration changed in 5.2 as to where report engine needs to be installed for console reports api to pick it up ?
i was seeing that 5.2 console uses report core 1.4.2 apis , where can i find the source code for those apis so that i can debug the problem ?
thanks a bunch.
Birt 3.7 is a little different in that you no longer need any directories or jars ourside of the war. Please take a look at the jbpm-installer build.xml to see how it sets it up for AS5 and AS7 ( https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/build.xml - for AS7 specifically: https://github.com/droolsjbpm/jbpm/blob/master/jbpm-installer/build.xml#L410 ).
If you are using the jbpm installer the birt setup is all done for you.
Hope this helps.
Thanks, i will check build script but I am setting up console on WebSphere 7.
OK. You would just have to follow what the build script does, and set up the birt reporting yourself (by unzipping your war, adding the birt jars to the needed location, then zipping it up again). Hope this helps.
I am loading process defitions from loca files system instead console,
and i am getting following error when console builds knowledgebase
2011-12-20 17:05:39,321 WARN [WebContainer : 3] - Participating in existing JTA transaction, but no JTA TransactionManager or TransactionSychronizationRegistry available:
2011-12-20 17:05:39,598 ERROR [WebContainer : 3] - Could not commit session
- java.lang.RuntimeException: Unable to load session snapshot
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
I have made not made any changes to persistence.xml that came with installer except datasource and transaction manager for Websphere, here is what my persistence.xml looks like:
<persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA">
<property name="hibernate.dialect" value="org.hibernate.dialect.DB2Dialect"/>
<property name="hibernate.max_fetch_depth" value="3"/>
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.show_sql" value="false" />
please let me know what am i missing here ?
I believe you need to insert TransactionManager into Environment prior to loading the session.
InitialContext initialContext = new InitialContext(); environment.set(EnvironmentName.TRANSACTION_MANAGER, initialContext.lookup("java:/TransactionManager"));
Thanks for reply, but shouldn't this thing work right of the box. I am just trying to deploy the console that I downloaded as part of installer 5.2. The only difference is that I am doing this deployment on Websphere 7.
I have already setup console successfully for JBPM 5.1 on Websphere 7. Has anything changed between 5.1 and 5.2 ?
I should have been more specific. . You guys are fantastic. There are lots of new features in 5.2 that my fellow colleagues are really excited specially around human task apis.
in my last post, I meant how the console APIs (CommandDelegate specifically) loads knowledgesession - has that changed from 5.1 to 5.2 I am looking at the source code and does not look like.
I will keep chugging along and will keep group posted on findings.
just to add to my post regarding issues with loading process definition, I am loading the process files from local file system instead of Guyvonr. I have looked at CommandDelegate class and its seems to support both loca files and Guvnor. However 5.2 Release notes mention only synchronization with Guvnor. Just wondering if 5.2 supports loading process definitions from local file system or not.
Can someone please shed some light on this.
thanks a lot
Yes, file system lookup is still supported. The location of where console tries to find process assets that are on the file system is governd by the value of the jbpm.console.directory property in jbpm.console.properties.