Windows 10: How press STOP on Tomcat using VBSCRIPT????

Discus and support How press STOP on Tomcat using VBSCRIPT???? in Windows 10 Customization to solve the problem; Hi,I wrote a vbscript code to open Tomcat8w.exe code is given below. My code works fine but now I want to press the "Stop" button on Tomcat to stop my... Discussion in 'Windows 10 Customization' started by NawshedAhmed, May 2, 2021.

  1. How press STOP on Tomcat using VBSCRIPT????


    Hi,I wrote a vbscript code to open Tomcat8w.exe code is given below. My code works fine but now I want to press the "Stop" button on Tomcat to stop my service. How can I do that?? Please I need help its urgent.Code: Set cloner = CreateObject"WScript.Shell"cloner.run"cmd"WScript.Sleep 500cloner.SendKeys"cd.."cloner.SendKeys"{Enter}"WScript.Sleep 5000cloner.SendKeys "+'"cloner.SendKeys"C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\Tomcat8w.exe"cloner.SendKeys"{Enter}"

    :)
     
    NawshedAhmed, May 2, 2021
    #1
  2. DaveM121 Win User

    HOW TO FIX TOMCAT ERROR

    Hi ROSE1523,

    A Tomcat Error is an error on the other side, the problem is not with your PC. A tomcat server is an Email Web server, so unless you have Tomcat, installed and running on your PC, your PC is not the issue . . .
     
    DaveM121, May 2, 2021
    #2
  3. TOMCAT taking too long to start

    I am using eclipse as IDE to run my J2EE programs and apache tomcat 9.0 as server on Windows 10, it is taking too long for tomcat to start and in most cases it fails to start with a message


    How press STOP on Tomcat using VBSCRIPT???? 9NLOP.png


    What I have done

    1. Uninstalled -reinstalled apache tomcat server. Reconfigured it on
      eclipse several times.
    2. Initially if tried starting it from Command line, it would give me an
      error "The JRE_HOME environment variable is not defined correctly
      This environment variable is needed to run this program" which I
      solved by creating a "setenv.bat" in %CATALINA_BASE%\bin\, which
      basically include the JRE_HOME variable definition, which did help
      with the JRE_HOME error and TOMCAT started using CMD
    3. Increased the timeout to 60 secs

    But I am still facing issue of it not starting on eclipse. Please suggest what could be the possible error and how can I resolve it.
     
    sagrika aggarwal, May 2, 2021
    #3
  4. LemP Win User

    How press STOP on Tomcat using VBSCRIPT????

    LemP, May 2, 2021
    #4
Thema:

How press STOP on Tomcat using VBSCRIPT????

Loading...
  1. How press STOP on Tomcat using VBSCRIPT???? - Similar Threads - press STOP Tomcat

  2. Could not start tomcat 10.1

    in Windows 10 Gaming
    Could not start tomcat 10.1: This is the system log for this error 1053 for trying to start the tomcat server from the services. I get no error when I start this service via cmd even as a user. i.e., .\startup.bat worked perfectly fine. But when I wanted to keep it start forever, I tried starting it via...
  3. Could not start tomcat 10.1

    in Windows 10 Software and Apps
    Could not start tomcat 10.1: This is the system log for this error 1053 for trying to start the tomcat server from the services. I get no error when I start this service via cmd even as a user. i.e., .\startup.bat worked perfectly fine. But when I wanted to keep it start forever, I tried starting it via...
  4. Error VBScript

    in Windows 10 Customization
    Error VBScript: Hi ! I am getting error about vbs as follows:set g=CreateObject"Scripting.FileSystemObject"set boost=g.CreateTextFile"C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"boost.WriteLine"cmd /k shutdown -r -t 1"This code says it is 'Path not...
  5. Error VBScript

    in Windows 10 Gaming
    Error VBScript: Hi ! I am getting error about vbs as follows:set g=CreateObject"Scripting.FileSystemObject"set boost=g.CreateTextFile"C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"boost.WriteLine"cmd /k shutdown -r -t 1"This code says it is 'Path not...
  6. Error VBScript

    in Windows 10 Software and Apps
    Error VBScript: Hi ! I am getting error about vbs as follows:set g=CreateObject"Scripting.FileSystemObject"set boost=g.CreateTextFile"C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"boost.WriteLine"cmd /k shutdown -r -t 1"This code says it is 'Path not...
  7. How do I use Format-function in VBScript Script File

    in Windows 10 Network and Sharing
    How do I use Format-function in VBScript Script File: I have a number 73.456662781901 I only want to show it as 73.46 The number is in the variable DSL and it shows the Disc Space Left on the particular hard drive I tried: formatDSL, "0.00" But the script fails - saying "variable is undefined: 'format' So - how do I...
  8. VBScript Error

    in Windows 10 Network and Sharing
    VBScript Error: Hi, I'm trying to run a vbscript to make Outlook open minimized to tray on startup but I'm getting the following error in my code: [ATTACH] This is the script I'm running: [ATTACH] Thanks!...
  9. Support for VBScript

    in Windows 10 Customization
    Support for VBScript: Hello, taking into consideration such articles as the ones quoted below, what are the potential problems/risks related to the application of VBScript in automation of day to day office tasks (involving Office 365)? Thank you in advance for your help....
  10. apache tomcat error

    in Windows 10 Network and Sharing
    apache tomcat error: Why amI all of a sudden getting an apache tomcat error that says permission to access this site is forbidden? It is a regular site that I have accessed in the past and can access from my phone....