Loading classes the classic way fails

Description

Lucee fails to load classes that are not coming from OSGi, this ticket is based on the input from Harry Klein:
How can I add custom JARs to Lucee 5?
I tried these ways:
Extended catalina.properties and added a custom folder – jars were not found
Copied the jars to lib/ext - jars were not found
Copied the jars to luceee-server/bundles - jars were not found

Environment

None

Activity

Show:
Mark Drew
August 30, 2017, 4:16 PM

The tests for this ticket are not enough as they should also cover the loading of class files as per the documentation:

  • java: "classpath" or "bundleName" used to load the defined class, this can be a list of multiple paths (directories containing class files or jar files) as string list or array or a name of an OSGi bundle (Lucee can download OSGi bundles automatically if necessary)

Michael Offner
April 17, 2015, 8:31 AM

it seems like OSGi supress this based on the "org.osgi.framework.bundle.parent" setting

Fixed

Assignee

Michael Offner

Reporter

Michael Offner

Priority

Critical

Labels

None

Fix versions