-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Could not unbind factory from JNDI at JbossIDE console
PostPosted: Sun Feb 04, 2007 6:45 am 
Newbie

Joined: Sun Nov 23, 2003 4:34 am
Posts: 6
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.