tracker issue : CF-3695114

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

AXIS Version 1 WSDL Generation Very Slow using JRE 1.7

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Mitchell McKenzie / Mitchell McKenzie (Mitch McKenzie)

Created: 01/16/2014

Components: Web Services

Versions: 10.0

Failure Type: Performance Issue

Found In Build/Fixed In Build: Final / CF11 Update5,CF10 Update16

Priority/Frequency: Major / All users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 1

Listed in the version 11.0.05.293506 Issues Fixed doc
Problem Description:

Hitting this url : http://localhost/ws/axisVersionOneService.cfc?wsdl takes about 2-3 minutes before a wsdl is generated.  This appears to only happen when using JRE 1.7. In this case we're using the JRE that comes with CF. JRE 1.7 Build 15 I believe. 

Steps to Reproduce:

1. Install CF 10 as a single server instance install.
2. Apply CF Updates up to : C:/ColdFusion10/cfusion/lib/updates/chf10000012.jar  
3. Create a folder called "ws" in C:\ColdFusion10\cfusion\wwwroot\
4. Copy attached file: axisVersionOneService.cfc to C:\ColdFusion10\cfusion\wwwroot\ws
5. Using Chrome or any other browser access the WSDL by hitting url : http://localhost[:port]/ws/axisVersionOneService.cfc?wsdl

Should experience a wait time of about 2 to 3 minutes before the SOAP markup appears in the browser window.

After the wsdl is cached it will display in under a second.    

To reproduce the issue without restarting cf do:
1. Go into coldfusion administrator -> Caching -> Clear Template Cache Now
2. Using Chrome or any other browser access the wsdl by hitting url : http://localhost[:port]/ws/axisVersionOneService.cfc?wsdl

Actual Result:

Long wait time for WSDL definition to appear.  Please note that larger services took longer to generate the WSDL.  (12 - 15 minutes) 

Expected Result:

Short wait times for WSDL definition to appear.  < 1 second

Any Workarounds:

1. Use JRE 1.6. 
2. Just wait for the WSDL to generate and cache.
3.  I did not experience the issue if I moved the cfc to the root folder and hit: http://localhost/axisVersionOneService.cfc?wsdl

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

Watson Bug ID:	3695114

External Customer Info:
External Company:  
External Customer Name: hollywood639
External Customer Email:  
External Test Config: My Hardware and Environment details:



System Information

Server Details

Server Product	 ColdFusion

Version	 10,0,12,286680

Tomcat Version	 7.0.23.0

Edition	 Developer  

Serial Number	 Developer  

Operating System	 Windows 7  

OS Version	 6.1  

Update Level	 /C:/ColdFusion10/cfusion/lib/updates/chf10000012.jar  

Adobe Driver Version	 4.1 (Build 0001)  

JVM Details

Java Version	 1.7.0_15  

Java Vendor	 Oracle Corporation  

Java Vendor URL	http://java.oracle.com/

Java Home	 C:\ColdFusion10\jre  

Java File Encoding	 Cp1252  

Java Default Locale	 en_US  

File Separator	 \  

Path Separator	 ;  

Line Separator	 Chr(13)

User Name	 R985GW0$  

User Home	 C:\  

User Dir	 C:\ColdFusion10\cfusion\bin  

Java VM Specification Version	 1.7  

Java VM Specification Vendor	 Oracle Corporation  

Java VM Specification Name	 Java Virtual Machine Specification  

Java VM Version	 23.7-b01  

Java VM Vendor	 Oracle Corporation  

Java VM Name	 Java HotSpot(TM) 64-Bit Server VM  

Java Specification Version	 1.7  

Java Specification Vendor	 Oracle Corporation  

Java Specification Name	 Java Platform API Specification  

Java Class Version	 51.0

Attachments:

  1. January 18, 2014 00:00:00: 1_axisVersionOneService.cfc

Comments:

MxUnit takes 10 minutes to run a single set of tests.
Vote by External U.
13676 | January 17, 2014 02:06:37 PM GMT
Test case. --------------- <cfset startTime = GetTickCount()> <cfhttp url="http://localhost:8500/unverified/bugCF-3695114/axisVersionOneService.cfc?wsdl" method="get"> </cfhttp> <cfset endTime = GetTickCount()> <cfset diff = #endTime# - #startTime#> <cfoutput>#diff#</cfoutput> When run with JDK 1.6.0_29. The test case was taking an average of 720 ms to retrive the WSDL. When run with JDK 1.7.0_25 , the test case takes 2367 average on 10 runs. The WSDL retrieval is 3 times slower with JDK 1.7
Comment by Paul N.
13673 | May 07, 2014 09:17:26 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5 and ColdFusion 10 Update 16
Comment by CFwatson U.
13674 | February 20, 2015 09:29:34 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506) w/ JDK 1.8.0_66 and CF11 Update 4 (build 11,0,04,293328) w/ JDK 1.8.0_66. Most runs finish under 50 ms w/ JDK 1.8.0_66. Thanks!, -Aaron
Comment by External U.
13675 | November 23, 2015 03:09:57 AM GMT