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

Ask Your Question
0

Servlet as Jini client. Works in Tomcat, But not in WebLogic

Hallo,

We are using a Webapplication (servlet) as Client to access the space via jini service. The application works fine in the Tomcat5.5.

But it is not working in the Weblogic and throws the below error. Also it is not finding the space throws FinderException.

Any thoughts ? Thanks in advance.
============================================
Oct 26, 2006 2:31:22 PM net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$RegisterListenerTask run
INFO: Exception occurred while attempting to register with the lookup service event mechanism
java.rmi.ServerException: RemoteException in server thread; nested exception is:
        java.rmi.UnmarshalException: unmarshalling method/arguments; nested exception is:
        java.io.InvalidObjectException: hash cannot be zero
        at net.jini.jeri.BasicInvocationDispatcher.dispatch(BasicInvocationDispatcher.java:644)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$6.run(ObjectTable.java:597)
        at net.jini.export.ServerContext.doWithServerContext(ServerContext.java:103)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch0(ObjectTable.java:595)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$Target.access$700(ObjectTable.java:212)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$5.run(ObjectTable.java:568)
        at com.sun.jini.start.AggregatePolicyProvider$6.run(AggregatePolicyProvider.java:527)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch(ObjectTable.java:565)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch(ObjectTable.java:540)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$RD.dispatch(ObjectTable.java:778)
        at net.jini.jeri.connection.ServerConnectionManager$Dispatcher.dispatch(ServerConnectionManager.java:148)
        at com.sun.jini.jeri.internal.mux.MuxServer$2.run(MuxServer.java:244)
        at com.sun.jini.start.AggregatePolicyProvider$5.run(AggregatePolicyProvider.java:513)
        at com.sun.jini.start.AggregatePolicyProvider$5.run(AggregatePolicyProvider.java:513)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.jini.jeri.internal.mux.MuxServer$1.run(MuxServer.java:241)
        at com.sun.jini.thread.ThreadPool$Worker.run(ThreadPool.java:136)
        at java.lang.Thread.run(Thread.java:595)
        at com.sun.jini.jeri.internal.runtime.Util.________EXCEPTIONRECEIVEDFROMSERVER_________(Util.java:108)
        at com.sun.jini.jeri.internal.runtime.Util.exceptionReceivedFromServer(Util.java:101)
        at net.jini.jeri.BasicInvocationHandler.unmarshalThrow(BasicInvocationHandler.java:1303)
        at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocationHandler.java:832)
        at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod(BasicInvocationHandler.java:659)
        at net.jini.jeri.BasicInvocationHandler.invoke(BasicInvocationHandler.java:528)
        at com.sun.jini.reggie.$Proxy46.notify(Unknown Source)
        at com.sun.jini.reggie.RegistrarProxy.notify(RegistrarProxy.java:147)
        at net.jini.lookup.ServiceDiscoveryManager.registerListener(ServiceDiscoveryManager.java:3633)
        at net.jini.lookup.ServiceDiscoveryManager.access$700(ServiceDiscoveryManager.java:605)
        at net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$RegisterListenerTask.run(ServiceDiscoveryManager.java:888)
        at com.sun.jini.thread.TaskManager$TaskThread.run(TaskManager.java:331)
Caused by: java.rmi.UnmarshalException: unmarshalling method/arguments; nested exception is:
        java.io.InvalidObjectException: hash cannot be zero
        at net.jini.jeri.BasicInvocationDispatcher.dispatch(BasicInvocationDispatcher.java:619)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$6.run(ObjectTable.java:597)
        at net.jini.export.ServerContext.doWithServerContext(ServerContext.java:103)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch0(ObjectTable.java:595)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$Target.access$700(ObjectTable.java:212)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$5.run(ObjectTable.java:568)
        at com.sun.jini.start.AggregatePolicyProvider$6.run(AggregatePolicyProvider.java:527)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch(ObjectTable.java:565)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$Target.dispatch(ObjectTable.java:540)
        at com.sun.jini.jeri.internal.runtime.ObjectTable$RD.dispatch(ObjectTable.java:778)
        at net.jini.jeri.connection.ServerConnectionManager$Dispatcher.dispatch(ServerConnectionManager.java:148)
        at com.sun.jini.jeri.internal.mux.MuxServer$2.run(MuxServer.java:244)
        at com.sun.jini.start.AggregatePolicyProvider$5.run(AggregatePolicyProvider.java:513)
        at com.sun.jini.start.AggregatePolicyProvider$5.run(AggregatePolicyProvider.java:513)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.jini.jeri.internal.mux.MuxServer$1.run(MuxServer.java:241)
        at com.sun.jini.thread.ThreadPool$Worker.run(ThreadPool.java:136)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.InvalidObjectException: hash cannot be zero
        at com.sun.jini.reggie.EntryClass.readObject(EntryClass.java:275)
        at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:468)
        at com.sun.jini.reggie.EntryClass.readObject(EntryClass.java:271)
        at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:468)
        at com.sun.jini.reggie.EntryClass.readObject(EntryClass.java:271)
        at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
        at ...


































































































(more)

asked 2006-10-26 09:48:01 -0500

vijaysasi gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

vijaysasi,

please have a look into
http://www.gigaspaces.com/wiki/display/GS/J2EEWebLogic8Integration
and
gs-root\j2ee\examples\ReplicatedSessionBean

What is the exact exception of SpaceFinder ? (Note that this Jini exception is just an INFO exception)...

Thanks
Bernard

answered 2006-10-27 10:33:01 -0500

bernard gravatar image
edit flag offensive delete link more

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: 2006-10-26 09:48:01 -0500

Seen: 101 times

Last updated: Oct 27 '06