Hi.  My name is Kevin Slote and I am looking to report a bug that I think I
found in the Tika JAX-RS server.
I was not really sure where I should report this.  
In the source code for TikaServerCli.java in the svn repository, there is
this block of code

      int port = DEFAULT_PORT;

      if (line.hasOption("port")) {
        port = Integer.valueOf(line.getOptionValue("port"));
      }

which lets the user specify the port from the command line.  But a couple of
lines down there is this line that sets the post number.

    sf.setAddress("http://localhost:"; + MsgServerClient.DEFAULT_PORT + "/");

I am pretty sure it should read port instead of DEFAULT_PORT.  This explains
a bug that I experienced where I could not get it to run on any port except
port 9998 (the default port).



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Tika-JAX-RS-server-port-bug-tp4090355.html
Sent from the Apache Tika - Development mailing list archive at Nabble.com.

Reply via email to