satauros
03/08/2023, 1:22 PMhyper
(in a stand-alone environment, without coldbox), version 5.0.1, and even the simplest request (hyper.get("<https://www.google.com>")
) fails with a 504 Gateway Timeout. Any idea's on how this is possible?John Liljegren
03/08/2023, 2:03 PMGabriel Rodrigues
03/08/2023, 6:35 PMJason Ryan
03/09/2023, 3:52 PMTravis
03/09/2023, 10:01 PMbox server start
getting the error:
Loading CFConfig into server
| | > key [MULTICONTEXT] doesn't exist
Maybe I need to revert to an older version of commandbox-cfconfig?Jason Ryan
03/09/2023, 10:35 PMhemi345
03/10/2023, 3:46 PMJohn Liljegren
03/10/2023, 7:22 PMRyan Albrecht
03/10/2023, 7:36 PMPeter Hoopes
03/10/2023, 11:03 PMUnable to make public boolean java.util.Collections$EmptyEnumeration.hasMoreElements() accessible: module java.base does not "opens java.util" to unnamed module @43b6123e
. I normally prefer to use Java downloaded onto machine (as opposed to included with CB download). But is there a Java incompatibility? I think this question was answered here in Slack, but we can't look back past 90 days. Something simple?neokoenig
03/11/2023, 11:29 AMBad type on operand stack
Exception Details:
Location:
org/apache/pdfbox/pdmodel/PDDocument.<init>(Lorg/apache/pdfbox/io/MemoryUsageSetting;)V @224: invokevirtual
Reason:
Type 'org/apache/pdfbox/cos/COSInteger' (current frame, stack[2]) is not assignable to 'org/apache/pdfbox/cos/COSBase'
Current Frame:
bci: @224
flags: { }
locals: { 'org/apache/pdfbox/pdmodel/PDDocument', 'org/apache/pdfbox/io/MemoryUsageSetting', 'org/apache/pdfbox/io/ScratchFile', 'org/apache/pdfbox/cos/COSDictionary', 'org/apache/pdfbox/cos/COSDictionary', 'org/apache/pdfbox/cos/COSDictionary', 'org/apache/pdfbox/cos/COSArray' }
stack: { 'org/apache/pdfbox/cos/COSDictionary', 'org/apache/pdfbox/cos/COSName', 'org/apache/pdfbox/cos/COSInteger' }
Bytecode:
0000000: 2ab7 [...snip]
Exception Handler Table:
bci [28, 37] => handler: 40
bci [76, 87] => handler: 90
Stackmap Table:
full_frame(@40,{Object[#286],Object[#287],Object[#288]},{Object[#289]})
full_frame(@90,{Object[#286],Object[#287],Object[#288],Object[#289]},{Object[#289]})
chop_frame(@92,1)
The Error Occurred in
/cfc/OrtusPDF.cfc: line 193
called from /cfc/OrtusPDF.cfc: line 125
called from /cfc/OrtusPDF.cfc: line 99
called from /cfc/OrtusPDF.cfc: line 70
called from /pdfform.cfm: line 55
This is using the commandbox:latest docker image with
javaruntime: OpenJDK Runtime Environment
javaversion: 11.0.18
servername: Lucee 5.3.10.120
Is it that this extension is using an older version of PDFBox?John Liljegren
03/11/2023, 9:39 PMcoldfusion.jsp.JavaCompiler$UnknownCompiler: Unable to run the internal Java compiler: java.lang.ClassNotFoundException: com.sun.tools.javac.Main.
Do I need a different JRE? Or am I missing something with configuration?Jeff Stevens
03/13/2023, 1:26 PMPatrick
03/13/2023, 6:22 PMoauth2-providers
module I get an error; not sure if this is an issue for the module side or my side. Thoughtscubortea
03/14/2023, 2:59 AMryan
03/14/2023, 5:47 PMJeff Stevens
03/14/2023, 7:15 PMproperty name="logger" inject="logbox:root"
However, I don't believe I have access to injection syntax like this outside of my models or handlers folders.teaman
03/15/2023, 3:58 PMjclausen
03/15/2023, 4:03 PMteaman
03/15/2023, 4:40 PMjclausen
03/15/2023, 5:23 PMadobe@2021.0.06+330132
adobe@2018.0.16+330130
cc/ @teamanScott Bennett
03/17/2023, 8:08 PMryan
03/18/2023, 2:26 PM/route-visualizer
to the URL after installing it with Commandbox CLI.
Basically, would something like this work in Router.cfc?
route(':action?').toHandler('admin')
.withCondition(function(event, rc, prc) {
return isUserInRole('admin');
});
Essentially, I am attempting to simplify the URL from `/admin/action` to `/action` only. Then, in the route, check if the user's role is 'admin' to accept the route and pass it to the Admin handler. I've never used withCondition and the limited example is not quite correct in the coldbox docs, either, but I get the gist of it.
<https://coldbox.ortusbooks.com/the-basics/routing/routing-dsl/routing-methods#routing-conditions>
romanstr
03/20/2023, 7:15 PMlmajano
03/20/2023, 8:23 PMsalted
03/21/2023, 2:44 PMsalted
03/21/2023, 2:44 PM× | Playwright driver not found. Please wait for a moment while the correct driver for your platform is downloaded. |--------------------------------------------------------------------------- | Downloading driver from [<https://search.maven.org/remotecontent?filepath=com/microsoft/playwright/driver-bundle/1.31.0/driver-bundle-1.31.0.jar>] | Unable to download the driver:
| Connection failure <https://repo1.maven.org/maven2/com/microsoft/playwright/driver-bundle/1.31.0/driver-bundle-1.31.0.jar>
| PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
salted
03/21/2023, 2:44 PMsalted
03/21/2023, 2:45 PMGrant Shepert
03/21/2023, 5:24 PMGrant Shepert
03/21/2023, 5:24 PMbdw429s
03/21/2023, 5:27 PMserver set web.fileCache.enable=false
Grant Shepert
03/21/2023, 5:29 PMbdw429s
03/21/2023, 5:30 PMserver set runwar.args='--resource-manager-file-system-watcher=true'
Grant Shepert
03/21/2023, 5:31 PMjclausen
03/21/2023, 10:34 PMsendfile
does effectively the same thing with big static assets. I run this in development and never have an issue with the files being cached
BOX_SERVER_RUNWAR_ARGS=--sendfile-enable false --resource-manager-file-system-watcher false
Or you can place the above in your server.json
Disabling sendfile
means the file is always read from the disk and not the buffer/cache