[tor-bugs] #13089 [Onionoo]: use an embedded web server/servlet engine for Onionoo

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 22 20:56:47 UTC 2014


#13089: use an embedded web server/servlet engine for Onionoo
-----------------------------+-----------------
     Reporter:  iwakeh       |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  minor        |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------

Comment (by iwakeh):

 A first embedded jetty and an all-in-one jar for the backend.

 The command lines (prerequisite is having the jar/war in the current
 directory):
 *  {{{java -Xmx4096M -jar onionoo-1.1.1.jar }}} starts the backend.
 *  {{{java -Xmx4096M -jar dist/onionoo-1.1.1.war}}} starts the web server
 (port 8080).

 (Memory settings should be adjusted appropriately.)

 The jetty configuration is {{{etc/onionoo-jetty.xml}}}.

 {{{ant releasejar}}} and {{{ant war}}} will create versioned archives in
 directory 'dist'.


 Please review the attached patch.
 (No hurry; I won't have much time during the next days anyway.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13089#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list