I have built the application with both
Tomcat and Glassfish and I have two different problems with each.
When I run the application using GlassFish I get this Error: Could not connect to admin listener for GlassFish server 3.1.2. Verify that NetBeans can make outbound connections to localhost 4848.
When using TomCat I can get the application to run (with nothing added to my database) but I get this error in the log:
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space