Skip to content

Commit

Permalink
Update ORM extension installation method to use env vars
Browse files Browse the repository at this point in the history
It seems CommandBox is not correctly passing the jvm args to Lucee, hence the extension installation fails (and thus ContentBox installation fails.)

Use an env var, as this works and seems more bulletproof.
  • Loading branch information
michaelborn authored Feb 13, 2024
1 parent 88d6882 commit 2d07a44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/contentbox/install.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ component {
command( "server set app.cfengine=#arguments.cfmlEngine#" ).run();
command( "server set web.rewrites.enable=true" ).run();
command( "server set jvm.heapsize=768" ).run();
command( "server set jvm.args=-Dfile.encoding=UTF8 -Dcom.sun.net.ssl.enableECC=false -Dlucee-extensions=D062D72F-F8A2-46F0-8CBC91325B2F067B" ).run();
command( "server set jvm.args=-Dfile.encoding=UTF8 -Dcom.sun.net.ssl.enableECC=false" ).run();
command( "server set env.lucee-extensions=D062D72F-F8A2-46F0-8CBC91325B2F067B" ).run();

// 2021+ cfpm installs
if ( arguments.cfmlEngine.findNoCase( "adobe@202" ) ) {
Expand Down

0 comments on commit 2d07a44

Please sign in to comment.