cancel
Showing results for 
Search instead for 
Did you mean: 

java.io.NotSerializableException: org.activiti.engine.impl

cweber
Champ in-the-making
Champ in-the-making
Hi. I am trying to use the activiti engine (5.9 or 5.10) with a jsf + primefaces gui on a Apache Tomcat 7.
I created a java managed bean which created the engine and it works so far that I could get the first tasks for a user.

But I ever get the following error:
SCHWERWIEGEND: Exception loading sessions from persistent storage
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.activiti.engine.impl.IdentityServiceImpl

Isn't it possible to serialize this class? Is there another way to use the identity service in jsf managed beans?
Thanks for help.
6 REPLIES 6

jbarrez
Star Contributor
Star Contributor
My jsf is a bit rusty, bit are managed beans the right place to store it?

The process engine and it services are thread safe, and the best way is to store it somewhere central, not in a managed bean, right?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Use activiti-cdi… Perfect fit with jsf.

cweber
Champ in-the-making
Champ in-the-making
Thanks for answearing. I'll give cdi-beans a try.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
By any chance using Primefaces? A cweber active there as well…

cweber
Champ in-the-making
Champ in-the-making
Yes, I'm there, too.

I'm starting to search for a good possibility to create a gui around the activiti engine. And that is why I start testing JSF with Primefaces. Are you envolved in the Primeface development?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
kukeltje in the primefaces forum… And no, I'm not developing Primefaces… But yes, I'm currently looking into extending the primefaces datatable with tree functionality, auto-height, a nice search button (or hiding the search filters) and more… Stay tuned over the weekend.

Btw, the Camunda Fox cockpit is developed in JSF/Primefaces. Maybe some ideas there…?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.