tracker issue : CF-3531653

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

ColdFusion 10 web services fail in IIS virtual folders

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Leith Tussing / Leith Tussing (Leith Tussing)

Created: 03/28/2013

Components: Web Services

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final / 285059

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2008 Server R2

Vote Count: 2

*********************************************************************************
Problem Description: When a web service is run under CF10 from within an IIS virtual folder 

Steps to Reproduce: Place all of the web service .cfc files within a folder outside of the website root and then from within IIS make a virtual folder or virtual application that maps to the folder outside of the web root.  Attempt to call the .cfc?wsdl and the web service will fail.


*********************************************************************************
Actual Result: Depending on the web service version you get 2 different errors but both result in a failure to run even for a basic shell web service file.

with wsVersion = 1

AXIS error

Sorry, something seems to have gone wrong... here are the details:
Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null]
 AxisFault 
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException 
faultSubcode: 
faultString: Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null] 
faultActor: 
faultNode: 
faultDetail: {http://xml.apache.org/axis/}hostname:Dev

 

With wsVersion = 2

 

HTTP Status 500 - The web service operation caused an invocation exception.

type Status report

message The web service operation caused an invocation exception.

description The server encountered an internal error (The web service operation caused an invocation exception.) that prevented it from fulfilling this request.
Apache Tomcat/7.0.23


*********************************************************************************
Expected Result: When this is done under CF8 or CF9 the web services function as expected from an IIS virtual folder.


*********************************************************************************
Any Workarounds: Move the .cfc files outside of the virtual path and to a folder within the website.

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

Watson Bug ID:	3531653

Keywords:
FixTested


External Customer Info:
External Company:  
External Customer Name: brentil
External Customer Email:  
External Test Config: My Hardware and Environment details: 

Development server - Windows 2008 R2 with IIS7.5 running CF 9.0.1 Standard and CF 10 Standard both with the latest patches

Production server - Windows 2008 R2 with IIS7.5 running CF 10 Standard with the latest patches

Attachments:

Comments:

I found this to occur on Linux also, but in my case, I had the CFC inside a symlinked directory pointing to a location outside the web root. If I moved a copy of the CFC into the web root, it would load the wsdl. Then if I referenced the path to the CFC in the symlinked directory, it would resolve also. As soon as I removed the CFC from the web root again, the CFC in the symlinked directory would fail again.
Comment by External U.
15873 | March 29, 2013 05:32:34 PM GMT
The isapi_redirect.dll file in all of the connectors is up to date with 11/8/2012 1:18 PM showing as the modified date.
Comment by External U.
15874 | April 03, 2013 07:41:39 AM GMT
I am also getting this issue, unable to have a webservice in a virtual directory, only a folder within the website. Win 2008 Rs IIS 7.5 CF10 update 8
Comment by External U.
15875 | April 04, 2013 03:11:06 PM GMT
This bug totally breaks virtual directories
Vote by External U.
15880 | April 18, 2013 01:00:49 PM GMT
I have exactly reproduced this issue in Linux. Folder structure as follows: /webroot is a symlink /webroot/WS/Webservice.cfc Calls to /WS/Webservice.cfc?wsdl will fail as described. If I COPY Webservice.cfc to be present at /webroots/WebService.cfc, calls to /WS/Webservice.cfc?wsdl succeed So even though in both cases you are within a symlink, it appears that in Linux, any folders nested below that symlink break.
Vote by External U.
15881 | April 25, 2013 01:53:41 PM GMT
Unable to repro the issue , i have asked the customer for the repro the case. The customers who have voted on this bug can you please send across your test case for this issue to asha@adobe.com.
Comment by Asha K.
15876 | May 15, 2013 08:07:25 AM GMT
Able to verify it.
Comment by Asha K.
15877 | May 17, 2013 01:21:40 AM GMT
When a CFC is present in virtual directory, ColdFusion was not able to resolve the Metadata for the CFC. Fixed the issue.
Comment by Paul N.
15878 | June 07, 2013 09:02:01 AM GMT
I can confirm that Update 11 for CF10 fixes this issue.
Comment by External U.
15879 | July 08, 2013 01:36:23 PM GMT