dev@glassfish.java.net

Re: Slow Startup time for Glassfish and asadmin on Mac

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Mon, 14 Jun 2010 21:56:48 -0700

I don't know of any reason why we should keep the call at all.

Do you?

C:\gf\v3>java com.elf.io.TreeGrep -f getCanonicalHost
C:\gf\v3\admin\jmx-remote\server\src\main\java\com\sun\enterprise\admin\jmx\remote\server\rmi\JmxServiceUrlFactory.java
C:\gf\v3\admin\server-mgmt\src\main\java\com\sun\enterprise\admin\servermgmt\KeystoreManager.java
C:\gf\v3\common\amx-j2ee-impl\src\main\java\org\glassfish\admin\amx\impl\j2ee\JVMImpl.java
C:\gf\v3\common\common-util\src\main\java\com\sun\enterprise\universal\glassfish\ASenvPropertyReader.java
C:\gf\v3\common\common-util\src\main\java\com\sun\enterprise\universal\glassfish\GFLauncherUtils.java
C:\gf\v3\common\common-util\src\main\java\com\sun\enterprise\util\net\NetUtils.java
C:\gf\v3\common\mbeanserver\src\main\java\org\glassfish\admin\mbeanserver\Util.java
C:\gf\v3\core\kernel\src\main\java\com\sun\enterprise\v3\server\SystemTasks.java
C:\gf\v3\deployment\admin\src\main\java\org\glassfish\deployment\admin\GetHostAndPortCommand.java
C:\gf\v3\webservices\jsr109-impl\src\main\java\com\sun\enterprise\webservice\WsTxUtils.java
C:\gf\v3\webservices\jsr109-impl\src\main\java\org\glassfish\webservices\WsUtil.java
Time: 627532 msec



On 6/14/2010 8:42 PM, Ludovic Champenois wrote:
> On 6/14/10 8:29 PM, Byron Nevins wrote:
>> I don't have a Mac. Run a simple java program on your Mac --
>>
>> Note that AFAIK the code is > 3 years old and has been tested
>> constantly -- every start-domain exercises it.
> Maybe the new Oracle Network setup or vpn setup now triggers the slow
> call -sometimes-?
> I got this very slow startup while in France on the Sun SWAN network a
> few weeks ago, doing internal demos...I blamed it on the network
> setup...For sure, it is not easy to reproduce, so thanks for the
> simple test. If it is this call, we might have to find a workaround to
> this call.
> Ludo
>> Every asadmin command runs this code too.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188