-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ian Hlavats
committed
Jun 5, 2013
1 parent
8f02b9d
commit cafd7f8
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cafd7f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have down loaded the example code but not able to run example on Glassfish 3.1 having following error.Can you please tell what's the matter.
[pool-2-thread-1] null org.hibernate.impl.SessionFactoryImpl - closing
WARNING: Exception while dispatching an event
org.hibernate.HibernateException: could not destruct listeners
cafd7f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actual error is as follows
SEVERE: 14761 [pool-11-thread-1] null org.hibernate.impl.SessionFactoryImpl - closing
WARNING: Exception while dispatching an event
org.hibernate.HibernateException: could not destruct listeners
at org.hibernate.event.EventListeners.destroyListeners(EventListeners.java:226)
at org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:980)
at org.hibernate.ejb.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:126)
at org.glassfish.persistence.jpa.JPADeployer.closeEMFs(JPADeployer.java:405)
at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:396)
at org.glassfish.kernel.event.EventsImpl$1.run(EventsImpl.java:120)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to load resource [org.hibernate.event.EventListeners$2], because it has not yet been started, or was already stopped
cafd7f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Thanks for downloading the sample project!
I created an issue for you:
#1
Can you please attach the complete GlassFish log file to this issue?
I will take a look and get back to you.
Regards,
Ian