#847: schemaPluginsDir in context.xml doesn't work as expected
-------------------------------------------------------+--------------------
Reporter: sha | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version:
Keywords: schemaPluginsDir schema plugin config.xml |
-------------------------------------------------------+--------------------
After upload of a custom schema (via de GUI), the schema is placed in the
WEB-INF/data/config/schema_plugins directory.
I use geonetwork.war under tomcat so in our system the dir is:
/usr/share/tomcat6/webapps/geonetwork/WEB-INF/data/config/schema_plugins
I want this to be an other dir, because if geonetwork.war is redeployed,
the uploaded schema is gone.
In WEB-INF/config.xml I saw the following line:
{{{
<param name="schemaPluginsDir" value="schemaPlugins" />
}}}
I expect that if I change the value of this parameter to a different dir,
it might do the trick (store uploaded profiles at a custom defined dir
instead of the default one). Unfortunately that didn't work (nothing
changes). Also, I couldn't find documentation on changing the default dir
for the schema plugins.
Is the schemaPluginsDir meant for this purpose? If so, this currently
doesn't work (geonetwork r8955).
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/847>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#847: schemaPluginsDir in context.xml doesn't work as expected
-------------------------------------------------------+--------------------
Reporter: sha | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version:
Keywords: schemaPluginsDir schema plugin config.xml |
-------------------------------------------------------+--------------------
Comment(by fxp):
If you want to be able to redeploy the war, you should set a data
directory outside the webapp. The schema plugin is in the data directory.
See http://geonetwork-opensource.org/manuals/trunk/eng/users/admin
/advanced-configuration/index.html#geonetwork-data-directory
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/847#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#847: schemaPluginsDir in context.xml doesn't work as expected
----------------------+-----------------------------------------------------
Reporter: sha | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords: schemaPluginsDir schema plugin config.xml
----------------------+-----------------------------------------------------
Changes (by simonp):
* status: new => closed
* resolution: => fixed
Comment:
Removed obsolete schemaPluginsDir element from config.xml - schema plugins
are in the geonetwork data dir as described above.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/847#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.