admin@glassfish.java.net

Re: verify-domain-xml fails

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Thu, 13 May 2010 11:35:09 -0700
C:\WINDOWS>asadmin verify-domain-xml
java.lang.NullPointerException
        at com.sun.enterprise.admin.cli.optional.DomainXmlVerifier.checkUnique(DomainXmlVerifier.java:144)
        at com.sun.enterprise.admin.cli.optional.DomainXmlVerifier.validate(DomainXmlVerifier.java:104)
        at com.sun.enterprise.admin.cli.optional.DomainXmlVerifier.invokeConfigValidator(DomainXmlVerifier.java:95)
        at com.sun.enterprise.admin.cli.optional.VerifyDomainXmlCommand.executeCommand(VerifyDomainXmlCommand.java:99)
        at com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:252)
        at com.sun.enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:229)
        at com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:167)
All Tests Passed, domain.xml is valid
Command verify-domain-xml executed successfully.

===========================================================

Whoa! 
https://glassfish.dev.java.net/issues/show_bug.cgi?id=11887


On 5/12/2010 9:37 PM, Yamini K B wrote:
I updated my workspace and it works fine now:

$ ./asadmin verify-domain-xml
All Tests Passed, domain.xml is valid
Command verify-domain-xml executed successfully.


Thanks,
-Yamini

Jennifer Chou wrote:
Hi Yamini,

I just checked-in a fix today to remove the duplicate default-config in domain.xml. 
It should work now.

Thanks,
Jennifer

On 5/12/2010 5:22 PM, Yamini K B wrote:
Hi,

verify-domain-xml fails with following error:

$ ./asadmin verify-domain-xml
 Error: Duplicate Key : default-config for type = interface com.sun.enterprise.config.serverbeans.Config
Command verify-domain-xml executed successfully.


This is on workspace checked out yesterday. Is somebody looking into this?

Thanks,
-Yamini
--------------------------------------------------------------------- To unsubscribe, e-mail: admin-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: admin-help@glassfish.dev.java.net
--------------------------------------------------------------------- To unsubscribe, e-mail: admin-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: admin-help@glassfish.dev.java.net

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