replace java role
fix jetty role