Patrick S
05/02/2022, 8:47 PMbdw429s
05/03/2022, 12:18 AMKen Wilson
05/17/2022, 1:23 PMPatrick S
05/17/2022, 1:26 PMPatrick S
05/17/2022, 1:26 PMKen Wilson
05/17/2022, 1:28 PMPatrick S
05/17/2022, 1:34 PMKen Wilson
05/17/2022, 1:35 PMKen Wilson
05/17/2022, 1:37 PMPatrick S
05/17/2022, 1:40 PMWARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by runwar.LaunchUtil (file:/Users/xxx/.CommandBox/lib/runwar-4.7.4.jar) to method java.lang.ProcessImpl.pid()
WARNING: Please consider reporting this to the maintainers of runwar.LaunchUtil
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
Ken Wilson
05/17/2022, 1:41 PMPatrick S
05/17/2022, 1:44 PMKen Wilson
05/17/2022, 1:49 PMPatrick S
05/17/2022, 2:00 PMKen Wilson
05/17/2022, 2:38 PMbdw429s
05/17/2022, 6:09 PMNot seeing any error in terminal at all. When starting the server it just displays:@Ken Wilson Please see the docs on how to debug server starts š https://commandbox.ortusbooks.com/embedded-server/debugging-server-starts
bdw429s
05/17/2022, 6:09 PMstart --debug --console
and you'll likely see what the error is right away.bdw429s
05/17/2022, 6:11 PMInterestingly CommandBox is running fine, but, I now see this error
WARNING: An illegal reflective access operation has occurred@Patrick S Firstly, that's a warning, not an error as designated by the word "warning" at the start of the line. š It's just that-- a warning, and it's been happening every since Java 11. There's nothing you need to do about it and it won't prevent your server from working just fine. It's a note about some stuff the CF Engines need to fix before CF will run on Java 16+.
bdw429s
05/17/2022, 6:13 PMWhere would I find any stray config files? I'm thinking I've cleaned those out but may be clueless to some.Randomly deleting files isn't going to fix anything. In fat, it will probably just mess something up š I don't actually see anyone sharing specific details of their issues here other than vague statements like the server "doesn't start", or showing some harmless console warnings. Before anyone starts deleting anything, let's figure out if there's actually a problem first!
Patrick S
05/17/2022, 6:14 PMbdw429s
05/17/2022, 6:14 PMYeah, of late when trying to resolve this issue I've always just completely uninstalled CommandBox deleted the .CommandBox folder in hopes of a clean start but no luck.This is almost never a fix to anything. Somewhere people got the idea it would solve problems, so they keep recommending it to each other.
bdw429s
05/17/2022, 6:14 PMbdw429s
05/17/2022, 6:15 PMserver start
is not compat with the M1, but that doesn't mean that your particular site you're using happens to be using a compatible version of Lucee!bdw429s
05/17/2022, 6:16 PMserver.json
file that is starting Lucee 5.3.8, for example, you're still going to have errors due to Lucee's incompatibility with the newer versions of openjdk.bdw429s
05/17/2022, 6:16 PMinfo
screen above only tells us the version of Lucee inside the CLI, not the version of Lucee in whatever server is being startedKen Wilson
05/17/2022, 7:14 PMKen Wilson
05/17/2022, 7:15 PMbdw429s
05/17/2022, 7:24 PMPatrick S
05/17/2022, 7:27 PMKen Wilson
05/17/2022, 7:29 PMKen Wilson
05/17/2022, 7:31 PMServer process returned failing exit code [1]
bdw429s
05/17/2022, 7:32 PM--console
like I said šbdw429s
05/17/2022, 7:32 PMbdw429s
05/17/2022, 7:33 PMbdw429s
05/17/2022, 7:33 PMKen Wilson
05/17/2022, 7:34 PMbdw429s
05/17/2022, 7:34 PMKen Wilson
05/17/2022, 7:47 PM[*ERROR*] Exception in thread "main"
[*ERROR*] java.lang.OutOfMemoryError: Java heap space
[*ERROR*] at java.base/java.io.UnixFileSystem.resolve(Unknown Source)
[*ERROR*] at java.base/java.io.File.<init>(Unknown Source)
[*ERROR*] at java.base/java.io.File.listFiles(Unknown Source)
[*ERROR*] at org.xnio.nio.WatchServiceFileSystemWatcher.doScan(WatchServiceFileSystemWatcher.java:237)
[*ERROR*] at org.xnio.nio.WatchServiceFileSystemWatcher.watchPath(WatchServiceFileSystemWatcher.java:182)
[*ERROR*] at runwar.undertow.MappedResourceManager.createFileSystemWatcher(MappedResourceManager.java:327)
[*ERROR*] at runwar.undertow.MappedResourceManager.registerResourceChangeListener(MappedResourceManager.java:298)
[*ERROR*] at io.undertow.servlet.handlers.ServletPathMatches.<init>(ServletPathMatches.java:88)
[*ERROR*] at io.undertow.servlet.core.DeploymentImpl.<init>(DeploymentImpl.java:95)
[*ERROR*] at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:151)
[*ERROR*] at runwar.Server.createServletDeployment(Server.java:1312)
[*ERROR*] at runwar.Server.startServer(Server.java:485)
[*ERROR*] at runwar.Start.main(Start.java:50)
bdw429s
05/17/2022, 8:08 PMbdw429s
05/17/2022, 8:09 PMbdw429s
05/17/2022, 8:19 PMPatrick S
05/17/2022, 8:21 PMbdw429s
05/17/2022, 8:22 PMKen Wilson
05/17/2022, 8:27 PMbdw429s
05/17/2022, 8:29 PMbdw429s
05/17/2022, 8:29 PMbdw429s
05/17/2022, 8:32 PMKen Wilson
05/17/2022, 8:33 PMbdw429s
05/17/2022, 8:34 PMbdw429s
05/17/2022, 8:34 PMbdw429s
05/17/2022, 8:35 PMserver set jvm.heapSize=1G
bdw429s
05/17/2022, 8:35 PMbdw429s
05/17/2022, 8:35 PMNo indication of any memory issues on the laptop apart from thisThere's also no indication that you actually looked at your memory usage š
bdw429s
05/17/2022, 8:36 PMKen Wilson
05/17/2022, 8:43 PMKen Wilson
05/17/2022, 8:47 PM[*ERROR*] Exception in thread "main"
[*ERROR*] java.lang.OutOfMemoryError: Java heap space
[*ERROR*] at java.base/java.io.UnixFileSystem.resolve(Unknown Source)
[*ERROR*] at java.base/java.io.File.<init>(Unknown Source)
[*ERROR*] at java.base/java.io.File.listFiles(Unknown Source)
[*ERROR*] at org.xnio.nio.WatchServiceFileSystemWatcher.doScan(WatchServiceFileSystemWatcher.java:237)
[*ERROR*] at org.xnio.nio.WatchServiceFileSystemWatcher.watchPath(WatchServiceFileSystemWatcher.java:182)
[*ERROR*] at runwar.undertow.MappedResourceManager.createFileSystemWatcher(MappedResourceManager.java:327)
[*ERROR*] at runwar.undertow.MappedResourceManager.registerResourceChangeListener(MappedResourceManager.java:298)
[*ERROR*] at io.undertow.servlet.handlers.ServletPathMatches.<init>(ServletPathMatches.java:88)
[*ERROR*] at io.undertow.servlet.core.DeploymentImpl.<init>(DeploymentImpl.java:95)
[*ERROR*] at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:151)
[*ERROR*] at runwar.Server.createServletDeployment(Server.java:1312)
[*ERROR*] at runwar.Server.startServer(Server.java:485)
[*ERROR*] at runwar.Start.main(Start.java:50)
bdw429s
05/17/2022, 8:49 PMbdw429s
05/17/2022, 8:49 PM--trace
to the start?bdw429s
05/17/2022, 8:50 PMbdw429s
05/17/2022, 8:50 PMMAPPER_LOG.trace("Creating file system watcher in [ " + basePath + " ] with alias [ " + prefix + " ]");
bdw429s
05/17/2022, 8:51 PMPatrick S
05/17/2022, 8:51 PMKen Wilson
05/17/2022, 8:52 PMPatrick S
05/17/2022, 8:52 PMPatrick S
05/17/2022, 8:53 PMPatrick S
05/17/2022, 8:53 PMKen Wilson
05/17/2022, 8:53 PMbdw429s
05/17/2022, 8:54 PMbdw429s
05/17/2022, 8:54 PMbdw429s
05/17/2022, 8:55 PMPatrick S
05/17/2022, 8:56 PMKen Wilson
05/17/2022, 8:57 PMbdw429s
05/17/2022, 8:57 PMKen Wilson
05/17/2022, 8:57 PMbdw429s
05/17/2022, 8:57 PMbdw429s
05/17/2022, 8:57 PMbdw429s
05/17/2022, 8:57 PMCreating file system watcher in [ " + basePath + " ] with alias [ " + prefix + " ]
bdw429s
05/17/2022, 8:57 PMbdw429s
05/17/2022, 8:58 PMbdw429s
05/17/2022, 8:58 PMbdw429s
05/17/2022, 8:59 PMKen Wilson
05/17/2022, 8:59 PMbdw429s
05/17/2022, 9:00 PMbdw429s
05/17/2022, 9:01 PM/Users/kwilson
as your web rootKen Wilson
05/17/2022, 9:01 PMbdw429s
05/17/2022, 9:01 PMbdw429s
05/17/2022, 9:01 PMbdw429s
05/17/2022, 9:01 PMbdw429s
05/17/2022, 9:01 PMKen Wilson
05/17/2022, 9:01 PMPatrick S
05/17/2022, 9:02 PMbdw429s
05/17/2022, 9:02 PMbdw429s
05/17/2022, 9:02 PMKen Wilson
05/17/2022, 9:03 PMPatrick S
05/17/2022, 9:03 PMbdw429s
05/17/2022, 9:03 PMKen Wilson
05/17/2022, 9:03 PMbdw429s
05/17/2022, 9:03 PMbdw429s
05/17/2022, 9:04 PMPatrick S
05/17/2022, 9:04 PMKen Wilson
05/17/2022, 9:04 PMbdw429s
05/17/2022, 9:04 PMbdw429s
05/17/2022, 9:04 PMKen Wilson
05/17/2022, 9:04 PMbdw429s
05/17/2022, 9:04 PMbdw429s
05/17/2022, 9:06 PMfind . -type f | wc -l
bdw429s
05/17/2022, 9:06 PM!
in frontbdw429s
05/17/2022, 9:06 PMcd ~
!find . -type f | wc -l
Patrick S
05/17/2022, 9:07 PMKen Wilson
05/17/2022, 9:08 PMbdw429s
05/17/2022, 9:08 PMbdw429s
05/17/2022, 9:08 PMbdw429s
05/17/2022, 9:09 PMbdw429s
05/17/2022, 9:09 PMKen Wilson
05/17/2022, 9:09 PMbdw429s
05/17/2022, 9:09 PMKen Wilson
05/17/2022, 9:09 PMKen Wilson
05/17/2022, 9:10 PMbdw429s
05/17/2022, 9:10 PMKen Wilson
05/17/2022, 9:10 PMbdw429s
05/17/2022, 9:10 PMbdw429s
05/17/2022, 9:11 PMKen Wilson
05/17/2022, 9:12 PMKen Wilson
05/17/2022, 9:12 PMbdw429s
05/17/2022, 9:12 PMKen Wilson
05/17/2022, 9:12 PMbdw429s
05/17/2022, 9:12 PMbdw429s
05/17/2022, 9:13 PMbdw429s
05/17/2022, 9:13 PMbdw429s
05/17/2022, 9:13 PMKen Wilson
05/17/2022, 9:13 PMKen Wilson
05/17/2022, 9:15 PMbdw429s
05/17/2022, 9:47 PMserver set runwar.args=['--resource-manager-logging=true']
will tease it out-- not that we need it now though.bdw429s
05/17/2022, 10:25 PMKen Wilson
05/18/2022, 12:48 AM