Skip to content

DOCSP-43839: jndi feedback #573

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

Merged
merged 4 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/workflows/check-autobuilder.yml

This file was deleted.

5 changes: 2 additions & 3 deletions 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 @@ -47,9 +48,7 @@ JNDI Datasource.

Add the following ``module.xml`` file into the module:

.. literalinclude:: /includes/fundamentals/code-snippets/wildfly-module-with-version.xml
:language: xml

.. include:: /includes/fundamentals/code-snippets/wildfly-module-with-version.rst

#. Add a binding to the naming subsystem configuration that references the
preceding module, the ``MongoClientFactory`` class, and the
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.. code-block:: xml
:caption: module.xml

<module xmlns="urn:jboss:module:1.9" name="org.mongodb">
<resources>
<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"/>
<module name="javax.transaction.api"/>
<module name="javax.servlet.api" optional="true"/>
</dependencies>
</module>

This file was deleted.

Loading