Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ronsmits/mongotest

test adding mongodb in TOMEE/conf/tomee.xml
https://github.com/ronsmits/mongotest

Last synced: 1 day ago
JSON representation

test adding mongodb in TOMEE/conf/tomee.xml

Awesome Lists containing this project

README

        

# mongotest
test adding mongodb in TOMEE/conf/tomee.xml

# Goal
The goal of this very small repo is to make it possible to access a mongodb resource defined in tomee.xml from a producer in a
webapp.

add the following to $TOMEE_HOME/conf/tomee.xml:


uri mongodb://localhost/test

After starting up the application go to ````http://localhost:8080/tomee-mongo-test/api/rest````. This will print on stdout the
value found for mongoUri like this:

*******ClientURI=null