User Tools

Site Tools


en:user_advanced:webswing_gli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user_advanced:webswing_gli [2024/06/25 02:07] – [When Tomcat is behind an Apache server] kjdonen:user_advanced:webswing_gli [2025/08/24 23:56] (current) – [When Tomcat is behind an Apache server] kjdon
Line 37: Line 37:
 Assuming your tomcat is running on port 8383: Assuming your tomcat is running on port 8383:
  
-If your apache is 2.4.47 or later:+If your apache is 2.4.47 or later: (httpd -v to determine version)
  
 <code> <code>
Line 48: Line 48:
  
     RewriteCond %{HTTP:Upgrade} =websocket     RewriteCond %{HTTP:Upgrade} =websocket
-    RewriteRule /(.*) ws://localhost:8383/$1 [P,L]+    RewriteRule /webswing-server/(.*) ws://localhost:8383/webswing-server/$1 [P,L]
  
     RewriteCond %{HTTP:Upgrade} !=websocket     RewriteCond %{HTTP:Upgrade} !=websocket
-    RewriteRule /(.*) http://localhost:8383/$1 [P,L]+    RewriteRule /webswing-server/(.*) http://localhost:8383/webswing-server/$1 [P,L]
  
 </code> </code>
Line 58: Line 58:
  
  
- 
-==== Debugging ==== 
  
  
Line 70: Line 68:
   *    * 
  
 +==== Debugging ====
 +
 +  * webswing log goes to packages/tomcat/bin/logs/webswing.log. GLI System.err goes there.
 +  * For GLI debugging - add -debug to the args for GathererProg in web/ext/websing/etc/webswing.config.in. Restart tomcat. A GLI log file will go to gli/webswing-users/<username>/debug<date>.txt. Note, this folder is also where the GLI config file is stored for the user - configWebswing.xml. GLI DebugStream.println goes here.
 +
 +
 +====Deactivating Webswing ====
 +
 +Webswing is used for web-based GLI, Phind and Collage classifiers. If you don't need any of these things you can deactivate webswing by running:
 +
 +<code>
 +cd <PATH-TO_GS3-INSTALL>/ext
 +./DEACTIVATE.sh webswing
 +</code>
 +
 +It can be re-activated by running ''./ACTIVATE.sh webswing'' in the same folder.
en/user_advanced/webswing_gli.1719281279.txt.gz · Last modified: 2024/06/25 02:07 by kjdon