Get url mapper working on jboss.
Fixed some warnings
Fixed some warnings