Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by wildfly-ci
, 1 year ago
Error performing unbind [modelSessionFactory]
via GitHub by wildfly-ci
, 1 year ago
Error performing unbind [modelSessionFactory]
via Stack Overflow by userx
, 5 months ago
javax.naming.NamingException: WFLYNAM0020: Could not resolve service service jboss.naming.context.java.modelSessionFactory	at org.jboss.as.naming.WritableServiceBasedNamingStore.unbind(WritableServiceBasedNamingStore.java:136)	at org.jboss.as.naming.NamingContext.unbind(NamingContext.java:318)	at org.jboss.as.naming.InitialContext$DefaultInitialContext.unbind(InitialContext.java:280)	at javax.naming.InitialContext.unbind(InitialContext.java:445)	at javax.naming.InitialContext.unbind(InitialContext.java:445)	at org.hibernate.engine.jndi.internal.JndiServiceImpl.unbind(JndiServiceImpl.java:210)	at org.hibernate.internal.SessionFactoryRegistry.removeSessionFactory(SessionFactoryRegistry.java:124)	at org.hibernate.internal.SessionFactoryImpl.close(SessionFactoryImpl.java:1077)	at org.hibernate.jpa.internal.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:339)	at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:220)	at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2$1.run(PersistenceUnitServiceImpl.java:206)	at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)	at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$2.run(PersistenceUnitServiceImpl.java:239)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)	at org.jboss.threads.JBossThread.run(JBossThread.java:320)