*** Description of problem: [mbaluch@localhost bin]$ sh kie-config-cli.sh ******************************************************** ************* Welcome to Kie config CLI **************** ******************************************************** Exception in thread "main" org.jboss.weld.exceptions.DeploymentException: Exception List with 4 exceptions: Exception 0 : org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [AuthenticationService] with qualifiers [@Default] at injection point [[parameter 1] of [method] @Produces @RequestScoped @Default public static org.uberfire.server.cdi.UberFireGeneralFactory.getSessionInfo(AuthenticationService)] at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:315) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:284) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:147) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:167) at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:386) at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:371) at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:379) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBeans(ForwardingBootstrap.java:85) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:136) at org.kie.config.cli.CliContext.buildContext(CliContext.java:59) at org.kie.config.cli.CmdMain.main(CmdMain.java:75) ... *** Additional Info: It looks like the tool has not received corresponding updates to business-central changes. It might be a good idea to check also that commands are working. We would like to avoid the situation that test development will be blocked by another issue hiding behind this one.
Verified on 6.1.0.ER3.
Cannot connect from kie-config-cli to BPMS 6.1.0.ER3 with propper credentials: [pkralik@dhcp-10-40-3-80 kie-config-cli-6.2.0.CR3-redhat-1-dist]$ ./kie-config-cli.sh ******************************************************** ************* Welcome to Kie config CLI **************** ******************************************************** >>Please specify location of remote git system repository [ssh://localhost:8001/system] >>Please enter username: testadmin >>Please enter password: The authenticity of host 'localhost' can't be established. DSA key fingerprint is 72:03:4f:a2:72:56:25:79:56:81:76:49:13:c3:e1:37. Are you sure you want to continue connecting? [yes|no]: yes Exception in thread "main" java.lang.RuntimeException: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:219) at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.newFileSystem(JGitFileSystemProvider.java:588) at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117) at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83) at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:275) at org.kie.config.cli.command.impl.CloneGitRepositoryCliCommand.execute(CloneGitRepositoryCliCommand.java:70) at org.kie.config.cli.CmdMain.main(CmdMain.java:85) Caused by: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:198) ... 6 more Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: ssh://testadmin@localhost:8001/system: Invalid credentials. at org.eclipse.jgit.transport.TransportGitSsh.cleanNotFound(TransportGitSsh.java:194) at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:274) at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) ... 9 more ABRT problem creation: 'success'
(In reply to Pavel Kralik from comment #4) > Cannot connect from kie-config-cli to BPMS 6.1.0.ER3 with propper > credentials: > > [pkralik@dhcp-10-40-3-80 kie-config-cli-6.2.0.CR3-redhat-1-dist]$ > ./kie-config-cli.sh > ******************************************************** > > ************* Welcome to Kie config CLI **************** > > ******************************************************** > > >>Please specify location of remote git system repository [ssh://localhost:8001/system] > > >>Please enter username: > testadmin > >>Please enter password: > > The authenticity of host 'localhost' can't be established. > DSA key fingerprint is 72:03:4f:a2:72:56:25:79:56:81:76:49:13:c3:e1:37. > Are you sure you want to continue connecting? [yes|no]: > yes > Exception in thread "main" java.lang.RuntimeException: > org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin > at > org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java: > 219) > at > org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider. > newFileSystem(JGitFileSystemProvider.java:588) > at > org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117) > at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83) > at > org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java: > 275) > at > org.kie.config.cli.command.impl.CloneGitRepositoryCliCommand. > execute(CloneGitRepositoryCliCommand.java:70) > at org.kie.config.cli.CmdMain.main(CmdMain.java:85) > Caused by: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid > remote: origin > at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136) > at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) > at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) > at > org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java: > 198) > ... 6 more > Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: > ssh://testadmin@localhost:8001/system: Invalid credentials. > at > org.eclipse.jgit.transport.TransportGitSsh.cleanNotFound(TransportGitSsh. > java:194) > at > org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection. > <init>(TransportGitSsh.java:274) > at > org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java: > 147) > at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) > at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) > at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111) > at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) > ... 9 more > ABRT problem creation: 'success' Please change the status to ASSIGNED if it failed QA.
Cannot connect from kie-config-cli to BPMS 6.1.0.ER4: [pkralik@dhcp-10-40-2-212 kie-config-cli-6.2.0.CR4-redhat-1-dist]$ ./kie-config-cli.sh ******************************************************** ************* Welcome to Kie config CLI **************** ******************************************************** >>Please specify location of remote git system repository [ssh://localhost:8001/system] >>Please enter username: testadmin >>Please enter password: The authenticity of host 'localhost' can't be established. DSA key fingerprint is b6:aa:f0:d4:5f:15:a6:ab:ec:12:21:a7:fa:21:43:dc. Are you sure you want to continue connecting? [yes|no]: yes Exception in thread "main" java.lang.RuntimeException: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:219) at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.newFileSystem(JGitFileSystemProvider.java:583) at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117) at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83) at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:275) at org.kie.config.cli.command.impl.CloneGitRepositoryCliCommand.execute(CloneGitRepositoryCliCommand.java:70) at org.kie.config.cli.CmdMain.main(CmdMain.java:85) Caused by: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:198) ... 6 more Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: ssh://testadmin@localhost:8001/system: Invalid credentials. at org.eclipse.jgit.transport.TransportGitSsh.cleanNotFound(TransportGitSsh.java:194) at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:274) at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) ... 9 more ABRT problem creation: 'success'
This has been fixed in 6.1.0.ER4.