tracker issue : CF-3042974

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 85391:ColdFusion throws attempted duplicate class definition when accessing a web service

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): MrSmith MrSmith / MrSmith MrSmith (MrSmith MrSmith)

Created: 12/15/2010

Components: Web Services

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 13

Problem:

ColdFusion throws  attempted  duplicate class definition when accessing a web service.
Method:

I've made a small testcase on which I can reproduce the error all the time:http://dl.dropbox.com/u/15688335/wstest.zip1. Put the files in a wstest folder in your root.2. create a file to test the web service : <cfset ws = createObject("webservice", "http://SERVER/wstest/ws.cfc?wsdl").function1()>3. run the test file once. It should work properly.4. rename wstest/result/function1Response.cfc (adding 1 at the end of the file works just fine)5. run the test file. It should complain about function1Response.cfc not being found.6. rename the cfc back to function1Response.cfc7. run the test file. On my server (9.0.1) it alternates between'java.lang.LinkageError : loader (instance ofcoldfusion/xml/rpc/SkeletonClassLoader): attempted  duplicate classdefinition for name: "wstest/result/Function1Response"' and'java.lang.ClassNotFoundException :wstest.result.Function1Response][java.lang.NullPointerException : null'The error is cleared temporarily by:- changing ws.cfc (adding spaces at the start for example);- using the clearTrustedCache from the admin api or the CFIDE.
Result:

java.lang.LinkageError : loader (instance ofcoldfusion/xml/rpc/SkeletonClassLoader): attempted  duplicate classdefinition for name: "wstest/result/Function1Response"

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3042974

External Customer Info:
External Company:  
External Customer Name: MrSmith MrSmith
External Customer Email: 3CBD0ACC468BF68C992015C2
External Test Config: 12/15/2010

Attachments:

Comments: