Questions tagged [openshift-cartridge]

OpenShift cartridges provide the necessary command and control for the functionality of software that is running users' applications.

OpenShift cartridges provide the necessary command and control for the functionality of software that is running users' applications. OpenShift currently has many language cartridges (JBoss EAP, JBoss EWS, PHP, Ruby, Rails, etc.) as well as many DB cartridges (Postgres, Mysql, Mongo, etc.).

117 questions
1
vote
2 answers

No environment variables in OpenShift

I have created a new OpenShift account for a new application I'm developing. I have added a MongoDB cartridge for the database, and a Tomcat cartridge for the Java web application. I now need to connect to the database from my Java web app, but I…
Andrea
  • 675
  • 1
  • 13
  • 34
1
vote
0 answers

Node cartridge connection error with Mongodb cartridge in openshift

I tried a lot but am not able to get node to connect to Mongo in a simple mean app in the openshift node cartridge talking to the mongo cartridge. All goes fine but the application errors out (service temporarily unavailable error) if you go to the…
1
vote
1 answer

Error upon adding cartridge to OpenShift app

Am getting the below error upon adding a cartridge to my diy OpenShift application. The cartridge manifest URL is a raw browsed URL suffixed by ?raw. Any inputs and / or recommendations would be highly appreciated. Unable to complete the requested…
John C
  • 1,795
  • 4
  • 27
  • 42
1
vote
1 answer

making subdomain in openshift same cartrigde

our application now needs subdomain for handling other parts of it, i was wondering how is it possible to make a single application with single application, as subdomain.example.com and example.com have same database, and we cannot keep two separate…
runningmark
  • 738
  • 4
  • 13
  • 32
1
vote
1 answer

Jboss runs using java 6 instead of java 8

I changed the file name .openshift/markers/java7 to java8 but now when i start the gear it uses java 6 instead of java 8 and fails when trying to load classes with java 8 code. How can i make the app use java 8? I use Tomcat 6 (JBoss EWS 1.0) in…
mike27
  • 965
  • 3
  • 12
  • 22
1
vote
2 answers

SonarQube: Change the elastic search client host

In brief: Is there a way of changing the target address within the elastic search client used by SonarQube? More Info: I'd love to use SonarQube > 4.1 on OpenShift. Unfortunately, you can't bind to localhost in that environment. So these guys…
1
vote
1 answer

Tomcat8 on OpenShift

Is there a Tomcat 8 cartridge for OpenShift? I know that you can install Tomcat8 in a DIY cartridge, but I was looking for a faster and easier solution. And if there is one, how can I install it and how can I migrate an application from jbossews 2…
Adrian Ber
  • 20,474
  • 12
  • 67
  • 117
0
votes
1 answer

Having trouble setting up an SSL cert on an OpenShift Node.js server

I am using the free tier deployment for a REST API with Node / Express. I already have the server up and running and it responds to requests over just HTTP. I'm trying to follow this guide to setup the certs using certbot:…
0
votes
1 answer

OpenShift Online 3 with filezilla?

How can we connect filezilla with OpenShift Online 3 created account. Where we can get ftp details or from where we can add ssh public key.
Nikhilesh Patve
  • 1,760
  • 3
  • 13
  • 31
0
votes
2 answers

how to upgrade java app to Openshift v3

I'm trying to migrate a java app that runs on Wildfly from Openshift Online v2 to Openshift Online v3 and having difficulties. I go through the steps…
iheitsch
  • 113
  • 1
  • 10
0
votes
0 answers

MySQL Database connection for OpenShift 2

I have 2 cartridges in OpenShift 2, one for Tomcat 7 where my war is deployed and the other is a MySQL cartridge where I am hosting my DB. This is my context.xml file
p0tta
  • 1,461
  • 6
  • 28
  • 49
0
votes
0 answers

ImportError: cannot import name find_spec when deploying to openshift

I'm trying to deploy my Django project at openshift using Python 3.3 (because my project is made only for python3). Here we found an error ImportError: cannot import name find_spec when I check the log file. [Wed Jul 19 10:53:25 2017] [error]…
binpy
  • 3,994
  • 3
  • 17
  • 54
0
votes
0 answers

Make git repo push only (pull only with a -f flag)

We have git repos on our production remotes (OpenShift). We have this system: git push openshift-remote-dev dev:master -f # push to DEV production server git push openshift-remote-stg release:master -f # push release branch to STG production…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
1 answer

Openshift3 Does free hosting work

I have created a small Web Application using struts/tiles/mysql/tomcat. I dont intend to earn any money. Once it is online, it might help parents of my school.
0
votes
1 answer

DIY cartridge resets to Java 1.7 from 1.8 in OpenShift

I have read and tried all answers on stackoverflow. Im using a DIY cartridge in Openshift and the version says java version "1.7.0_121" OpenJDK Runtime Environment (rhel-2.6.8.1.el6_8-i386 u121-b00) OpenJDK Server VM (build 24.121-b00, mixed…
Johnny
  • 1