Just an update to the issue below in case anyone else runs into it.
As our company's firewall does not allow us to connect to remote CVS
ports (as in GF's source repository) I use Permio Premium Agent, which
intercepts the communications from cvs.exe and redirects them through a
SOCKS gateway.
I don't understand the details, but keytool.exe connects to the network
to do some security checks and for some reason when the keytool.exe
process is shutting down, an access violation exception occurs in a DDL
belonging to Permio Premium Agent.
#Exit code '-1073741819' (0xC0000005) corresponds to access violation
exception
Two work-arounds:
1. Uninstall Permio Premium Agent when installing GlassFish.
or
2. Install an older version instead (e-Border seems to work for me).
HTH,
Dies
Dies Koper wrote:
> Hello Kedar, Shinya,
>
> Thank you for your replies.
>
> I only have the firewall that comes with Windows XP, and adding the
> keytool to its list of exceptions did not help.
>
> Obviously this problem is not easy to reproduce on another machine. Is
> there a way for me to find out why keytool is returning exit code
> -1073741819?
>
> I also tried debugging KeyTool (remote debugging using -Jxxx) but it
> seems to run fine. The problem must be in the executable that kicks the
> VM for it and returns its exit code, or the ProcessBuilder which passes
> the keytool.exe's exit code to GlassFish..
> Any idea how I can debug this?
>
> Thanks,
> Dies
>
> glassfish_at_javadesktop.org wrote:
>> Hi,
>>
>> I have a Windows XP SP2, Japanese here and successfully setting up
>> cluster using beta2 build. So it doesn't look like Japanese Windows
>> is causing any problem here. When keytool is called, it tries to
>> access network so in my environment, I needed to configure personal
>> firewall installed in XP to allow that connection but nothing else
>> was specially done. Hope this information somehow helps.
>>
>> thanks, Shinya [Message sent by forum member 'ogino' (ogino)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=223207