Windows xp ticket cache read causes crash
843810Jun 26 2006 — edited Mar 30 2008UPDATE Old title: Error calling function Protocol status: 1312 FormatMessage failed with 1815<br>
<br>
I have written an application that authenticates to kerberos using the KerberosLoginModule. It used to work fine on all OS�s. (Windows 98, 2k, xp and Linux tested.)<br>
Now I have upgraded my application to java 1.5 code. And it still works fine on all tested OS�s, except Windows xp. Wich in first case does not even throw�s a error. It just exits in javaws. If I run it manually with java -jar I get the following output:<br>
<br>
Error calling function Protocol status: 1312<br>
FormatMessage failed with 1815<br>
<br>
UPDATE:<br>
After some more messing around I found out it craches because it want to read the ticket cache.<br>
Now I can understand there are some differences in ticket cache versions, but then java could choose not to read the ticket, like under linux. But why does it crash under Windows XP if it only try's to read a ticket? <br>
Now I can only choose between no ticket cache at all on all os's, or to build in a Windows XP filter for the ticket cache option. <br>
Both not very good solutions. Why is this and how can it be solved?<br>
<br>
Message was edited by: <br>
mivz@spugium.net