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)
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
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
Even though IDEasy said the launch was successful, it actually failed (as it was started in the background).
The actual bug is that
JAVA_HOMEdoes not seem to be set for the process context.Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide tomcat runRelated/Dependent Issues
#36
#659
Comments/Hints:
Do we need to export it in the
tomcatwrapper script?Or is the problem that I introduced this
tomcatwrapper script and we need to callcatalina.batorcatalina.shdirectly?Affected version: