: I just wanted to follow up to the list on this one...I could never get : the JNDI settings to work with Tomcat. I went to Jetty and everything is
I'm not sure what to tell you. I've been preping my ApacheCon demo for next week using Tomcat and JNDI and i haven't had any problems .... i've got a few helper scripts that save me typing when i set it up (they use "sh -x" to echo the shell commands they execute when they run), but here's everything i do just so you can see what i've got going on ... it might help you figure out what's not working about your setup. At the end of all of this Solr is up and running in tomcat using my configured SolrHome... [EMAIL PROTECTED]:/var/tmp/ac-demo$ pwd /var/tmp/ac-demo [EMAIL PROTECTED]:/var/tmp/ac-demo$ ls books-solr-home demo-links.html raw-data tomcat-context.xml create-tomcat-context.sh install-tomcat-and-solr.sh tar-balls [EMAIL PROTECTED]:/var/tmp/ac-demo$ find books-solr-home/ books-solr-home/ books-solr-home/conf books-solr-home/conf/xslt books-solr-home/conf/xslt/example.xsl books-solr-home/conf/xslt/example_atom.xsl books-solr-home/conf/schema_minimal.xml books-solr-home/conf/solrconfig.xml books-solr-home/conf/synonyms.txt books-solr-home/conf/schema_books.xml books-solr-home/conf/schema.xml [EMAIL PROTECTED]:/var/tmp/ac-demo$ cat tomcat-context.xml <!-- An example of declaring a specific tomcat context file that points at our solr.war (anywhere we want it) and a Solr Home directory (any where we want it) using JNDI. We could have multiple context files like this, with different names (and different Solr Home settings) to support multiple indexes on one box. --> <Context docBase="/var/tmp/ac-demo/apache-solr-1.2.0/dist/apache-solr-1.2.0.war" debug="0" crossContext="true" > <Environment name="solr/home" value="/var/tmp/ac-demo/books-solr-home/" type="java.lang.String" override="true" /> </Context> [EMAIL PROTECTED]:/var/tmp/ac-demo$ ./install-tomcat-and-solr.sh + cd /var/tmp/ac-demo/ + tar -xzf tar-balls/apache-tomcat-6.0.14.tar.gz + tar -xzf tar-balls/apache-solr-1.2.0.tgz [EMAIL PROTECTED]:/var/tmp/ac-demo$ ls apache-solr-1.2.0 books-solr-home demo-links.html raw-data tomcat-context.xml apache-tomcat-6.0.14 create-tomcat-context.sh install-tomcat-and-solr.sh tar-balls [EMAIL PROTECTED]:/var/tmp/ac-demo$ ./create-tomcat-context.sh + mkdir -p apache-tomcat-6.0.14/conf/Catalina/localhost/ + cp tomcat-context.xml apache-tomcat-6.0.14/conf/Catalina/localhost/books-solr.xml [EMAIL PROTECTED]:/var/tmp/ac-demo$ apache-tomcat-6.0.14/bin/catalina.sh Using CATALINA_BASE: /var/tmp/ac-demo/apache-tomcat-6.0.14 Using CATALINA_HOME: /var/tmp/ac-demo/apache-tomcat-6.0.14 Using CATALINA_TMPDIR: /var/tmp/ac-demo/apache-tomcat-6.0.14/temp Using JRE_HOME: /opt/jdk1.5 Usage: catalina.sh ( commands ... ) commands: debug Start Catalina in a debugger debug -security Debug Catalina with a security manager jpda start Start Catalina under JPDA debugger run Start Catalina in the current window run -security Start in the current window with security manager start Start Catalina in a separate window start -security Start in a separate window with security manager stop Stop Catalina stop -force Stop Catalina (followed by kill -KILL) version What version of tomcat are you running? [EMAIL PROTECTED]:/var/tmp/ac-demo$ apache-tomcat-6.0.14/bin/catalina.sh start Using CATALINA_BASE: /var/tmp/ac-demo/apache-tomcat-6.0.14 Using CATALINA_HOME: /var/tmp/ac-demo/apache-tomcat-6.0.14 Using CATALINA_TMPDIR: /var/tmp/ac-demo/apache-tomcat-6.0.14/temp Using JRE_HOME: /opt/jdk1.5 [EMAIL PROTECTED]:/var/tmp/ac-demo$