Dire performace getting initial context from web start app.
I've run into what can only be described as a dire performance problem.
A web start loaded stand alone client application.
(Note: I am not using the built in web start client container! it has too many issues, looks like a demo, that was never finished, Sorry Tim).
The client app works with poor performance from the debugger (About 2 seconds).
Yet when loaded with Web Start, this bit of code
<br /> System.setProperty("org.omg.CORBA.ORBInitialHost", "starjar-partech");<br /> initial = new InitialContext();<br />
Takes over 17 seconds!
With the local cpu flat out, NO network io, and no disk io.
One has to wonder WTF is InitialContext doing?
Tested with jars from Glassfish v2 b35 and v2 b25 all running Java 6
The web start app Is signed with full access.
Also I have to nuke the security manager to preven orb puking on it's feet.
<br /> System.setSecurityManager(null);<br />
I'll put together a test set tomorrow, which reproduces the problem. Althought I suspect it will be a waste of time and fall on dead ears.