1 2 Previous Next 15 Replies Latest reply on Sep 8, 2012 11:56 AM by rakeshsagar Go to original post
      • 15. Re: TEIID70051 The controller is not available at /127.0.0.1:9,999
        rakeshsagar

        Hi Ramesh,

         

        I added the service registration code to the TeiidAdd.java and it works fine now. I am getting the admin object.

         

        The following is the code which I added to the TeiidAdd.java file

         

        ChorusVDBAdminProvider adminService = new ChorusVDBAdminProvider();

        ServiceBuilder<Admin> adminServiceBinder = context.getServiceTarget().addService(ServiceName.JBOSS.append("teiid", "admin"), adminService);

        adminServiceBinder.addDependency(TeiidServiceNames.executorServiceName(asyncThreadPoolName), Executor.class,  adminService.executorInjector);

        adminServiceBinder.addDependency(Services.JBOSS_SERVER_CONTROLLER, ModelController.class, adminService.controllerValue);

        newControllers.add(adminServiceBinder.install());

         

        Thanks

        Rakesh.

        1 2 Previous Next