And in CF8, not just CF9!

:-)

.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

-----Original Message-----
From: Brook Davies [mailto:cft...@logiforms.com] 
Sent: Tuesday, February 22, 2011 12:37 PM
To: cf-talk
Subject: ADOBE PLEASE FIX THIS! RE: Linkage Error - attempted duplicate
class definition for name


Would adobe please fix this bug!! Pretty please?

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html?#bugId=
85391

Brook

-----Original Message-----
From: Bobby Hartsfield [mailto:bo...@acoderslife.com] 
Sent: February-22-11 8:13 AM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


Well, we thought we were finally rid of this one by disabling the "Save
Class Files" setting in the CFAdmin but we just had another report of the
error.

Short of a rewrite in java or the like, if anyone has any ideas at all, I'd
love to hear them.
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
-----Original Message-----
From: Bobby Hartsfield [mailto:bo...@acoderslife.com]
Sent: Tuesday, January 25, 2011 4:07 PM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


Weird, I wonder why it doesn't clear the cfclasses for me...

And yes, this is definitely a hacked solution until it gets fixed (if it
ever does)... it is still an issue in CF9.
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

-----Original Message-----
From: Brook Davies [mailto:cft...@logiforms.com] 
Sent: Tuesday, January 25, 2011 4:04 PM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


I know, I thought that aswell. But for me, regardless of if the trusted
cache option is on in the cfadmin, it does clear the files from cfclasses
and it does temporarily resolve the problem. Its still a big problem
though...

Brook

-----Original Message-----
From: Bobby Hartsfield [mailto:bo...@acoderslife.com] 
Sent: January-25-11 12:13 PM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


You did send some code you were using to manually clear the trustedCache but
all that I noticed it doing was logging in, building a list of files, and
passing them to the clearTrustedCache() method of admin.api.runtime

Running the clearTrsutedCache() method (or clicking the Clear Template Cache
Now button in cfadmin) does not affect the contents of cfclasses for me and
I didn't see another method in the API that looked like it would do that.

I must be missing something somewhere. Without Trusted Cache enabled in
CFAdmin. I wouldn't think admin.api.runtime.clearTrustedCache() would have
anything to do.

.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

-----Original Message-----
From: Brook Davies [mailto:cft...@logiforms.com]
Sent: Tuesday, January 25, 2011 2:39 PM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


Didn't I sent you that code sample that cleans out the relative files? It
*does* work for me. Note, it clears out the files from the cfclasses
directory, not the cfc-skeletons directory.  I can resend that code if you
need it.

Brooik

-----Original Message-----
From: Bobby Hartsfield [mailto:bo...@acoderslife.com] 
Sent: January-25-11 11:12 AM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


I did find some classes in cfclasses that were related to my cfc but
clearing the template cache as you mentioned doesn't touch them. 

Did you put something else together to keep them cleared out of there?

I can think of a simple cfexecute command to handle it but... yuck!
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

-----Original Message-----
From: Bobby Hartsfield [mailto:bo...@acoderslife.com]
Sent: Tuesday, January 25, 2011 1:32 PM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


Doh! I didn't look in there. Guess I had template cache on the brain. I'll
check that out now. 

And yes, I wish this would get fixed! I also wish you could do soemthing
like returntype="java:com.soemthing.myclass" in a CFC and use java classes
as the returntype. I really think if I was able to use the java class that
we created instead of the properties.cfc... it would resolve the issue.
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

-----Original Message-----
From: Brook Davies [mailto:cft...@logiforms.com] 
Sent: Tuesday, January 25, 2011 12:52 PM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


Hi Bobby,

I don't have TRUSTED cache enabled either. If you look in the cfclasses
directory, are there any class files being written to disk there? If so,
clearing the ones  that correspond to your complex type CFC's does resolve
the problem temporarily. I wish Adobe would fix this one...

Brook


-----Original Message-----
From: Bobby Hartsfield [mailto:bo...@acoderslife.com] 
Sent: January-25-11 4:19 AM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


We thought about trying that but yesterday, I noticed that our template
caches were all disabled. :-/ 
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
-----Original Message-----
From: Brook Davies [mailto:cft...@logiforms.com]
Sent: Monday, January 24, 2011 9:40 PM
To: cf-talk
Subject: RE: Linkage Error - attempted duplicate class definition for name


As you know Bobby, I have this problem aswell and have never been able to
find a workaround. Well, I did but it's the ugliest hack you can think of.
Clearing the specific templates out of  the template cache manually on a
scheduled task. But even with that I am still getting complaints from
customers about errors on the webservice.

Brook



-----Original Message-----
From: Bobby Hartsfield [mailto:bo...@acoderslife.com] 
Sent: January-24-11 3:41 PM
To: cf-talk
Subject: Linkage Error - attempted duplicate class definition for name


I have been experiencing this one in CF8 for a while now:
http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html?#bugId=
85391

 

The severity is listed as "benign bug, has a workaround". but a workaround
isn't mentioned. 

 

Manually changing the code when time the error happens so it goes away for a
little while is hardly a workaround but that is all I see in the "Steps to
Reproduce" section.

 

Does anyone have any idea about what" workaround" they could be referring
to? 

 
 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com <http://acoderslife.com/> 
 

 




























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

Reply via email to