DataImport troubleshooting

2008-09-23 Thread KyleMorrison

I have searched the forum and the internet at large to find an answer to my
simple problem, but have been unable. I am trying to get a simple dataimport
to work, and have not been able to. I have Solr installed on an Apache
server on Unix. I am able to commit and search for files using the usual
Simple* tools. These files begin with ... and so on.

On the data import, I have inserted
  

  /R1/home/shoshana/kyle/Documents/data-config.xml  

  

into solrconfig, and the data import looks like this:

http://helix.ccb.sickkids.ca:8080/"; encoding="UTF-8" />








 

I apologize for the ugly xml. Nonetheless, when I go to
http://host:8080/solr/dataimport, I get a 404, and when I go to
http://host:8080/solr/admin/dataimport.jsp and try to "debug", nothing
happens. I have editted out the host name because I don't know if the
employer would be ok with it. Any guidance?

Thanks in advance,
Kyle
-- 
View this message in context: 
http://www.nabble.com/DataImport-troubleshooting-tp19630990p19630990.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: DataImport troubleshooting

2008-09-23 Thread Shalin Shekhar Mangar
Are there any exceptions in the log file when you start Solr?

On Tue, Sep 23, 2008 at 9:31 PM, KyleMorrison <[EMAIL PROTECTED]> wrote:

>
> I have searched the forum and the internet at large to find an answer to my
> simple problem, but have been unable. I am trying to get a simple
> dataimport
> to work, and have not been able to. I have Solr installed on an Apache
> server on Unix. I am able to commit and search for files using the usual
> Simple* tools. These files begin with ... and so on.
>
> On the data import, I have inserted
>   class="org.apache.solr.handler.dataimport.DataImportHandler">
>
>   name="config">/R1/home/shoshana/kyle/Documents/data-config.xml
>
>  
>
> into solrconfig, and the data import looks like this:
> 
> baseUrl="http://helix.ccb.sickkids.ca:8080/"; encoding="UTF-8" />
>
> forEach="/iProClassDatabase/iProClassEntry/"
> url="/R1/home/shoshana/kyle/Documents/exampleIproResult.xml">
>
> xpath="/iProClassDatabase/iProClassEntry/GENERAL_INFORMATION/Protein_Name_and_ID/UniProtKB/UniProtKB_Accession">
>
> xpath="/iProClassDatabase/iProClassEntry/CROSS_REFERENCES/Enzyme_Function/EC/Nomenclature"
> />
>
> xpath="/iProClassDatabase/iProClassEntry/CROSS_REFERENCES/Bibliography/References/PMID"
> />
> xpath="/iProClassDatabase/iProClassEntry/SEQUENCE/Sequence_Length" />
>
>
> 
>
> I apologize for the ugly xml. Nonetheless, when I go to
> http://host:8080/solr/dataimport, I get a 404, and when I go to
> http://host:8080/solr/admin/dataimport.jsp and try to "debug", nothing
> happens. I have editted out the host name because I don't know if the
> employer would be ok with it. Any guidance?
>
> Thanks in advance,
> Kyle
> --
> View this message in context:
> http://www.nabble.com/DataImport-troubleshooting-tp19630990p19630990.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Regards,
Shalin Shekhar Mangar.


Re: DataImport troubleshooting

2008-09-23 Thread KyleMorrison

Thank you for help. The problem was actually just stupidity on my part, as it
seems I was running the wrong startup and shutdown shells for the server,
and thus the server was getting restarted. I restarted the server and I can
at least access those pages. I'm getting some wonky output, but I assume
this will be sorted out.

Kyle



Shalin Shekhar Mangar wrote:
> 
> Are there any exceptions in the log file when you start Solr?
> 
> On Tue, Sep 23, 2008 at 9:31 PM, KyleMorrison <[EMAIL PROTECTED]> wrote:
> 
>>
>> I have searched the forum and the internet at large to find an answer to
>> my
>> simple problem, but have been unable. I am trying to get a simple
>> dataimport
>> to work, and have not been able to. I have Solr installed on an Apache
>> server on Unix. I am able to commit and search for files using the usual
>> Simple* tools. These files begin with ... and so on.
>>
>> On the data import, I have inserted
>>  > class="org.apache.solr.handler.dataimport.DataImportHandler">
>>
>>  > name="config">/R1/home/shoshana/kyle/Documents/data-config.xml
>>
>>  
>>
>> into solrconfig, and the data import looks like this:
>> 
>>> baseUrl="http://helix.ccb.sickkids.ca:8080/"; encoding="UTF-8" />
>>
>>> forEach="/iProClassDatabase/iProClassEntry/"
>> url="/R1/home/shoshana/kyle/Documents/exampleIproResult.xml">
>>>
>> xpath="/iProClassDatabase/iProClassEntry/GENERAL_INFORMATION/Protein_Name_and_ID/UniProtKB/UniProtKB_Accession">
>>>
>> xpath="/iProClassDatabase/iProClassEntry/CROSS_REFERENCES/Enzyme_Function/EC/Nomenclature"
>> />
>>>
>> xpath="/iProClassDatabase/iProClassEntry/CROSS_REFERENCES/Bibliography/References/PMID"
>> />
>>> xpath="/iProClassDatabase/iProClassEntry/SEQUENCE/Sequence_Length" />
>>
>>
>> 
>>
>> I apologize for the ugly xml. Nonetheless, when I go to
>> http://host:8080/solr/dataimport, I get a 404, and when I go to
>> http://host:8080/solr/admin/dataimport.jsp and try to "debug", nothing
>> happens. I have editted out the host name because I don't know if the
>> employer would be ok with it. Any guidance?
>>
>> Thanks in advance,
>> Kyle
>> --
>> View this message in context:
>> http://www.nabble.com/DataImport-troubleshooting-tp19630990p19630990.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/DataImport-troubleshooting-tp19630990p19635170.html
Sent from the Solr - User mailing list archive at Nabble.com.