Hi there, I'm lost ... I have a jboss client programm which (for its lifetime) requires a queue (temp) to handle replies to messages the client may send ..
my code works .. but jboss fails with a nice JMSSecurityException that IMHO shouldnt be possible AT ALL. [snip] // which one i use doesnt matter ... all fail at the same point QueueConnectionFactory qcf = (QueueConnectionFactory) iniCtx.lookup("RMIConnectionFactory"); conn = qcf.createQueueConnection(jmsUser, jmsPassword); this.messageQueue = (Queue) iniCtx.lookup(jmsQueue); session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE); this.replyQueue = session.createTemporaryQueue(); QueueReceiver recv = session.createReceiver(replyQueue); <-- *boom* [/snip] Following on my Client: javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination: JMS_TQ1 In Jboss: WARN [SecurityManager] No SecurityMetadadata was available for JMS_TQ1 adding default security conf Ok, now either tell me how to create security metadata for a temp queue or how to apply the security meta data of my CURRENT session (the one that creates the temp queue) to the temp queue it creates? I guess what happens is that my connection which uses its own username/password doesnt fit the default security conf (guest/guest). Note: I really dont want to create a FIXED Queue that i can use for replies. Greetings, Thomas ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user