Cannot start CF11 server on Monterrey (Intel based Mac)

I recently updated to Monterrey, and I am getting errors trying to start a CF11 server. The server installed, but will not run. Any ideas based on the below?

rob@Robs-MacBook-Pro bestyearyet % java -version                       
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)

rob@Robs-MacBook-Pro bestyearyet % box server start --verbose --console 
 √ | Starting Server
   |------------------------------
   | Looking for server JSON file by convention: /Users/rob/Sites/cfwt/bestyearyet//server.json
   | webroot defaulted to location of server's JSON file: /Users/rob/Sites/cfwt/bestyearyet/
   | start server in - /Users/rob/Sites/cfwt/bestyearyet/
   | server name - bestyearyet
   | server config file - /Users/rob/Sites/cfwt/bestyearyet//server.json
   | Contacting ForgeBox to determine the latest & greatest version of [adobe 11]...  Use an exact 'cfengine' v
   | ersion to skip this check.
   | OK, [adobe 11.0.19+314546] it is!
   | WAR/zip archive already installed.
   | ******************************************
   | * CommandBox FusionReactor Module Loaded *
   | ******************************************
   | Your FusionReactor version [8.7.6] is already the latest, skipping installation.
   | Pin an exact FusionReactor version to skip this Forgebox check.
   | FusionReactor debug libs added.
   | Mac detected for debug libs.
   | FusionReactor will be available at the URL http://dev.bestyearyet.com:52674
   | Server start command: 
   |     /usr/local/Cellar/openjdk@11/11.0.12/libexec/openjdk.jdk/Contents/Home/bin/java 
   |     -agentpath:/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.31
   | 4546/fusionreactor/libfrjvmti_x64.dylib 
   |     -Dfr.application.name=bestyearyet 
   |     -javaagent:/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.31
   | 4546/fusionreactor/fusionreactor.jar=name=bestyearyet,address=dev.bestyearyet.com:52674,external=false 
   |     -jar /Users/rob/.CommandBox/lib/runwar-4.5.2.jar 
   |     --background=false 
   |     --host dev.bestyearyet.com 
   |     --stop-port 52961 
   |     --processname bestyearyet [adobe 11.0.19+314546] 
   |     --log-dir /Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314
   | 546/logs 
   |     --server-name bestyearyet 
   |     --tray-enable true 
   |     --dock-enable true 
   |     --directoryindex true 
   |     --timeout 240 
   |     --proxy-peeraddress true 
   |     --cookie-secure false 
   |     --cookie-httponly false 
   |     --pid-file /Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.31
   | 4546/.pid.txt 
   |     --tray-icon /Users/rob/.CommandBox/cfml/system/config/server-icons/trayicon-cf11.png 
   |     --tray-config /Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19
   | .314546/.trayOptions.json 
   |     --debug true 
   |     --gzip-enable true 
   |     --logaccess-enable true 
   |     --logaccess-basename access 
   |     --logaccess-dir /Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.
   | 19.314546/logs 
   |     --cfengine-name adobe 
   |     --welcome-files index.cfm,main.cfm,go.cfm,default.cfm,index.html 
   |     -war /Users/rob/Sites/cfwt/bestyearyet/ 
   |     --web-xml-path /Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.1
   | 9.314546/WEB-INF/web.xml 
   |     --http-enable true 
   |     --ssl-enable false 
   |     --ajp-enable false 
   |     --http2-enable true 
   |     --open-browser true 
   |     --open-url http://dev.bestyearyet.com:8088 
   |     --port 8088 
   |     --urlrewrite-enable false 
   |     --predicate-file /Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0
   | .19.314546/.predicateFile.txt
   | The server for /Users/rob/Sites/cfwt/bestyearyet/ is starting on http://dev.bestyearyet.com:8088 ...
   |------------------------------
   | √ | Setting Server Profile to [development]
   |   |------------------------------------------------------
   |   | Profile set from server bound to localhost
   |   | Block CF Admin disabled
   |   | Block Sensitive Paths enabled
   |   | Block Flash Remoting enabled
   |   | Directory Browsing enabled
   |   |------------------------------------------------------

FusionReactor JVMTI Revision: 8.7.6 Build: 1491.fcaecfb6a66311fc435780b34cfd11e4eb32ba8e.8.7.6 Date: Dec  7 2021 14:10:15
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO ] Runwar: Enabling URL rewrite log level: DEBUG
[DEBUG] Runwar: Server Mode: war
[INFO ] Runwar: Starting RunWAR 4.5.2
[DEBUG] Runwar: Starting Server: dev.bestyearyet.com
[DEBUG] Runwar: HOST to be bound:dev.bestyearyet.com
[DEBUG] Runwar: Requisitioning ports dev.bestyearyet.com:8088 (http) dev.bestyearyet.com:52961 (stop) 
[DEBUG] Runwar: SERVER BUILDER:true
[DEBUG] Runwar: Server Builder - PORT:8088 HOST:dev.bestyearyet.com
[INFO ] Runwar: HTTP2 Enabled:true
[INFO ] Runwar: HTTP sslEnable:false
[INFO ] Runwar: HTTP ajpEnable:false
[INFO ] Runwar: HTTP warFile exists:true
[INFO ] Runwar: HTTP warFile isDirectory:true
[INFO ] Runwar: HTTP background:false
[INFO ] Runwar: Adding additional lib dir of: /Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/lib
[DEBUG] Runwar: Initializing classloader with 18 libraries
[DEBUG] Runwar: Server Mode: war
[INFO ] Runwar: ******************************************************************************
[INFO ] Runwar: Starting - port:8088 stop-port:52961 warpath:file:/Users/rob/Sites/cfwt/bestyearyet/
[INFO ] Runwar: context: /  -  version: 4.5.2
[INFO ] Runwar: web-dirs: ["\/Users\/rob\/Sites\/cfwt\/bestyearyet"]
[DEBUG] Runwar: no aliases configured
[INFO ] Runwar: Log Directory: /Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/logs
[INFO ] Runwar: ******************************************************************************
[DEBUG] Runwar: Added shutdown hook
[DEBUG] Runwar: Transfer Min Size: 100
[INFO ] Runwar: XNIO-Option WORKER_TASK_MAX_THREADS:30
[INFO ] Runwar: XNIO-Option CONNECTION_LOW_WATER:1000000
[INFO ] Runwar: XNIO-Option TCP_NODELAY:true
[INFO ] Runwar: XNIO-Option CONNECTION_HIGH_WATER:1000000
[INFO ] Runwar: XNIO-Option WORKER_TASK_CORE_THREADS:30
[INFO ] Runwar: XNIO-Option CORK:true
[INFO ] Runwar: XNIO-Option WORKER_IO_THREADS:8
[DEBUG] Runwar: Setting coldfusion.home: '/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion'
[DEBUG] Runwar: Setting coldfusion.classpath: '/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion/lib/updates,/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion/lib/,/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion/lib/axis2,/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion/gateway/lib/,/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion/../cfform/jars,/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion/../flex/jars,/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion/lib/oosdk/lib,/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfusion/lib/oosdk/classes'
[DEBUG] Runwar: Setting flex.dir (cfform): '/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfform'
[DEBUG] Runwar: found WEB-INF: '/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF'
[INFO ] Runwar: Parsing '/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/web.xml'
[INFO ] Fusionreactor: --------------------------------------------------------------------------------------
[INFO ] Fusionreactor: FusionReactor - Copyright (C) Intergral GmbH. All Rights Reserved
[INFO ] Fusionreactor: Revision:  8.7.6 fusionreactor.10429.fcaecfb6.8.7.6
[INFO ] Fusionreactor: Date    :  Tue, 7 Dec 2021 17:47:00 GMT
[INFO ] Fusionreactor: Java    :  11.0.12 [11.0.12+0] Homebrew (64 bit)
[INFO ] Fusionreactor: OS      :  Mac OS X [12.0.1] x86_64
[INFO ] Fusionreactor: --------------------------------------------------------------------------------------
[INFO ] Runwar: Ignoring any welcome pages in web.xml
[DEBUG] Runwar: Setting coldfusion.compiler.outputDir: '/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfclasses'
[DEBUG] Runwar: {coldfusion.compiler.outputDir=/Users/rob/.CommandBox/server/B3A4257AE62B7AABF0AC589C5EB9CD42-bestyearyet/adobe-11.0.19.314546/WEB-INF/cfclasses, cfx.report.nativelibrary=cfreport, cf.lib.path=./WEB-INF/cfusion/lib, cftags=/WEB-INF/cftags, cf.class.path=./WEB-INF/cfusion/lib/updates,./WEB-INF/cfusion/lib,./WEB-INF/cfusion/gateway/lib,./WEB-INF/flex/jars,./WEB-INF/cfform/jars,./WEB-INF/cfusion/lib/axis2}
[DEBUG] Runwar: URL rewriting is disabled
[DEBUG] Runwar: enabling path_info filter
[DEBUG] Runwar: File cache is disabled
[INFO ] Runwar: Extensions allowed by the default servlet for static files: 3gp,3gpp,7z,ai,aif,aiff,asf,asx,atom,au,avi,bin,bmp,btm,cco,crt,css,csv,deb,der,dmg,doc,docx,eot,eps,flv,font,gif,hqx,htc,htm,html,ico,img,ini,iso,jad,jng,jnlp,jpeg,jpg,js,json,kar,kml,kmz,m3u8,m4a,m4v,map,mid,midi,mml,mng,mov,mp3,mp4,mpeg,mpeg4,mpg,msi,msm,msp,ogg,otf,pdb,pdf,pem,pl,pm,png,ppt,pptx,prc,ps,psd,ra,rar,rpm,rss,rtf,run,sea,shtml,sit,svg,svgz,swf,tar,tcl,tif,tiff,tk,ts,ttf,txt,wav,wbmp,webm,webp,wmf,wml,wmlc,wmv,woff,woff2,xhtml,xls,xlsx,xml,xpi,xspf,zip,aifc,aac,apk,bak,bk,bz2,cdr,cmx,dat,dtd,eml,fla,gz,gzip,ipa,ia,indd,hey,lz,maf,markdown,md,mkv,mp1,mp2,mpe,odt,ott,odg,odf,ots,pps,pot,pmd,pub,raw,sdd,tsv,xcf,yml,yaml
[DEBUG] Runwar: Ignoring web.xml welcome file, so adding server options welcome files to deployment manager.
[INFO ] Runwar: welcome pages in deployment manager: [index.cfm, main.cfm, go.cfm, default.cfm, index.html]
[DEBUG] Runwar: Added websocket context
[INFO ] [DEBUG] Ignoring Servlet Service [javax.servlet.Servlet], alias is missing or empty
[INFO ] [INFO] Http service whiteboard started
[INFO ] 12/10 13:59:04 INFO License Service: Flex 1.5 CF Edition enabled
[INFO ] 12/10 13:59:04 INFO Starting Flex 1.5 CF Edition
[INFO ] 12/10 13:59:04 INFO Macromedia Flex Build: 87315.134646
[ERROR] java.lang.NullPointerException
[ERROR] at coldfusion.CfmServlet.init(CfmServlet.java:97)
[ERROR] at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
[ERROR] at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
[ERROR] at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
[ERROR] at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
[ERROR] at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
[ERROR] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
[ERROR] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
[ERROR] at runwar.Server.startServer(Server.java:522)
[ERROR] at runwar.Start.main(Start.java:123)
[ERROR] javax.servlet.ServletException: java.lang.NullPointerException
[ERROR] at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129)
[ERROR] at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
[ERROR] at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
[ERROR] at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
[ERROR] at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
[ERROR] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
[ERROR] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
[ERROR] at runwar.Server.startServer(Server.java:522)
[ERROR] at runwar.Start.main(Start.java:123)
[ERROR] Caused by: java.lang.NullPointerException
[ERROR] at coldfusion.CfmServlet.init(CfmServlet.java:97)
[ERROR] at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
[ERROR] ... 11 more
[DEBUG] Runwar: Running shutdown hook
[DEBUG] Runwar: shutdown hook:stopServer()
[INFO ] Runwar: ******************************************************************************
[INFO ] Runwar: *** stopping server 'bestyearyet' (socket 52961)
[INFO ] Runwar: ******************************************************************************
[ERROR] java.lang.NullPointerException
[ERROR] at coldfusion.server.j2ee.CFStartUpServlet.destroy(CFStartUpServlet.java:517)
[ERROR] at coldfusion.bootstrap.BootstrapServlet.destroy(BootstrapServlet.java:107)
[ERROR] at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:115)
[ERROR] at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.invokeDestroy(ManagedServlet.java:332)
[ERROR] at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.stop(ManagedServlet.java:324)
[ERROR] at io.undertow.servlet.core.ManagedServlet.stop(ManagedServlet.java:158)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$3.call(DeploymentManagerImpl.java:617)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl$3.call(DeploymentManagerImpl.java:612)
[ERROR] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
[ERROR] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[ERROR] at io.undertow.servlet.core.DeploymentManagerImpl.stop(DeploymentManagerImpl.java:626)
[ERROR] at runwar.Server.stopServer(Server.java:839)
[ERROR] at runwar.Server$3.run(Server.java:788)
[ERROR] io.undertow.servlet: UT015019: Failed to destroy ServletInfo{mappings=[], servletClass=class coldfusion.bootstrap.BootstrapServlet, name='ColdFusionStartUpServlet'}
java.lang.RuntimeException
	at coldfusion.bootstrap.BootstrapServlet.destroy(BootstrapServlet.java:111)
	at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:115)
	at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.invokeDestroy(ManagedServlet.java:332)
	at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.stop(ManagedServlet.java:324)
	at io.undertow.servlet.core.ManagedServlet.stop(ManagedServlet.java:158)
	at io.undertow.servlet.core.DeploymentManagerImpl$3.call(DeploymentManagerImpl.java:617)
	at io.undertow.servlet.core.DeploymentManagerImpl$3.call(DeploymentManagerImpl.java:612)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.core.DeploymentManagerImpl.stop(DeploymentManagerImpl.java:626)
	at runwar.Server.stopServer(Server.java:839)
	at runwar.Server$3.run(Server.java:788)
[DEBUG] Runwar: All deployments undeployed and underlying Undertow servers stopped
[DEBUG] Runwar: Stopped server
[DEBUG] Runwar: shutdown hook joining main thread
Thread[Thread-1,5,FusionReactor]
java.lang.IllegalStateException: Shutdown in progress
	at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
	at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:216)
	at com.intergral.fusionreactor.agent.Agent.startup(Agent.java:527)
	at com.intergral.fusionreactor.agent.Agent.access$100(Agent.java:40)
	at com.intergral.fusionreactor.agent.Agent$2.run(Agent.java:272)
	at java.base/java.lang.Thread.run(Thread.java:829)
[DEBUG] Runwar: Shutdown hook finished

Server's output stream closed. It's been stopped elsewhere.

Stopping server...

ERROR (5.4.2+00453)

Server process returned failing exit code [1]

You’re using a version of java that’s incompatible with Adobe CF 11

You’ll need to ask CommandBox to use Java 8

server set jvm.javaVersion=openjdk8
1 Like

Thanks. Do you happen to know what versions this affects, so I can update my server.json files properly?

I’m not sure what you’re asking. CF 11 simply doesn’t work with Java 11. It’s too old. The command I gave you above will update our server.json file.

I am asking is it CF 11 and earlier, or is this also an issue with 2016 or 2018?

I would direct you to Adobe’s documentation on what versions of ColdFusion support what versions of java. I’m fairly sure 2016 only works on java 8 and the latest versions of 2018 will work on java 11. But again, check that yourself as I don’t have their documentation in front of me right now.

thanks
i have resove my problem after 1 hour