Lucee 6.2.6.19-RC available for testing

As promised, a quick follow up release candidate after 6.2.5

This build includes 16 fixes and improvements since 6.2.5.48, focusing on classloader stability, method resolution, archive compatibility, and several regressions.

Download: https://download.lucee.org/

Docker and Installers Bundle

  • Java 21.0.10+7-LTS ( 6.2 supports up to Java 24, Java 25 requires Lucee 7 )
  • Tomcat 11.0.20

Highlights

Classloader & Memory

  • LDEV-6133 - PhysicalClassLoaders accumulate in memory and are never released when no longer needed
  • LDEV-6190 - PhysicalClassLoaderFactory returns closed classloader after flush
  • LDEV-6168 - Remove static NativeException LRUMap cache

OSGi

  • LDEV-6144 - CFMLEngineFactory.getFelix() returns unstarted Felix after clearing corrupted cache, causing NPE

Method Resolution

  • LDEV-6121 - ClazzDynamic.getMethod skips argument count check (self-comparison bug)
  • LDEV-6201 - Clazz.getMethod cache key missing class identity causes cross-class method pollution

Archives & Mappings

  • LDEV-6171 - NoSuchMethodError: pushBody() when executing .lar archive compiled for javax in Jakarta environment
  • LDEV-6165 - Regression: BundleException for .lar archives due to OSGi Export-Package validation
  • LDEV-6172 - MappingImpl.initPhysical() overrides physicalFirst before archive initialises

Threading

  • LDEV-6135 - Regression: Threading via CFTHREAD stability issues

Bug Fixes

  • LDEV-6123 - int() Function Silently Truncates Large Numbers
  • LDEV-6086 - InternalRequest swallows RequestTimeoutException exceptions
  • LDEV-6162 - Regression: graph.cfm overwritten with formtag-form.cfm content on deploy
  • LDEV-6177 - Security > Access: temp directory repeatedly appended to custom directories
  • LDEV-6196 - cfsearch contextHighlightBegin/contextHighlightEnd markers not applied to search results

Enhancements

  • LDEV-6150 - Add HTTP connection pool stats to getSystemMetrics()

Full changelog: Lucee Server Changelogs - 6.2

Testing

Please give this RC a spin and report any issues here on the forum

2 Likes

Great work.

We’ll get this on our sites that seemed to have weird Java issues with the snapshots and let you know.

@Zackster is this version meant to still output "set new PhysicalClassLoader with key … " logs at info level ?
I dont’ see any in our application log since the updated version deployed.

log level was reduced to TRACE, less log spam

https://luceeserver.atlassian.net/browse/LDEV-6133?focusedCommentId=77270

OK, thought as much.

Is there a way to bring out just that message in the logging without enabling trace for anything else ? I dont’ know enough about how to configure Lucee’s logging to know the answer.

Initial impressions are good, we don’t get the weird class not found issues we had from the snapshots.

We had a couple of overnight failures that look like further Java oddness, and as with the other issues, when retrying this morning, work fine.
The server had been restarted for a deployment between the overnight failures and the manual tests.

Anyone else with lots of Java integrations seeing this ?

The error was from our Amazon Step Functions connectors, and point at a build() call for a StartExecutionRequest class:

No matching method for com.amazonaws.services.stepfunctions.AWSStepFunctionsClient.startExecution(com.amazonaws.services.stepfunctions.model.StartExecutionRequest) found.

The constructor does:

variables.stepFunctionsClient = createObject('java','software.amazon.awssdk.services.sfn.SfnClient')
	.builder()
	.region( application.__aws_region )
	.build()

Then each call looks like

var sfnInput = serializeJSON(arguments.input);

// a StartExecutionRequest
var req = createObject('java','software.amazon.awssdk.services.sfn.model.StartExecutionRequest')
		.builder()
		.stateMachineArn(arguments.arn)
		.input(sfnInput.toString())
		.build();

// a StartExecutionResult
var res = variables.stepFunctionsClient.startExecution( req );

var exe_id = res.executionArn()

bug filed

https://luceeserver.atlassian.net/browse/LDEV-6226

1 Like