Archive for the ‘Uncategorized’ Category

Google Code shut down a year ago, and recently also their “Migrate to Github” feature was disabled. Because I have/had also a old project hosted (and some people where asking about it recently), I had to find a way on how to migrate the project to Github anyway. I did these steps # download the svn […]

How to override a @NamedCache Api Binding in your Tests in PlayFramework 2.x

The Play-Framework 2.x provides helpers to work with forms. While the markup created by those helpers works ok for many simple projects, more advanced projects require a specific way on how to style form fields. The Play-Framework documentation shows how to create a custom FieldConstructor to override the way a form-field is rendered. This works […]

Packt Publishing, known for their Ebooks and Video courses on programming and programming related stuff, did a survey on whats nice and shiny in our industry at the moment. To allow everyone access to the most important stuff at a reasonable price, they created a special offer: Every eBook and Video is now available for $10! […]

Today I had a weird problem with one of my lxc-containers on a Ubuntu 14.04 Host.. for no reason, the container changed its IP address.. This lead to the other containers not finding the container in question under its IP anymore. I then tried to manually set the IP of the container in /etc/network/interfaces like […]

My Spring Security Facelets/JSF2 Tag library has its own chapter in the new book of Décio Heinzelmann Luckow in his new Book Programação Java para a Web

Describes installing of StarCraft 2 from DVD on a Linux System (Ubuntu) with Wine and how to cope with the problems involved.

Recently, I was looking for a way, to validate Email-Addresses with JSF. I came accross this blog post on java.net: Validating an Email Address in JSF It shows, how this would have been done in the old JSF 1.1/1.2 ways… But we’re in 2010 and do it now the following way: 1 2 3 4 […]

Mikael Gueck has posted some tips for Spring to JavaEE6 migration. Quite nice in my opinion, especially the one for JPA N+1 ! Thanks Mikael! And merry xmas everyone!

If you’re trying out JavaMail with JavaEE (6) on Glassfish and get a ClassCastException like these SEVERE: java.lang.ClassCastException: com.sun.enterprise.deployment.MailConfiguration cannot be cast to javax.mail.Session javax.faces.el.EvaluationException: java.lang.ClassCastException: com.sun.enterprise.deployment.MailConfiguration cannot be cast to javax.mail.Session at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at javax.faces.component.UICommand.broadcast(UICommand.java:315) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:774) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1266) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1522) … when trying […]


top