openshift-cartridge

I want to send data from many clients to one stable client using Node.js

狂风中的少年 提交于 2020-01-14 06:03:28
问题 Here is my code: var express = require('express'); var net = require('net'); var app = express(); //first of all connect to a stable client var server = net.createServer(function(socket) { // do nothing here . what i want is to use this socket in // (following) app.get() function }); server.listen(1337, '127.0.0.1'); //receive request from other clients app.get('/', function (req, res) { // retriving mobileNumber and message var mobileNumber = req.query.mobileNumber; var message = req.query

deploy MEAN.JS in Openshift

吃可爱长大的小学妹 提交于 2019-12-24 22:24:37
问题 try deploy my project MEAN.JS from github with the following command but does not work. I searched everywhere and have not found it to be the problem or that otherwise there is to deploy a MEAN.JS application on OpenShift rhc app create trendmedia nodejs-0.10 mongodb-2.4 --env NODE_ENV=production --from-code https://github.com/meanjs/mean .git --trace Application Options ------------------- Domain: meanopen Cartridges: nodejs-0.10, mongodb-2.4 Source Code: https://github.com/meanjs/mean.git

Tomcat8 on OpenShift

冷暖自知 提交于 2019-12-24 10:49:24
问题 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 (tomcat7)? I tried to use https://github.com/openshift/origin-community-cartridges/tree/master/openshift-origin-cartridge-tomcat as a downloadable cartridge, but I got this error: The provided downloadable cartridge 'https://github.com/openshift

How to configure Laravel 5.2 on Openshift?

你说的曾经没有我的故事 提交于 2019-12-24 02:14:14
问题 I've been looking through tutorials and cartridges on how to use and configure Laravel in Openshift to no avail. Even the best things I could find didn't help that much. So far what I've been able to do is setup Laravel so I could see the welcome page that says "Laravel" in the middle. What I did to achieve this is use these 2 cartridges: PHP 5.6.16 - https://github.com/boekkooi/openshift-cartridge-php Nginx - https://github.com/boekkooi/openshift-cartridge-nginx With https://github.com

Openshift public url app (migration)

风流意气都作罢 提交于 2019-12-11 07:06:40
问题 Would be possible, when migrating from Openshift 2 to 3, to keep the xxx.rhcloud.com url? Anybody knows if Red Hat is providing some solution? O maybe some kind of redirection would work? Thanks in advance. 回答1: Confirmed by Openshift Support: "Unfortunately, we are unable to provide the same URLs that you have used previously. You would have to recompile your applications with new URLs following a migration." 来源: https://stackoverflow.com/questions/45923453/openshift-public-url-app-migration

Openshift java.net.SocketException: Permission denied

冷暖自知 提交于 2019-12-10 12:45:34
问题 I am using Java8 and have a Chat Server that works perfectly on my localhost , but when I deploy it to an OpenShift server, I get the following error: java.net.SocketException: Permission denied 2016-09-05 10:36:11,300 INFO [stdout] (Thread-125) Starting Chat server on localhost:8000 ... 2016-09-05 10:36:13,194 ERROR [stderr] (Thread-125) Exception in thread "Thread-125" java.net.SocketException: Permission denied 2016-09-05 10:36:13,194 ERROR [stderr] (Thread-125) at sun.nio.ch.Net.bind0

SonarQube: Change the elastic search client host

风格不统一 提交于 2019-11-29 16:50:59
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 changed the service wrapper to piped mode and used the sonar.web.host property to set up SonarQube 4.0. Starting with SonarQube 4.1 we'll also have the elastic search server that tries to bind to localhost, which leads to a crash at startup. But there's no such thing as a sonar.search.host property (similar to sonar.search.port ), is there? As a

SonarQube: Change the elastic search client host

孤街浪徒 提交于 2019-11-28 11:07:40
问题 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 changed the service wrapper to piped mode and used the sonar.web.host property to set up SonarQube 4.0. Starting with SonarQube 4.1 we'll also have the elastic search server that tries to bind to localhost, which leads to a crash at startup. But there