help! my app writes to the embedded-in-app eXist database at directory <tomcat_root>/webapps/app/WEB-INF/exist-data and i am trying to get the app to write and read to and from the main eXist database at URL
http://127.0.0.1:8080/exist/index.xml. app is based on Orbeon 3.5. Suggestions?
entry in persistence-model.xml has the '/exist/rest' prefix for map to servlet on web.xml:
<xforms:submission
id="list-documents-submission"
ref="instance('list-documents-query')"
method="post"
action="/exist/rest/db/gios/eml/"
replace="instance"
xxforms:instance="documents-instance"
f:url-type="resource"/>
entry in exist-conf.xml has three occurances of 'exist-data':
<cluster
dbaPassword=""
dbaUser="admin"
exclude="/db/system,/db/system/config"
journalDir="exist-data/journal"
protocol="UDP(...long_string_not_shown_here...)"/>
<db-connection
cacheSize="48M"
collectionCacheSize="128"
database="native"
files="exist-data"
free_mem_min="5"
pageSize="4096">
<pool max="20" min="1" sync-period="120000" wait-before-shutdown="120000"/>
<recovery enabled="yes" group-commit="no" journal-dir="exist-data" size="100M" sync-on-commit="no"/>
<watchdog output-size-limit="10000" query-timeout="-1"/>
</db-connection>