denli8 opened a new issue, #5362:
URL: https://github.com/apache/hop/issues/5362

   ### 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
   ```shell
   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:
   ```shell
   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 
](https://hop.apache.org/manual/latest/hop-rest/index.html#_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
   ```shell
   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


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to