users@glassfish.java.net

Re: AIX: v2ur1 - admin console login problems

From: <glassfish_at_javadesktop.org>
Date: Mon, 03 Dec 2007 07:24:38 PST

> Can you try one thing?
> Don't use the command prompt to enter the password
> and try executing the following CLI command:
> "asadmin list-components --port 8848 --passwordfile
> ./passfile --user admin"

Now trying with 32 bit JVM, admin port 4848. Still no luck.

$ >asadmin list-components --port 4848 --passwordfile ./passfile --user admin
Invalid user or password
CLI137 Command list-components failed.

$ >asadmin login
Please enter the admin user name>admin
Please enter the admin password>
Trying to authenticate for administration of server at host [localhost] and port [4848] ...
java.io.IOException: Invalid user or password

---
Java config:
$> java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20071025a (SR6b))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20071007 (JIT enabled)
J9VM - 20071004_14218_bHdSMR
JIT  - 20070820_1846ifx1_r8
GC   - 200708_10)
JCL  - 20071025
JVM is installed under a Unix login rather than in /usr.  
I.e.
its in ~<user>/usr/java5/
e.g.
JDK:
$ >ls usr/java5    
COPYRIGHT*   docs/        include/     lib/
bin/         fixes.html   jre/
$ >
JRE:
$ >ls usr/java5/jre
bin/     javaws/  lib/
$ >
I have had to modify the 'ant' config and setup.xml - as its defaulting 'java' to be
at usr/java5/jre/../bin - when 'java' is in jre/bin...
---
[Message sent by forum member 'dvb123' (dvb123)]
http://forums.java.net/jive/thread.jspa?messageID=248276