Setting up Jetty with IntelliJ IDEA

I wrote this in November of last year, I didn’t have time to share it :(.

  1. Download lastest Jetty stable version here
  2. Uncompress it (tar -zxvf jetty-distribution-9.1.0.v20131115.tar.gz)
  3. cd jetty-distribution-9.1.0.v20131115/
  4. Add the –module=jmx to start.ini archive (echo –module=jmx >> start.ini)
  5. Setup  the Default Jetty Server Local configuration
  6. Click configure and add the path to the folder you just uncompressed

  7. Click Ok and put the following:

    VM Options: -Dcom.sun.management.jmxremote= -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

    Jetty Server Settings: select etc/jetty-jmx.xml and etc/jetty.xml

  8. Now just add your new Jetty configuration, for that just click on the plus sign

    and search for Jetty Server Local

  9. Go to deployment tab and add your war(s) file(s)
    step5
  10. Add the path you want to use
  11. Add the name you want
    step7
  12. Click ok

That’s all, hope this is useful!

Advertisements

Some photos of my contry protests

I live in Venezuela, and we are in some political crisis. All the following photos were taken in a protest in Caracas the 3rd of March of this year.

Here are some of the messages I saw:

Frase

And with what money I’m going to carnivals?

Grafitti

More love please

Oscars

Nominees for treason:
* Nicolas Maduros / GNB
* Diosdado Cabello / FANB
* Rafael Ramírez / CNE
* Luisa Ortega Díaz / TSJ
* Elías Jagua

Saw

LETS PLAY A GAME!
CORRUPTS
KEEP STEALING WITH AN
INEPT PRESIDENT
AND
AN ANGRY VENEZUELA
IT IS NOT EASY

Accion Poetica

IF THERE ARE MORE SCHOOLS OF
MUSIC THAN MILITARY ONES IN
THE STREET, THERE WILL BE MORE
ARTISTS THAN ASSASINS

And this are panoramic photos I took:

Panoramic Photo Two

Panoramic Photo One

Recommended Pages

Hello, long time I don’t write, I have been really busy!

Here are some things I want to share:

  • I tried a new (for me)  javascript framework: AngularJS

    I have used Backbone.js and Knockout, you can check my post about them here. I gotta say this one is pretty good. The code is organized and you have some cool options like the directives. The only tricky part I found is the authenticating process. The problem is that AngularJS is intended for one page apps, but it can be solved. Here is how.

    You should try it !

  • If you like Python and programming, do Design of Computer Programs course in Udacity!  Here is the link. It is taught by Peter Norvig and it is pretty interesting.

See ya!