opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cf-talk@houseoffusion.com 22 July 2012 • 10:22AM -0400

Web Services and file permissions - access.denied
by Les Schmidt

REPLY TO AUTHOR
 
REPLY TO GROUP





I am attempting to access a Coldfusion 9 webservice that I created on one system (over which I have total control) by consuming it on another system which is hosted.  The pair works fine when both requesting page and the webservice are resident on my development server (in separate projects in CF Builder), but generate the following error when in their respective production environments:  

Error Occurred While Processing Request

Cannot generate stub objects for web service invocation.

Name: http://casadiablo.homeip.net/WebServices/WebSvcs.cfc?wsdl. WSDL: http://casadiablo.homeip.net/WebServices/WebSvcs.cfc?wsdl. java.security.AccessControlException: access denied ("java.io.FilePermission" "C:/Program Files/Java/jdk1.7.0_04/jre/lib/wsdl.properties" "read") It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors.



The error occurred in D:/home/casadiablo.net/wwwroot/indexCDNet.cfm: line 10

Called from "java.io.FilePermission" "C: line -1

Called from "java.io.FilePermission" "C: line -1

Called from D:/home/casadiablo.net/wwwroot/indexCDNet.cfm: line 10

-------

Note: the wsdl renders just fine in a browser, so it's not a "can't find it" or location issue.  I'm no expert in reading wsdl files, though, so the displayed wsdl file could be rendering some clues if I knew what to look for.  

For context:
When I go from my development environment to production, the consuming page is on casadiablo.net/indexCDnet.cfm (hosted by Hostek).  The webservice is on a PC in my home that has a dedicated IP address.

I've tried all kinds of combinations of usernames and passwords that might be prohibiting file access and submitting these during invocation or registering them in the CF Administrator Web Services panel.  All to no avail.

I've searched all over for an "access denied" java error (related to CF web services) discussion and have found nothing.  Any ideas as to how to troubleshoot where in this chain a java.io.FilePermission error might be triggered would be greatly appreciated!!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351934
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.