javax.naming.NoInitialContextException installing jpa-hibernate features in Fuse
Issue
- We are getting the
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
exception while deploying the Hibernate OSGI bundle in Fuse.
- The Bundle does not seem to deploy properly, but the Hibernate Persistence Context seems to be created properly.
- What could cause the above exception ?
Environment
- Red Hat JBoss Fuse
- 6.x
- Hibernate/JPA
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
