dev@glassfish.java.net

Any help on create-instance command...

From: Naman Mehta <Naman.Mehta_at_Sun.COM>
Date: Mon, 10 May 2010 11:29:07 +0530

hi,

Trying create-instance command on Gf3.0 latest code snapshot.

*Getting below error:*

./asadmin create-instance
Enter the value for the nodeagent option> nodeagent1
Enter the value for the name operand> instance1
org.glassfish.api.admin.CommandException: remote failure: Exception
while adding the new configuration
org.jvnet.hk2.config.TransactionFailure: Unmatched braces in the
pattern. : org.jvnet.hk2.config.TransactionFailure: Unmatched braces in
the pattern.


Command create-instance failed.
naman_at_naman:/space/gfv3/v3setup/glassfishv3/bin$ ./asadmin
create-instance --help
Exception in thread "main" java.lang.NullPointerException
    at
com.sun.enterprise.admin.cli.CLICommand.prevalidate(CLICommand.java:639)
    at com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:238)
    at
com.sun.enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:229)
    at com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:167)

*Any idea on the same?*

Regards,
Naman