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

Tomcat still not working (JAVA_HOME not set) #673

Open
hohwille opened this issue Oct 1, 2024 · 0 comments
Open

Tomcat still not working (JAVA_HOME not set) #673

hohwille opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working environment EnvironmentCommandlet, env variables, path, etc. tomcat

Comments

@hohwille
Copy link
Member

hohwille commented Oct 1, 2024

Expected behavior

As a IDEasy user, I want to be able to install and run tomcat so that I can use it for my legacy WAR app.

Actual behavior

$ ide tomcat run
Tomcat is running at localhost on HTTP port 8080:
http://localhost:8080
Successfully completed ide (tomcat,run)
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program

Even though IDEasy sayed the launch was successful, it actually failed (as it was started in the background).
The actual bug is that JAVA_HOME does not seem to be set for the process context.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. ide tomcat run

Related/Dependent Issues

#36
#659

Comments/Hints:

Do we need to export it in the tomcat wrapper script?
Or is the problem that I introduced this tomcat wrapper script and we need to call catalina.bat or catalina.sh directly?

Affected version:

  • OS: Windows
  • IDEasy: 2024.09.002-beta
@hohwille hohwille added bug Something isn't working tomcat environment EnvironmentCommandlet, env variables, path, etc. labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working environment EnvironmentCommandlet, env variables, path, etc. tomcat
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant