-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use correct vfs path 'contents' #5732
Conversation
Fixed by 72c1d6b |
I think it's not fixed. |
@mariofusco we found that change in our currently used drools version 9.44.0, that does not work as intended and produces the exact stack as described in this issue... |
This is not a simple typo (it worked with old wildfly) but the effect of a recent change in wildfly/eap as it has been reported here https://issues.redhat.com/browse/DROOLS-7608 @cherni78 @reinhapa I'd appreciate it if you could give a try to your reproducers using the commits that I linked and if it doesn't work I will investigate again the problem. But at the moment simply adding an 's' doesn't seem the right solution and however if I do so I will also break compatibility with wildfly versions < 31.0 |
After a few more analyses @reinhapa and I found the problem with Wildfly 31.0.0. The ContextClassLoader used within the ForkJoinPoolTask is not the same as within the The following patch worked:
|
@mariofusco seems that the current fix does still have some glitch when using a fork join pool. |
I created a sample project using our current main branch, tested under WildFly Full 31.0.1.Final and it seems to work fine for me. In particular it is able to correctly retrieve the KieProject inside the classpath as reported by the log.
Please modify the sample project that I'm providing (or feel free to send your reproducer) in case you still think that there is a problem. |
@mariofusco We will give it a try and come back to you... |
@reinhapa @cherni78 can you guys create then an issue here https://github.com/apache/incubator-kie-drools/issues to properly track it? |
Since Wildfly 31.0.0 we encountered the following problem:
Seems that the problem comes from the typo in the fixed typed vfs lookup path.
After changing it to 'contents' it works well!