<div dir="ltr">
<p dir="auto">Hello,<br><br><b>Describe the bug</b></p><p dir="auto">Password4j 1.8.2 cannot be loaded under Oracle 23ai free because most of
the time ora-29532 java call terminated by uncaught java exception
java.lang.noclassdeffounderror org/slf4j/loggerfactory happens.</p>
<p dir="auto"><b>To Reproduce<br>
</b>Try to load slf4j-api and then password4j 1.8.2/1.8.3 into Oracle database via</p>
<p dir="auto">loadjava -r -v -f -s -g "$SCHEMA_NAME" -resolve -user "$SCHEMA_NAME/$SCHEMA_PASSWORD@$CONTAINER_NAME" "$jar_file"<br>
loadjava -r -v -f -s -g "$SCHEMA_NAME" -append-resolver "((* -))"
-jarsasdbobjects -user "$SCHEMA_NAME/$SCHEMA_PASSWORD@$CONTAINER_NAME"
"$jar_file"<br>
loadjava -v -thin -user "$SCHEMA_NAME/$SCHEMA_PASSWORD@$CONTAINER_NAME" "$jar_file"</p>
<p dir="auto">(The examples are from a shell script of mine)</p>
<p dir="auto">You will most likely get</p>
<p dir="auto">ora-29532 java call terminated by uncaught java exception java.lang.noclassdeffounderror org/slf4j/loggerfactory</p>
<p dir="auto">when you try to run an Argon2 implementation from
Password4j, even though slf4j-api is loaded. I did not experience any
change by upgrading to 1.8.3, sadly. Maybe I do something not the way it was meant to be. With the -v -thin -user flags it works under 19c.</p>
<p dir="auto"><b>Expected behavior<br>
</b>I expect to use the Password4j library in my project after load.</p>
<p dir="auto">Environment:</p>
<div class="gmail-snippet-clipboard-content gmail-notranslate gmail-position-relative gmail-overflow-auto"><pre class="gmail-notranslate"><code class="gmail-notranslate">OS: Oracle Linux 8 in docker
DB: Oracle 23ai free
JDK version:
</code></pre><div class="gmail-zeroclipboard-container gmail-position-absolute gmail-right-0 gmail-top-0">
</div></div><p dir="auto">In the database:<br>
SELECT dbms_java.get_ojvm_property(PROPSTRING=>'java.version') FROM dual<br>
11.0.27</p>
<p dir="auto">On OL8:</p>
<p dir="auto">java -version<br>
openjdk version "17.0.15" 2025-04-15 LTS<br>
OpenJDK Runtime Environment (Red_Hat-17.0.15.0.6-2.0.1) (build 17.0.15+6-LTS)<br>
OpenJDK 64-Bit Server VM (Red_Hat-17.0.15.0.6-2.0.1) (build 17.0.15+6-LTS, mixed mode, sharing)</p>
<p dir="auto">Additional context<br>
Most of the classes are loaded as org.slf4j///org/slf4j/... but they should be org/slf4j/...</p>
<p dir="auto">For instance:</p>
<p dir="auto">org.slf4j///org/slf4j/loggerfactory and org/slf4j/LoggerFactory</p>
<p dir="auto">If you need anything to uncover this, I will gladly help.
Thanks! :) Would it be possible to load the jar normally, so without
module info? Could you build a jar without modules for testing purposes?</p>
<p dir="auto">Thanks!</p>
<br></div>