For all the users of the Worthhosting hosting services

December 4th, 2011

Hi,

This weekend I’ve migrated all the websites/mail/databases from web01 to a new freshly installed virtual server on the Leaseweb VPS cloud. If for some reason your mail login account doesnt work. Drop me a note on twitter,mail and ill give you a fresh newly created imap/pop3 password. The other services (webhosting and database) are still accessible through the old credentials. Remember this is a free service only for friends! Do not spam me with requests etc..



Quickstart Heroku Java project with Apache CXF / Spring

November 17th, 2011

Introduction

Since it cost me a lot of time messing around with maven, the embedded Jetty server and the Maven appassembler plugin i’ve created a quickstart example project for personal usage of migrating my Apache CXF java projects to the Heroku Java cloud. I use Apache CXF quite often when it comes to building proxies (middleware) between 2 different platforms or API which both have their own limitations, look at salesforce.com and SAP or the Google API for example. Perhaps this might come in handy for any other person/company who wants to start migrating his Java projects to the Cloud with Heroku. Fork it here:

https://github.com/erikkramer/heroku-spring-cxf-quickstart

 

Explanation

 

  • - Fork the git repository
  • - To use the project in Eclipse use: ‘mvn eclipse:eclipse’, and then import it.
  • - Build the project: ‘mvn install’, result should be something like this:
 [INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Fri Nov 18 15:48:32 CET 2011
[INFO] Final Memory: 28M/214M
[INFO] ------------------------------------------------------------------------ 
  • - add the REPO env var to your shell: ‘export REPO=~/.m2/repository’
  • - now try to start the project locally: ‘sh target/bin/webapp’, result should be something like this below, you webapp should now be running from the embedded Jetty server on port 8080. Check: localhost:8080/
 Nov 18, 2011 3:54:58 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /geocoderService
INFO  - ContextLoader              - Root WebApplicationContext: initialization completed in 1356 ms
INFO  - log                        - started o.e.j.w.WebAppContext{/,file:/home/ekramer/workspaceWebCRMWaypoint/heroku-spring-cxf-quickstart/src/main/webapp/}
Nov 18, 2011 3:54:58 PM org.apache.cxf.transport.servlet.CXFServlet updateContext
INFO: Load the bus with application context
INFO  - BusApplicationContext      - Refreshing org.apache.cxf.bus.spring.BusApplicationContext@19299f5: startup date [Fri Nov 18 15:54:58 CET 2011]; parent: Root WebApplicationContext
INFO  - DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d8417c: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@691dee
Nov 18, 2011 3:54:58 PM org.apache.cxf.transport.servlet.AbstractCXFServlet replaceDestinationFactory
INFO: Servlet transport factory already registered 
INFO  - log                        - Started SelectChannelConnector@0.0.0.0:8080 
  • - Create an app on the Heroku cedar stack: ‘heroku create -s cedar’
    - Push the project to the created app and start it on the Heroku Cedar stack: ‘git push heroku master’
  • - Your example app should be running now if you see something like this:

 

       [INFO] ------------------------------------------------------------------------
       [INFO] BUILD SUCCESS
       [INFO] ------------------------------------------------------------------------
       [INFO] Total time: 8.877s
       [INFO] Finished at: Fri Nov 18 15:11:28 UTC 2011
       [INFO] Final Memory: 15M/490M
       [INFO] ------------------------------------------------------------------------
-----> Discovering process types
       Procfile declares types -> web
-----> Compiled slug size is 8.7MB
-----> Launching... done, v13
       freezing-mountain-8097.herokuapp.com deployed to Heroku

To git@heroku.com:freezing-mountain-8097.git
   8a155ca..bada9b1  master -> master


For more information on how to use GIT on Heroku visit the developer pages on the www.heroku.com, they have pretty decent turorials on how to use it! Good luck! If you have questions just tweet me on @erikkramer



From Friesland to Amsterdam!

June 1st, 2011

Hey there!

My lovely girlfriend and I recently moved to Amsterdam. Still doing a bit of construction now and then, but the house is getting pretty cool already! Just like we want it too be :-)

spacer

 

 

 

 

 

 

 

 

 

 



Zakelijkrijden.nl website online!

April 28th, 2010

Sinds vandaag is onze nieuwe website online! Neem alvast een kijkje door naar www.zakelijkrijden.nl te surfen.

Zakelijk Rijden biedt een platform voor ritten registraties door middel van een SaaS applicatie voor web & smartphones.



27 Years old

March 12th, 2010

My first day at a customer at age 27, getting old :(

Anyway, upcoming saturday party at my place!



Office 2.0

December 11th, 2009

mv office 1.0 /dev/null

create office 2.0

spacer

:x

done! :-)



Prettige kerstdagen :-)

December 11th, 2009

spacer



Nieuwe muis! Magic Mouse

November 20th, 2009

Super!

Nieuwe muis gekregen!

De… Apple Magic Mouse!

Ben d’r helemaal blij mee.

spacer



Handige OSX apps.

October 29th, 2009

Klant van me wijsde me op een aantal handige tools voor OSX, misschien is het oud nieuws maar ik post het toch maar even

  • Quicksilver (Spotlight, maar dan sneller en beter!).
  • ClickToFlash (Auto disable Flash in Safari, klik op het icon om de Flash te bekijken in de website


Bedenker http protocol verontschuldigd zich

October 15th, 2009

www.spitsnieuws.nl/archives/tech/2009/10/internetuitvinder_sorry_voor_i.html

Excuses aanvaard!

Als nu Microsoft zich ook nog even hun excuus aanbied voor al hun k*t producten zoals Internet Explorer.



« Older Entries