Issues

Select view

Select search mode

 

extensions are installed after logging is initialized

Description

Another regression I’m seeing with the data provider, is that we are installing the sentry extension via the deploy folder, which we are doing as the data provider cannot/should not depend on itself being online (catch 22)

Based on the console logs, I can see logging is being loaded before the extensions are installed, which is throwing a lot of errors, as the logs are configured to use the sentry appender

https://github.com/lucee/lucee-data-provider/pull/43

2025-02-10 22:48:09 10-Feb-2025 21:48:09.117 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34] 2025-02-10 22:48:09 2025-02-10 21:48:09,044 INFO success: lucee entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2025-02-10 22:48:09 2025-02-10 21:48:09,044 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2025-02-10 22:48:13 "Severity","ThreadID","Date","Time","Application","Message" 2025-02-10 22:48:13 "WARN","main","02/10/2025","21:48:13","bundle-download","Could not find [/bundles/sentry.extension-5.5.2.15.jar] in lucee.jar" 2025-02-10 22:48:18 10.02.2025 21:48:18,454 ERROR [server.application] OSGi->no URL found for bundle [name:sentry.extension;version:version EQ 5.5.2.15;] 2025-02-10 22:48:18 java.io.IOException: no URL found for bundle [name:sentry.extension;version:version EQ 5.5.2.15;] 2025-02-10 22:48:18 at lucee.runtime.config.s3.BundleProvider.getBundleAsURL(BundleProvider.java:264) ~[6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.config.s3.BundleProvider.downloadBundle(BundleProvider.java:306) ~[6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.osgi.OSGiUtil._loadBundle(OSGiUtil.java:759) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:680) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.osgi.OSGiUtil$BundleDefinition.getBundle(OSGiUtil.java:2105) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:185) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:169) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:193) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:199) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.commons.io.log.log4j2.Log4j2Engine.getAppender(Log4j2Engine.java:441) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.commons.io.log.LoggerAndSourceData.init(LoggerAndSourceData.java:78) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.commons.io.log.LoggerAndSourceData.<init>(LoggerAndSourceData.java:66) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.config.ConfigImpl.addLogger(ConfigImpl.java:3577) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.config.ConfigWebFactory._loadLoggers(ConfigWebFactory.java:2184) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.config.ConfigWebFactory.load(ConfigWebFactory.java:531) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.config.ConfigServerFactory.load(ConfigServerFactory.java:261) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.config.ConfigServerFactory.newInstance(ConfigServerFactory.java:161) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.engine.CFMLEngineImpl.getConfigServerImpl(CFMLEngineImpl.java:874) [6.2.0.283-SNAPSHOT.lco:?] 2025-02-10 22:48:18 at lucee.runtime.engine.CFMLEngineImpl.<init>(CFMLEngineImpl.java:295) [6.2.0.283-SNAPSHOT.lco:?]

Environment

None

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Created 10 February 2025 at 21:49
Updated 18 March 2025 at 21:54

Activity

Show:

Flag notifications