On Wed, Jun 05, 2013 at 01:07:04PM +0200, helix84 wrote: > On Wed, Jun 5, 2013 at 12:36 PM, LifeH2O <life...@gmail.com> wrote: > > For solr, I placed the solr.xml in both C:\Tomcat > > 7.0\work\Catalina\localhost and C:\Tomcat 7.0\conf\Catalina\localhost but it > > is still not working. > > You can also do this in server.xml. This is where the official > documentation tells you to declare your contexts.
Um, not since about Tomcat 5. From the Tomcat 6 documentation: It is NOT recommended to place <Context> elements directly in the server.xml file. This is because it makes modifying the Context configuration more invasive since the main conf/server.xml file cannot be reloaded without restarting Tomcat. Individual Context elements may be explicitly defined: o In an individual file at /META-INF/context.xml inside the application files. In Tomcat 6 this file is automatically copied to $CATALINA_BASE/conf/[enginename]/[hostname]/ and renamed to application's base file name plus a ".xml" extension. (This automated copying became optional in Tomcat 7). o In individual files (with a ".xml" extension) in the $CATALINA_BASE/conf/[enginename]/[hostname]/ directory. The context path will be derived from the base name of the file (the file name less the .xml extension). This file will always take precedence over any context.xml file packaged in the web application's META-INF directory. o Inside a Host element in the main conf/server.xml. http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Defining_a_context In this case, ${CATALINA_BASE}/conf/[enginename]/[hostname] seems to mean 'C:\Tomcat 7.0\conf\Catalina\localhost'. I would leave the work directory alone for Tomcat to manage. Does the Tomcat log (probably catalina.log or something like that) show that solr is starting? (It's hard to miss: solr is VERY chatty.) If you use the Tomcat Manager or some other monitoring app, does it show /solr running? External context descriptors should not have the "path" attribute; that is calculated from the descriptor file's name. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient.
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette