Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » Datashare not available with ecf.generic.server
Datashare not available with ecf.generic.server [message #624988] Tue, 29 December 2009 11:28
Eclipse UserFriend
Originally posted by: eclipse-ng.tobiasm.de

Hi,

i'm playing around with ECF Datashare to use it in one of our projects.
Based on the sample code i tried this:

IContainerManager containerManager = getContainerManagerService();

//containerType is "ecf.generic.server"
container = containerManager.getContainerFactory().
createContainer(containerType);

channelContainer = (IChannelContainerAdapter)
container.getAdapter(IChannelContainerAdapter.class);
if (channelContainer == null) {
logger.log(Level.SEVERE, "Datashare not supported!");
System.exit(0);
} else {
logChannel = channelContainer.createChannel(getId(LOG_CHANNEL),
logChannelListener, null);
}


Here channelContainer is always null, "Validate Plug-ins" at the
Run-Dialog says everything is ok. I tried -consoleLog and did not see
any errors like missing imported packages and such.
When i change containerType to "ecf.generic.client" it works!?

Any suggestions how i can get it to work with ecf.generic.server?

Thanks
Tobias
Previous Topic:Event Admin on JMS ( Declarative Services )
Next Topic:Datashare not available with ecf.generic.server
Goto Forum:
  


Current Time: Thu Apr 25 22:03:01 GMT 2024

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

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

Back to the top