Unresolved
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Adam Tuttle
Adam TuttlePriority
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
Affects versions
Created 20 September 2019 at 21:36
Updated 30 April 2021 at 11:18
The attached repro contains code to run two applications, one nested inside the other.
Load the parent (http://localhost:1026/), and you should see "I am the parent application" and then a dump of a jedis pool config instance.
Then load the child (http://localhost:1026/child/) and you should see an error:
It might be tempting to say that this is working as designed, but I would tend to disagree. Why not swallow this error silently and ignore it? If the class is already loaded and available to apps in the same context, what difference does it make?
It seems to me that having the javaSettings configured to load the JARs in the way that I've done is necessary in both Application.cfc's, if both applications will make use of the classes. I tried commenting out the entire this.javasettings block in the child application and got a different error, indicating that the javasettings are necessary: