[teiid-issues] [JBoss JIRA] Created: (TEIID-634) Missing message when password is null (MMAdmin)
Paul Nittel (JIRA)
jira-events at lists.jboss.org
Thu May 28 11:59:56 EDT 2009
Missing message when password is null (MMAdmin)
-----------------------------------------------
Key: TEIID-634
URL: https://jira.jboss.org/jira/browse/TEIID-634
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 6.1.0
Environment: Fedora 10, Java 1.6.0_10-b33, JBEDSP server, etc. May 21, 2009 build
Reporter: Paul Nittel
Assignee: Steven Hawkins
Priority: Minor
I was experimenting with security disabled. I tried logging into the Console without a password and received an error (Login failed - Unspecified error). The same thing with MMAdmin produces this:
admin $ connectAsAdmin("foo","","mm://localhost:31000");
// Error: // Uncaught Exception: Method Invocation createAdmin : at Line: 99 : in file: URL: jar:file:/home/pnittel/jbedsp0521/server/lib/teiid-adminshell-6.1.0-SNAPSHOT.jar!/scripts/server.bsh : .createAdmin ( username , password .toCharArray ( ) , url )
Target exception: java.lang.IllegalArgumentException: <Missing message for key "ERR.014.001.00100" in: com.metamatrix.admin.i18n>
On the bright side, omitting the username produces a meaningfule error:
admin $ connectAsAdmin("","","mm://localhost:31000");
// Error: // Uncaught Exception: Method Invocation createAdmin : at Line: 99 : in file: URL: jar:file:/home/pnittel/jbedsp0521/server/lib/teiid-adminshell-6.1.0-SNAPSHOT.jar!/scripts/server.bsh : .createAdmin ( username , password .toCharArray ( ) , url )
Target exception: java.lang.IllegalArgumentException: The user parameter may not be null or empty.
To set this up,
1 - Login to the Console as Admin
2 - Go to the Security Summary panel
3 - Uncheck "Enable Authorization and Authentication"
4 - Click Apply
5 - Enter the Admin password
6 - Click OK
7 - Restart the server
You may now login as anything, but not nothing. :-)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list