tracker issue : CF-4126405

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

API Manager startup error

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Dave Ferguson / Dave Ferguson (Dave Ferguson)

Created: 03/09/2016

Components: API Manager, Installer

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: RC_v12 /

Priority/Frequency: Major / Unknown

Locale/System: English / Mac All

Vote Count: 0

Listed in the version 2016.0.02.299200 Issues Fixed doc
Verification notes: verified_ignore on October 01, 2019 using build 2016.0.02.299200
API Manager should gracefully fail to start if the necessary supporting services are not available.   It should also report what was wrong so some corrective action can be taken.  Given the error below I would have no idea what next steps would be.


Right now you get a hard error and a thread dump.

Drogon:~ dferguson$ /Applications/ColdFusion2016APIManager/bin/start.sh
08:46:30.210 [main] INFO  - API Manager Home : /Applications/ColdFusion2016APIManager/bin/..
08:46:30.215 [main] INFO  - /Applications/ColdFusion2016/cfusion
08:46:30.234 [main] INFO  - Starting Config service
Exception in thread "main" com.adobe.amp.spi.redis.RedisException: Could not get a resource from the pool
	at com.adobe.amp.redis.RedisServiceImpl.handleCommand(RedisServiceImpl.java:174)
	at com.adobe.amp.redis.RedisServiceImpl.getSet(RedisServiceImpl.java:715)
	at com.adobe.amp.DefaultConfigurationPopulator.readDefault(DefaultConfigurationPopulator.java:99)
	at com.adobe.amp.DefaultConfigurationPopulator.populateDefaultConfig(DefaultConfigurationPopulator.java:62)
	at com.adobe.amp.ConfigServiceImpl.loadDefaultSetting(ConfigServiceImpl.java:121)
	at com.adobe.amp.ConfigServiceImpl.startService(ConfigServiceImpl.java:95)
	at com.adobe.amp.spi.AbstractService.start(AbstractService.java:47)
	at com.adobe.amp.GrootServer.start(GrootServer.java:98)
	at com.adobe.amp.GrootServer.main(GrootServer.java:230)

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

Watson Bug ID:	4126405

External Customer Info:
External Company: Disney IT
External Customer Name: Dave Ferguson
External Customer Email: dave@dkferguson.com
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Priority newValue: 3 oldValue: 2 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-29 13:11:29.0 action: updated fieldName: Severity newValue: 3 oldValue: 2 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-29 13:11:29.0 action: updated fieldName: Fix By Product Milestone newValue: HF2 oldValue: Alpha oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-29 13:11:18.0 action: updated fieldName: Fix By Milestone newValue: Post Release oldValue: Alpha oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-29 13:11:18.0 action: updated fieldName: Severity newValue: 2 oldValue: 3 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-07 09:21:50.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-07 09:21:50.0 action: updated fieldName: Fix By Milestone newValue: Alpha oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-07 09:21:50.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-07 09:21:50.0 action: updated fieldName: Owner newValue: awdhesh oldValue: inoel oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-07 09:21:50.0 action: updated fieldName: Fix By Product Milestone newValue: Alpha oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-07 09:21:50.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-07 09:21:50.0
Comment by CFwatson U.
4234 | March 09, 2016 01:57:48 AM GMT
Added By:vmannebo Note Added: The error has been made more specific now and would specify which service is not up. We will how best we can simplify the start up mechanism in the next release/updater. Date Added :2016-02-07 09:21:52.0 Added By: PreRelease User User Name:Dave Ferguson Note Added: Entered Bug. Date Added :2016-02-06 16:47:43.0
Comment by CFwatson U.
4235 | March 09, 2016 01:57:49 AM GMT
Printing proper message on out stream and also logging the error.
Comment by Milan C.
4236 | March 23, 2016 04:34:20 AM GMT
test note
Comment by CFwatson U.
4237 | June 07, 2016 04:18:39 AM GMT
The fix for this bug is available as part of the early-access build for ColdFusion 2016 Update 2.
Comment by CFwatson U.
4238 | June 07, 2016 04:25:20 AM GMT