Re: Web Services and file permissions - access.denied

2012-07-22 Thread Russ Michaels

I am presuming you are running dev edition of cf on your local machine,
which has IP restrictions which is probably the cause.

Regards
Russ Michaels
On Jul 22, 2012 3:23 AM, Les Schmidt les242...@casadiablo.net wrote:


 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:351935
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services and file permissions - access.denied

2012-07-22 Thread Les Schmidt

I am presuming you are running dev edition of cf on your local machine,
which has IP restrictions which is probably the cause.

Regards
Russ Michaels
On Jul 22, 2012 3:23 AM, Les Schmidt les242...@casadiablo.net wrote:



Russ,
Thanks for the reply.  Yes I'm running dev edition of CF on my local machine - 
which is where I'm having NO trouble getting things to work.  I have trouble 
when the calling cfm is on Hostek and the cfc (web service) is on a standard 
copy of CF 9 at home.  Any other thoughts? 


~|
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:351936
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services and file permissions - access.denied

2012-07-22 Thread Dave Watts

 Thanks for the reply.  Yes I'm running dev edition of CF on my local machine 
 - which is where I'm having NO trouble getting
 things to work.  I have trouble when the calling cfm is on Hostek and the cfc 
 (web service) is on a standard copy of CF 9 at
 home.  Any other thoughts?

Have you verified that the server at Hostek can access your server at home?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
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:351937
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services and file permissions - access.denied

2012-07-22 Thread Les Schmidt

  Thanks for the reply.  Yes I'm running dev edition of CF on my local 
 machine - which is where I'm having NO trouble getting
  things to work.  I have trouble when the calling cfm is on Hostek 
 and the cfc (web service) is on a standard copy of CF 9 at
  home.  Any other thoughts?
 
 Have you verified that the server at Hostek can access your server at 
 home?
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.
Dave,
Thanks Dave. Appreciate you troubleshooting this one with me.
Say more. Are you thinking that Hostek blocks the consumption of web services?  
as for access to the home setup, it hosts my personal site 
(casadiablo.homeip.net) which I can reach just fine from anywhere. Which is 
only to say that I don't think it's an incoming firewall issue on the home 
side.

I do have a ticket into Hostek just to see if there is something there.  How 
would you suggest I personally test the ability for Hostek to reach into the 
home server?


~|
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:351938
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services and file permissions - access.denied

2012-07-22 Thread Les Schmidt

  Thanks for the reply.  Yes I'm running dev edition of CF on my local 
 machine - which is where I'm having NO trouble getting
  things to work.  I have trouble when the calling cfm is on Hostek 
 and the cfc (web service) is on a standard copy of CF 9 at
  home.  Any other thoughts?
 
 Have you verified that the server at Hostek can access your server at 
 home?
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

UPDATE: Moments after I replied to your suggestion, Hostek responded to my 
ticket and indicated that they had updated the permissions on my security 
sandbox and everything works fine!  Augh - 24 hours of pulling my hair out and 
it was that simple.  

Case closed.



~|
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:351939
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm