tracker issue : CF-3348765

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

[ANeff] Bug for: REST app will crash if installed on multiple sites

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 10/18/2012

Components: REST Services

Versions: 10.0

Failure Type: Usability Issue

Found In Build/Fixed In Build: Final / 286345

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Win All

Vote Count: 0

The repro is simple:

(code attached - App1 and App2 are identical except for the message that is returned from newsservice.cfc)

1) place App 1 at C:\site1
2) place App 2 at C:\site2
3) create IIS7 site "site 1" for C:\site1 on port 8011 (ex: hostname="", port=8011, ipAddress=*)
4) create IIS7 site "site 2" for C:\site2 on port 8022 (ex: hostname="", port=8011, ipAddress=*)
5) go to http://localhost:8011/?reinit (initializes the REST app on site 1)
6) go to http://localhost:8011/rest/news/weather and see "App1 says: It will be eleven degrees." (good - the REST app is working properly on site 1)
7) go to http://localhost:8022/?reinit (initializes the REST app on site 2)
8) go to http://localhost:8022/rest/news/weather and see "App2 says: Lightning bolts will light the sky with splendor." (good - the REST app is working properly on site 2)
9) go back to http://localhost:8011/rest/news/weather and see "HTTP Error 500.0 - object is not an instance of declaring class" (bad - the REST app stopped working on site 1)

Basically, step #7 broke site 1's REST app.

If multiple sites on a server attempt to run the same REST app, then they will just end up crashing each other's app =P

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

Watson Bug ID:	3348765

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

  1. October 18, 2012 00:00:00: 1_RESTAppCrashesIfInstalledOnMultipleSites.zip

Comments:

This issue is fixed in latest version of CF Splendor (Comment added from ex-user id:nawani)
Comment by Adobe D.
17478 | September 26, 2013 08:25:10 AM GMT