[
https://issues.apache.org/jira/browse/NUTCH-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152612#comment-14152612
]
Nima Falaki commented on NUTCH-1859:
------------------------------------
One more thing, I noticed that when the end user forgets to include a number
after the -port argument, then a very unfriendly null pointer exception occurs
(This also occurs in NutchServer.java)
So what I did was include a message saying "Please include a port number when
using the -port argument" and I just defaulted to the default port of 8080.
I also included a message saying what port we are running the webapp on. This
is all in the 4k patch, which I just uploaded. I also included the
NutchUiServer in the log4j.properties.
What do you think? I could remove this if you do not like adding these
messages. Or I can include another message if you do not like my message.
> Make Nutch webapp port configurable
> -----------------------------------
>
> Key: NUTCH-1859
> URL: https://issues.apache.org/jira/browse/NUTCH-1859
> Project: Nutch
> Issue Type: Task
> Components: web gui
> Affects Versions: 2.2.1
> Reporter: Lewis John McGibbney
> Assignee: Nima Falaki
> Fix For: 2.3
>
> Attachments: NUTCH-1859.patch, NUTCH-1859.patch
>
>
> Right now the Nutch WebApp only runs on port 8080... which will undoubtedly
> have people running into conflicts all over the place.
> We should do the same as with nutchserver and make this configurable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)