Dirk Mallon [
http://community.jboss.org/people/blakkorange] created the discussion
"help upgrading from 1.2.1 to 3.2.5 needed"
To view the discussion, visit:
http://community.jboss.org/message/545255#545255
--------------------------------------------------------------
Hallo !
Got some Problems with upgrading our Caching.We want to use Hibernate 3.5.2 and JBossCache
3.2.5.
We got two Tomcats on different machines. Everyone has cache and they syncronize via
JGroups/udp.
It is my task to upgrade now.
At Start i see that hibernate(withc3p0) starts and cache seems to start too because I see
this line on console and its similar
to the former version:
GMS: address is 168.21.1.120:62174 (cluster=JBossCache-cluster)
In the following trace a CommandAwareRpcDispatcher had an error
6040 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to
JNDI, no JNDI name configured
6040 [main] INFO org.hibernate.cache.UpdateTimestampsCache - starting update timestamps
cache at region: org.hibernate.cache.UpdateTimestampsCache
6041 [main] INFO org.hibernate.cache.StandardQueryCache - starting query cache at region:
org.hibernate.cache.StandardQueryCache
2010-05-28 09:49:26,225 (main CommandAwareRpcDispatcher.java:387 )
ERROR java.lang.NullPointerException
but Hibernate can get a List of entities from the Database.
In my next lines, I instanciate a new entity start saving via Hibernate.
But now it crashes with this:
2010-05-28 09:49:26,397 (main CommandAwareRpcDispatcher.java:387 )
ERROR java.lang.NullPointerException
6510 [main] ERROR org.hibernate.event.def.AbstractFlushingEventListener - Could not
synchronize database state with session
org.hibernate.cache.CacheException: org.hibernate.cache.CacheException:
java.lang.RuntimeException: Failure to marshal argument(s)
Can anyone give me a hint, where to look to solve the problem?
thx Dirk
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/545255#545255]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]