We are currently working on the next Release 2.0.2 of the Imixs JEE Workflow Engine. The new release will support JEE6 and Glassfish 3. It includes also extended Rest Service API and some additional bug fixes. See the Issue tracker for more details or check out the current Snapshot Sources.
GLASSFISH & OPENID – JSR-196 WITH OPENID4JAVA
Imixs supports now a new Login Module which enables JEE Web Applications to authenticate against OpenID Providers.
You can test a Imixs Workflow Application using your own Google Account or any other OpenID Account on the ShareYourWork Online Workflow Plattform.
Read details about this Authentication Module for Glassfish here.
Comparison of JBoss JBPM and Imixs-Workflow
If you take a closer look at the Imixs Workflow Project you may ask yourself if the project is different to other Workflow Engines like JBoss JBPM or Activiti. In this blog will try to do a short comparison of JBPM and Imixs-Workflow. This comparison is not in technical detail but it should give an overview about the goals of the two open source projects. First I want to point out that Imixs-Workflow and JBPM are not rivals in the BPM market. Both projects are open source, both projects try to find solutions for similar but not equal problems in business process management and at least, both project use the same Eclipse-BPMN modeling platform. Continue reading “Comparison of JBoss JBPM and Imixs-Workflow”
IMIXS WORKFLOW JEE LIB 2.0.1 RELEASED
Today the new version 2.0.1 of the Imixs Workflow JEE Library was finally released.
Read more about the Imixs Workflow API on the www.imixs.org Project Site.
We are starting now immediate the 2.0.2-SNAPSHOT release. One goal of this new release is support for Hibernate and JBoss APP Server.
IMIXS WORKFLOW API 2.0.1 RELEASED
Today the new version 2.0.1 of the Imixs Workflow API was finally released.
Read more about the Imixs Workflow API on the www.imixs.org Project Site.
IMIXS MODELER VERSION 2.3.1 RELEASED
The latest version 2.3.1 of the Eclipse based Imixs Workflow Modeler is now released.
The new version includes different bug fixes and improvements in usability like the “new Report Wizard” and a new design of the modeler perspective.
The new release includes also additional updates:
- Imixs Workflow Modeler – 2.3.1.v200911181830
- Imixs Workflow Modeler Integration Plug-in – 2.2.7.v200911181830
- Imixs Workflow Report Plug-in – 1.0.1.v200911181830
Read more: http://doc.imixs.org/modeler/
JAVA.NET HAS APPROVED AND PUBLISHED THE IMIXS WORKFLOW PROJECT
Java.net has finally approved and published the Open Source Project Imixs Workflow.
The project started in the incubator of dev.java.net before three years and evolved its status now into the main projects listed on dev.java.net in the Java Enterprise community.
Project Directory Listing URL: Imixs Workflow
Project Space URL: http://imixs-workflow.dev.java.net
MIGRATION TO NEW IMIXS WORKFLOW JEE API
If you migrate form the ix-workflow project to the new Imixs Workflow project it is not possible to redeploy with the new JEE Implementation into an existing EJB / EAR module.
So I recommand to follow these steps:
- backup the entities form you existing Imixs Workflow Application with the new (!) org.imixs.workflow.jee.adminclient.web 1.4.3 using the Export Feature.
- Take care about the new persistence unit used in the persistence.xml
org.imixs.workflow.jee.jpa - Redeploy you new project with the persistence.xml option:
<property name=”toplink.ddl-generation”
value=”drop-and-create-tables” /> - Reimport you backupfile with the new imixs WOrkflow AdminClient Tool
NEW! IMIXS WORKFLOW PROJECT
I am proud to announce that we started the new Open Source Workflow Project Imixs-Workflow on dev.java.net. This project arise from the ix-workflow project we developed about for more than 3 years. But the new project is much more easy to use. We developed a bunch of simplifications in the Workflow API so the hole project is now much easier to integreate. I would be happy if you can give me some feedback to that project on the project home page.
I will provide a short video next time to show how easy it is building workflow applications based on the API.
DATABASE MIGRATION DERBY -> MYSQL
If you have started you workflow project using the build-in Derby Database from Glassfish you maybe can run into a performance problem if you manage a lot and complex of Data. This is because Derby is not so scalable in managing complex SQL statements like other Database Management Systems. In such a case you can easily migrate your workflow system form Derby to MySQL which is much more scalable.
Follow these steps to migrate data in a running system
- Start your Derby DB and Glassfish Server
- Make sure that your Workflow System is up and running
- Switch to the Imixs JEE Admin Client.
- Connect to the EntityPersistenceManager from your Workflow Instance
- Start a export using the default EQL Statement. This will export all existing Data of your workflow system into a file
>SELECT wii FROM Entity wiI
If the export did not succeed a reason can be the HeapSize of your Glassfish Server instance. You can increase the default HeapSize from 512m to 1024m using the Glassfish Admin Console.
Go to : Applicationserver->JVM Settings -> JVM Optionsand change -Xmx512m into -Xmx1024m - Undeploy your Workflow Instance
- Shutdown your Derby Database
- Setup a new MySQL Database and create a new JDBC Connection Pool using the Glassfish Console
- Now you can switch the JDBC/Ressource of your Workflow System from your Derby Database to your new MySQL Database
- Deploy your Workflow Instance again – this will generate the necessary Tables in your new MySQL Database
- Optionall : after deplyoment you can setup Entity Index Fields manually if necessary
- Import your Data form the Export File you generated in Step 5.
Thats it!
If the import process fails on MySQL check the following:
PACKETTOOBIGEXCEPTION
If you got the Excepiton:
com.mysql.jdbc.PacketTooBigException: Packet for query is too large
you should change the max_allowed_packet setting in your MySQL server for the import process
- Open your MySQL console
>mysql -u root -p - Change the max_allowed_packet setting
>SET GLOBAL max_allowed_packet=3000000000; - Restart your Glassfish Server (not the MySQL Database!)
- Reimport your data
- Restart you MySQL Server and Glassfish Server to reset the max_allowed_packet settings.
PERSISTENCEEXCEPTION
If you got the Exeption:
javax.persistence.PersistenceException: Exception [TOPLINK-4002] (Oracle TopLink Essentials – 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column ‘DATA’ at row 1
MySQL tells you that the BLOB field is to small to store the data. This is because MySQL generates per default a SmallBlob (64K) for your Data Fields in the Entity Table. You can change the Blob type after the deplyoment of your Workflow Instance :
- Open your MySQL console
>mysql -u root -p - Connect to to your Database
>USE mydatabase; - Change the BLOB Type to LONGBLOB (4GB) or MEDIUMBLOB (16MB)
>ALTER TABLE Entity CHANGE DATA DATA MEDIUMBLOB NOT NULL;