[JBossCache] - JBossCache - RpcDispatcher:257 - exception marshalling objec
by sebas23
Good evening,
I am trying to configure JBossCache for Hibernate in Weblogic 9.2. I am using hibernate-3.2.5, jbosscache-1.4.1sp4 and jgroups-2.4.1-sp4. I can see the two nodes from the cluster establish their communication when everything gets initialized, i.e. stuff like:
22:58:07,257 DEBUG GMS:435 - [local_addr=10.222.64.80:57141] view is [10.222.64.91:57141|1] [10.222.64.91:57141, 10.222.64.80:
57141]
(I basically use the treecache.xml provided on the wiki)
Now, when hibernate loads objects and tries to replicate them accross, I get a load of exceptions like the one below. I can't figure out what setting I am missing/what could be the problem at this point. All the jar files are in in the APP-INF/lib folder in my application ear file so it should be a problem to load. I would definitely appreciate any help!
Thanks in advance,
Seb
22:58:24,280 ERROR RpcDispatcher:257 - exception marshalling object
java.io.IOException: org.hibernate.cache.CacheKey
at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:332)
at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingClass.java:72)
at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory
.java:381)
at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
at org.jboss.serial.io.JBossObjectInputStreamSharedTree.readObjectOverride(JBossObjectInputStreamSharedTree.java:61)
at org.jboss.cache.marshall.JBossObjectStreamFactory$JBossObjectInputStreamOverride.readObjectOverride(JBossObjectStre
amFactory.java:33)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:432)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallFqn(TreeCacheMarshaller140.java:520)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:440)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallMethodCall(TreeCacheMarshaller140.java:493)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:436)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallArrayList(TreeCacheMarshaller140.java:544)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:452)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallMethodCall(TreeCacheMarshaller140.java:493)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:436)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallMethodCall(TreeCacheMarshaller140.java:493)
at org.jboss.cache.marshall.TreeCacheMarshaller140.unmarshallObject(TreeCacheMarshaller140.java:436)
at org.jboss.cache.marshall.TreeCacheMarshaller140.objectFromStream(TreeCacheMarshaller140.java:126)
at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:167)
at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:254)
at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654)
at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)
at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:777)
at org.jgroups.JChannel.up(JChannel.java:1091)
at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:158)
at org.jgroups.stack.UpHandler.run(Protocol.java:60)
Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.CacheKey
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassByName(ClassMetamodelFactory.java:269)
at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:289)
... 31 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077604#4077604
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077604
18Â years, 8Â months
[JBoss jBPM] - BUILD ERROR
by pedroluppi
I downloaded the jbpm.3 head source form cvs and in jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.build/build.xml, I ran the "all" target. And get the error bellow. Someone can i help ? i do not change any code.
Buildfile: C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml
check.project.dirs:
[echo] checking file availability
get.site:
get.feature:
get.main:
get.projects:
build:
install.eclipse:
prepare.workspace:
run-eclipse-plugin-builder:
[java] Buildfile: mainTargets.xml
[java] main:
[java] preBuild:
[java] preSetup:
[java] [echo] doing preSetup
[java] getMapFiles:
[java] [echo] doing getMapFiles
[java] postSetup:
[java] [echo] doing postSetup
[java] fetch:
[java] generate:
[java] preGenerate:
[java] [echo] doing preGenerate
[java] [echo] baseLocation is c:/software/eclipse
[java] allElements:
[java] init:
[java] generateScript:
[java] postGenerate:
[java] [echo] doing postGenerate
[java] process:
[java] preProcess:
[java] [echo] doing preProcess
[java] allElements:
[java] init:
[java] processElement:
[java] init:
[java] build.jars:
[java] init:
[java] all.features:
[java] all.plugins:
[java] properties:
[java] init:
[java] build.jars:
[java] properties:
[java] init:
[java] ui.jar:
[java] update.feature:
[java] all.children:
[java] postProcess:
[java] [echo] doing postProcess
[java] assemble:
[java] preAssemble:
[java] [echo] doing preAssemble
[java] allElements:
[java] init:
[java] assembleElement:
[java] main:
[java] assemble.org.jbpm.gd.jpdl.feature:
[java] main:
[java] properties:
[java] init:
[java] gather.bin.parts:
[java] init:
[java] gather.bin.parts:
[java] children:
[java] rootFiles*_*_*:
[java] BUILD FAILED
[java] C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\mainTargets.xml:25: The following error occurred while executing this line:
[java] C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\mainTargets.xml:90: The following error occurred while executing this line:
[java] C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\customTargets.xml:8: The following error occurred while executing this line:
[java] C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\genericTargets.xml:133: The following error occurred while executing this line:
[java] C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\assemble.org.jbpm.gd.jpdl.feature.all.xml:4: The following error occurred while executing this line:
[java] C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\customTargets.xml:22: The following error occurred while executing this line:
[java] C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\assemble.org.jbpm.gd.jpdl.feature.xml:54: Execute failed: java.io.IOException: Cannot run program "zip" (in directory "C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\tmp"): CreateProcess error=2, O sistema não pode encontrar o arquivo especificado
[java] Total time: 16 seconds
[java] Java Result: 13
create.manifest:
build-feature:
[get] Getting: http://repository.jboss.com/licenses/JBossORG-EULA.txt
[get] To: C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\temp\jboss.eula.txt
BUILD FAILED
C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml:63: The following error occurred while executing this line:
C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml:221: Warning: Could not find file C:\Users\usuario\workspace\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\N.3.0.13.1\org.jbpm.gd.jpdl.feature-3.0.13.1.zip to copy.
Total time: 23 seconds
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077593#4077593
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077593
18Â years, 8Â months
[JBossCache] - Re: Could this be deadlock when modifying TreeCache
by ramdas
"manik.surtani(a)jboss.com" wrote : Well all you're doing by increasing FC creds is pushing the threshold higher before you see a problem. This usually works since most network hiccups or temporary slowdowns correct themselves after some time and the cluster returns to full speed .
|
| Either you still don't have enough credits, or, if you consistently and regularly see this problem, then maybe the issue is elsewhere. Do you see any other issues with the cache system that may shed some light?
Thanks for the response.
I have not noticed anything else in the cache system - but maybe that is because i am not sure where and what to look for. Given that there has been no failure for almost 6 days now, I am assuming it was some kind of temporary slowdown. What would be the upper limit or downside of increasing the max credits value since in my current scenario there is no way of measuring how the credits are being used?
Thanks
Ramdas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077592#4077592
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077592
18Â years, 8Â months