java.lang.IllegalStateException when using JPA and TomCat
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2016 03:41 PM
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 05: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?
