openshift

How does docker compare to openshift?

守給你的承諾、 提交于 2019-12-20 08:00:13
问题 Docker and OpenShift are both frameworks to implement a PaaS service. How do they compare in architecture and features? 回答1: The primary difference is that Docker as a project is focused on the runtime container only, whereas OpenShift (as a system) includes both the runtime container as well as the REST API, coordination, and web interfaces to deploy and manage individual containers. Comparing just the runtime containers, OpenShift and Docker both use kernel isolation features to keep tenant

How can I connect to MongoDB server using JAVA from OpenShift?

可紊 提交于 2019-12-20 03:39:10
问题 I have created a MongoDB instance in OpenShift . I can connect to it via RockMongo , which is a service offered by OpenShift . I'm trying to connect to my instance using JAVA , but I just receive a Connection refuesed error. Moreover, I cannot connect it using RoboMongo . In my RockMongo status tab, I see the following information: Host: 127.11.201.2 Port: 27017 Using RoboMongo with MongoLab instance works just fine giving it the right credentials, but here with OpenShift it fails on

Caused by: java.net.NoRouteToHostException: No route to host

拈花ヽ惹草 提交于 2019-12-20 03:00:21
问题 I am trying to deploy my Jersey project from eclipse on openshift and I am getting this error in the tail files Caused by: java.net.NoRouteToHostException: No route to host before when I had like this: String host = "jdbc:mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/bustrackerserver" I got this error: 'java.lang.NumberFormatException: For input string: “OPENSHIFT_MYSQL_DB_PORT”' I have pinged this ip address 127.10.230.440 and I am getting response I checked whether some of the

Deploy Sails.js on Openshift … app restarting over and over [duplicate]

孤人 提交于 2019-12-19 05:54:28
问题 This question already has an answer here : Deploying Sails.js On Openshift (1 answer) Closed 4 years ago . I want to deploy sails.js (version 0.9.7) app to Openshift but after git push I get this log: debug: Lowering sails... DEBUG: Starting child process with 'node app.js' . . . info: Server lifted in `/var/lib/openshift/525ccaba5973caa65100002b/app-root/runtime/repo` info: To see your app, visit http://127.7.215.1:8080 info: To shut down Sails, press <CTRL> + C at any time. . . debug: -----

Permission denied Error after deploying to Openshift using JBoss

╄→尐↘猪︶ㄣ 提交于 2019-12-19 04:49:23
问题 We have an application that needs to communicate with some governmental web services using a SSL connection. When running on develop environment (locally) it works perfectly, but when we deploy to OpenShift ant try to run the same task the problem comes out and show a big error StackTrace, which we can say that the problem is specif from OpenShift: 10:00:29,286 WARN [org.apache.axiom.util.stax.dialect.StAXDialectDetector] (http--127.2.25.1-8080-6) Unable to determine dialect of the StAX

Unable to bind to a port on Openshift

久未见 提交于 2019-12-19 03:41:27
问题 I am running an embedded activemq message server in my application on openshift. According to this, you can only bind on 15000 - 35530 . I've tried doing the following, but it's throwing a serious error. What could be the issue? I am using spring . This is a part in my applicationContext.xml <amq:broker brokerName="tentacle-broker" start="true"> <amq:persistenceAdapter> <amq:amqPersistenceAdapter directory="/var/lib/openshift/username/jbossews-2.0/jbossews-2.0/activemq2" maxFileLength="32mb"/

Unable to bind to a port on Openshift

ε祈祈猫儿з 提交于 2019-12-19 03:41:23
问题 I am running an embedded activemq message server in my application on openshift. According to this, you can only bind on 15000 - 35530 . I've tried doing the following, but it's throwing a serious error. What could be the issue? I am using spring . This is a part in my applicationContext.xml <amq:broker brokerName="tentacle-broker" start="true"> <amq:persistenceAdapter> <amq:amqPersistenceAdapter directory="/var/lib/openshift/username/jbossews-2.0/jbossews-2.0/activemq2" maxFileLength="32mb"/

Can't get Pandas to install with OpenShift

独自空忆成欢 提交于 2019-12-18 17:36:09
问题 I am ssh-ing a Flask application on OpenShift and one of the Python dependencies is Pandas 0.16.1. Looking through the OpenShift documentation, I created my setup.py file as follows: from setuptools import setup setup(name='MyApp', version='0.1a', description='some description', author='me', author_email='me@gmail.com', url='http://myapp.com/', install_requires=['Flask>=0.10.1','numpy>=1.9.2','pandas>=0.16.1'], ) When creating the app using the requires, the process fails. The following error

OpenShift webapps mysql java connection

丶灬走出姿态 提交于 2019-12-18 13:43:32
问题 I have a JBoss EWS Tomcat 7 Java application on openshift, installed with the MySQL 5.5 and PhpMyAdmin 4.0 cartridges. I have copied the repository locally, and deleted the source folder. Instead, I simply have a compiled Java application, a WAR file, that has been copied into the webapps directory and git pushed to the OpenShift servers. If I have some database, how would I be able to access it in the webapp compiled war file. Would standard MySQL JDBC work? According to some posts I have

OpenShift webapps mysql java connection

自古美人都是妖i 提交于 2019-12-18 13:42:02
问题 I have a JBoss EWS Tomcat 7 Java application on openshift, installed with the MySQL 5.5 and PhpMyAdmin 4.0 cartridges. I have copied the repository locally, and deleted the source folder. Instead, I simply have a compiled Java application, a WAR file, that has been copied into the webapps directory and git pushed to the OpenShift servers. If I have some database, how would I be able to access it in the webapp compiled war file. Would standard MySQL JDBC work? According to some posts I have