Deploying Java Apps to the Cloud with the OpenShift' Eclipse Plug-In

Interested in developing, managing, and deploying your application to the cloud from your IDE?

 

Tags:

Hi there,

I've followed the steps in this video to deploy my app. But I'm stuck at 5:20 of the video, would always receive this error message when I indicate finish:

Could not clone the repository. Authentication failed. Please make sure that you added your private key to the ssh preferences. ssh://548c047ca32b4aa89c151ba6ebed9425@plugin-CXA4FYP.rhcloud.com/~/git/plugin.git/: java.net.ConnectException: Connection timed out: connect"

Any help will be appreciated!

Regards,
Thomas

Was able to deploy & test

A very good tutorial. Simple, brief and well explained.

Hi , thnx for the tutorial , it works great. However once the app is created i get the following 2 erros in the pom.xml file. Have you any idea what might cause them ? Might be that I havent installed the Jboss in my PC? I am really a newbie in the field so excuse me foa ny stupidc questions.

1) "<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">" Error

ArtifactDescriptorException: Failed to read artifact descriptor for org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.Final: ArtifactResolutionException: Failure to transfer org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.Final from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.Final from/to central (http://repo1.maven.org/maven2): Connect times out

2) " <packaging>war</packaging> " Error

Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (execution: default- resources, phase: process-resources) - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default- compile, phase: compile) - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.4.3:testResources (execution: default-testResources, phase: process-test-resources) - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile)

How to deploy war file ?