# Deploy ear to GlassFish

**URL:** <https://discourse.hibernate.org/t/deploy-ear-to-glassfish/3579>\
**Category:** Hibernate ORM\
**Created:** [December 30, 2019, 6:49pm UTC](https://discourse.hibernate.org/t/deploy-ear-to-glassfish/3579 "2019-12-30T18:49:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![StanislavM](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/stanislavm/32/911_2.png) [@StanislavM](https://discourse.hibernate.org/u/StanislavM)\
**Post date:** [December 30, 2019, 6:49pm UTC](https://discourse.hibernate.org/t/deploy-ear-to-glassfish/3579/1 "2019-12-30T18:49:39Z")

</div>

Good day, everybody!  
I have one question.  
I try to deploy ear application using persistent.xml.  
But when I deploy I receive answer:  
Error occurred during deployment: Exception while preparing the app : [PersistenceUnit: NewPersistenceUnit] Unable to build Hibernate SessionFactory. Please see server.log for more details. Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method : javax.persistence.PersistenceException: [PersistenceUnit: NewPersistenceUnit] Unable to build Hibernate SessionFactory [PersistenceUnit: NewPersistenceUnit] Unable to build Hibernate SessionFactory Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method : javax.persistence.PersistenceException: [PersistenceUnit: NewPersistenceUnit] Unable to build Hibernate SessionFactory [PersistenceUnit: NewPersistenceUnit] Unable to build Hibernate SessionFactory

What does at mean?
