-
Couldn't load subscription status.
- Fork 45
Labels
bugSomething isn't workingSomething isn't workingenvironmentEnvironmentCommandlet, env variables, path, etc.EnvironmentCommandlet, env variables, path, etc.tomcatwindowsspecific for Microsoft Windows OSspecific for Microsoft Windows OS
Milestone
Description
Expected behavior
As a IDEasy user, I want to run tomcat easily so that I can test my app in tomcat.
Actual behavior
$ ide tomcat run
Configured version is 8u412b08 but does not match version to install [11,22) - need to use different version from software repository.
Using CATALINA_HOME: D:\projects\_ide\software\default\tomcat\tomcat\10.1.30
Unable to start as CATALINA_HOME contains a colon (:) character
Step 'ide (tomcat,run)' failed: com.devonfw.tools.ide.cli.CliProcessException: Running command 'D:\projects\demo9\software\tomcat\bin\catalina.sh' using bash with arguments 'run' failed with exit code 1!
1 step(s) failed out of 2 steps.
Running command 'D:\projects\demo9\software\tomcat\bin\catalina.sh' using bash with arguments 'run' failed with exit code 1!
Error: IDEasy failed with exit code 1
Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide tomcat run
Related/Dependent Issues
- #593: #651: #564: #439: fixed bugs, refactored tool dependencies #652
- #439: refactor tool dependencies and tomcat #515
- #36: Tool Commandlet for tomcat #250
Comments/Hints:
This worked once. Was that because before we were using catalina.bat on Windows? I assume so.
That was my fault since I suggested for simplification that we always return catalina.sh instead of adding OS detection and complicated stuff. Or we did not add CATALINA_HOME environment variable before.
Anyhow, if we define CATALINA_HOME and use the bash script catalina.sh it seems we need to transform the PATH to MINGW syntax.
Affected version:
- 2024.09.002-beta (will not be fixed before release we create today)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenvironmentEnvironmentCommandlet, env variables, path, etc.EnvironmentCommandlet, env variables, path, etc.tomcatwindowsspecific for Microsoft Windows OSspecific for Microsoft Windows OS
Type
Projects
Status
✅ Done