This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

but it is the same code that runs on tomcat. It looks like that the glassfish is ignoring the persistence.xml 's data connection because i modify the user and password to a wrong data and nothing happen.