[jbosstools-issues] [JBoss JIRA] (JBIDE-10594) Cannot push GWT project to OpenShift

Malte Jaeger (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Sun Jan 8 09:26:09 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-10594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654490#comment-12654490 ] 

Malte Jaeger edited comment on JBIDE-10594 at 1/8/12 9:25 AM:
--------------------------------------------------------------

As expected: 
1. First error that hit me: "An error occurred loading the SSH2 private keys"
2. The rest fails...
The key was created from the OpenShift tool. This direction worked for a drupal and a mediawiki example.

Next: trying to find out what is wrong with my key-file.
ERROR in this context:

com.jcraft.jsch.JSchException: invalid privatekey: /home/malte/.ssh/id_rsaAppengine.pub
	at com.jcraft.jsch.IdentityFile.<init>(IdentityFile.java:261)
	at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:135)
	at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:130)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:206)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:192)
	at org.eclipse.jsch.internal.core.Utils.loadPrivateKeys(Utils.java:70)
	at org.eclipse.jsch.internal.core.JSchCorePlugin.loadPrivateKeys(JSchCorePlugin.java:144)
	at org.eclipse.jsch.internal.core.JSchProvider.createSession(JSchProvider.java:45)
	at org.eclipse.egit.ui.EclipseSshSessionFactory.createDefaultJSch(EclipseSshSessionFactory.java:37)
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getJSch(JschConfigSessionFactory.java:192)
	at org.eclipse.egit.ui.EclipseSshSessionFactory.createSession(EclipseSshSessionFactory.java:45)
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:109)
	at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
	at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
	at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:127)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
	at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:174)
	at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:118)
	at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:142)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:77)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:67)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.AddToExistingProjectOperation.execute(AddToExistingProjectOperation.java:90)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ImportProjectWizardModel.addToExistingProject(ImportProjectWizardModel.java:109)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ImportProjectWizard$ImportJob.runInWorkspace(ImportProjectWizard.java:150)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
                
      was (Author: umemy):
    As expected: 
1. First error that hit me: "An error occurred loading the SSH2 private keys"
2. The rest fails...
The key was created from the OpenShift tool. This direction worked for a drupal and a mediawiki example.

com.jcraft.jsch.JSchException: invalid privatekey: /home/malte/.ssh/id_rsaAppengine.pub
	at com.jcraft.jsch.IdentityFile.<init>(IdentityFile.java:261)
	at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:135)
	at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:130)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:206)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:192)
	at org.eclipse.jsch.internal.core.Utils.loadPrivateKeys(Utils.java:70)
	at org.eclipse.jsch.internal.core.JSchCorePlugin.loadPrivateKeys(JSchCorePlugin.java:144)
	at org.eclipse.jsch.internal.core.JSchProvider.createSession(JSchProvider.java:45)
	at org.eclipse.egit.ui.EclipseSshSessionFactory.createDefaultJSch(EclipseSshSessionFactory.java:37)
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getJSch(JschConfigSessionFactory.java:192)
	at org.eclipse.egit.ui.EclipseSshSessionFactory.createSession(EclipseSshSessionFactory.java:45)
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:109)
	at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
	at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
	at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:127)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
	at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:174)
	at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:118)
	at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:142)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:77)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:67)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.AddToExistingProjectOperation.execute(AddToExistingProjectOperation.java:90)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ImportProjectWizardModel.addToExistingProject(ImportProjectWizardModel.java:109)
	at org.jboss.tools.openshift.express.internal.ui.wizard.appimport.ImportProjectWizard$ImportJob.runInWorkspace(ImportProjectWizard.java:150)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
                  
> Cannot push GWT project to OpenShift
> ------------------------------------
>
>                 Key: JBIDE-10594
>                 URL: https://issues.jboss.org/browse/JBIDE-10594
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: GWT, openshift
>    Affects Versions: 3.3.0.M5
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.0.Beta1
>
>         Attachments: gwt-sdk-classpath-container.png, pom.xml, pom.xml, ROOT.war
>
>


--
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

        


More information about the jbosstools-issues mailing list