wail icon indicating copy to clipboard operation
wail copied to clipboard

Unable to Control Tomcat start/stop from Advanced UI

Open machawk1 opened this issue 12 years ago • 1 comments

machawk1 avatar Mar 20 '13 18:03 machawk1

Building from latest master (bd2d7f355735a2475e0379c157c14087ddf67f3c) and selecting the FIX button next to Heritrix in Advanced>Services caused "FIXING" to be displayed then the STATE value goes back to "X".

Visiting the Advanced>Heritrix tab then clicking the "Launch WebUI" button after this causes a browser being displayed saying it cannot connect. Repeated this URI in a different browser with the same result, so consider it verified that Heritrix is not starting.

Running directly from python (3.7.2) via python bundledApps\WAIL.py and clicking the FIX button for Heritrix reports:

WARNING: It's currently not possible to run Heritrix in background                                                                                               on Windows. It was just started minimized in a new Window                                                                                               and will be shut down as soon as you log off.                                                                                                                                                                                                                                                          Thu 06/11/2020 14:48:03.33 Starting heritrix                                                                                                            .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       .                                                                                                                                                       Starting Heritrix seems to have failed
--

I then tried to launch Heritrix directly:

cd C:\wail\bundledApps\heritrix-3.2.0\bin
heritrix -a lorem:ipsum

...and was told that another programing uses the port for the web interface. I ran resmon.exe from the Windows CLI (not PowerShell), opened Listening Ports and was shown that nothing is using that port:

8443

Explicitly sending the port flag to Heritrix via heritrix --port=8443 -a lorem:ipsum causes the script to return fairly quickly without any indication of success or failure.

For the record:

> java -version
java version "1.8.0_201
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) Client VM (build 25.201-b09, mixed mode)
> echo %PATH%
...;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;...

Windows 10.

TODO:

  • [ ] Verify the version bundled with macOS (I think it is currently 1.7)
  • [ ] Match it in Windows (for now). I tried to re-download it from Oracle but they require e-mail verification that is never sent.

machawk1 avatar Jun 11 '20 18:06 machawk1