Hi Sameer, Thanks for looking the post. Below are the two variables read from 
the xml file in my tool.

<add key="JavaPath" value="%JAVA_HOME%\bin\java.exe" />
  <add key="JavaArgument" value=" -Xms128m -Xmx256m 
-Durl=http://localhost:8983/solr/{0}/update -jar F:/DataDump/Tools/post.jar "/>

In commandline it is something like

C:\DataImport\bin\java.exe -Xms128m -Xmx256m 
-Durl=http://localhost:8983/solr/DataCollection/update -jar 
F:/DataDump/Tools/post.jar  F:/DatFiles/*.xml

F:\ is the network drive.

Thanks
Ravi

-----Original Message-----
From: Sameer Maggon [mailto:sam...@measuredsearch.com] 
Sent: Thursday, June 19, 2014 10:02 PM
To: solr-user@lucene.apache.org
Subject: Re: running Post jar from different server

Ravi,

post.jar is a standalone utility that does not have to be on the same server. 
If you can share the command you are executing, there might be some pointers in 
there.

Thanks,
--
*Sameer Maggon*
http://measuredsearch.com


On Thu, Jun 19, 2014 at 8:54 PM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) <external.ravi.tamin...@us.bosch.com> wrote:

> Hi,  I have situation where my SQL Job initiate a console application ,
> where I am calling the post.jar to upload data to SOLR. Both SQL DB and
> SOLR are 2 different servers.
>
> I am calling post.jar from my SQLDB where the path is mapped to a network
> drive. I am getting an error file not found.
>
> Is the above scenario is possible, if anyone has some experience on this
> can you share or any direction will be really appreciated.
>
> Thanks
>
> Ravi
>
  • running Post ja... EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
    • Re: runnin... Sameer Maggon
      • RE: ru... EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
        • RE... EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
          • ... Shalin Shekhar Mangar
            • ... EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)

Reply via email to