sebastian-nagel commented on pull request #691:
URL: https://github.com/apache/nutch/pull/691#issuecomment-925304439


   Hi @lewismc! Sorry, it took longer to get back...
   
   Finally found, why server and webapp didn't work (`docker prune` didn't 
help):
   - the environment variables `SERVER_HOST`, `SERVER_PORT` and `WEBAPP_PORT` 
were defined but empty
   - after some trial I've discovered that [ARG instructions must be within the 
FROM block they are used 
in](https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact).
 After moving the ARG lines into the right places (aebf682) I was able to start 
the server. Could you verify this solution?
   
   Another point: after the webapp was moved into separate repository (see 
NUTCH-2886), it needs to be installed separately in the Dockerfile. Right now 
it fails with:
   ```
   ==> /var/log/supervisord/nutchwebapp_stderr.log <==
   Error: Could not find or load main class webapp
   Caused by: java.lang.ClassNotFoundException: webapp
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@nutch.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to