Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] how to create REST ECF container?

Hi David,

You are experiencing this because currently there is no container type corresponding with "ecf.rest.server". Currently there is only "ecf.rest.client" container type.

Scott


David Donohue wrote:
Hello!
I am trying to create a REST ECF container, like this

containerManager.getContainerFactory().createContainer("ecf.rest.server",
new Object[] {containerId});

but I get this error

org.eclipse.ecf.core.ContainerCreateException: Container type
description with name=ecf.rest.server not found.  This may indicate
that the desired provider is not available or not startable within
runtime.
	at org.eclipse.ecf.core.ContainerFactory.getDescriptionByNameWithException(ContainerFactory.java:260)
	at org.eclipse.ecf.core.ContainerFactory.createContainer(ContainerFactory.java:306)

What am i doing wrong?
Thanks,
Dave Donohue
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev



Back to the top