dev@glassfish.java.net

Re: v3.1 asadmin start-database reports error (twice) on success

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Fri, 26 Mar 2010 17:32:04 +0000

On 3/26/2010 5:05 PM, Marina Vatkina wrote:
> Bill Shannon wrote:
>> Well, I can't see anything obviously wrong. Looks like you're
>> going to have to debug it.
>>
>> Of course, start by rebuilding everything from scratch.
>
> This is my own build as of yesterday. Where should I look?
admin\cli-optional StartDatabaseCommand.java
>
> Can this sequence or timing be wrong:
>
> Ping Database
> Start Database
not sure. I think it should be Ping Database then Start Database.

Jennifer
>
> thanks,
> -marina
>>
>>
>> Marina Vatkina wrote on 03/25/2010 04:41 PM:
>>>
>>> CLASSPATH=
>>> /export/v3/gfs/glassfishv3/glassfish/bin/../modules/admin-cli.jar
>>> Commands: [start-database]
>>> asadmin extension directory:
>>> /export/v3/gfs/glassfishv3/glassfish/lib/asadmin
>>> Prepare
>>> Process program options
>>> Parsing program options
>>> Parse command options
>>> params: {}
>>> operands: []
>>> Prevalidate command options
>>> Inject command options
>>> Validate command options
>>> asadmin --host localhost --port 4848 --interactive=true --echo=false
>>> --terse=false start-database --dbhome --dbhost 0.0.0.0 --dbport 1527
>>> Execute command
>>> Ping Database
>>> Start Database
>>> Command start-database failed.
>>> Command start-database failed.
>>>
>>>
>>> -marina
>>>
>>> Bill Shannon wrote:
>>>> It's working for me.
>>>>
>>>> What do you get if you do:
>>>>
>>>> AS_DEBUG=true asadmin start-database
>>>>
>>>> Marina Vatkina wrote on 03/25/2010 02:43 PM:
>>>>
>>>>> Is it a known problem?
>>>>>
>>>>> % asadmin start-database
>>>>> Command start-database failed.
>>>>> Command start-database failed.
>>>>>
>>>>> % asadmin start-database
>>>>> Database already started on host 0.0.0.0, port 1527.
>>>>> Command start-database executed successfully.
>>>>>
>>>>> -marina
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Thanks, Jennifer x81033 (440-709-5095)
Oracle <http://www.oracle.com>
Jennifer Chou
Phone: +1 44 20 7409 7350 <tel:+1%2044%2020%207409%207350> | Mobile: +1 
44 755 283 8283 <tel:+1%2044%20755%20283%208283>
| London, England
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment