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

Closed
hohwille opened this issue Oct 1, 2024 · 1 comment · Fixed by #725
Closed

Tomcat still not working (JAVA_HOME not set) #673

hohwille opened this issue Oct 1, 2024 · 1 comment · Fixed by #725
Assignees
Labels
bug Something isn't working environment EnvironmentCommandlet, env variables, path, etc. refined Issue in new state was discussed with the team and is clear 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 said 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
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Oct 1, 2024
@jan-vcapgemini jan-vcapgemini added the refined Issue in new state was discussed with the team and is clear label Oct 15, 2024
@hohwille hohwille added this to the release:2024.11.001 milestone Oct 28, 2024
hohwille added a commit to devonfw/ide-urls that referenced this issue Oct 29, 2024
@hohwille hohwille self-assigned this Oct 29, 2024
@hohwille hohwille moved this from 🆕 New to 🏗 In progress in IDEasy board Oct 29, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Oct 29, 2024
@hohwille
Copy link
Member Author

The main bug was in the dependencies.json file in ide-urls repository (see associated commit "fix dependencies.json for tomcat").

hohwille added a commit to hohwille/IDEasy that referenced this issue Oct 29, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in IDEasy board Oct 29, 2024
nmCapG pushed a commit to nmCapG/IDEasy that referenced this issue Oct 30, 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. refined Issue in new state was discussed with the team and is clear tomcat
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants