Skip to content

Commit

Permalink
COMMANDBOX-1460
Browse files Browse the repository at this point in the history
  • Loading branch information
bdw429s committed May 3, 2022
1 parent 4e391f7 commit 641b9dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/java/cliloader/LoaderCLIMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,8 @@ public static ArrayList< String > initialize( String[] arguments ) throws IOExce
File libDir = getLibDir();
// Default Log4j2 config is in the libn folder
System.setProperty("log4j2.configurationFile", new File( libDir, "log4j2.xml" ).toURI().toString() );
// The OSGI bundle loader is throwing an error so we need to force the default CL context selector
System.setProperty("Log4jContextSelector", "org.apache.logging.log4j.core.selector.ClassLoaderContextSelector" );
props.setProperty( "cfml.cli.lib", libDir.getAbsolutePath() );
File cfmlDir = new File( cli_home.getPath() + "/cfml" );
File cfmlSystemDir = new File( cli_home.getPath() + "/cfml/system" );
Expand Down

0 comments on commit 641b9dc

Please sign in to comment.