Revision 8997
Added by ben leinfelder about 10 years ago
docs/user/metacat/source/submitting.rst | ||
---|---|---|
135 | 135 |
|
136 | 136 |
:: |
137 | 137 |
|
138 |
sudo cpan -i Digest::SHA1 |
|
138 | 139 |
sudo cpan -i Config::Properties |
139 | 140 |
sudo cpan -i Scalar::Util |
140 | 141 |
sudo cpan -i Captcha:reCAPTCHA |
141 | 142 |
sudo cpan -i DateTime |
142 |
sudo cpan -i Digest::SHA1 |
|
143 | 143 |
|
144 | 144 |
|
145 | 145 |
3. Double-check that Metacat's temporary folder, application.tempDir, is |
... | ... | |
325 | 325 |
| | ``operator`` - the Boolean operator to apply to the query. Possible values are: union or intersect | |
326 | 326 |
| | ``searchmode`` - the type of search to be performed. Possible values are: contains, starts-with, ends-with, equals, isnot-equal, greater-than, less-than, greater-than-equals, less-than-equals. | |
327 | 327 |
| | ``anyfield`` - a free-text search variable. The value placed in this parameter will be searched for in any document in any node. | |
328 |
| | ``pagesize`` – the number of search results to display on each search results page (e.g., 10). Used with pagestart. See section 4.3.4 for an example. |
|
|
329 |
| | ``pagestart`` – the displayed search results page (e.g, 1). Used with pagesize. See section 4.3.4 for an example. |
|
|
328 |
| | ``pagesize`` - the number of search results to display on each search results page (e.g., 10). Used with pagestart. See section 4.3.4 for an example. |
|
|
329 |
| | ``pagestart`` - the displayed search results page (e.g, 1). Used with pagesize. See section 4.3.4 for an example. |
|
|
330 | 330 |
+--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |
331 | 331 |
| read | Get a document from the database and return it in the specified format. See Searching Metacat for an example. | |
332 | 332 |
| | | |
docs/user/metacat/source/configuration.rst | ||
---|---|---|
467 | 467 |
Where ``<CONTEXT_DIR>`` is the directory in which the Metacat application code |
468 | 468 |
lives (described above) and ``<SKIN_NAME>`` is the name of the skin |
469 | 469 |
(e.g., ``default`` or ``nceas``). |
470 |
|
|
471 |
Additional configuration for Tomcat 7 |
|
472 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
473 |
When running Metacat on Tomcat 7, you may get the following |
|
474 |
error logging in via the Morpho application: "Fatal error sending data to Metacat: Bad Set_Cookie header:JSESSIONID=...". |
|
475 |
In order to fix the issue, modify <Catalina_HOME>/conf/context.xml |
|
476 |
(e.g., /var/lib/tomcat7/conf/context.xml) by adding a new attribute - "useHttpOnly" - and set it to false for the "Context" element:: |
|
477 |
|
|
478 |
<Context useHttpOnly="false"> |
|
479 |
|
|
480 |
Then restart Tomcat 7. |
Also available in: Unified diff
merge updates from 2.4.2 changes