Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » riena remote Activator is always invalid
riena remote Activator is always invalid [message #583510] Tue, 22 September 2009 13:27
Waldi  is currently offline Waldi Friend
Messages: 60
Registered: July 2009
Member
Dear all,

I try to publish a remote service without success. The Following error
always occur:

org.osgi.framework.BundleException: The activator
org.eclipse.emf.example.library.auth.server.Activator for bundle
org.eclipse.emf.example.library.auth.server is invalid

I try it two days but no success. I walk step by step through the
tutorial http://wiki.eclipse.org/Riena_Getting_started_remoteservices

I look at the ping pong example, this run but mine not why? Here ist my
Activator. Hope you can help me.

public class Activator implements BundleActivator {

private ServiceRegistration registry;

public void start(BundleContext context) throws Exception {
AuthServiceImpl service = new AuthServiceImpl();

Hashtable<String, String> properties = new Hashtable<String, String>(3);
properties.put(RSDPublisherProperties.PROP_IS_REMOTE,
Boolean.TRUE.toString());
properties.put(RSDPublisherProperties.PROP_REMOTE_PROTOCOL,
"hessian"); //$NON-NLS-1$
properties.put(RSDPublisherProperties.PROP_REMOTE_PATH,
"/PingPongWS"); //$NON-NLS-1$

registry = context.registerService(IAuthService.class.getName(),
service, properties);
}

public void stop(BundleContext context) throws Exception {
registry.unregister();
registry = null;
}
}

I worked with riena 1.1.0.0 and 1.2.0.0

Thanks in advance
Previous Topic:Unable to resize application
Next Topic:riena remote Activator is always invalid
Goto Forum:
  


Current Time: Fri Dec 19 03:28:38 GMT 2014

Powered by FUDForum. Page generated in 0.08565 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software