This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 225960 - javax.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
Summary: javax.naming.NoInitialContextException: Need to specify class name in environ...
Status: RESOLVED INCOMPLETE
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-11 04:17 UTC by Exceptions Reporter
Modified: 2014-07-07 18:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 198488


Attachments
stacktrace (1.45 KB, text/plain)
2013-02-11 04:17 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-02-11 04:17:21 UTC
This bug was originally marked as duplicate of bug 142899, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2.1 (Build 201210100934)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20
OS: Windows 7

User Comments:
GUEST: I don't know




Stacktrace: 
javax.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:662)
   at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
   at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:344)
   at javax.naming.InitialContext.getNameParser(InitialContext.java:499)
   at org.hibernate.util.NamingHelper.bind(NamingHelper.java:52)
   at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
Comment 1 Exceptions Reporter 2013-02-11 04:17:24 UTC
Created attachment 131214 [details]
stacktrace
Comment 2 Sergey Petrov 2013-02-12 19:10:07 UTC
can you provide hibernate config content?
Comment 3 Sergey Petrov 2014-07-07 18:09:29 UTC
Can't evaluate without response