Oh, if you are using Derby, you're screwed, because Derby is
single-process in embedded mode.  Sorry for not catching that sooner!

Karl

On Fri, Feb 4, 2011 at 11:25 AM, Erlend Garåsen <e.f.gara...@usit.uio.no> wrote:
>
> The log entry I sent is not related to the job, but when I forgot to start
> Solr when I created the Solr connection.
>
> I have created another job and exactly the same thing happens. It just won't
> start. Solr is up and running. The connection status for the Solr connector
> says "Connection working".
>
> BTW, I have just started the following agents/connectors:
> org.apache.manifoldcf.crawler.system.CrawlerAgent
> org.apache.manifoldcf.agents.output.solr.SolrConnector
> org.apache.manifoldcf.agents.output.nullconnector.NullConnector
> org.apache.manifoldcf.crawler.connectors.webcrawler.WebcrawlerConnector
>
> But I can try to use PostgreSQL instead of Derby next week in case it helps.
>
> Erlend
>
>
> On 04.02.11 17.12, Karl Wright wrote:
>>
>> You are seeing this on the job status screen, right?  That means that
>> the job is aborting because it can't talk to Solr.  This is exactly
>> the error I was expecting it to be, so no surprises.
>>
>> If you think the behavior should be for ManifoldCF to retry if it
>> can't reach Solr, then we can change the Solr connector accordingly.
>> But based on the way it is coded now, that is why your job doesn't
>> last long.
>>
>> Karl
>>
>>
>> On Fri, Feb 4, 2011 at 11:08 AM, Erlend Garåsen<e.f.gara...@usit.uio.no>
>>  wrote:
>>>
>>> On 04.02.11 16.58, Karl Wright wrote:
>>>>
>>>> Do you have a full stack trace with that message?  I would expect one
>>>> in manifoldcf.log.
>>>
>>> Perhaps this log entry is caused by a mistake I did when I forgot to
>>> start
>>> Solr before I configured the Solr connector. So the real problem may not
>>> be
>>> logged at all.
>>>
>>> java.net.ConnectException: Connection refused
>>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>>>        at
>>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>>>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
>>>        at java.net.Socket.connect(Socket.java:529)
>>>        at java.net.Socket.connect(Socket.java:478)
>>>        at java.net.Socket.<init>(Socket.java:375)
>>>        at java.net.Socket.<init>(Socket.java:189)
>>>        at
>>>
>>> org.apache.manifoldcf.agents.output.solr.HttpPoster.createSocket(HttpPoster.java:733)
>>>        at
>>>
>>> org.apache.manifoldcf.agents.output.solr.HttpPoster$StatusThread.run(HttpPoster.java:1752)
>>>
>>>
>>> --
>>> Erlend Garåsen
>>> Center for Information Technology Services
>>> University of Oslo
>>> P.O. Box 1086 Blindern, N-0317 OSLO, Norway
>>> Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP:
>>> 31050
>>>
>
>
> --
> Erlend Garåsen
> Center for Information Technology Services
> University of Oslo
> P.O. Box 1086 Blindern, N-0317 OSLO, Norway
> Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
>

Reply via email to