Problem with the PingPong sample [message #583278] |
Tue, 08 September 2009 11:05 |
Eclipse User |
|
|
|
Originally posted by: imedlamouchi.yahoo.com
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}={servic e.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.A ctivator 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.SSLConfigu ration No
configuration given!.
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null
{org.eclipse.riena.communication.core.progressmonitor.IRemot eProgressMonitorRegistry}={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.IServicePubl isher}={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.IPin gPong}={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.IServicePubl ishBinder}={service.id=47}
ServiceEvent REGISTERED
Tue Sep 08 09:49:14 CEST 2009 DEBUG [Start Level Event Dispatcher]
org.eclipse.riena.communication.publisher.ServicePublishBind er
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.H essianRemoteServicePublisher
published web service. protocol=hessian,
url=http://192.168.1.105:8080/hessian/PingPongWS,
interface=org.eclipse.riena.communication.sample.pingpong.co mmon.IPingPong
Tue Sep 08 09:49:14 CEST 2009 DEBUG [Start Level Event Dispatcher]
org.eclipse.riena.internal.communication.publisher.hessian.H essianRemoteServicePublisher
web service count: 1
Tue Sep 08 09:49:14 CEST 2009 DEBUG [Start Level Event Dispatcher]
org.eclipse.riena.communication.publisher.ServicePublishBind er service
endpoints count: 1
Tue Sep 08 09:49:14 CEST 2009 INFO [Start Level Event Dispatcher] null
{org.eclipse.osgi.framework.console.CommandProvider}={servic e.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.HttpContextExtensionServi ce}={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}={serv ice.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}={servic e.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.SSLConfigu ration No
configuration given!.
Tue Sep 08 09:51:35 CEST 2009 INFO [Start Level Event Dispatcher] null
{org.eclipse.riena.communication.core.progressmonitor.IRemot eProgressMonitorRegistry}={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}={servic e.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}={serv ice.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.RemoteServiceFa ctory found
protocol [hessian]
org.eclipse.riena.internal.communication.factory.hessian.Rem oteServiceFactoryHessian @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.CallHo oksProxy.invoke(CallHooksProxy.java:71)
at $Proxy13.ping(Unknown Source)
at
org.eclipse.riena.internal.communication.sample.pingpong.cli ent.Activator$PingClient.sendPing(Activator.java:69)
at
org.eclipse.riena.internal.communication.sample.pingpong.cli ent.Activator$PingClient.serviceChanged(Activator.java:56)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceLis tener.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.IPin gPong}={service.url=http://localhost:8080/hessian/PingPongWS,
service.protocol=hessian, service.id=47} ServiceEvent REGISTERED
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:930)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:149)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.pu blishServiceEventPrivileged(ServiceRegistry.java:757)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.pu blishServiceEvent(ServiceRegistry.java:712)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistratio nImpl.register(ServiceRegistrationImpl.java:129)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.re gisterService(ServiceRegistry.java:206)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:506)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.r egisterService(BundleContextImpl.java:524)
at
org.eclipse.riena.internal.communication.core.registry.Remot eServiceRegistry.registerService(RemoteServiceRegistry.java: 76)Tue
Sep 08 09:51:36 CEST 2009 DEBUG [Start Level Event Dispatcher]
org.eclipse.riena.internal.communication.core.registry.Remot eServiceRegistry
OSGi NEW service registered id:
org.eclipse.riena.communication.sample.pingpong.common.IPing Pong
at
org.eclipse.riena.communication.core.factory.RemoteServiceFa ctory.createAndRegisterProxy(RemoteServiceFactory.java:164)
at
org.eclipse.riena.communication.core.factory.RemoteServiceFa ctory.createAndRegisterProxy(RemoteServiceFactory.java:129)
at
org.eclipse.riena.communication.core.factory.ProxyFactory.an dStart(ProxyFactory.java:68)
at
org.eclipse.riena.internal.communication.sample.pingpong.cli ent.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.s tartActivator(BundleContextImpl.java:773)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1068)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:557)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:464)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:248)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:445)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(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(HessianPr oxy.java:263)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.j ava: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.AbstractHooksProx y.invoke(AbstractHooksProxy.java:69)
at
org.eclipse.riena.communication.core.hooks.AbstractHooksProx y.invoke(AbstractHooksProxy.java:38)
at
org.eclipse.riena.internal.communication.core.factory.CallHo oksProxy.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(Unk nown
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(HessianPr oxy.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.
|
|
|
Powered by
FUDForum. Page generated in 0.04708 seconds