You probably need to change the JNDI properties, and specify the security credentials there. I'm not sure where they are in Orion, however. I have been searching for those myself /:( Ernst Pedro Garcia Lopez wrote: > > Hi, > > I have tested several JMS examples in Orion and all works fine. My only > problem is that I must always use the admin user. > If I log as another user this exception occcurs: > > Any idea ? > -- I am looking for an specific permission in principals.xml but I only > found the Administration permission-- > > Thank you in advance. > ------------------------------------------------------------------------------------ > > D:\apps\orion\demo\jms\jmspub>java -classpath ../../../orion.jar;. > examples.jms. > topic.TopicSend > Exception in thread "main" java.lang.SecurityException: Not allowed to > look up j > ava:comp/ResourceFinder > at com.evermind.server.rmi.a6.es(JAX) > at com.evermind.server.rmi.RMIServer.es(JAX, Compiled Code) > at com.evermind.server.rmi.RMIContext.lookup(JAX) > at com.evermind.server.administration.LazyResourceFinder.es(JAX) > > at > com.evermind.server.administration.LazyResourceFinder.getLocation(JAX > ) > at com.evermind.server.Application.ahs(JAX, Compiled Code) > at > com.evermind.server.ApplicationClientInitialContextFactory.getInitial > Context(JAX) > at > javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6 > 72) > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250 > ) > at javax.naming.InitialContext.init(InitialContext.java:226) > at javax.naming.InitialContext.<init>(InitialContext.java:182) > at examples.jms.topic.TopicSend.main(TopicSend.java:77) -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ
begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:[EMAIL PROTECTED] title:Java Architect fn:Ernst de Haan end:vcard