tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tushar Govind Nimgade <>
Subject javax.naming.NamingException
Date Thu, 11 Oct 2001 06:07:12 GMT

I get the Error

javax.naming.NamingException: Cannot create resource instance

The reference that i set up in web.xml is 

              <description>Admin EJB</description>

I use the following code to create the bean instance 

	javax.naming.Context initContext ;
	IadminEJBHome home = null;
	IadminEJB bean = null;

	initContext = new javax.naming.InitialContext();
	home = (IadminEJBHome)initContext.lookup("java:comp/ejb/adminEJB");

Can i Know what change do i have to make 


View raw message