-
1. Re: Problem: invocation.getCredential() returns empty value in interceptor
kobiianko Aug 15, 2010 8:22 AM (in response to kobiianko)I think I found something,
I got 2 jndi.propertis files in my server path, one at the conf directory and the second in my EAR at the deploy directory(downloaded and used by the client).
I think this messed up the server, alougth the files are with the same jndi properies in them.
when I removed the file in the ear it look like it's working fine.
-
2. Re: Problem: invocation.getCredential() returns empty value in interceptor
kobiianko Aug 17, 2010 8:10 AM (in response to kobiianko)it wasn't it.
-
3. Re: Problem: invocation.getCredential() returns empty value in interceptor
kobiianko Aug 19, 2010 7:58 AM (in response to kobiianko)any one with ideas?
-
4. Re: Problem: invocation.getCredential() returns empty value in interceptor
kobiianko Aug 23, 2010 9:39 AM (in response to kobiianko)More info:
I have created a small test client, with ejb call. it never fails.
the problem is when calling an EJB with in the server proccess.
In the calling side (the client) I can see the principal and credencials are currect, but on the interceptor side (the server) I'm missing the credentials (or both pririncipal and credentials). some how it's getting lost on the way.
Tried to create new InitialContex for each EJB call, did not help.
any ideas?
-
5. Re: Problem: invocation.getCredential() returns empty value in interceptor
kobiianko Aug 25, 2010 4:57 AM (in response to kobiianko)one more update:
I think I have focused the problem to EJB calls made from the webServer(tomcat, via servlet) to the appServer.
we got some logic running on a servlet that is configured as:
<load-on-startup>1</load-on-startup>
we are using the tomcat that is embedded in jboss so it's the same process