Skip to content

Commit f4a4daf

Browse files
committed
DOCSP-43839: jndi feedback
1 parent e0ad954 commit f4a4daf

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

source/fundamentals/connection/jndi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.. _jndi:
2+
.. _java-sync-jndi:
23

34
=============================================
45
Connect to MongoDB by Using a JNDI Datasource
@@ -50,7 +51,6 @@ JNDI Datasource.
5051
.. literalinclude:: /includes/fundamentals/code-snippets/wildfly-module-with-version.xml
5152
:language: xml
5253

53-
5454
#. Add a binding to the naming subsystem configuration that references the
5555
preceding module, the ``MongoClientFactory`` class, and the
5656
:ref:`connection string <connection-uri>` for the MongoDB cluster.

source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
<module xmlns="urn:jboss:module:1.3" name="org.mongodb">
1+
<module xmlns="urn:jboss:module:1.9" name="org.mongodb">
22
<resources>
3-
<resource-root path="mongodb-driver-sync-4.1.0.jar"/>
3+
<resource-root path="bson.{+full-version+}.jar"/>
4+
<resource-root path="bson-record-codec.{+full-version+}.jar"/>
5+
<resource-root path="mongodb-driver-core.{+full-version+}.jar"/>
6+
<resource-root path="mongodb-driver-sync-{+full-version+}.jar"/>
47
</resources>
58
<dependencies>
69
<module name="javax.api"/>

0 commit comments

Comments
 (0)