You need a 'jndi.properties' file that points to JBoss' naming stuff. How
are you getting the bean in the first place?
On Fri, 30 Mar 2001, Burkard Endres wrote:
> Hi
>
> I have a problem getting a RemoteObject from a Handle.
> The Been is a stateful session Bean.
> The Handle has been stored in a HttpSession and the creation of the
> RemoteObject works fine.
> When getting the RemoteObject with
>
> Object objref = myHandel.getEJBObject();
> myRemote = (Remote)PortableRemoteObject.narrow(objref,Remote.class);
>
> I recieve a clientside Exception:
>
> Error: 500
> Location: /servlet/AccessPointServlet
> Internal Servlet Error:
>
> java.rmi.ServerException: Could not get EJBObject; nested exception is:
> javax.naming.NoInitialContextException: Need to specify class
> name in environment or system property, or as an applet parameter, or in
--
Dan Christopherson (danch)
nVisia Technical Architect (www.nvisia.com)
Opinions expressed are mine and do not neccessarily reflect any
position or opinion of nVISIA.
---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
-Eben Moglen
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user