[jboss-user] [JBossCache] - Failed to start pojo cache with JDK 1.6

ctof do-not-reply at jboss.com
Mon May 21 04:24:12 EDT 2007


Hi

I try to start my application which need to be compiled with jdk 1.6 (due to external 1.6 lib dependencies) and it fails when i start the second client (during the state synchronization).
I use PojoCache 2.0.0-RC1

I have made a test by removing my 1.6 code dependencies,compile and run my sample under 1.5, and all works fine.

Any idea ?
Thx
Christophe


  | 
  | -------------------------------------------------------
  | GMS: address is 191.254.42.78:2615
  | -------------------------------------------------------
  | Exception in thread "main" org.jboss.cache.pojo.PojoCacheException: init org.jboss.cache.config.Configuration at a6079c75 failed
  | 	at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:100)
  | 	at org.jboss.cache.pojo.impl.PojoCacheImpl.<init>(PojoCacheImpl.java:89)
  | 	at org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:54)
  | 	at sgcib.deai.ft.FTAppLauncherDemo.main(FTAppLauncherDemo.java:59)
  | Caused by: org.jboss.cache.CacheException: Unable to fetch state on startup
  | 	at org.jboss.cache.CacheImpl.start(CacheImpl.java:791)
  | 	at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:87)
  | 	at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:96)
  | 	... 3 more
  | Caused by: java.io.EOFException
  | 	at java.io.DataInputStream.readShort(DataInputStream.java:298)
  | 	at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
  | 	at java.io.ObjectInputStream.readShort(ObjectInputStream.java:928)
  | 	at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:223)
  | 	at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateAssociatedState(DefaultStateTransferIntegrator.java:116)
  | 	at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateState(DefaultStateTransferIntegrator.java:63)
  | 	at org.jboss.cache.statetransfer.StateTransferManager.setState(StateTransferManager.java:201)
  | 	at org.jboss.cache.statetransfer.StateTransferManager.setState(StateTransferManager.java:152)
  | 	at org.jboss.cache.CacheImpl$MessageListenerAdaptor.setState(CacheImpl.java:3407)
  | 	at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:667)
  | 	at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:722)
  | 	at org.jgroups.JChannel.up(JChannel.java:1015)
  | 	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:326)
  | 	at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:509)
  | 	at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$2.run(STREAMING_STATE_TRANSFER.java:674)
  | 	at java.lang.Thread.run(Thread.java:619)
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047135#4047135

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047135



More information about the jboss-user mailing list