users@glassfish.java.net

Re: AIX: v2ur1 - admin console login problems

From: <glassfish_at_javadesktop.org>
Date: Tue, 04 Dec 2007 04:08:07 PST

Some more debug output:

$> [b]asadmin list-domains[/b]
++++++++++++++++++++++++++++ Command loaded from file and it is list-domains 0 | {terse boolean t, false,echo boolean e, false,domaindir string null,} | } | | } | list-domains [--terse=false] [--echo=false] [--domaindir domain_directory] {}
basePackage: com.sun.enterprise.cli.commands
propertyFile: LocalStrings
basePackage: com.sun.enterprise.cli.commands
propertyFile: LocalStrings
**** insert Default Options terse false
**** insert Default Options echo false
Reading asadminenv.conf file
asadminenv.conf: set the following options: profile=developer
asadminenv.conf: set the following options: secure=false
asadminenv.conf: set the following options: port=4848
domain1 running
Command list-domains executed successfully.
$>
$> [b]asadmin login --port 8848[/b]
++++++++++++++++++++++++++++ Command loaded from file and it is login 0 | {terse boolean t, false,echo boolean e, false,host string H, localhost,port string p, 4848,secure boolean s, null,} | } | | } | asadmin login [--terse=false] [--echo=false] [--host localhost] [--port 4848|4849] [--secure | s] {}
basePackage: com.sun.enterprise.cli.commands
propertyFile: LocalStrings
basePackage: com.sun.enterprise.cli.commands
propertyFile: LocalStrings
**** insert Default Options terse false
**** insert Default Options echo false
**** insert Default Options host localhost
Reading asadminenv.conf file
asadminenv.conf: set the following options: profile=developer
asadminenv.conf: set the following options: secure=false
Please enter the admin user name>admin
Please enter the admin password>
Trying to authenticate for administration of server at host [localhost] and port [8848] ...
com.sun.enterprise.cli.framework.CommandException: java.io.IOException: Invalid user or password
        at com.sun.enterprise.cli.commands.LoginCommand.authenticate(LoginCommand.java:128)
        at com.sun.enterprise.cli.commands.LoginCommand.runCommand(LoginCommand.java:72)
        at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:171)
        at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:79)
Caused by: java.io.IOException: Invalid user or password
        at com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.handleException(ServletConnection.java:264)
        at com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.receive(ServletConnection.java:148)
        at com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConductor.invoke(MBeanServerMessageConductor.java:84)
        at com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnection.getDefaultDomain(RemoteMBeanServerConnection.java:332)
        at com.sun.enterprise.cli.commands.LoginCommand.authenticate(LoginCommand.java:123)
        ... 3 more

java.io.IOException: Invalid user or password
$>

$> [b]asadmin list-components --port 8848 --user admin --passwordfile ./passfile[/b]
++++++++++++++++++++++++++++ Command loaded from file and it is list-components ? | {user string u, null,password string w, null,passwordfile string null,host string H, localhost,port string p, 4848,secure boolean s, null,interactive boolean I, true,terse boolean t, false,echo boolean e, false,type string null,} | } | | } | list-components [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile filename] [--type application|ejb|web|connector|webservice] [target (Default server)] {|paramtypes , [java.lang.String]|manpage , [com.sun.enterprise.tools.cli.help]|objectname , [com.sun.appserv:type=applications,category=config]|operation , [getAllUserDeployedComponents]|displaytype , [name]|params , [{#1}]|command-type , [list]}
basePackage: com.sun.enterprise.cli.commands
propertyFile: LocalStrings
basePackage: com.sun.enterprise.cli.commands
propertyFile: LocalStrings
**** insert Default Options host localhost
**** insert Default Options interactive true
**** insert Default Options terse false
**** insert Default Options echo false
Reading asadminenv.conf file
asadminenv.conf: set the following options: profile=developer
asadminenv.conf: set the following options: secure=false
Object Name = [com.sun.appserv:type=applications,category=config]
Types =
java.lang.String,

Types Info [0] = java.lang.String
{#1}
ParamsInfo = null
OperationName = getAllUserDeployedComponents
Types =
java.lang.String,

password value read from /users/dev/ics_c/red/dbar0ric/.asadminpass
********** getMBeanInfo **********
Invalid user or password
com.sun.enterprise.cli.framework.CommandException: CLI137 Command list-components failed.
        at com.sun.enterprise.cli.commands.ListComponentsCommand.runCommand(ListComponentsCommand.java:148)
        at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:171)
        at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:79)
Caused by: java.io.IOException: Invalid user or password
        at com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.handleException(ServletConnection.java:264)
        at com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.receive(ServletConnection.java:148)
        at com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConductor.invoke(MBeanServerMessageConductor.java:84)
        at com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnection.getMBeanInfo(RemoteMBeanServerConnection.java:384)
        at com.sun.enterprise.cli.commands.ListComponentsCommand.printDebug(ListComponentsCommand.java:226)
        at com.sun.enterprise.cli.commands.ListComponentsCommand.runCommand(ListComponentsCommand.java:115)
        ... 2 more

CLI137 Command list-components failed.

[b]jps[/b] - don't have that in the 1.5 JVM here.
[Message sent by forum member 'dvb123' (dvb123)]

http://forums.java.net/jive/thread.jspa?messageID=248396