tags:

views:

111

answers:

1

Messages: 33

[Post New]posted Today 5:33:25 AM Quote Edit [Up] Hi,

I have a EJB deployed in WAS server which I am trying to call from a POJO code running in another instance of WAS server. For security I have same custom registry in both the servers and have created and synchronized LTPA keys in both the servers. But when I try to find the JNDI context I am getting com.ibm.websphere.security.auth.WSLoginFailedException . I am right now sending the username/password of the profile in the security principal and security credentials. Can anyone please help me in this as its very urgent and I am not able to find anyway to solve this.

Thanks

A: 

Do the security realms specified in the two cells match?

Does your POJO work if used in the same cell as the EJB?

djna
Yes, the security realm of both the cells match and I am now able do the login.
Kshitij Gupta
Please have a look at a new problem i ran into at http://stackoverflow.com/questions/1424877/jndi-lookup-when-two-was-profile-share-same-machine and please give any resolution.
Kshitij Gupta