I have a class which has an init-method defined in xml
Problem solved after restarting the tomcat and apache, the tomcat was caching older version of the app.