I have a tomcat instance(5.5) that connects to a weblogic server 11. It obtains an initial context through JNDI using the weblogic administration account. It then makes calls on EJBs. Both are on the same machine.
In one network environment the calls work without problems. When I move to another network environment the EJB calls fail with the error : [Security:090398]Invalid Subject: principals=[weblogic, Administrators].
I don't understand what is the cause of the error. I have another local application that also connects to weblogic with the same JNDI settings in both network environments without any problem.
I have been trying to figure out if there is any difference in how both client applications connect to weblogic, but the process is the same. Get an initial context from JNDI with the same credentials.