Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Process Services & Activiti (BPM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
java.lang.IllegalStateException when using JPA and TomCat
Question asked by
on May 21, 2016
on May 31, 2016 by jbarrez
Show 0 Likes
I have a simple application that uses a Spring beans. It works fine when I execute via JUnit Test, however, when I deploy it in TomCat I got a nasty exception (see attached file). I am using tomcat 9.0 and activiti 19.20.0
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
May 31, 2016 10:03 AM
Looking at the exception … it seems you are serializing the spring applicationContext. Perhaps you are using session serialization or something like that? and that you are injecting the application context in one of your service task beans or other classes?
Show 0 Likes
Retrieving data ...
Deploying and Running Alfresco Content Services 6.0
How to access the Alfresco Share from outside
Problem with Content Indexing (full text search)
Alfresco Community Edition 201804 EA