Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

DSP - ESB Conductor - Feature not installed

Hello,
I have a problem deploying a REST-API as Runtime-Job through ESB Conductor (i am using Talend Data Services Platform).
I can publish the job via "Publisher" to the Nexus in snapshot or releases (As "Job - Runtime"). This works fine and i can see the artifacts in the Nexus.
The i go to the ESB Conductor, choose the Server and the feature from the releases-repo. Then i click on "Deploy", that works fine.
I can see the Bundle as "active" in the Apache Karaf Web Console (8040/system/console/bundles). A log:tail in karaf gives the following output after click on "Deploy" (its the same if i choose the feature from the snapshot or releases-repo):
2017-03-26 12:38:20,619 | INFO  | 6)-35.156.224.75 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 | Adding features: MiddlewareRESTApi_1_3-feature/
2017-03-26 12:38:21,823 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 | Changes to perform:
2017-03-26 12:38:21,824 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 |   Region: root
2017-03-26 12:38:21,824 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 |     Bundles to install:
2017-03-26 12:38:21,825 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 |       mvn:abc.xyz.de/MiddlewareRESTApi_1_3/1.3.0-SNAPSHOT
2017-03-26 12:38:21,826 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 | Installing bundles:
2017-03-26 12:38:21,826 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 |   mvn:abc.xyz.de/MiddlewareRESTApi_1_3/1.3.0-SNAPSHOT
2017-03-26 12:38:21,950 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 | Starting bundles:
2017-03-26 12:38:21,951 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 |   xyz.MiddlewareRESTApi/1.3.0.SNAPSHOT
2017-03-26 12:38:21,992 | INFO  | pool-47-thread-1 | InstrumentationManagerImpl       | 103 - org.apache.cxf.cxf-rt-management - 3.1.5 | registering MBean org.apache.cxf:bus.id=xyz.MiddlewareRESTApi-cxf167293849,type=Bus,instance.id=167293849: org.apache.cxf.bus.ManagedBus@38ae38ff
2017-03-26 12:38:21,994 | INFO  | pool-47-thread-1 | InstrumentationManagerImpl       | 103 - org.apache.cxf.cxf-rt-management - 3.1.5 | registering MBean org.apache.cxf:bus.id=xyz.MiddlewareRESTApi-cxf167293849,type=Bus,instance.id=167293849: javax.management.modelmbean.RequiredModelMBean@22d6c713
2017-03-26 12:38:21,994 | INFO  | pool-47-thread-1 | InstrumentationManagerImpl       | 103 - org.apache.cxf.cxf-rt-management - 3.1.5 | registered org.apache.cxf:bus.id=xyz.MiddlewareRESTApi-cxf167293849,type=Bus,instance.id=167293849
2017-03-26 12:38:21,995 | INFO  | pool-47-thread-1 | InstrumentationManagerImpl       | 103 - org.apache.cxf.cxf-rt-management - 3.1.5 | registering MBean org.apache.cxf:bus.id=xyz.MiddlewareRESTApi-cxf167293849,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager,instance.id=1862192299: org.apache.cxf.bus.managers.WorkQueueManagerImplMBeanWrapper@27de784b
2017-03-26 12:38:21,995 | INFO  | pool-47-thread-1 | InstrumentationManagerImpl       | 103 - org.apache.cxf.cxf-rt-management - 3.1.5 | registering MBean org.apache.cxf:bus.id=xyz.MiddlewareRESTApi-cxf167293849,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager,instance.id=1862192299: javax.management.modelmbean.RequiredModelMBean@700161f2
2017-03-26 12:38:22,007 | INFO  | pool-47-thread-1 | ServerImpl                       | 101 - org.apache.cxf.cxf-core - 3.1.5 | Setting the server's publish address to be /context.middlewareRestAPIURI
2017-03-26 12:38:22,007 | INFO  | pool-47-thread-1 | InstrumentationManagerImpl       | 103 - org.apache.cxf.cxf-rt-management - 3.1.5 | registering MBean org.apache.cxf:bus.id=xyz.MiddlewareRESTApi-cxf167293849,type=Bus.Service.Endpoint,service="{}RestServiceProviderImpl4TalendJob",port="RestServiceProviderImpl4TalendJob",instance.id=1808505259: org.apache.cxf.endpoint.ManagedEndpoint@6af76b46
2017-03-26 12:38:22,008 | INFO  | pool-47-thread-1 | InstrumentationManagerImpl       | 103 - org.apache.cxf.cxf-rt-management - 3.1.5 | registering MBean org.apache.cxf:bus.id=xyz.MiddlewareRESTApi-cxf167293849,type=Bus.Service.Endpoint,service="{}RestServiceProviderImpl4TalendJob",port="RestServiceProviderImpl4TalendJob",instance.id=1808505259: javax.management.modelmbean.RequiredModelMBean@5b5307ec
2017-03-26 12:38:22,013 | INFO  | pool-47-thread-1 | JobTracker                       | 244 - org.talend.esb.job.controller - 6.2.1 | Service with reference {routines.system.api.TalendJob}={osgi.service.blueprint.compname=job, name=MiddlewareRESTApi, type=job, service.id=347, service.bundleid=275, service.scope=bundle} added
2017-03-26 12:38:22,013 | INFO  | pool-47-thread-1 | JobLauncherImpl                  | 244 - org.talend.esb.job.controller - 6.2.1 | Adding job MiddlewareRESTApi.
2017-03-26 12:38:22,016 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.0.5 | Done.
2017-03-26 12:38:22,018 | INFO  | pool-33-thread-3 | SimpleJobTask                    | 244 - org.talend.esb.job.controller - 6.2.1 | Starting job MiddlewareRESTApi
After this i can see the bundle as "active" in the Karaf Web Console and using "bundle:list" on the console.
The ESB Conductor shows status as "DEPLOYED" with the info-icon: "Feature not installed". If i click on "Start" then i get the error message that the deployment failed.
If i try to start the feature from karaf using feature:install it prints the Message:
The specified feature: 'MiddlewareRESTApi_1_3-feature' version '1.3.0.SNAPSHOT' is already installed

Can someone help me with this?
Labels (4)
2 Replies
Anonymous
Not applicable
Author

Hi sven1991, 
what you say and show above looks so far ok (beside the 'Info: Feature not installed'). But can you please check if your REST Service shows up on http://localhost/services . 
If it does it seems all is ok on Runtime and the only thing to see is if the status in ESB Conductor is wrong. But first of all it would be more important to see if your service really works. Can you check the above URL and also call the Service e.g. from tRESTClient or any other Rest client. 
Thanks,
Dietmar
Anonymous
Not applicable
Author

Hi,
i found the problem. I realized that the bundle and the feature had different names. I guess somehow a new and older version where missmatched (i changed the artifactId-Name in the Publisher).
I removed all of them and started with a clean state and it works fine now.
Thank you for your help!