[jboss-user] [JBoss Messaging] - Re: SecurityException - Wrong credentials

2008-01-17 Thread mskonda
Sorry for delaying in reply. Well, checkout your application-policy configuration in conf/login-config.xml. There should be a JmsXARealm policy defined - however this MCF is being created with guest credentials by default. However, this is not the actual solution, you could change these

[jboss-user] [JBoss Messaging] - Re: SecurityException - Wrong credentials

2008-01-17 Thread cornhoolio22
Yes you're right. I found your solution in the post: http://www.jboss.org/index.html?module=bbop=viewtopict=114799 I took some time since I understood it, but now it works... Thx! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120884#4120884 Reply to the

[jboss-user] [JBoss Messaging] - Re: SecurityException - Wrong credentials

2008-01-16 Thread mskonda
To me it seems you are accessing the JBM without appropriate credentials (obviously!). That is, as you haven't mentioned about the store where you are reading the credentials, I am assuming you are going with default setup that comes with JBM installation. If this is the case, then the

[jboss-user] [JBoss Messaging] - Re: SecurityException - Wrong credentials

2008-01-16 Thread cornhoolio22
First, thanks for your answer. But I can say that the user and his roles are in the messaging-users.properties and messaging-roles.properties files. The complete program works, when I use the XAConnection and get a non-transacted session: | QueueSession session =