wood burning stoves*
The moose likes JBoss/WildFly and the fly likes javax.naming NoInitialContextException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "javax.naming NoInitialContextException" Watch "javax.naming NoInitialContextException" New topic

javax.naming NoInitialContextException

prakash ayyardevar

Joined: Dec 24, 2004
Posts: 1

My Environment:
App. Server = JBoss 4.0

I have created an Entity EJB bean and succesfully deployed in JBoss. But while trying to access the EJB through an client program there is an exception javax.naming.NoInitialContextException.

Files in the Deployed JAR file:
Cabin.class - Remote Interface
CabinBean.class - Bean Implementation
CabinHome.class - Home Interface
CabinPK.class - primary key files
ejb-jar.xml - Deployment Descriptor

Content of Deployment Descriptor:

<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">

This is the first bean, Cabin bean.

roles are described.



Thanks in Advance
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: javax.naming NoInitialContextException
Similar Threads
not bound?
Help me out for CMR deployment in CMP EJB......
Can�t find Home Interface.
Please help !!!!!!!!!!!!
Deployment Error : Class not found