Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6068847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:45:31+00:00 2026-05-23T09:45:31+00:00

I am new to Solr and when I was indexing xml document in my

  • 0

I am new to Solr and when I was indexing xml document in my solr, then I got this error.

C:\apache-solr-3.2.0\example\exampledocs>java -jar post.jar *.xml
SimplePostTool: version 1.3
SimplePostTool: POSTing files to http://localhost:8983/solr/update..
SimplePostTool: POSTing file gb18030-example.xml
SimplePostTool: FATAL: IOException while posting data: java.net.ConnectException
: Connection refused: connect

then I realized that my port number in my case is 7788 for localhost so I did this:-

java -Durl=localhost:7788/solr/update -jar post.jar solr.xml

then I am getting this error

C:\apache-solr-3.2.0\example\exampledocs>java -Durl=localhost:7788/solr/update -
jar post.jar *.xml
SimplePostTool: version 1.3
SimplePostTool: FATAL: System Property 'url' is not a valid URL: null

Any suggestions will be appreciated..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:45:32+00:00Added an answer on May 23, 2026 at 9:45 am

    I am not sure that -Durl is understood by the post.jar (hope it is) but if that parameter is honoured, then it should probably be used like this:

    java -Durl=http://localhost:7788/solr/update -jar post.jar solr.xml
    

    ah, just found this reference, which suggests that the parameter is honoured:
    http://borort.wordpress.com/2008/11/19/solr-postjar-post-to-deferent-solr-port-other-than-8983/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm considering the use of Apache solr for indexing data in a new project.
I'm new to Apache Solr, and I want to use it for indexing pdf
I'm new to Solr. Using Solr 1.4.1 I have a schema.xml that have this
ok, I'm totally new to SOLR and Lucene, but have got Solr running out-of-the-box
I am completely new to java and I am using Solr search server. It
I'm new to SOLR and was doing some research on this technology. I now
I've written a custom log4j appender that creates a new Solr document for each
i am new to Apache SOLR..n i am learning how to create documents in
brand new on this forum and this is my first post! At work we're
I'm new to Apache Solr. Even after reading the documentation part, I'm finding it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.