Thursday, February 28, 2013

Pengaturan JVM pada Apache Tomcat


Apache Tomcat adalah sebuah open source web server dan Java Servlet container yang dijalankan pada Java Virtual Machine (JVM).  Karena dijalankan pada JVM, performa Tomcat akan sangat dipengaruhi oleh JVM yang digunakan. Semakin bagus JVM yang digunakan, maka semakin bagus pula performa Tomcat. 

JVM sendiri merupakan virtual machine yang dapat menjalankan program Java. Adanya JVM ini didasarkan pada Java yang bersifat multi-platform, yakni dapat dijalankan pada berbagai platform, berbagai sistem operasi ataupun perangkat. Dengan demikian, program Java dapat dijalankan dimana pun asalkan JVM sudah terinstall

JVM yang sering kita gunakan adalah JDK atau JRE. Untuk mengetahui JDK/JRE yang terinstall pada komputer, langsung saja buka di Local Disk(C:) *Windows* Program Files >> Java. Pada folder tersebut akan terlihat JDK/JRE beserta versi yang sudah terinstall. Untuk optimasi performa Apache Tomcat sebaiknya menggunakan JVM versi terbaru. Sejauh ini versi terbaru adalah JRE 7.

Pengaturan JVM pada Apache Tomcat sebenarnya sangat mudah. Saya akan menjelaskan pengaturan pada sistem operasi Windows.  Kita hanya perlu menambahkan variabel pada System Environment Variables. Berikut langkah-langkahnya.

  • Buka System Properties >> Advanced, atau cukup ketik system environment pada kotak search.
  • Klik tombol Environment Variables
  • Copy JVM path yang akan digunakan. Untuk windows, buka C:\Program Files\Java. Pilih salah satu JVM kemudian copy path-nya. 





  • Tambahkan variabel baru bernama JRE_HOME jika Anda ingin menggunakan JRE. Jika Anda menggunakan JDK, set nama variabel menjadi JAVA_HOME. Paste path JVM pada kotak Variable value. Di sini saya menggunakan JRE 7. 

  • Tambahkan juga path tadi ke variabel Path
  • Buka batch file Tomcat (ekstensi file: .bat), edit JRE_HOME/JAVA_HOME dengan path yang sama dengan langkah sebelumnya 
  • Konfigurasi selesai

Performa sistem yang dijalankan pada Apache Tomcat memang sangat dipengaruhi oleh JVM yang digunakan. Untuk penjelasan lebih rinci mengenai setting konfigurasi pada Apache Tomcat bisa dilihat di http://www.mulesoft.com/understanding-apache-tomcat 
Semoga bermanfaat ^^
Read More

Tuesday, February 5, 2013

[CHORD] CN BLUE - More Than You (Na Geudae Boda)



Verse 1:
D
Meomchwobeorin sigan geu ane (geu ane)
Bm                              G
Utgo inneun nega boyeo ttatteutage nal anajumyeo
          Bm                          A
Saranghae saranghae naege soksagideon
G                         Bm                        A
You are my everything neon tteonatjiman


Chorus:
                   D                   F#m 
Na geudaeboda na geudaeboda
                       Bm
Nunmuri manha deo seulpeun geonga bwa
                   G                  F#m
Na geudaeboda na geudaeboda
                    G                           A
Deo geuriwo bonael suga eomna bwa
                 D                F#m 
Tto haru gago illyeoni gado
                      Bm
Geudaega dasi naegero olkka bwa
             G                 F#m
Itji motago nochi motago
                      G                        A
Babocheoreom ajik sarang hana bwa
Na geudaeboda


Verse 2:
D
Jogeumman deo hamkke haetdamyeon (geudaewa)
Bm                             
Jogeum deo useojwotdamyeon
G
Naesarang deo anajwotdamyeon
          Bm                          A
Saranghae saranghae i mam jeonhaetdamyeon
G                         Bm                        A
You are my everything neon tteonatjiman



Chorus:
                   D                   F#m 
Na geudaeboda na geudaeboda
                       Bm
Nunmuri manha deo seulpeun geonga bwa
                   G                  F#m
Na geudaeboda na geudaeboda
                    G                           A
Deo geuriwo bonael suga eomna bwa
                 D                F#m 
Tto haru gago illyeoni gado
                      Bm
Geudaega dasi naegero olkka bwa
             G                 F#m
Itji motago nochi motago
                      G                        A
Babocheoreom ajik sarang hana bwa
Na geudaeboda



                       D                        F#m 
Na geudaemankeum na geudaemankeum
                    Bm
Chakhaji anha na beoreul batna bwa
                       G                        F#m
Na geudaemankeum na geudaemankeum
                     G                            A
Motaejwoseo huhoeroman namna bwa
                        D                         F#m 
Nae nunmulmankeum nae apeummankeum
                          Bm
Deo haengbokhaejwo geugeomyeon doenikka
                 G                F#m
Saranghanikka saranghanikka
                      G                                A
Neo hanaman haengbokhamyeon doenikka
                        D
Geudae naboda


Check out my acoustic cover of this song on youtube  http://youtu.be/yaYCPHV1bk0 thanks :D

Read More

Sunday, January 6, 2013

Underrated

Underrate: to fail to understand how skilful, important, etc. someone or something is 
(Cambridge advance learner's dictionary)

Are you a talented/skilful person but nobody knows that? Nobody realized that? Then you are underrated. Haha. Yeah, there are so many underrated people/things in this world. If you can find them then it means that you are a type of person who care about everything around you, until the detail level of it.

When I find something underrated I feel like I'm the coolest person in the world, I don't know why lmao. It just feels like WOW I realized something that other people can not see. It's great, isn't it? Like one in a million. Otherwise, when people finally realized what I had realized before, I would feel bad. It's like I'm not cool anymore haha.

But what if you becomes an underrated person? That's the question.
Read More

Tuesday, December 25, 2012

[CHORD] MCFLY - Love is Easy


D
Do do do do do do
Bm
Do do do do do do
G          A      D
Do do do do do do

D                              Bm
Today I'm laughing the clouds away
                        G
I hear what the flowers say
A                   D
Drink every drop of rain

      D                      Bm
And I see places that I have been
                        G
In ways that I've never seen
   A                    D
My side of the grass is green

                         A
Oh, I can't believe that it's so simple
   G       A
It feels so natural to me

G           D                      A
If this is love then love is easy
           Bm       A          G
It's the easiest thing to do
              D                             A
If this is love, then loves completes me
              Bm                       A             G
Cause it feels like I've been missing you
                 D
A simple equation 
                      Bm                                A
With no complications, to leave you confused
             G
If this is love love love

A                G
Ooh it's the easiest thing to do

D
Do do do do do do
Bm
Do do do do do do
G          A      D
Do do do do do do
D                              Bm
Feel the way that I do
                        G
Do I turn the grey skies blue?
   A                    D
Make dirty streets look new?

And the birds sing 
                                      Bm
Tweedily tweet dee dee dee
                             G
Tweedily dee dee dee
                A                               D
And now I know exactly what they mean
 
                         A
Oh, I can't believe that it's so simple
   G       A
It feels so natural to me

G           D                      A
If this is love then love is easy
           Bm       A          G
It's the easiest thing to do
              D                             A
If this is love, then loves completes me
              Bm                       A             G
Cause it feels like I've been missing you
                 D
A simple equation 
                      Bm                                A
With no complications, to leave you confused
             G
If this is love love love

A                G
Ooh it's the easiest thing to do
D
Do do do do do do
Bm
Do do do do do do
G          A      D
Do do do do do do
D
Do do do do do do
Bm
Do do do do do do
G          A      D
Do do do do do do
D Woohoo woohoo woo Bm Woohoo woohoo woo G D Woohoo woohoohoohoo
G           D                      A
If this is love then love is easy
           Bm       A          G
It's the easiest thing to do
              D                             A
If this is love, then loves completes me
              Bm                       A             G
Cause it feels like I've been missing you
                 D
A simple equation 
                      Bm                                A
With no complications, to leave you confused
             G
If this is love love love

A                G
Ooh it's the easiest thing to do
D
Do do do do do do
Bm
Do do do do do do
G          A      D
Do do do do do do
D
Do do do do do do
Bm
Do do do do do do
G          A      D
Do do do do do do

*PS: This is different with the original version, this is for the high tone


Read More

Monday, December 24, 2012

[CHORD] MCFLY - She Left Me




Intro : G Bm C D

Verse 1:
G                          Bm                           C
She walked in and said she didn't wanna know 
       D
Anymore
G                   Bm                      C                  D
Before I could ask why she was gone out the door
Bm           Em Bm             Em
I didn't know, what I did wrong
       C                            D 
But now I just can't move on

Chorus:
               G
Since she left me
       Bm
She told me
         C
Don't worry
   D                             G
You'll be OK you don't need me
    Bm                      C    D
Believe me you'll be fine
       Bm                       Em
Then I knew what she meant
            Bm               Em
And it's not what she said
       C             D               G          Bm C D
Now I can't believe that she's gone  

Verse 2:
I tried calling her up on her phone
No one's there,
I've left messages after the tone...
Really?
Yeah man loads
I didn't know, what i did wrong
But now i just can't move on


Chorus:
Since she left me
She told me
Don't worry
You'll be OK you don't need me
Believe me you'll be fine
Then i knew what she meant
And it's not what she said
Now i can't believe that she's gone

Read More

[CHORD] JUNIEL - Bad Man


Verse 1:
Dm                                  Am            E                         Am
Chinhaetdeon chingudeuldo pihago geudaeman barabwatjyo
Dm                           Am            E                         Am
An haebon yorido nan baeugo geudaeman gidaryeotjyo
F                                      Am   F                                 Am
Geudaeneun cham motdwaetjyo geudaeneun cham nappeujyo
Dm                                    Am                  E                      Am
Geudaega wonhaneun geon mwodeunji nan da haesseonneunde
                 F       Cadd9       Am                    Bb
Haru jongil uldaga useotdaga michin geotcheoreom
          F                 Cadd9                E
Ireon nae moseupdo wonhan geongayo

Chorus:
                     Dm     G           C           
Geudaen dasin sarangeun haji marayo
Dm                   G    C
Neomu nappeun saraminikka
Dm       G         C          Dm              G    C
Nal beorin geu daegaro haengbokhaji marayo
      Dm                  G
Baby I don’t like you I don’t like you
C                 Dm       G      C
Dasi ondaedo naneun sirheoyo
       Dm                 G 
Baby I don’t like you I don’t like you
C                  Dm     G      Am  
Dora ondaedo naega sirheoyo

F                          E         Am      F                         E         Am
Geudaeneun cham motdoen saram geudaeneun cham nappeun saram

Verse 2:
Eojjeomyeon ireokedo apayo sangcheohana eomneunde
Eojjeomyeon ireokedo sseuryeoyo dogeul samkin geotcheoreom
Geudaeneun cham motdwaetjyo geudaeneun cham nappeujyo
Sunjinhan nae sarangi geureoke jaemiisseonnayo
Haru jongil yokhago miwohago ijeun geotcheoreom
Jakku geureolsurok nunmulman nayo

Chorus:
Geudaen dasin sarangeun haji marayo
Neomu nappeun saraminikka
Nal beorin geu daegaro haengbokhaji marayo
Baby i don’t like you i don’t like you
Dasi ondaedo naneun sirheoyo
Baby i don’t like you i don’t like you
Dora ondaedo naega sirheoyo

F                         C  Dm             E      Am
Dara dara dalkomhan sarangui soksagimdo
Dm    E                Am                C
Modu geojisingeol naman mollatjyo
F                                C                     Am
Ajik eoryeoseo naege haetdeon maldeureul
F                                      E
Mideotdeon ge huhoega doeyo

F                          E           Am   F                        E       Am
Geudaeneun cham motdwaetjyo geudaeneun cham nappeujyo
Dm                            Am        E             Am
Majimak gareuchyeojun sarangi nunmuringayo

Chorus:
Geudaebodan deo joheun saram mannaseo
Maeilmaeil utgo salgeyo
Meolliseo haengbokhan nal jikyeobomyeo sarayo
Baby i don’t like you i don’t like you
Dasi ondaedo naneun sirheoyo
Baby i don’t like you i don’t like you
Dora ondaedo naega sirheoyo

Dm G  C      Dm         G     C
Ah oh oh oh du su su du ru su
Dm  G       C  Dm     G      Am
Doraondaedo naega sirheoyo

F                           E         Am      F                        E          Am
Geudaeneun cham mot doen saram geudaeneun cham nappeun saram




*This is my own chord so it will probably sound a little bit weird :D but I hope you'll enjoy

PS: check out my acoustic cover of this song on  youtube juseyo~ http://www.youtube.com/watch?v=iWDuR2XHGj4

Read More

Saturday, December 22, 2012

Friday, December 21, 2012

Thursday, December 20, 2012

1:13 AM
It's been 2,5 years with my mates in Computer Science Department, unconsciously.

1:19 AM
I think I'm gonna miss them. For all the moments we've been through, I won't forget.

1:22 AM
I've been always wishing that we'll be doing great in the future. Aamiin.

1:23 AM
Wait, it's 20 - 12 - 2012 right? WOW (what is so wow?)


Read More