when I open SessionFactory at JbossIDE console
I get follow exception.
WARN ModalContext org.hibernate.impl.SessionFactoryObjectFactory - Could not unbind factory from JNDI
Thank for in advace.
JBossIDE 2.0 BATA2
Full stack trace of any exception that occurs:
avax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
at javax.naming.InitialContext.unbind(InitialContext.java:375)
at org.hibernate.impl.SessionFactoryObjectFactory.removeInstance(SessionFactoryObjectFactory.java:116)
at org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:804)
at org.hibernate.console.ConsoleConfiguration.closeSessionFactory(ConsoleConfiguration.java:393)
at org.hibernate.console.ConsoleConfiguration.reset(ConsoleConfiguration.java:99)
at org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationWizard.createConsoleConfiguration(ConsoleConfigurationCreationWizard.java:140)
at org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationWizard.access$0(ConsoleConfigurationCreationWizard.java:126)
at org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationWizard$1.run(ConsoleConfigurationCreationWizard.java:98)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
|