jdk6
Jules Yasuna <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Hi,
We have been using jini (2.1.0) running under jdk5 for some time. All
of our code is compiled under jdk5, with the the jini code compiled under
jdk1.4
Our first step was to just run everything under jdk6. Unfortunately,
we are
unable to contact reggie using a unicast discovery. The stack trace is
listed below.
From the trace, I am unable to determine if this relates to the
changes in "loadClass"
between jdk5 and jdk6.
Any suggestions would be greatly appreciated !!
thanks in advance ... jules
07/23 08:06:48 INFO [task][jini_reggie] exception handling unicast
discovery from localhost/127.0.0.1:42,361
com.sun.jini.discovery.DiscoveryProtocolException: handshake hash mismatch
at
com.sun.jini.discovery.internal.EndpointBasedServer.handleUnicastDiscovery(EndpointBasedServer.java:127)
at
com.sun.jini.discovery.ssl.Server.handleUnicastDiscovery(Server.java:83)
at
com.sun.jini.discovery.DiscoveryV2.handleUnicastDiscovery(DiscoveryV2.java:538)
at com.sun.jini.reggie.RegistrarImpl.respond(RegistrarImpl.java:4340)
at com.sun.jini.reggie.RegistrarImpl.access$4700(RegistrarImpl.java:142)
at
com.sun.jini.reggie.RegistrarImpl$SocketTask.run(RegistrarImpl.java:2075)
at com.sun.jini.thread.TaskManager$TaskThread.run(TaskManager.java:331)
07/23 08:06:48 ERROR [Load Cache After Server Start Thread][LoaderEJB]
reload
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323)
at java.io.DataInputStream.readUTF(DataInputStream.java:572)
at java.io.DataInputStream.readUTF(DataInputStream.java:547)
at
com.sun.jini.discovery.internal.Plaintext.readUnicastResponse(Plaintext.java:449)
at
com.sun.jini.discovery.internal.EndpointBasedClient.doUnicastDiscovery(EndpointBasedClient.java:109)
at com.sun.jini.discovery.ssl.Client.doUnicastDiscovery(Client.java:79)
at
com.sun.jini.discovery.DiscoveryV2.doUnicastDiscovery(DiscoveryV2.java:464)
at
net.jini.discovery.ConstrainableLookupLocator$1.performDiscovery(ConstrainableLookupLocator.java:250)
at
com.sun.jini.discovery.internal.MultiIPDiscovery.getSingleResponse(MultiIPDiscovery.java:152)
at
com.sun.jini.discovery.internal.MultiIPDiscovery.getResponse(MultiIPDiscovery.java:83)
at
net.jini.discovery.ConstrainableLookupLocator.getRegistrar(ConstrainableLookupLocator.java:244)
at
net.jini.discovery.ConstrainableLookupLocator.getRegistrar(ConstrainableLookupLocator.java:219)
at
com.bookusboulet.jiniutil.RegistrarLocatorUnicast.locateRegistrar(RegistrarLocatorUnicast.java:100)
at
com.bookusboulet.jiniutil.RegistrarLocatorUnicast.locateRegistrar(RegistrarLocatorUnicast.java:92)
at
com.bookusboulet.jiniutil.JavaSpaceLocatorDefault.locateJavaSpace(JavaSpaceLocatorDefault.java:33)
at
com.bookusboulet.pd.ejb.ResourceLookup.getJavaSpace(ResourceLookup.java:96)
at
com.bookusboulet.pd.ejb.cache.impl.LoaderEJB.getSpace(LoaderEJB.java:879)
at
com.bookusboulet.pd.ejb.cache.impl.LoaderEJB.reload(LoaderEJB.java:483)
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 org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130)
at
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:363)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
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
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.run(LocalInvoker.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:163)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
at
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy182.reload(Unknown Source)
at
com.bookusboulet.pd.ejb.misc.impl.HandlerCacheReload.execute(HandlerCacheReload.java:42)
at
com.bookusboulet.pd.ejb.misc.impl.ServerTaskManagerEJB.execute(ServerTaskManagerEJB.java:254)
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 org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130)
at
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
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
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.run(LocalInvoker.java:144)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:163)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
at
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy188.execute(Unknown Source)
at
com.bookusboulet.pd.ejb.misc.ServerTaskManagerDelegator.execute(ServerTaskManagerDelegator.java:99)
at
com.bookusboulet.pd.mbean.PDTimedTaskManager$InnerNotificationFilterListener.run(PDTimedTaskManager.java:540)
at java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------
Getting Started: http://www.jini.org/wiki/Category:Getting_Started
Community Web Site: http://jini.org
jini-users Archive: http://archives.java.sun.com/archives/jini-users.html
Unsubscribing: email "signoff JINI-USERS" to [email protected]