An update on this:

Since the problem came back, what I ended up doing was reverting to the
lower case file names and references used previously and taking a copy of
the WSDL generated prior to CF 8.01 and saving it as a standalone WSDL. Then
in the webservice CFC, I added <component wsdlfile="myOriginal.wsdl">, so
that it would use my original 'static' WSDL. So far this is working, it
remains to be seen if the problem will rear its ugly head again. If it does,
I'm sure it will happen at 3am Sunday morning ;)

Brook

-----Original Message-----
From: Brook Davies [mailto:[email protected]] 
Sent: December-09-10 10:07 AM
To: cf-talk
Subject: RE: Webservice error after CF 8.01 update


Just to put this out there, the problem with the duplicate class definition
error is back again. It ran fine for days and all of a sudden reared its
ugly head out of the blue. No server restart, nothing. I don't want caused
it to start happening again. 

Bobby mentioned he was having the same error. Anyone else? I think this is a
bug, since it only started happening on a webservice that has ran without
error for 5 years - after the 8.01 update.

coldfusion.xml.rpc.CFCInvocationException: [java.lang.ClassNotFoundException
: components.bridge.Cp_startup][java.lang.LinkageError : loader (instance of
coldfusion/xml/rpc/SkeletonClassLoader): attempted  duplicate class
definition for name: "components/bridge/Cp_startup"]

My customers are up in arms, but we don't have a good solution for this....

Brook

-----Original Message-----
From: Bobby Hartsfield [mailto:[email protected]] 
Sent: December-03-10 2:50 PM
To: cf-talk
Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START!
[FIXED]


That is exactly what we have pushed to production today to attempt to
resolve this (which is the only place it happens). The WSDL always title
cases the name. I read that displayName would override the case but it
didn't seem to work. Finally we just gave in and changed all references to
it to match the WSDL.

I guess time will tell if it resolved the issue. It gives me hope that it
seems to have resolved your problem.

Thanks 
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
-----Original Message-----
From: Brook Davies [mailto:[email protected]] 
Sent: Friday, December 03, 2010 10:54 AM
To: cf-talk
Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START!
[FIXED]


The initial webservice error did not go away after the msvcr71.dll was
updated. It was unrelated. For the record, the errors starting happening on
our webservice after the 8.01 upgrade and involved the complex return types.
The error was:

coldfusion.xml.rpc.CFCInvocationException: [java.lang.ClassNotFoundException
: components.bridge.Cp_startup][java.lang.LinkageError : loader (instance of
coldfusion/xml/rpc/SkeletonClassLoader): attempted  duplicate class
definition for name: "components/bridge/Cp_startup"]

The error would go away after a restart and clearing out all of the
generated class files. But it would then start happening again out of the
blue.

I first tried making sure that the references to the returntypes in the code
were all the same case. This did not resolve it. Finally I renamed all of
the complex return type definitions to begin with an upper case "C" (from
'cp_startup.cfc' to 'Cp_startup.cfc'). After rebooting and clearing the
cache the problem seems to have been resolved.

Brook


-----Original Message-----
From: Bobby Hartsfield [mailto:[email protected]] 
Sent: December-02-10 2:27 PM
To: cf-talk
Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START!
[FIXED]


So did the initial webservice error go away as well?
 
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
-----Original Message-----
From: Brook Davies [mailto:[email protected]] 
Sent: Thursday, December 02, 2010 10:35 AM
To: cf-talk
Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START!
[FIXED]


Yeah, I wasn't sure if you need to copy it into the bin directory or just
update the version in system32. Thanks again Mack.

Brook













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

Reply via email to