tracker issue : CF-4126452

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: API Manager will not start

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 03/09/2016

Components: API Manager

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Beta2_v12 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 0

API Manager will not start

Config:
- Windows 10
- Raijin Beta 2
- ColdFusion 2016 API Analytics Service (started - good)
- ColdFusion 2016 API Datasource Service (started - good)
- ColdFusion 2016 API Manager (fails to start - bad)

Windows Services Applet throws this error:
--------------------------------------------
Windows could not start the ColdFusion 2016 API Manager service on Local Computer.

Error 1053: The service did not respond to the start or control request in a timely fashion.
--------------------------------------------

C:\ColdFusion2016\ApiManager\bin\start.bat throws this error:
--------------------------------------------
03:25:10.294 [main] INFO  - API Manager Home : C:\ColdFusion2016\ApiManager
03:25:10.295 [main] INFO  - Starting Config service
03:25:11.035 [main] INFO  - Starting Deployment service
03:25:11.052 [main] INFO  - Deploying Publisher and Admin Portal ...
03:25:11.052 [main] INFO  - Starting Log service
03:25:11.095 [main] INFO  - Starting Metrics service
Exception in thread "main" com.adobe.amp.spi.ServiceException: Not able to connect to ElasticSearch server.
        at com.adobe.amp.metrics.elastic.MetricServiceImpl.startClient(MetricServiceImpl.java:269)
        at com.adobe.amp.metrics.elastic.MetricServiceImpl.startService(MetricServiceImpl.java:158)
        at com.adobe.amp.spi.AbstractService.start(AbstractService.java:47)
        at com.adobe.amp.GrootServer.start(GrootServer.java:88)
        at com.adobe.amp.GrootServer.main(GrootServer.java:195)
Caused by: org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
        at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:305)
        at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:200)
        at org.elasticsearch.client.transport.support.InternalTransportIndicesAdminClient.execute(InternalTransportIndicesAdminClient.java:86)
        at org.elasticsearch.client.transport.support.InternalTransportIndicesAdminClient.execute(InternalTransportIndicesAdminClient.java:77)
        at org.elasticsearch.client.support.AbstractIndicesAdminClient.getTemplates(AbstractIndicesAdminClient.java:667)
        at com.adobe.amp.metrics.elastic.MetricServiceImpl.createTemplateIfNotCreated(MetricServiceImpl.java:379)
        at com.adobe.amp.metrics.elastic.MetricServiceImpl.startClient(MetricServiceImpl.java:266)
        ... 4 more
--------------------------------------------

Even if "ColdFusion 2016 Application Server" is stopped, the same errors are thrown when attempting to start APIM.

Also, Api should be API. Thus, it should've installed to "C:\ColdFusion2016\APIManager" (not "C:\ColdFusion2016\ApiManager").

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126452

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Fix By Milestone newValue: Gold Master oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-14 15:34:17.0 action: updated fieldName: Fix By Product Milestone newValue: Gold Master oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-14 15:34:17.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-20 04:15:44.0 action: updated fieldName: Owner newValue: Blank oldValue: nimsharm oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-20 04:15:44.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-20 04:15:44.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-20 04:15:44.0 action: updated fieldName: Closed By newValue: nimsharm oldValue: Blank oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-20 04:15:44.0 action: updated fieldName: Date Fixed newValue: 2016-01-19 20:15:43.0 oldValue: Blank oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-20 04:15:44.0 action: updated fieldName: Fixed By newValue: nimsharm oldValue: Blank oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-20 04:15:44.0 action: updated fieldName: Date Closed newValue: 2016-01-19 20:15:43.0 oldValue: Blank oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-20 04:15:44.0 action: updated fieldName: Status newValue: ToTest oldValue: ToTrack oprid: djha recordName: RQ_DEFECT timpestamp: 2016-01-19 14:55:04.0 action: updated fieldName: Reason newValue: Blank oldValue: PRHaveInfo oprid: djha recordName: RQ_DEFECT timpestamp: 2016-01-19 14:55:04.0 action: updated fieldName: Changelist newValue: 297604 oldValue: Blank oprid: djha recordName: RQ_DEFECT timpestamp: 2016-01-19 14:55:04.0 action: updated fieldName: Reason newValue: PRHaveInfo oldValue: PRNeedInfo oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-19 10:34:52.0 action: updated fieldName: State newValue: Open oldValue: Open oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-19 10:34:52.0 action: updated fieldName: Status newValue: ToTrack oldValue: ToTrack oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-19 10:34:52.0 action: updated fieldName: Status newValue: ToTrack oldValue: Unverified oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-19 10:08:59.0 action: updated fieldName: Reason newValue: PRNeedInfo oldValue: Blank oprid: nimsharm recordName: RQ_DEFECT timpestamp: 2016-01-19 10:08:59.0 action: updated fieldName: QE Assigned newValue: nimsharm oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2016-01-19 09:17:42.0 action: updated fieldName: Owner newValue: nimsharm oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2016-01-19 09:17:42.0
Comment by CFwatson U.
4085 | March 09, 2016 02:08:54 AM GMT
Added By: PreRelease User User Name:Aaron Neff Note Added: Hi Nimit, Just copying my reply from the forums. Yes, http://127.0.0.1:9200 returned 200. However, elastic/remoteServers/server/host tag had 169.254.207.102 (bug?). I changed IP to 127.0.0.1 and readDefault to true. Now APIM starts. I think IP should not be 169.xxx.xxx.xxx. Thanks!, -Aaron Date Added :2016-01-19 10:34:51.0 Added By:nimsharm Note Added: Aaron, Please make sure "ColdFusion 2016 API Analytics service" is up and running. This is a prerequisite to start API Manager. (To check access http://127.0.0.1:9200 and it should return status code 200) . If this service is running but API Manager is unable to detect Analytics service, then follow steps mentioned below: 1. Open default_conf.xml file available at: <apim_install_dir>/conf 2. Check elasticsearch IP address under elastic/remoteServers/server/host tag and it should be 127.0.0.1 3. Change the value of readDefault tag to true. 4. Save changes. 5. Start APIManager -Nimit Date Added :2016-01-19 10:09:01.0 Added By: PreRelease User User Name:Aaron Neff Note Added: The forum thread discussing this ticket is: http://prerelease.adobe.com/r/?6bea6baba612449fbe6caa6f854cb40d Please follow-up in that thread, not here in this ticket. Date Added :2016-01-17 08:47:07.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Entered Bug. Date Added :2016-01-17 08:36:48.0
Comment by CFwatson U.
4086 | March 09, 2016 02:08:55 AM GMT