• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

command line reindexer on linux

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to run the command line reindexer on a linux box, where the Bash shell is default.

<rest of full path from root dir>/jforum_war.ear/jforum.war/tools/bin> ./LuceneCommandLineReindexer.sh --path=<rest of full path from root dir>/jforum_war.ear/jforum.war --recreateindex --type=message --firstPostId=1 --lastPostId=100

The java class is not found: //LuceneCommandLineReindexer/sh

What am I doing wrong? Why am I trying to invoke the shell script as if it were a java file? Sorry, in advance, for this stupid question.

v2.1.8

-Ben
[originally posted on jforum.net by bwfrieds]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Disregard this question. My system admin modified the shell script. He added a line he should not have. Sorry to everyone.
[originally posted on jforum.net by bwfrieds]
 
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic