Skip to content

Commit

Permalink
DOCSP-43839: jndi feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rustagir committed Sep 25, 2024
1 parent e0ad954 commit f4a4daf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/fundamentals/connection/jndi.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. _jndi:
.. _java-sync-jndi:

=============================================
Connect to MongoDB by Using a JNDI Datasource
Expand Down Expand Up @@ -50,7 +51,6 @@ JNDI Datasource.
.. literalinclude:: /includes/fundamentals/code-snippets/wildfly-module-with-version.xml
:language: xml


#. Add a binding to the naming subsystem configuration that references the
preceding module, the ``MongoClientFactory`` class, and the
:ref:`connection string <connection-uri>` for the MongoDB cluster.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<module xmlns="urn:jboss:module:1.3" name="org.mongodb">
<module xmlns="urn:jboss:module:1.9" name="org.mongodb">
<resources>
<resource-root path="mongodb-driver-sync-4.1.0.jar"/>
<resource-root path="bson.{+full-version+}.jar"/>
<resource-root path="bson-record-codec.{+full-version+}.jar"/>
<resource-root path="mongodb-driver-core.{+full-version+}.jar"/>
<resource-root path="mongodb-driver-sync-{+full-version+}.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
Expand Down

0 comments on commit f4a4daf

Please sign in to comment.