Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[riena-dev] Riena Developers list


Hi,

      Using the Riena Ping Pong as an example i am trying to make my RCP as client server. I have a Riena server running (Almost same as the Ping Pong example. From my RCP i am trying to invoke this Riena Server using the following code.

    public void create()
    {
        // register hessian proxy for nyote remote service
        rsf = new RemoteServiceFactory();
        Class<?> serviceInterface = IDCT2000ClientServerCommon.class;
        String url = "";
        String protocol = "hessian"; //$NON-NLS-1$
        myProxyReg = rsf.createAndRegisterProxy(serviceInterface,
                url, "hessian", context);

 }

and i get class not found exception trying to invoke new RemoteServiceFactory as shown below.
Exception in thread "Thread-15" java.lang.NoClassDefFoundError: org/eclipse/riena/communication/core/factory/RemoteServiceFactory
    at com.catt.tb.mytest.clientconfig.TBClientConfigActivator.create(TBClientConfigActivator.java:68)
    at com.catt.tb.mytest.internal.MyProcess.start(MyProcess.java:254)
    at com.catt.tb.mytest.internal.SetupPolicyRunner.run(SetupPolicyRunner.java:31)
    at com.catt.tb.mytest.internal.ProjectRunner.run(ProjectRunner.java:185)
    at java.lang.Thread.run(Thread.java:619)

I tried to add following in my common plugin but with no luck. I really appreciate your help in solving this.
Dynamic-ImportPackage: *
Eclipse-RegisterBuddy: org.eclipse.riena.communication.core
Require-Bundle: org.eclipse.riena.communication.core

Thanks,
Prasanna



How fun is this? IMing with Windows Live Messenger just got better.

Back to the top