tracker issue : CF-3853490

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

error when using the cfcompile.bat

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Piyush Kumar Nayak)

Created: 11/18/2014

Components: Installation/Config, Scripts

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: 292137 / CF11 Update5

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Mac 10.9

Vote Count: 1

Listed in the version 11.0.05.293506 Issues Fixed doc
Problem:
error when using the cfcompile.bat

Method:
observed on JEE installation of CF on Windows 7 / JBoss 8.1 with CF 11,0,03,292137
test case:
qa\cf\regression\cf-utilities\cfcompile\cfcompile-util.cfm

Result:
Error executing the cmd utility: Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletException at coldfusion.tools.CommandLineInvoker.main(CommandLineInvoker.java:65) Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 1 more 

Expected:

Workaround:

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

Watson Bug ID:	3853490

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

---------------------------------------- cfcompile utility does NOT work on: Windows 7 x64 / standalone CF 11 (HF3 build 292447) : This works with the GM build but, returns the following error after applying HF3: Error: could not find or load main class coldfusion.tools.commanlineinvoker Windows 7 x64/ J2EE CF11 on WildFly8.2 (GM build): J2EEJAR path pointed to the same jars with which this works on non-Windows. Error: Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletException at coldfusion.tools.CommandLineInvoker.main(CommandLineInvoker.java:65) Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 1 more --------------------------------------------- works on: Windows 7 x64 / standalone CF 11 (GM build) : Solaris 11 / standalone CF (ReGM and HF3 build) OSX 10.10/ J2EE CF on WildFly8.1 (HF3 build 292459) ----------------------------------------------------------
Comment by Piyush K.
10030 | December 01, 2014 06:05:53 AM GMT
This bug applies for me too, with the following server spec: Server Product ColdFusion Version 11,0,03,292480 Tomcat Version 7.0.54.0 Edition Standard Operating System Windows Server 2012 OS Version 6.2 Update Level C:/ColdFusion11/cfusion/lib/updates/chf11000003.jar Adobe Driver Version 5.1.3 (Build 000094) JVM Details Java Version 1.7.0_51 Java Vendor Oracle Corporation Java Vendor URL http://java.oracle.com/ Java Home C:\ColdFusion11\jre
Comment by External U.
10031 | January 06, 2015 04:16:53 AM GMT
Unable to compile my production code for sourceless distribution after updating coldfusion to HF3. Therefore unable to provide my client with the compiled code, delaying our software delivery.
Vote by External U.
10034 | January 06, 2015 04:34:09 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
10032 | February 20, 2015 09:25:44 AM GMT
Wasn't able to reproduce the issue on standalone CF11 Update 4 (build 11,0,04,293328) on Windows 2012 R2 w/ Java version 1.8.0_25. The cfcompile utility worked fine for me. The following successfully compiled the directory-to-compile to the output-directory: cfcompile -deploy webroot directory-to-compile output-directory Thanks!, -Aaron
Comment by External U.
10033 | November 19, 2015 05:33:42 AM GMT