0 Replies Latest reply on Mar 19, 2006 9:58 AM by brian byrne

    Slow java application?

    brian byrne Newbie

      Hi,
      Im running "lucene" connected to "pdf box" to create a small and simple document management system.

      Lucene indexs a folder full of pdf files, it works fine if I just run it as a command line java application. However Im trying to call this application from my web app (which is running in jboss), when I do this the indexing takes aproximately six times longer.

      The web app is pretty simple, there are some jsps and one servlet that passes users input to a java class (ie the pdf folder location and the the location where the index should be placed). This java class this as stuff a strig array to another class that handles the indexing.

      can anyone tell me what i'm probably doing wrong?

      thanks in advance for any help!