How To activate the EntityManagerFactory on Glassfish server

To activate the EntityManagerFactory, the application needs to be disabled and enabled when database connection is stable:

./asadmin disable myapp
./asadmin enable myapp

Comments