Closed
Description
Apache Hop version?
2.14.0
Java version?
openjdk version "17.0.15" 2025-04-15 OpenJDK Runtime Environment (build 17.0.15+6-alpine-r0) OpenJDK 64-Bit Server VM (build 17.0.15+6-alpine-r0, mixed mode, sharing)
Operating system
Linux
What happened?
the docker deploye method (https://hop.apache.org/tech-manual/latest/docker-container.html):
I need a long-lived container , so do it like this
docker run -it --rm \
--user root \
--env HOP_SERVER_USER=admin \
--env HOP_SERVER_PASS=admin \
--env HOP_SERVER_SHUTDOWNPORT=8080 \
--env HOP_SERVER_PORT=8180 \
--env HOP_SERVER_HOSTNAME=0.0.0.0 \
-p 8180:8180 \
-p 8080:8080 \
--name my-hop-server-container \
apache/hop:latest
the logs:
2025/05/26 13:25:49 - Running the entrypoint script with PID 7
2025/05/26 13:25:49 - Not creating a project or environment in the container
2025/05/26 13:25:49 - Writing a hop-server config file to /tmp/hop-server.xml
2025/05/26 13:25:49 - Starting a hop-server on port 8180
2025/05/26 13:25:55 - HopServer - Enabling project 'default'
2025/05/26 13:25:55 - HopServer - Installing timer to purge stale objects after 1440 minutes.
2025/05/26 13:25:55 - HopServer - Created listener for webserver @ address : 0.0.0.0:8180
and the base url like this:
/hop/api/v1/
and open browser,input address:http://192.168.211.100:8180/hop/api/v1; but error occurred
HTTP ERROR 404 Not Found
URI: /hop/api/v1
STATUS: 404
MESSAGE: Not Found
SERVLET: org.apache.hop.www.GetRootServlet-749ad37c
Powered by Jetty:// 9.4.41.v20210516
the question is :
how to enable the rest .
Issue Priority
Priority: 3
Issue Component
Component: API