java process slow on windows local system account
<p>A third party web app I am using will generate a hookable event under certain situations. The hook can launch any Windows process, and I wrote a Web Service app (in Java) that does some things based on the event that was fired. I wrapped the Java app in a Batch file to set the path and some other things since it is exec'ing in the background.</p>

<p>The Windows BAT file works just fine if I run it from a Windows command prompt. The Web Services get called and everything is cool. But when it is exec'ed from the hook, it is as if it is  given the lowest possible priority for a process - I can see in Task Manager it is running, but it never can complete the HTTPS handshake to the Web Service I am calling. I know this because I put in a lot of logging to see what is going on when it is exec'ed. No exceptions are thrown, and from the log messages, it is spending all its time trying to establish the HTTPS connection. And yes, I turned off the Windows firewall. I wrote my own Trust Manager, so it not trying to do cert validation.</p>

<p>It is running on the SYSTEM account, which makes me think the problem has something to do with that since it works fine from my own account. It is not accessing any Windows network resources.</p>

<p>The Web Service code I am using is Apache Axis 1.6.</p>

<p>I do not have access to the third party app's code. </p>

<p>Any ideas? </p>

<p>Thanks</p>
