Setting up DataImportHandler for Oracle datasource on JBoss

2009-01-05 Thread The Flight Captain
I am having trouble setting up an Oracle datasource. Can anyone help me connect to the datasource? My solrconfig.xml: ... data-config.xml ... My data-config.xml I have placed the oracle driver on the classpath of JBoss. I am getting the following errors i

Re: Setting up DataImportHandler for Oracle datasource on JBoss

2009-01-06 Thread The Flight Captain
ta-config file > > On Tue, Jan 6, 2009 at 12:50 PM, The Flight Captain > wrote: >> >> I am having trouble setting up an Oracle datasource. Can anyone help me >> connect to the datasource? >> >> My solrconfig.xml: >> >> ... >&

Re: Setting up DataImportHandler for Oracle datasource on JBoss

2009-01-07 Thread The Flight Captain
Thanks Paul, that fixed the problem. the root node is not it should be -- View this message in context: http://www.nabble.com/Setting-up-DataImportHandler-for-Oracle-datasource-on-JBoss-tp21305824p21342413.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Using Solr with an existing Lucene index

2009-01-07 Thread The Flight Captain
My first attempt to do this resulted in my Java program throwing a CorruptIndex exception. It appears as though Solr has somehow modified my index files in some way which causes the Lucene code to see them as corrupt (even though I did not, at least intentionally, try to post any documents or othe

Re: Using Lucene index in Solr

2009-01-07 Thread The Flight Captain
Do I have to set the datasource that my index references? My data is stored in a database, I want Solr to look up the data in that database using my existing index. At the moment, I have set the element in my solrconfig to point at my existing index, and checked the schema on my existing index u

Can find solr jars in WEB-INF/lib directory

2009-03-03 Thread The Flight Captain
I am wrapping CoreContainer in my own class (FacetServerImpl), so that I can override the query(SolrRequest request) method to return an xml String. This is the best way I found to get an xml response from Solr, without deploying solr as a service, note that EmbeddedSolrServer returns a NamedList.

Re: Can find solr jars in WEB-INF/lib directory

2009-03-03 Thread The Flight Captain
parameter to DirectSolrConnection? I managed to solve my problem (NoClassDefFound), above, by reverting to the 1.3 release. Erik Hatcher wrote: > > > On Mar 3, 2009, at 3:01 AM, The Flight Captain wrote: >> I am wrapping CoreContainer in my own class (FacetServerImpl), so >> t

DataImportHandler that uses JNDI lookup

2009-03-09 Thread The Flight Captain
I am using the DataImporterHandler to get database connection details from a data-config.xml file. I would like to do a JNDI lookup to get database connection details from a container. So that when I deploy my embedded Solr Instance I don't have to deploy a data-config.xml for each environment. A