dev@glassfish.java.net

Re: asadmin failing to authenticate (as QuickLook failure)

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Tue, 11 Aug 2009 17:02:36 -0700

This does not look like it should be an isolated failure. Why is it
failing on your machine, but not on mine?

-Peter

Lloyd Chambers wrote:
> Are there new anonymous login requirements I've missed?
>
> If the problem is caused by authentication, it seems like a serious
> bug to just report "failed", when in fact it's an authentication problem.
>
>
> llcMP:~ llc$ cat ~/.asadminpass
> # Do not edit this file by hand. Use login interface instead.
> asadmin://anonymous_at_localhost:4848
>
>
> llcMP:~ llc$ asadmin help deploy
> Deprecated syntax, instead use:
> asadmin --help deploy [options] ...
> Can't find man page for command: deploy
> Command help failed.
>
>
> llcMP:~ llc$ export AS_DEBUG=true
> llcMP:~ llc$ asadmin help deploy
> CLASSPATH= /v3/glassfishv3/bin/../glassfish/modules/admin-cli.jar
> Commands: [help, deploy]
> params: {}
> operands: [deploy]
> help --host localhost --port 4848 --user admin --interactive=true
> --echo=false --terse=false deploy
> Command class: com.sun.enterprise.admin.cli.optional.DeployCommand
> Failed to load command class: java.lang.ClassNotFoundException:
> com.sun.enterprise.admin.cli.optional.DeployCommand
> 0 descriptor =
> jar:file:/Volumes/Spare4/work/v3/glassfishv3/glassfish/modules/admin-cli.jar!/CLIDescriptor.xml
>
> Deprecated syntax, instead use:
> asadmin --help deploy [options] ...
> Getting password from ~/.asadminpass
> params: {help=true}
> operands: []
> deploy --host localhost --port 4848 --user admin --interactive=true
> --echo=false --terse=false --help=true
> URI: /__asadmin/deploy?help=true
> URL: com.sun.enterprise.admin.cli.util.HttpConnectorAddress_at_5fa5e5e
> URL: http://localhost:4848/__asadmin/deploy?help=true
> ------- RAW RESPONSE ---------
> Signature-Version: 1.0
> message: Error authenticating
> use-main-children-attribute: false
> exit-code: FAILURE
>
>
> ------- RAW RESPONSE ---------
> PROCESSING MANIFEST...
> com.sun.enterprise.cli.framework.CommandException: remote failure:
> Error authenticating
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.handleResponse(RemoteCommand.java:557)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.handleResponse(RemoteCommand.java:530)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.access$400(RemoteCommand.java:68)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand$1.doCommand(RemoteCommand.java:307)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.doHttpCommand(RemoteCommand.java:364)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.executeRemoteCommand(RemoteCommand.java:271)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.executeCommand(RemoteCommand.java:247)
>
> at
> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:287)
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.executeAndReturnOutput(RemoteCommand.java:329)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.getManPage(RemoteCommand.java:428)
>
> at
> com.sun.enterprise.admin.cli.HelpCommand.getSource(HelpCommand.java:127)
> at
> com.sun.enterprise.admin.cli.HelpCommand.executeCommand(HelpCommand.java:87)
>
> at
> com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:287)
> at
> com.sun.enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:183)
>
> at
> com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:128)
> Caused by: com.sun.enterprise.admin.cli.remote.RemoteFailureException:
> Error authenticating
>
> at
> com.sun.enterprise.admin.cli.remote.ManifestManager.processGeneric(ManifestManager.java:112)
>
> at
> com.sun.enterprise.admin.cli.remote.ManifestManager.process(ManifestManager.java:68)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteResponseManager.handleManifest(RemoteResponseManager.java:109)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteResponseManager.process(RemoteResponseManager.java:83)
>
> at
> com.sun.enterprise.admin.cli.remote.RemoteCommand.handleResponse(RemoteCommand.java:542)
>
> ... 14 more
>
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.1
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.1m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.2
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.2m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.3
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.3m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.4
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.4m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.5
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.5m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.6
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.6m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.7
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.7m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.8
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.8m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.9
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.9m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/US/deploy.5asc
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.1
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.1m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.2
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.2m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.3
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.3m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.4
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.4m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.5
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.5m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.6
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.6m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.7
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.7m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.8
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.8m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.9
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.9m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/en/deploy.5asc
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.1
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.1m
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.2
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.2m
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.3
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.3m
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.4
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.4m
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.5
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.5m
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.6
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.6m
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.7
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.7m
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.8
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.8m
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.9
> Trying to get this manpage: com/sun/enterprise/admin/cli/remote/deploy.9m
> Trying to get this manpage:
> com/sun/enterprise/admin/cli/remote/deploy.5asc
> Can't find man page for command: deploy
> Command help failed.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>