{"id":364,"date":"2006-08-24T09:25:56","date_gmt":"2006-08-24T16:25:56","guid":{"rendered":"http:\/\/www.gubatron.com\/blog\/2006\/08\/24\/compiling-json-rpc-for-jetty\/"},"modified":"2006-08-24T09:25:56","modified_gmt":"2006-08-24T16:25:56","slug":"compiling-json-rpc-for-jetty","status":"publish","type":"post","link":"https:\/\/www.gubatron.com\/blog\/compiling-json-rpc-for-jetty\/","title":{"rendered":"Compiling JSON-RPC for Jetty"},"content":{"rendered":"<p>The JSON-RPC ant build.xml file comes configured by default for Tomcat 5 or JBoss.<\/p>\n<p>But what about those of us who like JETTY?<\/p>\n<p>Don&#8217;t panic, <a href=\"http:\/\/s171599711.onlinehome.us\/mybloop-serve\/9vqpmmyjs5okxeiobowh5lpp9\/jetty%20sample.txt\">here&#8217;s the solution<\/a>, just add that section for jetty, and comment out the default section for tomcat.<\/p>\n<p>I used \/home\/angel\/bin\/jetty, cause that&#8217;s the path of my jetty install, replace that for the path of your Jetty install.<\/p>\n<p>Compile Requirements:<br \/>\n&#8211; JSDK<br \/>\n&#8211; Ant (http:\/\/ant.apache.org\/bindownload.cgi) [maybe you&#8217;re using maven&#8230; you&#8217;ll need ant for this one]<br \/>\n&#8211; Jetty (of course)<\/p>\n<p>Greetings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The JSON-RPC ant build.xml file comes configured by default for Tomcat 5 or JBoss. But what about those of us who like JETTY? Don&#8217;t panic, here&#8217;s the solution, just add that section for jetty, and comment out the default section for tomcat. I used \/home\/angel\/bin\/jetty, cause that&#8217;s the path of my jetty install, replace that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[15,30],"tags":[],"class_list":["post-364","post","type-post","status-publish","format-standard","hentry","category-code","category-geeklife"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Unzf-5S","jetpack-related-posts":[{"id":2936,"url":"https:\/\/www.gubatron.com\/blog\/jar-dependencies-if-you-plan-to-use-the-cling-upnp-library-in-your-android-project\/","url_meta":{"origin":364,"position":0},"title":"jar dependencies if you plan to use the cling UPnP library in your android project","author":"gubatron","date":"March 12, 2013","format":false,"excerpt":"This took me quite a while and lots of runtime errors, here are the minimum jars I needed to add to my project since now cling when used on android needs jetty, and damn jetty is broken into a thousand little jars for maximum modularity. These are the one jars\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":409,"url":"https:\/\/www.gubatron.com\/blog\/mi-escritorio-hoy\/","url_meta":{"origin":364,"position":1},"title":"Mi escritorio hoy","author":"gubatron","date":"December 7, 2006","format":false,"excerpt":"My office desk today Originally uploaded by Gubatron. 2 maquinas a veces no es suficiente. La primera de la izquierda tiene Ubuntu Edgy, ahi corro Eclipse para desarrollar en Java, y corro un servidor web de desarrollo (Jetty) - IBM T43 Es ahi tambien donde se desarrolla FrostWire cuando no\u2026","rel":"","context":"In &quot;Geeklife&quot;","block_context":{"text":"Geeklife","link":"https:\/\/www.gubatron.com\/blog\/category\/geeklife\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":556,"url":"https:\/\/www.gubatron.com\/blog\/python-how-to-debug-http-while-using-urllib2\/","url_meta":{"origin":364,"position":2},"title":"Python: How to debug HTTP while using urllib2","author":"gubatron","date":"July 27, 2007","format":false,"excerpt":"... import urllib import urllib2 #this is just to prepare a dynamic uri (this is actual code from a system I'm building, sorry) fileDownloadServiceURL = '%s:\/\/%s:%s\/%s' % (transport,server,port,pathToController) postData = {'URI':fileUri} #add more post stuff here postData = urllib.urlencode(postData) #make sure you encode your post data #add some custom headers\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3591,"url":"https:\/\/www.gubatron.com\/blog\/upgrading-your-wordpress-blog-to-php-7-0-on-ubuntu-xenial\/","url_meta":{"origin":364,"position":3},"title":"Upgrading your wordpress blog to PHP 7.0 on Ubuntu Xenial","author":"gubatron","date":"September 7, 2016","format":false,"excerpt":"If you're about to upgrade your Ubuntu server to 16.04 (Xenial) you might want to take advantage of the new PHP 7.0 which is as fast or more than Facebook's HHVM, or perhaps during the upgrade process a few things may have broken and perhaps that's why you're here Make\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.gubatron.com\/blog\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4017,"url":"https:\/\/www.gubatron.com\/blog\/4017\/","url_meta":{"origin":364,"position":4},"title":"Mass delete Github Workflow Run Logs with this script","author":"gubatron","date":"February 27, 2023","format":false,"excerpt":"Github workflow doesn't allow mass deletion of Workflow Action run logs, it takes 2 clicks to delete each run log. If you wanted to delete hundreds of these, the only way is to script something. Luckily you can do so using the gh Github Command Line Tool and some json\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-27-at-8.50.39-AM.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4129,"url":"https:\/\/www.gubatron.com\/blog\/introducing-uninews-a-universal-news-scraper-in-rust\/","url_meta":{"origin":364,"position":5},"title":"Introducing Uninews: A Universal News Scraper in Rust","author":"gubatron","date":"February 17, 2025","format":false,"excerpt":"The internet is overflowing with news, but extracting clean, readable content from articles can be a tedious task. Whether you're aggregating news for personal consumption, research, or AI training, automating this process is a must. Enter Uninews, a powerful, lightweight, and efficient Rust-based news scraper that simplifies content extraction and\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2025\/02\/gubatron_Logo_for_Uninews_a_universal_news_scraper_command_li_4f376071-18e3-400e-9644-8efc878465e4_3.png?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2025\/02\/gubatron_Logo_for_Uninews_a_universal_news_scraper_command_li_4f376071-18e3-400e-9644-8efc878465e4_3.png?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2025\/02\/gubatron_Logo_for_Uninews_a_universal_news_scraper_command_li_4f376071-18e3-400e-9644-8efc878465e4_3.png?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2025\/02\/gubatron_Logo_for_Uninews_a_universal_news_scraper_command_li_4f376071-18e3-400e-9644-8efc878465e4_3.png?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/comments?post=364"}],"version-history":[{"count":0,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/364\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/media?parent=364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/categories?post=364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/tags?post=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}