Hello!
We migrated one of our legacy webservices to Spring Boot/Spring MVC.
Now i have a strange problem. At first the app runs perfectly for a couple of hours.
After that it stops working and I get the following exception:
2015-06-17 01:16:28.450 ERROR 25197 --- [ajp-nio-8053-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.orm.jpa.JpaSystemException: com.objectdb.o.UserException: Mismatch client-server protocol prefix; nested exception is javax.persistence.PersistenceException: com.objectdb.o.UserException: Mismatch client-server protocol prefix] with root cause
com.objectdb.o.UserException: Mismatch client-server protocol prefix
at com.objectdb.o.MSG.d(MSG.java:62)
at com.objectdb.o.SCO.b(SCO.java:210)
at com.objectdb.o.NTS.z(NTS.java:287)
at com.objectdb.o.CLS.S(CLS.java:349)
at com.objectdb.o.CLS.Q(CLS.java:282)
at com.objectdb.o.CST.UD(CST.java:416)
at com.objectdb.o.GEN.x(GEN.java:256)
at com.objectdb.o.ENH.f(ENH.java:328)
at com.objectdb.o.STM.E(STM.java:421)
at com.objectdb.o.OBM.bP(OBM.java:919)
at com.objectdb.jdo.PMImpl.bP(PMImpl.java:2267)
at com.objectdb.o.OBM.bO(OBM.java:833)
at com.objectdb.o.OBM.bM(OBM.java:742)
at com.objectdb.jpa.EMImpl.commit(EMImpl.java:299)
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)
I checked multiple times if the versions match. They do. DB server version 2.6.2. Client version 2.6.2. Also there's only one objectdb jar on the classpath.
It's also not a network problem. It also happens on the node which also runs the DB server. -> Connection on localhost
We also have a Spring Boot/Vaadin Webapp which works without any problems.
What's going on here?
Regards
Ralph