arquillian/arquillian-container-wls — pull request #5 by VineetReynolds (2012-01-20 03:30:20+00:00)
Title: ARQ-725 Improved the performance of the WLS container integration.

Note - It would be preferable to verify the performance improvements arising out of this change. Observable improvement was around 40%.

Modified the codesource of the WebLogicJMXLibClassLoader. The codesource is now weblogic.jar instead of wljmxclient.jar to avoid setting up a SecurityManager which in turn reduces performance. This was the reason why having wlfullclient.jar in the system classpath improved performance. The use of wljmxclient.jar switches on a SecurityManager whose operations decrease performance when creating ShrinkWrap archives.

The JMX classloader is initalized on creation of a WebLogicJMXClient instance. Also, the connection to the JMX MBean Server is also created at object initialization. The WebLogicJMXClient is created only once, for an instance of the WebLogicContainer class. The state of the JVM modified by the WebLogicJMXClient is stashed for the duration of the method invocations on this class, and restored on completion.

The jmxLibPath property in arquillian.xml is no longer supported.