[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.riena] Problem with the PingPong sample

Hello Everybody, I'm starting with eclipse RCP and I was interested in RIENA to develop a client/server application, therefore I installed eclipse 3.5 Galileo, then I have created a new target definition 'Riena' that I add Equinox Core SDK, Eclipse RCP SDK, Riena Core SDK and Riena SDK Samples from the Galileo software site. I Tryed the communication ping pong example as indicated in the 'Getting Started' but that didn't run and I don't catch where is the problem. Here the console output I got: - Console output after starting 'Riena Sample PingPoing Server':
osgi> Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.internal.core.logging.LoggerMill}={service.ranking=-100, service.id=41} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] org.eclipse.riena.internal.core.Activator No stage information set.
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.core.exception.IExceptionHandlerManager}={service.ranking=-100, service.id=42} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] org.eclipse.riena.internal.communication.publisher.hessian.Activator start hessian support on server
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.communication.core.IRemoteServiceRegistry}={service.ranking=-100, service.id=43} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] org.eclipse.riena.internal.core.StartupsSafeRunnable Startup required bundle: 'org.eclipse.equinox.log' already started.
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] org.eclipse.riena.internal.communication.core.ssl.SSLConfiguration No configuration given!.
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.communication.core.progressmonitor.IRemoteProgressMonitorRegistry}={service.id=44} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.communication.core.publisher.IServicePublisher}={service.ranking=-100, riena.protocol=hessian, service.id=45} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.communication.sample.pingpong.common.IPingPong}={riena.remote.protocol=hessian, riena.remote.path=/PingPongWS, riena.remote=true, service.id=46} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.communication.core.publisher.IServicePublishBinder}={service.id=47} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 DEBUG [Start Level Event Dispatcher] org.eclipse.riena.communication.publisher.ServicePublishBinder servicePublish=hessian REGISTER...no unpublished services waiting for this protocol
Tue Sep 08 09:49:14 CEST 2009 DEBUG [Start Level Event Dispatcher] org.eclipse.riena.internal.communication.publisher.hessian.HessianRemoteServicePublisher published web service. protocol=hessian, url=http://192.168.1.105:8080/hessian/PingPongWS, interface=org.eclipse.riena.communication.sample.pingpong.common.IPingPong
Tue Sep 08 09:49:14 CEST 2009 DEBUG [Start Level Event Dispatcher] org.eclipse.riena.internal.communication.publisher.hessian.HessianRemoteServicePublisher web service count: 1
Tue Sep 08 09:49:14 CEST 2009 DEBUG [Start Level Event Dispatcher] org.eclipse.riena.communication.publisher.ServicePublishBinder service endpoints count: 1
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.osgi.framework.console.CommandProvider}={service.id=48} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.equinox.http.registry.HttpContextExtensionService}={service.id=49} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.core.runtime.content.IContentTypeManager}={service.id=50} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.core.net.proxy.IProxyService}={service.id=51} ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null FrameworkEvent STARTED
Tue Sep 08 09:49:14 CEST 2009 INFO [Framework Event Dispatcher] null FrameworkEvent STARTLEVEL CHANGED


- Console output after starting 'Riena Sample PingPoing Client':

osgi> Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.internal.core.logging.LoggerMill}={service.ranking=-100, service.id=41} ServiceEvent REGISTERED
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] org.eclipse.riena.internal.core.Activator No stage information set.
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.core.exception.IExceptionHandlerManager}={service.ranking=-100, service.id=42} ServiceEvent REGISTERED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] org.eclipse.riena.internal.core.StartupsSafeRunnable Startup required bundle: 'org.eclipse.equinox.log' already started.
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.communication.core.IRemoteServiceRegistry}={service.ranking=-100, service.id=43} ServiceEvent REGISTERED
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] org.eclipse.riena.internal.communication.core.ssl.SSLConfiguration No configuration given!.
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.communication.core.progressmonitor.IRemoteProgressMonitorRegistry}={service.id=44} ServiceEvent REGISTERED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.osgi.framework.console.CommandProvider}={service.id=45} ServiceEvent REGISTERED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.core.runtime.content.IContentTypeManager}={service.id=46} ServiceEvent REGISTERED
Tue Sep 08 09:51:35 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] org.eclipse.riena.communication.core.factory.RemoteServiceFactory found protocol [hessian] org.eclipse.riena.internal.communication.factory.hessian.RemoteServiceFactoryHessian@6295eb
Tue Sep 08 09:51:36 CEST 2009 ERROR [Framework Event Dispatcher] null FrameworkEvent ERROR
org.eclipse.riena.communication.core.RemoteFailure: Error while invoking remote service
at org.eclipse.riena.internal.communication.core.factory.CallHooksProxy.invoke(CallHooksProxy.java:71)
at $Proxy13.ping(Unknown Source)
at org.eclipse.riena.internal.communication.sample.pingpong.client.Activator$PingClient.sendPing(Activator.java:69)
at org.eclipse.riena.internal.communication.sample.pingpong.client.Activator$PingClient.serviceChanged(Activator.java:56)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)Tue Sep 08 09:51:36 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.riena.communication.sample.pingpong.common.IPingPong}={service.url=http://localhost:8080/hessian/PingPongWS, service.protocol=hessian, service.id=47} ServiceEvent REGISTERED


at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
at org.eclipse.riena.internal.communication.core.registry.RemoteServiceRegistry.registerService(RemoteServiceRegistry.java:76)Tue Sep 08 09:51:36 CEST 2009 DEBUG [Start Level Event Dispatcher] org.eclipse.riena.internal.communication.core.registry.RemoteServiceRegistry OSGi NEW service registered id: org.eclipse.riena.communication.sample.pingpong.common.IPingPong


at org.eclipse.riena.communication.core.factory.RemoteServiceFactory.createAndRegisterProxy(RemoteServiceFactory.java:164)
at org.eclipse.riena.communication.core.factory.RemoteServiceFactory.createAndRegisterProxy(RemoteServiceFactory.java:129)
at org.eclipse.riena.communication.core.factory.ProxyFactory.andStart(ProxyFactory.java:68)
at org.eclipse.riena.internal.communication.sample.pingpong.client.config.Activator.start(Activator.java:48)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
Caused by: com.caucho.hessian.client.HessianRuntimeException: java.net.ConnectException: Connection refused: connect
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:263)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:151)
at $Proxy12.ping(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(AbstractHooksProxy.java:69)
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(AbstractHooksProxy.java:38)
at org.eclipse.riena.internal.communication.core.factory.CallHooksProxy.invoke(CallHooksProxy.java:59)
... 31 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:261)
... 40 more
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Start Level Event Dispatcher] null {org.eclipse.core.net.proxy.IProxyService}={service.id=48} ServiceEvent REGISTERED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null BundleEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null FrameworkEvent STARTED
Tue Sep 08 09:51:36 CEST 2009 INFO [Framework Event Dispatcher] null FrameworkEvent STARTLEVEL CHANGED



Your help is indeed very precious.