To start Tomcat 10 I am using startup.bat
, which then opens another terminal window and I will be able to see logs in that terminal screen. But I don't want another terminal window, I want the server to run in the existing terminal window.
Asked
Active
Viewed 178 times
0
-
Does this answer your question? [How to start Tomcat with output on console in Linux?](https://stackoverflow.com/questions/14010448/how-to-start-tomcat-with-output-on-console-in-linux) (replace `.sh` with `.bat`, of course) – Olaf Kock Mar 17 '22 at 10:44
-
yeah something like that but I need Windows Specific Solution ! 'coz Windows does not have `tail command. – D_Gamer Mar 17 '22 at 11:01
-
There is no need for tail. In fact, the answer mentions specifically that you don't need it – Olaf Kock Mar 18 '22 at 05:36
-
The Answer says that if I were to run tomcat Server in backgroud then the Output will be stored in catalina.out file and inorder to see the output I will have to use tail -f to read as well as follow the changes in that file. So, I'll need something like tail to continuously read that log file. – D_Gamer Mar 18 '22 at 05:57
-
The answer contains more than you need. `catalina.bat run` is all you need, and it will show the output in the current terminal. Simply ignore the part after _"instead of"_ – Olaf Kock Mar 18 '22 at 07:43
-
just `cataline.bat run` will open a new terminal window. I have tried. I dont want that Extra Terminal Window. – D_Gamer Mar 18 '22 at 11:50