Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

UTFDataFormatException & WriteMultiplePartialFailureException

His,

I am trying to implement Master-Local Topology with XAP Community Edition 6.5 and persistence as ExternalDataSource. There is so far only the feeder and processor turned on and on deploying processor a few exceptions appear:

in gsm it is:

19.08.2008 15:58:12 SCHWERWIEGEND [org.jini.rio.monitor]: Provisioning Error! java.rmi.ConnectException: null; nested exception is: java.io.UTFDataFormatException at com.j_spaces.obf.sz.invoke(SourceFile:395) at com.j_spaces.obf.tc.invoke(SourceFile:64) at com.gigaspaces.lrmi.DynamicSmartStub.invokeRemote(SourceFile:357) at com.gigaspaces.lrmi.DynamicSmartStub.invoke(SourceFile:345) at $Proxy10.instantiate(Unknown Source) at com.gigaspaces.grid.gsc.GSCProxy.instantiate(GSCProxy.java:103) at org.jini.rio.monitor.ServiceProvisioner$ProvisionTask.doProvision(ServiceProvisioner.java:710) at org.jini.rio.monitor.ServiceProvisioner$ProvisionTask.run(ServiceProvisioner.java:558) at org.jini.rio.resources.resource.PoolableThread.run(PoolableThread.java:89) Caused by: java.io.UTFDataFormatException at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(ObjectInputStream.java:3082) at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3007) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2820) at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:1051) at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:616) at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:809) at com.j_spaces.obf.dq.readClassDescriptor(SourceFile:184) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1565) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:441) at com.j_spaces.obf.kg.readExternal(SourceFile:39) at com.j_spaces.obf.mu.a(SourceFile:412) at com.j_spaces.obf.mu.gf(SourceFile:105) at com.j_spaces.obf.sz.invoke(SourceFile:317) ... 8 more

and in gsc it reads:

19.08.2008 15:58:11 SCHWERWIEGEND [org.jini.rio.cybernode]: Activating ServiceBean org.jini.rio.core.JSBControlException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stockFeeder' defined in resource loaded from byte array: Invocation of init method failed; nested exception is org.openspaces.core.WriteMultiplePartialFailureException: Success:0, errors:13, [class net.jini.space.InternalSpaceException:13 ]; nested exception is com.j_spaces.core.multiple.write.WriteMultiplePartialFailureException: Success:0, errors:13, [class net.jini.space.InternalSpaceException:13 ] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) at org.openspaces.pu.container.integrated.IntegratedProcessingUnitContainerProvider.createContainer(IntegratedProcessingUnitContainerProvider.java:237) at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.startPU(PUServiceBeanImpl.java:205) at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.advertise(PUServiceBeanImpl.java:120) at org.jini.rio.resources.servicecore.ServiceAdminImpl.advertise(ServiceAdminImpl.java:214) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.gigaspaces.lrmi.DynamicSmartStub._invoke(SourceFile:208) at com.gigaspaces.lrmi.DynamicSmartStub.invokeDirect(SourceFile:290) at com.gigaspaces.lrmi.DynamicSmartStub.invoke(SourceFile:348) at $Proxy12.advertise(Unknown Source) at org.jini.rio.resources.servicecore.ServiceAdminProxy.advertise(ServiceAdminProxy.java:114) at org.jini.rio.cybernode.ServiceBeanLoader.advertise(ServiceBeanLoader.java:452) at org.jini.rio.cybernode.ServiceBeanLoader.advertise(ServiceBeanLoader.java:413) at org.jini.rio.cybernode.JSBDelegate.advertise(JSBDelegate.java:339) at org.jini.rio.cybernode.JSBContainer.activate(JSBContainer.java:194) at org.jini.rio.cybernode.CybernodeImpl.instantiate(CybernodeImpl.java:999) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.j_spaces.obf.ne.a(SourceFile:332) at com.j_spaces.obf.hq.a(SourceFile:437) at com.j_spaces.obf.hq.a(SourceFile:525) at com.j_spaces.obf.ov.work(SourceFile:174) at com.j_spaces.obf.od.a(SourceFile:211) at com.j_spaces.obf.od.dispatch(SourceFile:201) at com.j_spaces.obf.de.run(SourceFile:62) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: org.openspaces.core.WriteMultiplePartialFailureException: Success:0, errors:13, [class net.jini.space.InternalSpaceException:13 ]; nested exception is com.j_spaces.core.multiple.write.WriteMultiplePartialFailureException: Success:0, errors:13, [class net.jini.space.InternalSpaceException:13 ] at org.openspaces.core.exception.DefaultExceptionTranslator.internalTranslate(DefaultExceptionTranslator.java:104) at org.openspaces.core.exception.DefaultExceptionTranslator.translate(DefaultExceptionTranslator.java:46) at org.openspaces.core.DefaultGigaSpace.writeMultiple(DefaultGigaSpace.java:365) at org.openspaces.core.DefaultGigaSpace.writeMultiple(DefaultGigaSpace.java:357) at org.openspaces.example.stock.feeder.StockFeeder.init(StockFeeder.java:108) at org.openspaces.example.stock.feeder.StockFeeder.afterPropertiesSet(StockFeeder.java:88) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333) ... 44 more Caused by: com.j_spaces.core.multiple.write.WriteMultiplePartialFailureException: Success:0, errors:13, [class net.jini.space.InternalSpaceException:13 ] at com.j_spaces.core.cluster.JSpaceClusteredProxy.internalWriteMultiple(SourceFile:2767) at com.j_spaces.core.cluster.JSpaceClusteredProxy.writeMultiple_main(SourceFile:2617) at com.j_spaces.core.cluster.action.ClusterSpaceWriteMultipleActionListener.writeMultiple(SourceFile:58) at com.j_spaces.core.cluster.action.ClusterSpaceWriteMultipleActionListener.onAction(SourceFile:25) at com.j_spaces.core.cluster.action.ClusterSpaceWriteMultipleActionListener.onAction(SourceFile:18) at com.j_spaces.core.client.AbstractSpaceProxy.writeMultiple(SourceFile:689) at com.j_spaces.core.client ... (more)

asked 2008-08-19 09:11:36 -0600

asdfasdf gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

I think similar problem been fixed with 6.5.1. Shay

answered 2008-08-19 09:31:51 -0600

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Thanks, I'll try it with the 6.1 out.

asdfasdf gravatar image asdfasdf  ( 2008-08-19 15:05:40 -0600 )edit
shay hassidim gravatar image shay hassidim  ( 2008-08-19 15:08:34 -0600 )edit

I am running the exact same application under gigaspaces xap community 6.5.1 edition and unfortunately still getting these errors,

in gsm:

20.08.2008 10:54:34
WARNUNG org.jini.rio.monitor.provision: Provisioning stock-demo-feeder.PU [1] to 127.0.0.1
Caused by: java.rmi.ConnectException: null; nested exception is:
        java.io.UTFDataFormatException
20.08.2008 10:54:34
INFO org.jini.rio.monitor: GSC @ 127.0.0.1 removed, GSC count now 0

20.08.2008 10:54:34
SCHWERWIEGEND org.jini.rio.monitor: Provisioning Error!
java.rmi.ConnectException: null; nested exception is:
        java.io.UTFDataFormatException
        at com.j_spaces.obf.ta.invoke(SourceFile:395)
        at com.j_spaces.obf.td.invoke(SourceFile:64)
        at com.gigaspaces.lrmi.DynamicSmartStub.invokeRemote(SourceFile:357)
        at com.gigaspaces.lrmi.DynamicSmartStub.invoke(SourceFile:345)
        at $Proxy10.instantiate(Unknown Source)
        at com.gigaspaces.grid.gsc.GSCProxy.instantiate(GSCProxy.java:103)
        at org.jini.rio.monitor.ServiceProvisioner$ProvisionTask.doProvision(ServiceProvisioner.java:710)
        at org.jini.rio.monitor.ServiceProvisioner$ProvisionTask.run(ServiceProvisioner.java:558)
        at org.jini.rio.resources.resource.PoolableThread.run(PoolableThread.java:89)
Caused by: java.io.UTFDataFormatException
        at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(ObjectInputStream.java:3082)
        at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3007)
        at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2820)
        at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:1051)
        at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:616)
        at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:809)
        at com.j_spaces.obf.dq.readClassDescriptor(SourceFile:184)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1565)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:441)
        at com.j_spaces.obf.kg.readExternal(SourceFile:39)
        at com.j_spaces.obf.mv.a(SourceFile:415)
        at com.j_spaces.obf.mv.gc(SourceFile:105)
        at com.j_spaces.obf.ta.invoke(SourceFile:317)
... 8 more

and in gsc console:

20.08.2008 10:56:37
SCHWERWIEGEND org.jini.rio.cybernode: Activating ServiceBean
org.jini.rio.core.JSBControlException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stockFeeder' defined in resource loaded from byte array: Invocation of init method failed; nested exception is org.openspaces.core.WriteMultiplePartialFailureException: Success:0, errors:13, class net.jini.space.InternalSpaceException:13 ; nested exception is com.j_spaces.core.multiple.write.WriteMultiplePartialFailureException: Success:0, errors:13, class net.jini.space.InternalSpaceException:13
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java ...









(more)

asdfasdf gravatar image asdfasdf  ( 2008-08-20 03:58:21 -0600 )edit

What's the JVM you are using ?
Are you deploying the application in clustered mode? The community edition does not support clustering.
Shay

shay hassidim gravatar image shay hassidim  ( 2008-08-22 07:12:51 -0600 )edit

Using Gigaspaces Community Edition 6.5.1 + Hibernate 3 as external data source + JPA annotations

I've changed the code and not getting the UTFDataFormatException & WriteMultiplePartialFailureException, but instead getting

SCHWERWIEGEND org.jini.rio.cybernode: Activating ServiceBean
org.jini.rio.core.JSBControlException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stockFeeder' defined in resource loaded from byte array: Invocation of init method failed; nested exception is org.openspaces.core.InternalSpaceException: com.jspaces.core.sadapter.SAException: java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
        at org.openspaces.pu.container.integrated.IntegratedProcessingUnitContainerProvider.createContainer(IntegratedProcessingUnitContainerProvider.java:237)
        at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.startPU(PUServiceBeanImpl.java:205)
        at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.advertise(PUServiceBeanImpl.java:120)
        at org.jini.rio.resources.servicecore.ServiceAdminImpl.advertise(ServiceAdminImpl.java:214)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.gigaspaces.lrmi.DynamicSmartStub._invoke(SourceFile:208)
        at com.gigaspaces.lrmi.DynamicSmartStub.invokeDirect(SourceFile:290)
        at com.gigaspaces.lrmi.DynamicSmartStub.invoke(SourceFile:348)
        at $Proxy13.advertise(Unknown Source)
        at org.jini.rio.resources.servicecore.ServiceAdminProxy.advertise(ServiceAdminProxy.java:114)
        at org.jini.rio.cybernode.ServiceBeanLoader.advertise(ServiceBeanLoader.java:452)
        at org.jini.rio.cybernode.ServiceBeanLoader.advertise(ServiceBeanLoader.java:413)
        at org.jini.rio.cybernode.JSBDelegate.advertise(JSBDelegate.java:339)
        at org.jini.rio.cybernode.JSBContainer.activate(JSBContainer.java:194)
        at org.jini.rio.cybernode.CybernodeImpl.instantiate(CybernodeImpl.java:999)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.j_spaces.obf.nf.a(SourceFile:332)
        at com.j_spaces.obf.hq.a(SourceFile:437)
        at com.j_spaces.obf.hq.a(SourceFile:525)
        at com.j_spaces.obf.ow.work(SourceFile:174)
        at com.j_spaces.obf.oe.a(SourceFile:211)
        at com.j_spaces.obf.oe.dispatch(SourceFile:201)
        at com.j_spaces.obf.de.run(SourceFile:62)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor ...











































(more)

asdfasdf gravatar image asdfasdf  ( 2008-08-22 10:04:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2008-08-19 09:11:36 -0600

Seen: 400 times

Last updated: Aug 19 '08