RE: running Post jar from different server

2014-06-24 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Yes, the localhost is replaced to the right solr URL. The pasted one is test 
URL. 

After debug, we found the actual problem is the XML files path is not correct.

Thanks for all the support.

--Ravi

-Original Message-
From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] 
Sent: Monday, June 23, 2014 2:34 PM
To: solr-user@lucene.apache.org
Subject: Re: running Post jar from different server

You said that SQLDB and Solr are on different servers and that you are running 
post.jar from a network drive mapped to your SQLDB. If so, then why are you 
trying to post to localhost? That would resolve to the SQLDB host where Solr is 
not running.

Instead of using localhost in the -Durl part of your command line, use the full 
hostname or IP address of your Solr server.


On Mon, Jun 23, 2014 at 11:04 PM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) external.ravi.tamin...@us.bosch.com wrote:

 HI Anyone has the any reference for these type of execution..?

 -Original Message-
 From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) [mailto:
 external.ravi.tamin...@us.bosch.com]
 Sent: Friday, June 20, 2014 1:46 PM
 To: solr-user@lucene.apache.org
 Subject: RE: running Post jar from different server

 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
 




--
Regards,
Shalin Shekhar Mangar.


RE: running Post jar from different server

2014-06-23 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
HI Anyone has the any reference for these type of execution..?

-Original Message-
From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) 
[mailto:external.ravi.tamin...@us.bosch.com] 
Sent: Friday, June 20, 2014 1:46 PM
To: solr-user@lucene.apache.org
Subject: RE: running Post jar from different server

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



Re: running Post jar from different server

2014-06-23 Thread Shalin Shekhar Mangar
You said that SQLDB and Solr are on different servers and that you are
running post.jar from a network drive mapped to your SQLDB. If so, then why
are you trying to post to localhost? That would resolve to the SQLDB host
where Solr is not running.

Instead of using localhost in the -Durl part of your command line, use the
full hostname or IP address of your Solr server.


On Mon, Jun 23, 2014 at 11:04 PM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) external.ravi.tamin...@us.bosch.com wrote:

 HI Anyone has the any reference for these type of execution..?

 -Original Message-
 From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) [mailto:
 external.ravi.tamin...@us.bosch.com]
 Sent: Friday, June 20, 2014 1:46 PM
 To: solr-user@lucene.apache.org
 Subject: RE: running Post jar from different server

 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
 




-- 
Regards,
Shalin Shekhar Mangar.


RE: running Post jar from different server

2014-06-20 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
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



Re: running Post jar from different server

2014-06-19 Thread Sameer Maggon
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