Charles Robertson
11/10/2022, 2:00 PMcd C:\domains\<http://acf11-0-19_314546.com|acf11-0-19_314546.com>\wwwroot
server set web.http.port=8080
server show web.http.port
server start cfengine=adobe@11
The server never starts
I have also tried [which I think is the same thing] but the server never starts:
cd C:\domains\<http://acf11-0-19_314546.com|acf11-0-19_314546.com>\wwwroot
server set web.http.port=8080
server show web.http.port
server start cfengine=adobe@11.0.19+314546
I should tell you that I also have a stand-alone version of ACF2018 running on localhost:8500Charles Robertson
11/10/2022, 2:00 PM[INFO ] runwar.server: ******************************************************************************
[INFO ] runwar.server: Starting RunWAR 4.7.14
[INFO ] runwar.server: Binding HTTP on acf11-0-19_314546.local:8080
[INFO ] runwar.server: Enabling HTTP/2
[INFO ] runwar.server: Binding AJP on acf11-0-19_314546.local:8011
[INFO ] runwar.server: Starting background wwwroot2 [adobe 11.0.19+314546] from: /C:/Users/cdesi/.CommandBox/lib/runwar-4.7.14.jar
[INFO ] runwar.context: Starting in background -
[INFO ] runwar.server: ******************************************************************************
[INFO ] runwar.server: Starting RunWAR 4.7.14
[INFO ] runwar.server: Binding HTTP on acf11-0-19_314546.local:8080
[INFO ] runwar.server: Enabling HTTP/2
[INFO ] runwar.server: Binding AJP on acf11-0-19_314546.local:8011
[INFO ] runwar.server: Servlet Context: /
[INFO ] runwar.server: Log Directory: C:\Users\cdesi\.CommandBox\server\C0BBB7E2DCDAF404E73EEEC24ED4A01B-wwwroot2\adobe-11.0.19.314546\logs
[INFO ] runwar.server: ******************************************************************************
[INFO ] runwar.config: Parsing 'C:\Users\cdesi\.CommandBox\server\C0BBB7E2DCDAF404E73EEEC24ED4A01B-wwwroot2\adobe-11.0.19.314546\WEB-INF\web.xml'
[INFO ] runwar.server: Creating deployment [default] in C:\domains\<http://acf11-0-19_314546.com|acf11-0-19_314546.com>\wwwroot
[INFO ] runwar.context: 10/11 13:54:16 INFO License Service: Flex 1.5 CF Edition enabled
[INFO ] runwar.context: 10/11 13:54:16 INFO Starting Flex 1.5 CF Edition
[INFO ] runwar.context: 10/11 13:54:17 INFO Macromedia Flex Build: 87315.134646
[ERROR] runwar.context: java.lang.NullPointerException
[ERROR] runwar.context: at coldfusion.CfmServlet.init(CfmServlet.java:97)
[ERROR] runwar.context: at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
[ERROR] runwar.context: at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
[ERROR] runwar.context: at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
[ERROR] runwar.context: at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
[ERROR] runwar.context: at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
[ERROR] runwar.context: at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
[ERROR] runwar.context: at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
[ERROR] runwar.context: at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
[ERROR] runwar.context: at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[ERROR] runwar.context: at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
[ERROR] runwar.context: at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
[ERROR] runwar.context: at runwar.Server.createServletDeployment(Server.java:1374)
[ERROR] runwar.context: at runwar.Server.startServer(Server.java:530)
[ERROR] runwar.context: at runwar.Start.main(Start.java:51)
[ERROR] runwar.context: javax.servlet.ServletException: java.lang.NullPointerException
[ERROR] runwar.context: at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129)
[ERROR] runwar.context: at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
[ERROR] runwar.context: at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
[ERROR] runwar.context: at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:309)
[ERROR] runwar.context: at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
[ERROR] runwar.context: at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:588)
[ERROR] runwar.context: at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:559)
[ERROR] runwar.context: at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
[ERROR] runwar.context: at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
[ERROR] runwar.context: at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
[ERROR] runwar.context: at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:601)
[ERROR] runwar.context: at runwar.Server.createServletDeployment(Server.java:1374)
[ERROR] runwar.context: at runwar.Server.startServer(Server.java:530)
[ERROR] runwar.context: at runwar.Start.main(Start.java:51)
[ERROR] runwar.context: Caused by: java.lang.NullPointerException
[ERROR] runwar.context: at coldfusion.CfmServlet.init(CfmServlet.java:97)
[ERROR] runwar.context: at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
[ERROR] runwar.context: ... 13 more
[INFO ] runwar.server: ******************************************************************************
[INFO ] runwar.server: *** stopping server 'wwwroot2' (socket 50206)
[INFO ] runwar.server: ******************************************************************************
[ERROR] runwar.context: [INFO ] runwar.server: ******************************************************************************
Rodney
11/10/2022, 2:16 PMCharles Robertson
11/10/2022, 2:19 PMCharles Robertson
11/10/2022, 2:20 PMIMPLEMENTOR="Eclipse Adoptium"
IMPLEMENTOR_VERSION="Temurin-11.0.15+10"
JAVA_VERSION="11.0.15"
JAVA_VERSION_DATE="2022-04-19"
LIBC="default"
MODULES="java.base java.compiler java.datatransfer java.xml java.prefs java.desktop java.instrument java.logging java.management java.security.sasl java.naming java.rmi java.management.rmi java.net.http java.scripting java.security.jgss java.transaction.xa java.sql java.sql.rowset java.xml.crypto <http://java.se|java.se> java.smartcardio jdk.accessibility <http://jdk.internal.vm.ci|jdk.internal.vm.ci> jdk.management jdk.unsupported jdk.internal.vm.compiler jdk.aot jdk.internal.jvmstat jdk.attach jdk.charsets jdk.compiler <http://jdk.crypto.ec|jdk.crypto.ec> jdk.crypto.cryptoki jdk.crypto.mscapi jdk.dynalink jdk.internal.ed jdk.editpad jdk.hotspot.agent jdk.httpserver jdk.internal.le jdk.internal.opt jdk.internal.vm.compiler.management jdk.jartool jdk.javadoc jdk.jcmd jdk.management.agent jdk.jconsole jdk.jdeps jdk.jdwp.agent jdk.jdi jdk.jfr jdk.jlink jdk.jshell jdk.jsobject jdk.jstatd jdk.localedata jdk.management.jfr jdk.naming.dns jdk.naming.ldap jdk.naming.rmi <http://jdk.net|jdk.net> jdk.pack jdk.rmic jdk.scripting.nashorn jdk.scripting.nashorn.shell jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported.desktop jdk.xml.dom jdk.zipfs"
OS_ARCH="x86_64"
OS_NAME="Windows"
SOURCE=".:git:670e17b14ab0"
BUILD_SOURCE="git:955033f"
BUILD_SOURCE_REPO="<https://github.com/adoptium/temurin-build.git>"
SOURCE_REPO="<https://github.com/adoptium/jdk11u.git>"
FULL_VERSION="11.0.15+10"
SEMANTIC_VERSION="11.0.15+10"
BUILD_INFO="OS: Windows Server 2012 R2 Version: 6.3"
JVM_VARIANT="Hotspot"
JVM_VERSION="11.0.15+10"
IMAGE_TYPE="JRE"
Rodney
11/10/2022, 2:21 PM{
"app":{
"cfengine":"adobe@11.0.19+314546"
},
"jvm":{
"javaVersion":"openjdk8_jdk",
},
"web":{
"port":"8080"
}
}
Rodney
11/10/2022, 2:21 PMCharles Robertson
11/10/2022, 2:22 PM{
"web": {
"http": {
"port": "8080"
},
"rewrites": {
"enable": "true"
},
"ajp": {
"enable": "true",
"port": "8011"
},
"host": "acf11-0-19_314546.local"
},
"app": {
"cfengine": "adobe@11.0.19+314546"
}
}
Charles Robertson
11/10/2022, 2:24 PMCharles Robertson
11/10/2022, 2:27 PM"jvm":{
"javaVersion":"openjdk8_jdk",
},
Charles Robertson
11/10/2022, 2:30 PMCharles Robertson
11/10/2022, 2:47 PMThe web site you are accessing has experienced an unexpected error.
Please contact the website administrator.
The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
Parameter validation error for the STRUCTNEW function.
The function takes 0 parameters.
Resources:
Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0
Remote Address
127.0.0.1
Referrer
But, I think this maybe an issue with ColdBox:
C:\domains\<http://acf11-0-19_314546.com|acf11-0-19_314546.com>\wwwroot\coldbox\box.json
{
"name": "ColdBox Platform",
"version": "6.2.2+1396",
"location": "<https://downloads.ortussolutions.com/ortussolutions/coldbox/6.2.2/coldbox-6.2.2.zip>",
"author": "Ortus Solutions <info@ortussolutions.com>",
"slug": "coldbox",
"packageDirectory": "coldbox",
"type": "mvc",
"keywords": "mvc,hmvc,conventions,coldbox",
"homepage": "<https://www.coldbox.org>",
"documentation": "<https://coldbox.ortusbooks.com/>",
"repository": {
"type": "git",
"url": "<https://github.com/coldbox/coldbox-platform>"
},
"bugs": "<https://ortussolutions.atlassian.net/browse/COLDBOX>",
"shortDescription": "A conventions based HMVC development framework",
"license": [
{
"type": "Apache2",
"url": "<http://www.apache.org/licenses/LICENSE-2.0.html>"
}
],
"contributors": [
"Brad Wood <bdw429s@gmail.com>",
"Curt Gratz <gratz@computerknowhow.com>"
],
"ignore": [
"**/.*",
"tests",
"apidocs",
"testbox"
],
"testbox": {
"runner": [
{
"default": "<http://localhost:8599/tests/runner.cfm>"
}
]
},
"devDependencies": {
"testbox": "^4.1.0",
"commandbox-dotenv": "*",
"commandbox-cfconfig": "*",
"commandbox-cfformat": "*",
"commandbox-docbox": "*"
},
"installPaths": {
"testbox": "testbox/"
},
"scripts": {
"format": "cfformat run system/**/*.cfc,tests/specs/**/*.cfc --overwrite",
"format:watch": "cfformat watch system/**/*.cfc,tests/specs/**/*.cfc ./.cfformat.json",
"format:check": "cfformat check system/**/*.cfc,tests/specs/**/*.cfc",
"start:lucee": "server start serverConfigFile='server-lucee@5.json' --force",
"start:2016": "server start serverConfigFile='server-adobe@2016.json' --force",
"start:2018": "server start serverConfigFile='server-adobe@2018.json' --force",
"log:lucee": "server log coldbox-lucee@5 --follow",
"log:2016": "server log coldbox-adobe@2016 --follow",
"log:2018": "server log coldbox-adobe@2018 --follow"
}
}
Perhaps this version of Coldbox is not compatible with ACF11?Charles Robertson
11/10/2022, 2:48 PM127.0.0.1
When I have added this website to:
127.0.0.3
Via IIS + Boncode:
C:\domains\<http://acf11-0-19_314546.com|acf11-0-19_314546.com>\wwwroot\BIN
<Settings>
<Server>127.0.0.3</Server>
<Port>8011</Port>
<EnableRemoteAdmin>False</EnableRemoteAdmin>
<EnableHeaderDataSupport>False</EnableHeaderDataSupport>
<ForceSecureSession>False</ForceSecureSession>
<AllowEmptyHeaders>False</AllowEmptyHeaders>
<ResolveRemoteAddrFrom>HTTP_X_FORWARDED_FOR</ResolveRemoteAddrFrom>
</Settings>
Rodney
11/10/2022, 2:50 PMCharles Robertson
11/10/2022, 2:50 PMRodney
11/10/2022, 2:50 PMCharles Robertson
11/10/2022, 2:51 PMbdw429s
11/10/2022, 2:55 PMbdw429s
11/10/2022, 2:56 PMstart --debug --console
and you'll see any errors which may have otherwise been missed since a normal start is asyncCharles Robertson
11/10/2022, 2:56 PMbdw429s
11/10/2022, 2:56 PMbdw429s
11/10/2022, 2:57 PMserver info property=javaHome
command will tell you what java binary was used on the last startbdw429s
11/10/2022, 2:57 PMbdw429s
11/10/2022, 2:58 PMbdw429s
11/10/2022, 2:58 PMbdw429s
11/10/2022, 2:59 PMCharles Robertson
11/10/2022, 3:00 PMStructNew()
has zero params! π²bdw429s
11/10/2022, 3:00 PMserver set foo=bar
command stores itself in the server.json
which persists on disk across restarts. So on subsequent starts, you just need to run
server start
and it will "remember" everything you've set before.Charles Robertson
11/10/2022, 3:07 PMbdw429s
11/10/2022, 3:08 PMbdw429s
11/10/2022, 3:08 PMinstall coldbox@5
bdw429s
11/10/2022, 3:08 PMCharles Robertson
11/10/2022, 3:09 PMbdw429s
11/10/2022, 3:09 PMbdw429s
11/10/2022, 3:09 PMbdw429s
11/10/2022, 3:09 PMbdw429s
11/10/2022, 3:10 PMslug@<semantic version range>
bdw429s
11/10/2022, 3:10 PMbdw429s
11/10/2022, 3:11 PMcoldbox@5
is the same as coldbox@5.x.x
which will match the highest version starting with 5 but less than 6bdw429s
11/10/2022, 3:11 PMbdw429s
11/10/2022, 3:11 PMCharles Robertson
11/10/2022, 3:34 PMCommandBox> recipe acf11-0-19_314546-CB5.boxr
cd C:\domains\<http://acf11-0-19_314546-CB5.com|acf11-0-19_314546-CB5.com>\wwwroot
C:\domains\<http://acf11-0-19_314546-CB5.com|acf11-0-19_314546-CB5.com>\wwwroot\
server set web.http.port=8080
Set web.http.port = 8080
server show web.http.port
8080
server start cfengine=adobe@11.0.19+314546
Error executing command [server start cfengine=adobe@11.0.19+314546], exiting recipe.
|------------------------------
Γ | Starting Server
|------------------------------
ERROR (5.6.1+00618)
The [.env] file is missing keys from the .env.example. You can populate your .env with the new settings using `dotenv populate --new`
Missing keys: [ DB_DATABASE, APPNAME, ENVIRONMENT, JWT_SECRET, DB_HOST, DB_USER, DB_PASSWORD, DB_PORT, S3_ACCESS_KEY, S3_DOMAIN, S3_REGION, DB_CONNECTIONSTRING, S3_SECRET_KEY, DB_DRIVER, DB_CLASS ]
It seems like there is some Docker stuff in this installation of Coldbox5?Charles Robertson
11/10/2022, 3:35 PMCharles Robertson
11/10/2022, 3:39 PMcd C:\domains\<http://acf11-0-19_314546-CB5.com|acf11-0-19_314546-CB5.com>\wwwroot
install coldbox@5
coldbox create app acf11019314546CB5
Although I downloaded Coldbox5, it actually created a Coldbox6 app?Charles Robertson
11/10/2022, 3:42 PMCharles Robertson
11/10/2022, 3:49 PMcoldbox create app acf11019314546CB5 version 5
Rodney
11/10/2022, 3:55 PMhelp
command in CommandBox, such as help coldbox create app
.Charles Robertson
11/10/2022, 3:57 PMRodney
11/10/2022, 3:57 PMCharles Robertson
11/10/2022, 4:03 PMinstall coldbox@5
I get [see screenshot]Charles Robertson
11/10/2022, 4:05 PMcoldbox create app acf11019314546CB5
It seems to create a Coldbox6
app with Docker files etc?
Maybe, this is a bug?Charles Robertson
11/10/2022, 4:06 PMbdw429s
11/10/2022, 6:02 PMbdw429s
11/10/2022, 6:04 PMcoldbox create app skeleton=cbtemplate-advanced-script@<version>
bdw429s
11/10/2022, 6:04 PMbdw429s
11/10/2022, 6:05 PMskeleton
for the coldbox create app
command is advancedScript
which is just a shortcut for the packge aboveCharles Robertson
11/10/2022, 6:05 PMbdw429s
11/10/2022, 6:06 PMbdw429s
11/10/2022, 6:06 PMbdw429s
11/10/2022, 6:06 PM1.31
of the advanced script template, it will probably be coldbox 5bdw429s
11/10/2022, 6:06 PMcoldbox create app skeleton=cbtemplate-advanced-script@1.31
Charles Robertson
11/10/2022, 6:06 PMbdw429s
11/10/2022, 6:07 PMinstall
commandbdw429s
11/10/2022, 6:08 PMbdw429s
11/10/2022, 6:08 PMinstall slug@<version>
if you're wanting to pull from forgeboxbdw429s
11/10/2022, 6:08 PMbdw429s
11/10/2022, 6:09 PMbdw429s
11/10/2022, 6:09 PMinstall <whatever you passed for the skeleton here>
Charles Robertson
11/10/2022, 6:19 PMcoldbox create app skeleton=cbtemplate-advanced-script@5
Does the version number equal the Coldbox version number?
<major.minor.patch>
Or
<major> = latest
bdw429s
11/10/2022, 6:20 PMbdw429s
11/10/2022, 6:21 PMCharles Robertson
11/10/2022, 6:22 PMCharles Robertson
11/10/2022, 6:23 PMCharles Robertson
11/10/2022, 6:24 PM