On 2015-01-23 15:06, helix84 wrote: > Hi Lars, > > your configuration looks almost correct. The only thing wrong I see is > that you're saying that you defined the solr context in server.xml, > not in a context fragment > (/etc/tomcat7/conf/Catalina/localhost/solr.xml). > > In server.xml, the definition should include a docBase attribute (e.g. > docBase="/dspace/webapps/solr"). In a context fragment, the .xml file > name is used instead, so this attribute is left out. > > I'm not sure though that this error would cause the 403. I think it > would cause the context not to load. > > As another quick fix, try specifying the context without any parameters, i.e.: > <Context path="/solr" reloadable="true" /> in solr.xml or > <Context path="/solr" docBase="/dspace/webapps/solr" /> in server.xml > This will put the localhost restriction back in place, which means you > should be able to access Solr from localhost, but not from > 129.27.218.*.
Tried the server.xml method, tomcat7 runs up, but still: wget http://localhost:8080/solr/statistics/select?q=*:* --2015-01-23 15:16:56-- http://localhost:8080/solr/statistics/select?q=*:* Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:8080... connected. HTTP request sent, awaiting response... 403 Forbidden 2015-01-23 15:16:56 ERROR 403: Forbidden. > Also double-check whether you are really running Tomcat 7. In Tomcat 6 > and older the RemoteAddrValve syntax was slightly different, see: > http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote_Address_Filter Only tomcat7 is on the system installed. I wonder if the tomcat-admin setup has something to do with it? > Regards, > ~~helix84 MfG, Lars Schimmer -- ------------------------------------------------------------- TU Graz, Institut für ComputerGraphik & WissensVisualisierung Tel: +43 316 873-5405 E-Mail: l.schim...@cgv.tugraz.at Fax: +43 316 873-5402 PGP-Key-ID: 0x4A9B1723
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet
_______________________________________________ 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