[
https://issues.jboss.org/browse/GTNMGMT-27?page=com.atlassian.jira.plugin...
]
Nick Scavelli resolved GTNMGMT-27.
----------------------------------
Fix Version/s: 1.0.0-Beta05
Resolution: Done
Cannot authenticate user 'root' in non-default portal
containers (until authenticated via web UI)
-------------------------------------------------------------------------------------------------
Key: GTNMGMT-27
URL:
https://issues.jboss.org/browse/GTNMGMT-27
Project: GateIn Management
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: cli
Affects Versions: 1.0.0-Beta04
Reporter: Tomas Kyjovsky
Assignee: Nick Scavelli
Fix For: 1.0.0-Beta05
Error: Could not authenticate for user 'root'
ERROR [CRaSH] Error while evaluating request 'mgmt connect -c sample-portal'
Error: Could not authenticate for user 'root'
org.crsh.command.ScriptException: Could not authenticate for user 'root'
at org.gatein.management.cli.crash.commands.GateInCommand.login(GateInCommand.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:267)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
at mgmt.connect(mgmt:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.crsh.cmdline.matcher.MethodMatch.doInvoke(MethodMatch.java:153)
at org.crsh.cmdline.matcher.CommandMatch.invoke(CommandMatch.java:76)
at org.crsh.command.CRaSHCommand$1.invoke(CRaSHCommand.java:250)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.execute(AST.java:113)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.invoke(AST.java:88)
at org.crsh.shell.impl.CRaSHProcess.execute(CRaSHProcess.java:45)
at org.crsh.shell.concurrent.AsyncShell$Process.run(AsyncShell.java:158)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.jcr.LoginException: Identity not found, check Loginmodule, userId root
at
org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator.authenticate(JAASAuthenticator.java:110)
at org.exoplatform.services.jcr.impl.core.RepositoryImpl$6.run(RepositoryImpl.java:592)
at org.exoplatform.services.jcr.impl.core.RepositoryImpl$6.run(RepositoryImpl.java:588)
at
org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:309)
at org.exoplatform.services.jcr.impl.core.RepositoryImpl.login(RepositoryImpl.java:599)
at org.gatein.management.cli.crash.commands.GateInCommand.login(GateInCommand.java:56)
... 25 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira