I am new to EJBs and JRun. I have created a couple of simple, (i.e. almost empty), beans using JBuilder's EJB wizard. I have deployed these beans to JRun. According to the server the deploy was successful. I have spent days working through various problems trying to access these beans. My latest problem seems to be security related. I can lookup my bean's home interface and retrieve it successfully. When I call create, however, I get the following exception. javax.naming.AuthenticationException: Unknown user mphelps javax.naming.AuthenticationException: Unknown user mphelps at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC all.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at allaire.ejipt.Ejipt_Stub._getNamingContext(Unknown Source) at allaire.ejipt.ContextFactory.getInitialContext(ContextFactory.java:110) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246) at javax.naming.InitialContext.init(InitialContext.java:222) at javax.naming.InitialContext.(InitialContext.java:198) at SampleDataServlet.service(SampleDataServlet.java:83) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) at allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34 ) at allaire.jrun.servlet.Invoker.service(Invoker.java:84) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav a:88) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330) at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107) at allaire.jrun.ThreadPool.run(ThreadPool.java:272) at allaire.jrun.WorkerThread.run(WorkerThread.java:75) I am authenticating as mphelps with the proper password using the properties that are passed to the InitialContext constructor. I have added mphelps to user.properties as described in the manual. Global.properties is configured to use the property file authentication mechanism as well. See the attached user.properties, global.properties, and the servlet code which is acting as the client. What am I doing wrong? Do I have to authenticate before accessing any bean? Security at that level is not important to me in this application. Mark Phelps Software Technology Group [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
