Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Hop-Web built from source - CLI tools don't work #3323

Closed
kranskydog opened this issue Oct 26, 2023 · 1 comment
Closed

[Bug]: Hop-Web built from source - CLI tools don't work #3323

kranskydog opened this issue Oct 26, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@kranskydog
Copy link

kranskydog commented Oct 26, 2023

Apache Hop version?

2.6.0

Java version?

openjdk version "17.0.8" 2023-07-18 LTS OpenJDK Runtime Environment (Red_Hat-17.0.8.0.7-2.0.1) (build 17.0.8+7-LTS) OpenJDK 64-Bit Server VM (Red_Hat-17.0.8.0.7-2.0.1) (build 17.0.8+7-LTS, mixed mode, sharing)

Operating system

Linux

What happened?

If you build and deploy Hop-Web per https://hop.apache.org/dev-manual/latest/hopweb/index.html, it includes scripts for the CLI tools. However, those tools don't work.

[apache@apchop01 webapps]$ pwd
/u01/app/tomcat/admin/webapps
[apache@apchop01 webapps]$ ls
docs examples hop hop.war host-manager manager ROOT
[apache@apchop01 webapps]$ ls ROOT
asf-logo-wide.svg bg-middle.png bg-upper.png index.jsp tomcat.css WEB-INF
bg-button.png bg-nav.png favicon.ico RELEASE-NOTES.txt tomcat.svg
[apache@apchop01 webapps]$ ls hop
config hop-encrypt.sh hop-import.bat hop-search.bat hop-server.xml LICENSE pwd translator.xml
hop-conf.bat hop-gui.bat hop-import.sh hop-search.sh hop-translator.bat licenses README.txt WEB-INF
hop-conf.sh hop-gui.sh hop-run.bat hop-server.bat hop-translator.sh META-INF rwt-resources
hop-encrypt.bat hop.ico hop-run.sh hop-server.sh index.jsp NOTICE static
[apache@apchop01 webapps]$ sh hop/hop-run.sh -h
Error: Could not find or load main class org.apache.hop.run.HopRun
Caused by: java.lang.ClassNotFoundException: org.apache.hop.run.HopRun
[apache@apchop01 webapps]$

to start with, they are setting CLASSPATH to the wrong place

Issue Priority

Priority: 3

Issue Component

Component: Hop Web

@bamaer
Copy link
Contributor

bamaer commented Oct 28, 2023

good catch, the docs should be made in sync with what happens in Dockerfile.web

@bamaer bamaer self-assigned this Oct 28, 2023
@hansva hansva added this to the 2.8 milestone Nov 22, 2023
@hansva hansva closed this as completed in be38c3c Nov 22, 2023
hansva added a commit that referenced this issue Nov 22, 2023
instructions to update hop script classpaths #3323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants