Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
CFMagic #1
CFC error
Hi, I have tried to move a cf site from one server to my new server, but I
have seen the following error when invoking the web service definition file of
a cfc component: ======================== AXIS error Sorry, something seems to
have gone wrong... here are the details: Fault -
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
not resolve CFC datatype: /cfc/fashioncorner.cfc][; nested exception is:
coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
not resolve CFC datatype: /cfc/fashioncorner.cfc][ AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode: faultString:
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
not resolve CFC datatype: /cfc/fashioncorner.cfc][; nested exception is:
coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
not resolve CFC datatype: /cfc/fashioncorner.cfc][ faultActor: faultNode:
faultDetail: ==================== This error is seen at the following URL:
[url]http://fashioncorner.porta80.com.br/cfc/fashioncorner.cfc?wsdl[/url] But in the old
server the problem does not happen:
[url]http://www.fashioncorner.com.br/cfc/fashioncorner.cfc?wsdl[/url] Any ideas? Of
course there is a configuration problem in the server, but I don't know what it
is. Thanks in advance!
CFMagic Guest
-
Error Message "A drawing error ocurrred which is probably due to an out-of-memory condition. Try qu
I am running Acrobat Reader 5.0 on a Mac Powerbook running OS 9.2 and keep getting "A drawing error occurred which is probably due to an out of... -
Error 403 Failed to read heders Error for long-runningCFMAIL and CFINDEX command
I have two different pages with long-running scripts on which I am recieving the following error: Error - 403 Failed to read headers to server:... -
Error Creating Control: Parser Error DocHeader does not have a property named 'cc3:MyItems'
I am having problems getting this webcontrol working properly. Everything else works fine except having items. So here is the low-down on the... -
Unexpected error. A trappable error (C0000005) occurred in an external object.
Hi Elvin, After doing some reseaarch on this problem, I found there is a lot of issues which may cause the problem, for example, incorrect access... -
An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)
Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources... -
wvufan #2
Re: CFC error
Did you by any chance upgrade to CF 7 on your new server? I am getting this same error on a server that I am testing CF 7 on. I have not seen this type of error before CF 7.
Danny
wvufan Guest
-
EluSiOn #3
Re: CFC error
i an also having the same error on CF7 after upgrading from CF6.1 does anyone has an answer for it?
EluSiOn Guest
-
Tom Jordahl #4
Re: CFC error
Do you have a mapping for the /cfc directory?
For those of you who are getting the "same" error, do you have mappings for
the CFC data types used in the web service? Does it work when you don't
depend on a CF mapping?
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
Raaga #5
Re: CFC error
Hi,
Getting the same error. Today i updated the CF updater for CFMX 6.1. As soon as i installed the updater i am getting this error.
Please help.
Thanks
-Raaga
Raaga Guest
-
Tom Jordahl #6
Re: CFC error
Well, I believe we fixed some problems with web services and mappings in the
updater.
It sure would help this thread if someone would post some code.
"me too" doesn't help us debug it. :-{
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
Raaga #7
Re: CFC error
Hi Tom, Thanks for the reply. This is the simple CFC i am testing.
<cfcomponent> <cffunction name='echoString' returnType='string' output='no'>
<cfreturn 'Testing the WSDL'> </cffunction> </cfcomponent> the error
generated AXIS error Sorry, something seems to have gone wrong... here are
the details: Fault -
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
not resolve CFC datatype: /api/test.cfc][; nested exception is:
coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
not resolve CFC datatype: /api/test.cfc][ AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode: faultString:
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
not resolve CFC datatype: /api/test.cfc][; nested exception is:
coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
not resolve CFC datatype: /api/test.cfc][ faultActor: faultNode:
faultDetail: This CFC works fine before installing the updater. Please
suggest how to fix the solution. Is there any way to uninstall the installer
which was installed. Thanks -Raaga
Raaga Guest
-
Tom Jordahl #8
Re: CFC error
Do you have a ColdFusion mapping for /api ? That simple CFC works fine for
me.
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
Thomas P. Sychay #9
Re: CFC error
Adding the cfmapping in the administrator will eliminate the error but ... In
this example, creating an /api mapping will only help that one site. If the
same cfserver is serving other cf sites that provides webservices and using the
same folder convention /api, this method won't work. I.e. on the same cfserver
site1.com/api/test.cfc site2.com/api/test.cfc this solution will only solve
the problem on one site, not the other. Is there anything else that can be
done, Tom? Thanks, Tom S.
Thomas P. Sychay Guest
-
Tom Jordahl #10
Re: CFC error
Tom,
I guess I don't understand your question. Since CF mappings are used for
all sites, all the sites will use the same mapping for /api to point to the
same file. This is a good thing.
The updater fixed a problem that mappings were not respected when a
component was being used as a web service. Now they are respected - exactly
as if you were accessing them as a component.
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
Thomas P. Sychay #11
Re: CFC error
Thanks for the quick reply... For some, using the same mapping that in turn
maps to a name of an http folder off a webroot is disadvantegeous, esp. on a
server hosting multiple sites and whose directory and naming conventions put
all cfc's in the '/client/webroot/com' folder. So let's say that there is a
webservice called subscribe.cfc for the site [url]www.mysite1.com[/url]. The physical
path is d:\mysite1.com\webroot\com\subscribe.cfc. The call to the cfc via
webservice would be [url]http://www.mysite1.com/com/subscribe.cfc?wsdl[/url] The invoke as
component would be /mysite1/com/subscribe. mysite1 is cf mapping to the mysite1
webroot. And then let's say there's another site called [url]www.mysite2.com[/url] which
is a totally different site with totally different subscribe rules. Following
our company's convention of setting up sites, we would also set it up as
follows: The physical path is d:\mysite2.com\webroot\com\subscribe.cfc. The
call to the cfc via webservice would be
[url]http://www.mysite2.com/com/subscribe.cfc?wsdl[/url] The invoke as component would be
/mysite2/com/subscribe. mysite2 is cf mapping to the mysite2 webroot. So the
'/com' mapping would only work for one site. It would make sense that calling
the webservice 'http://www.mysite1.com/com/subscribe.cfc?wsdl' and
'http://www.mysite2.com/com/subscribe.cfc?wsdl' would call two different cfc's.
Let me know if this makes sense!, Thanks, Tom
Thomas P. Sychay Guest
-
Tom Jordahl #12
Re: CFC error
Yes, I see. This is a limitation of the CF mappings when used with multiple
sites.
What I would do would be to not use mappings at all, and make sure my web
roots all had the CFCs in the actual path, i.e.. there was a 'com' directory
in both web roots.
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest



Reply With Quote

