Issues
- application jdbc regression: Given version [latest] is invalid,LDEV-5116Resolved issue: LDEV-5116Michael Offner
- update mysql jdbc to 8.1.0LDEV-4666Resolved issue: LDEV-4666Zac Spitzer
- update mysql to 8.0.33LDEV-4471Resolved issue: LDEV-4471Zac Spitzer
- update postgres jdbc to 42.6.0LDEV-4470Resolved issue: LDEV-4470Zac Spitzer
- update exasol extension to 7.1.16 due to CVELDEV-4296
- add snowflake jdbc extensionLDEV-4055
- update mysql to 8.0.30LDEV-4051Resolved issue: LDEV-4051Michael Offner
- Lucee discards exception cause from JDBC connection errorsLDEV-3711Resolved issue: LDEV-3711
- Better JDBC extension config for testsLDEV-3568Resolved issue: LDEV-3568Zac Spitzer
- Oracle generatedkeysLDEV-3503Michael Offner
- MSSQL version 9.3.1 shows the error in application page.LDEV-3492Resolved issue: LDEV-3492Pothys - MitrahSoft
- Latest Postgres Driver cannot create tables with foreign key constraints when expecting a `result`LDEV-3426Michael Offner
- update mysql jdbc to 8.0.24LDEV-3245Resolved issue: LDEV-3245Pothys - MitrahSoft
- Firebird jdbc support missingLDEV-3205Pothys - MitrahSoft
- Postgres 11 fails with stored procs, To call a procedure, use CALLLDEV-2963Michael Offner
- update postgres jdbc driver to latest (currently 42.2.14)LDEV-2962Resolved issue: LDEV-2962Igal Sapir
- Lucee tests getCredentials and datasources setup shouldn't be defined per testLDEV-2882Resolved issue: LDEV-2882Zac Spitzer
- query doesn't throw any exceptionLDEV-2740Michael Offner
- Lucee doesn't correctly handle wrong JDBC connection string, causing NPELDEV-2652Michael Offner
- MySQL driver - Wrong object type returned by resultSet.getMetaData()LDEV-2430Resolved issue: LDEV-2430Michael Offner
- Update MySQL Extension Driver to 8.0.16LDEV-2355Resolved issue: LDEV-2355Michael Offner
- MSSQL JDBC driver newer than 7.0 cannot be installedLDEV-2271Resolved issue: LDEV-2271Michael Offner
- extend "org.osgi.framework.system.packages" with "javax.security.auth.kerberos"LDEV-2195Resolved issue: LDEV-2195Michael Offner
- Error when updgrading/downgrading MSSQL JDBC driverLDEV-2190Resolved issue: LDEV-2190Michael Offner
- Support for JNDI DatasourcesLDEV-892
- Unable to connect to Oracle 12c pluggable databaseLDEV-868Michael Offner
- cfqueryparam sqltype=clob error on Teradata databaseLDEV-230
27 of 27
application jdbc regression: Given version [latest] is invalid,
Fixed
Description
Environment
None
Details
Assignee
Michael OffnerMichael OffnerReporter
Zac SpitzerZac SpitzerPriority
NewLabels
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
None
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Zac Spitzer
Zac SpitzerPriority
Labels
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
None
Created 21 October 2024 at 09:56
Updated 22 October 2024 at 12:06
Resolved 21 October 2024 at 15:09
Activity
Show:
Zac Spitzer21 October 2024 at 15:09
works for me, closing
Michael Offner21 October 2024 at 12:57
Michael Offner21 October 2024 at 12:02
following breaks exactly as the exception above
<cfscript>
BundleProvider=createObject("java","lucee.runtime.config.s3.BundleProvider");
BundleDefinition=createObject("java","lucee.runtime.osgi.OSGiUtil$BundleDefinition");
bd=BundleDefinition.init("com.mysql.cj”","latest");
dump(BundleProvider.getInstance().getBundleAsURL(bd, true));
</cfscript>
but it also breaks when i do null instead
<cfscript>
BundleProvider=createObject("java","lucee.runtime.config.s3.BundleProvider");
BundleDefinition=createObject("java","lucee.runtime.osgi.OSGiUtil$BundleDefinition");
bd=BundleDefinition.init("com.mysql.cj”",nullValue());
dump(BundleProvider.getInstance().getBundleAsURL(bd, true));
</cfscript>
seeing this problem running the lucee-testlab benchmarks locally, doesn’t happen on github actions
exception.log
[java] [script] " [java] [script] "ERROR","pool-10-thread-1","10/21/2024","10:51:22","", "org.osgi.framework.BundleException:The OSGi Bundle with name [com.mysql.cj] is not available locally [ (d:\work\script-runner\temp\lucee\lucee-server\bundles)] or from the update provider [ (https://update.lucee.org)].;lucee.runtime.exp.NativeException: org.osgi.framework.BundleException:The OSGi Bundle with name [com.mysql.cj] is not available locally [ (d:\work\script-runner\temp\lucee\lucee-server\bundles)] or from the update provider [ (https://update.lucee.org)]. [java] [script] at lucee.commons.lang.ExceptionUtil.toIOException(ExceptionUtil.java:215) [java] [script] at lucee.runtime.db.DatasourceConnectionFactory.create(DatasourceConnectionFactory.java:64) [java] [script] at lucee.runtime.db.DatasourceConnectionFactory.create(DatasourceConnectionFactory.java:21) [java] [script]
application.log
"ERROR","pool-3-thread-14","10/21/2024","11:06:06","OSGi","Given version [latest] is invalid, a valid version is following this pattern <major-number>.<minor-number>.<micro-number>[.<qualifier>];org.osgi.framework.BundleException: Given version [latest] is invalid, a valid version is following this pattern <major-number>.<minor-number>.<micro-number>[.<qualifier>] at lucee.runtime.osgi.OSGiUtil.toVersion(OSGiUtil.java:296) at lucee.runtime.osgi.OSGiUtil$BundleDefinition.setVersion(OSGiUtil.java:2165) at lucee.runtime.osgi.OSGiUtil$BundleDefinition.<init>(OSGiUtil.java:2078) at lucee.runtime.osgi.OSGiUtil.downloadBundle(OSGiUtil.java:858) at lucee.runtime.osgi.OSGiUtil._loadBundle(OSGiUtil.java:765) at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:680) at lucee.runtime.osgi.OSGiUtil$BundleDefinition.getBundle(OSGiUtil.java:2110) at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:179)
using the following with
this.datasources
mysql: { class: 'com.mysql.cj.jdbc.Driver' , bundleName: 'com.mysql.cj' , connectionString: 'jdbc:mysql://127.0.0.1:3306/lucee?useSSL=false' , username: "lucee" , password: "lucee" }
setting the bundleVersion to “9.0.0” works