Bug 1163840 - [kie-config-cli] Unable to start tool.
Summary: [kie-config-cli] Unable to start tool.
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: unspecified
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ER4
: 6.1.0
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-13 14:54 UTC by Marek Baluch
Modified: 2020-03-27 19:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:41:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1165063 0 medium CLOSED [kie-config-cli] Refactor to use REST instead of VFS 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1175682 0 urgent CLOSED Cannot clone repositories from Business Central over ssh:// protocol 2021-02-22 00:41:40 UTC

Internal Links: 1165063 1175682

Description Marek Baluch 2014-11-13 14:54:00 UTC
*** 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.

Comment 3 Marek Baluch 2014-12-15 12:54:18 UTC
Verified on 6.1.0.ER3.

Comment 4 Pavel Kralik 2014-12-16 13:41:23 UTC
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'

Comment 5 Ryan Zhang 2014-12-17 04:16:15 UTC
(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.

Comment 7 Pavel Kralik 2015-01-22 16:24:24 UTC
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'

Comment 8 Marek Baluch 2015-02-06 14:00:03 UTC
This has been fixed in 6.1.0.ER4.


Note You need to log in before you can comment on or make changes to this bug.