admin@glassfish.java.net

Re: admin infrastructure arch review ...

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Wed, 16 Jul 2008 14:46:47 -0700

Comments:


1) 4.1.2

#1

"The launcher process must not exit."
change to:
The launcher process must not exit unless the user enters a ^C blah blah
blah..."

Currently ^C will stop DAS as well as CLI

----------------------


#3

How to implement this is a big question mark. The CLI::Launcher process
must be able to receive a message to shutdown from the outside world.
Adding a server socket listening on a port is easy. But configuring,
handling port conflicts, making sure GUI knows the port number
and security makes it suddenly NOT easy.

----------------------

412-2

The commandline is still logged in V3.
No need for parsing domain.xml -- just look in the logfile!

E.g.:
Jul 15, 2008 11:43:09 PM
com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
C:\jdk\bin\java.exe
-cp
D:/glassfish/modules/glassfish-10.0-SNAPSHOT.jar
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=D:\glassfish\domains\domain1/logs/jvm.log
-Xmx512m
-client
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.net.ssl.trustStore=D:\glassfish\domains\domain1/config/cacerts.jks
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=D:\glassfish\domains\domain1/config/keystore.jks
-Djava.security.policy=D:\glassfish\domains\domain1/config/server.policy
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Djava.security.auth.login.config=D:\glassfish\domains\domain1/config/login.conf
-Djava.endorsed.dirs=D:\glassfish/lib/endorsed
-Djava.ext.dirs=C:\jdk/lib/ext;C:\jdk/jre/lib/ext;D:\glassfish\domains\domain1/lib/ext;D:\glassfish\javadb/lib
com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname
domain1
-instancename
server
-verbose
true
-debug
false
-domaindir
D:/glassfish/domains/domain1


----------------------

412-3

Recommend explicitly pointing out that the ORDER of setting
env-variables is critical. Namely,
they should be added to the HashMap in the reverse order of precedence.
The values that "stick" will be the ones of highest precedence
automatically.


General Comment: Since we will now be using the OS's environment, why
don't we change the concept of System Property? We change EVERY call of

System.getProperty(String)

in the V3 codebase to

GFSystem.getProperty(String)

which is implemented like so...

public static String GFSystem.getProperty(String s)
{
    String val = System.getProperty(s);
   
    if(val != null)
        return val;

    return System.getenv(s);
}



Kedar Mhaswade wrote:

> Just to let you know that I have received lot of feedback on the
> infrastructure
> review at asarch. People have a lot to comment on.
>
> I have also received feedback comments in the e-mail. I will be
> incorporating
> those comments in a day or two.
>
> Regards,
>
> Kedar
>
> (PS - the review is not yet complete)
>
> Lloyd Chambers wrote:
>
>> Accessible via:
>>
>> https://glassfish.dev.java.net/nonav/v3/admin/planning/prelude/admin-infra-prelude.html
>>
>>
>> ..............................................
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish team, admin
>>
>>
>>
>>
>> On Jul 14, 2008, at 11:09 AM, Lloyd Chambers wrote:
>>
>>> Kedar's spec is now checked into cvs; I keep a "v3-docs" dir on my
>>> machine; 'www/v3/admin/planning' is the checkout-out hierarchy.
>>>
>>> /v3-docs/www/v3/admin/planning
>>>
>>> /cvs/glassfish/www/v3/admin/planning/prelude/admin-infra-prelude.html,v
>>> <-- admin-infra-prelude.html
>>>
>>> *To check out:*
>>> cvs -d :pserver:YOUR_LOGIN_at_cvs.dev.java.net
>>> <mailto:YOUR_LOGIN_at_cvs.dev.java.net>:/cvs co www/v3
>>>
>>>
>>> ... Now I have to find out how can make glassfish.dev.java.net
>>> expose www/v3 as an accessible URL.
>>>
>>> Lloyd
>>> ..............................................
>>> Lloyd Chambers
>>> lloyd.chambers_at_sun.com <mailto:lloyd.chambers_at_sun.com>
>>> GlassFish team, admin
>>>
>>>
>>>
>>>
>>> On Jul 13, 2008, at 5:36 PM, Kedar Mhaswade wrote:
>>>
>>>>
>>>> I have finally been able to post a "ready for review" draft of the
>>>> functional
>>>> specification to the GlassFish Wiki.
>>>>
>>>> In my view, it is more or less complete description of what we have
>>>> to do
>>>> for GlassFish Prelude. Of course, there will be adjustments based
>>>> on what we
>>>> "can" possibly do. That's what review is for.
>>>>
>>>> The arch review of this spec is scheduled for Wednesday, July 16 at
>>>> 11.00
>>>> a.m. Pacific. There are two things remaining from the spec but I am
>>>> sure
>>>> the review can progress before they are "complete". They are:
>>>>
>>>> 1- accurate list of asadmin commands. This seeds test specification,
>>>> documentation and all other teams. It's a must that we agree on
>>>> these.
>>>>
>>>> 2- association of tasks and owners. This is an activity I'll do in
>>>> conjunction with Nazrul and others.
>>>>
>>>> Here is the document which tomorrow's discussion revolves around:
>>>> http://wiki.glassfish.java.net/attach/V3FunctionalSpecs/admin-infra-prelude.html
>>>>
>>>>
>>>> There are some surprises in the spec and I am sure there is lot to
>>>> discuss.
>>>> I expect many of us to be available tomorrow morning at 10.00 a.m.
>>>> Pacific
>>>> for the discussion.
>>>>
>>>> Regards,
>>>> Kedar
>>>> km_at_dev.java.net
>>>>
>>>>
>>>> Sreenivas Munnangi wrote:
>>>>
>>>>> Hi,
>>>>> Following agenda for next admin iTeam meeting includes discussion
>>>>> on admin strategy for JMX and Security. Pl. come preperaed to
>>>>> discuss.
>>>>> thanks
>>>>> sreeni
>>>>> Agenda for 14jul2008
>>>>> 1. Review of action items
>>>>> 2. V3 Prelude deliverables - Milestone 1 (14jul08), SCF (04aug08)
>>>>> 3. Discussion on overall admin strategy for JMX, security
>>>>> 4. Update by QA, Documentation and Development Teams
>>>>> 5. Customer Interaction, Arch. update if any
>>>>> 6. Open Mic.
>>>>> Meeting Details:
>>>>> Mondays 10-11 AM Pacific
>>>>> (866)545-5227 (US Toll-Free)
>>>>> (865)673-6950 (International-Caller Paid)
>>>>> Access Code: 3535518#
>>>>> Email aliases: admin_at_glassfish.dev.java.net
>>>>> http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishV2AdminMeetings
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.