dev@glassfish.java.net

Re: anyone else see this?

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Thu, 07 May 2009 11:41:27 -0700

I reverted your changes and looks like you committed your fix right after.
Did you run QL to verify your changes?


Byron Nevins wrote:
> It is fixed now...
>
>
> Jane Young wrote:
>
>> This behavior is also showing up in QL tests.
>> See:
>> http://gf-hudson.sfbay.sun.com/hudson/job/gf-trunk-build-continuous/1013/console
>>
>>
>> I think it's related to Byron's commit, svn r27134.
>>
>> https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/admin/cli/src/main/java/com/sun/enterprise/admin/cli/AsadminMain.java?view=diff&rev=27134&p1=trunk/v3/admin/cli/src/main/java/com/sun/enterprise/admin/cli/AsadminMain.java&p2=trunk/v3/admin/cli/src/main/java/com/sun/enterprise/admin/cli/AsadminMain.java&r1=27133&r2=27134
>>
>>
>> Byron, please fix this ASAP. QL tests are failing with your changes.
>>
>> Jane
>>
>>
>> Hong Zhang wrote:
>>
>>> I updated my workspace this morning and I am seeing some really
>>> weird behavior now (when I updated my workspace yesterday morning,
>>> things were fine).
>>>
>>> 1. After I installed server, I started domain which is ok:
>>>
>>> hzhang_at_nmr:~/files/sun/glassfishv3/glassfish/bin$ ./asadmin
>>> start-domain
>>> Name of the domain started: [domain1] and
>>> its location:
>>> [/home/hzhang/files/sun/glassfishv3/glassfish/domains/domain1].
>>> Admin port for the domain: [4848].
>>>
>>> 2. Then I tried to deploy a simple application, after it complained
>>> the deploy is invalid command, it seems to try to deploy the same
>>> application twice and telling me the --force option should be used.
>>>
>>> hzhang_at_nmr:~/files/sun/glassfishv3/glassfish/bin$ ./asadmin deploy
>>> ~/deployment/apps/hello1.war
>>> CLI001 Invalid Command, deploy.
>>> remote failure: Error during deployment : Application hello1 already
>>> registered, please use deploy --force=true to redeploy :
>>> java.lang.Exception: Application h ello1 already registered,
>>> please use deploy --force=true to redeploy
>>> Command deploy failed.
>>>
>>> 3. Now I tried to list components, it again complained the command
>>> is invalid command and then list the application twice.
>>>
>>> hzhang_at_nmr:~/files/sun/glassfishv3/glassfish/bin$ ./asadmin
>>> list-components
>>> CLI001 Invalid Command, list-components.
>>> hello1 <web>
>>> hello1 <web>
>>> Command list-components executed successfully.
>>>
>>> The application was still usable afterwards (I could access the app
>>> at localhost:8080/hello1) which explained why most the QL tests are
>>> still passing in hudson..
>>>
>>> - Hong
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>