tomcat working, changed producer/consumer implmentations