We are getting security principal as "system" by default from the ejb container rather than null.
The ejb is created in a onMessage function of a queue listener.
This is posing a security exception when we are trying to look up a remote bean as we do not have password for user name "system" of the remote weblogic server.
The application server used is weblogic server 6.1 sp4.
Strangely the same problem is not occuring in weblogic 6.1 sp2.
Pls let me know if any one of you have faced a similar problem.