This forum has been archived. Please start a new discussion on GitHub.

NodeJS server-side app: Ice::FeatureNotSupportedException "object adapter endpoints not supported"

josedavid Toledo
edited December 2019 in Comments


I'm trying to migrate a python server-side application (Ice.Application), that I have been using for a long time, to NodeJS.

Ice version: 3.7.0

The problem is that after trying to make a first implementation I found this error (in addition to not loading the configuration with the parameter "--Ice.Config"):

  unsupportedFeature: "object adapter endpoints not supported"

Nodejs server-side source code is:

"use strict";

const Ice = require("ice").Ice;

(async () => {

    let comm;

    try {

        const initData = new Ice.InitializationData(); = Ice.createProperties();"MyCustomServerAdapter.Endpoints","ssl -p 8008");"MyCustomServerAdapter.PublishedEndpoints","ssl -h localhost -p 8008");

    ..."MyCustom.IceStorm.TopicManager","IceStorm/TopicManager:ssl -h localhost -p 9999");"Ice.StdOut","./log/server/server.log");"Ice.StdErr","./log/server/server.err");"MyCustom.DbConnection","mysql://root:XXXXXXXX@localhost/MyCustom?unix_socket=/var/run/mysqld/mysqld.sock");        "Ice.Plugin.IceSSL","IceSSL:createIceSSL");"IceSSL.DefaultDir","/home/user/certs/");"IceSSL.CAs","ca_cert.pem");"IceSSL.CertFile","full_cert.pem");

        comm = Ice.initialize(process.argv, initData);

        let adapter = await comm.createObjectAdapter('MyCustomServerAdapter');

        let properties = communicator.getProperties();

    } catch(ex) {
        process.exitCode = 1;
    } finally {
        if(comm) {
            await comm.destroy();

Glacier2 configuration is:

Glacier2.Client.Endpoints=ssl -p 4063



The original python server-side app:

class ServerApplication(Ice.Application):

    def run(self, args):

        comm = self.communicator()

        props = comm.getProperties()

        adapter = comm.createObjectAdapter('MyCustomServerAdapter')

        topic_mgr = comm.stringToProxy(props.getProperty('MyCustom.IceStorm.TopicManager'))

    # Add some interfaces to adapter here
    # like: device_announce = adapter.add(DeviceAnnounceI(manager, conn_manager), comm.stringToIdentity(props.getProperty('MyCustom.Announce.Device.Id')))
    # ....


    def interruptCallback(self, arg):

Is there any way to implement a nodejs server-side application without changing the way or properties with which client endpoints connect?




  • xdm
    xdm La Coruña, Spain

    Hi Jose David,

    As you just found the Ice for JavaScript server side support has some limitations, you cannot create an object adapter with an specific endpoints, the server side support just supports dispatch request over bidirectional connections which is not enough to create an Ice server in JavaScript.

    The JavaScript mapping limitations are described in

    If you want to create an Ice server C++, C#, Java, Python or Swift mappings have full server side support and are best suited for the task.

  • Hi again,

    I take this thread to ask when there will be better support for the server-side in javascript. I would like to know especially if ZeroC intend to support two deficiencies that I have currently found in JS binding:

    • TLS
    • Object Adapter

    As well as what is necessary for it to be used to implement a server-side application as can be done in python for example.

    If ZeroC intend to support these characteristics, when? Any version and estimated date?


  • bernard
    bernard Jupiter, FL

    Hi Jose David,

    We would like to add full server-side support to JavaScript. It's doable and it would be useful, however there are many other enhancements we want to implement as well, and adding server-side support to JavaScript is not a high priority at this point. It's currently not in the scope of the next release, Ice 4.0.

    If one of our customers needs this server-side support and wants to sponsor its implementation, this enhancement would become high priority and we could potentially deliver server-side JavaScript as part of the next Ice 3.7 patch release.

    All the best,

  • Hi Bernard,

    I'm from a client company with a commercial license for many years and in principle we are interested in having the server-side support in JavaScript.

    Can you explain to me in more detail what is the sponsorship you mention or how can I get more information about it?


  • bernard
    bernard Jupiter, FL

    Hi Jose David,

    Various enhancements to Ice were sponsored by our customers. For example, ETAS sponsored both the MATLAB language mapping and the Doxygen support for Slice. Thanks ETAS!

    In practice, it means we work with a customer to define what they need, research the work required, and then the sponsor/customer funds the development of this enhancement. To get started, the best is to contact us by email at

    Best regards,