Hello,

I am running Ubuntu 8.10, with Tomcat 6.0.18 installed via the package
manager, and I am trying to get Solr 1.3.0 up and running, with no success.
I believe I am having the same problem described here:

http://www.nabble.com/Severe-errors-in-solr-configuration-td21829562.html

When I attempt to access solr/admin on the web server, I am greeted with the
following exception:

HTTP Status 500 - Severe errors in solr configuration. Check your log files
for more detailed information on what may be wrong. If you want solr to
continue after configuration errors, change:
<abortOnConfigurationError>false</abortOnConfigurationError> in null
-------------------------------------------------------------
java.security.AccessControlException: access denied (java.io.FilePermission
/var/lib/tomcat6/solr/solr.xml read) at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) at
java.lang.SecurityManager.checkRead(SecurityManager.java:888) at
java.io.File.exists(File.java:748) at
[...snip...]

There is no solr.xml in /var/lib/tomcat6/solr/ (which is the example solr
home directory provided).  However, I did set the solr home with JDNI, under

/var/lib/tomcat6/conf/Catalina/localhost/solr.xml, which reads:

<Context docBase="/var/lib/tomcat6/solr.war"
         debug="0"
         crossContext="true" >
    <Environment name="solr/home" type="java.lang.String"
      value="/var/lib/tomcat6/solr" override="true" />
</Context>

I am kind of at my wits end (and to make matters worse, I am new to Tomcat
as well as solr).  Can anybody supply any hints to get this baby up and
running?  If I have omitted any vital information, please just let me know.

Best regards,

Dave.

Reply via email to