1 Reply Latest reply on May 16, 2013 6:26 AM by bondchan921

    Principal missing after send a JMS message in Jboss5

    waterzhang

      Hi,all

      After I send a JMS message,I found the Principal missing in the next SessionBean,when I call the sessionContext.getCallerPrincipal(),it has been the 'anonymous',

      We use the JAAS to verify the login.It is accured after Our project upgraded from jboss4.2.3.GA to 5.1.0.GA,and the jboss-messaging version is 1.4.3.GA.

      I also found some similar problem with me like https://community.jboss.org/message/564510#564510 and http://community.jboss.org/message/142089#142089

      http://community.jboss.org/thread/110937?tstart=0 .

      Is upgrade the jboss-messaging to 2.0 the only solution?I found that HornetQ(same as the  JBoss Messaging 2.0.0) is more different with jboss-messaging 1.x.

      I am not sure the risk after upgrade the jboss-messaging,so have another solutions to solve the problem?