Skip to content

Commit e986c57

Browse files
committed
Adding FAQ entry for OGM
1 parent 714b507 commit e986c57

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: ogm/faq.adoc

+16
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,22 @@ There are three main methods:
8585

8686
The reference documentation details the various options.
8787

88+
=== When using Hibernate OGM on top of WildFly, I'm getting a +JndiException+. What's wrong?
89+
90+
In case you're are seeing a +JndiException+ saying "Unable to lookup JNDI name [---PlaceHolderDSForOGM---]",
91+
your application likely cannot access the application server module(s) of Hibernate OGM.
92+
93+
To change this, add the following line to the _META-INF/MANIFEST.MF_ file of your archive
94+
(adapt it to match your chosen datastore):
95+
96+
[source]
97+
----
98+
Dependencies: org.hibernate:ogm services, org.hibernate.ogm.mongodb services
99+
----
100+
101+
Alternatively, you can configure this via the descriptor _jboss-deployment-structure.xml_.
102+
See the https://docs.jboss.org/hibernate/ogm/4.1/reference/en-US/html_single/#ogm-configuration-jbossmodule[reference guide] to learn more.
103+
88104
== Developers of Hibernate OGM
89105

90106
=== How to skip some tests while in the development of a new +Dialect+?

0 commit comments

Comments
 (0)