Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Add JBoss xPaaS Images Streams to OpenShift Enterprise V3

DZone's Guide to

How to Add JBoss xPaaS Images Streams to OpenShift Enterprise V3

Some little tricks required to add JBoss on an OpenShift installation

· Cloud Zone
Free Resource

What if you could learn how to use MongoDB directly from the experts, on your schedule, for free? We've put together the ultimate guide for learning MongoDB. Sign up and you'll receive instructions for how to get started!

If you have a fresh installation of OpenShift Enterprise V3 and are trying to create an application based on the supported JBoss xPaaS images (e.g. Enterprise Application Platform, A-MQ, Web Server, etc), you might see an error like this: An error occurred while starting the build.imageStream "jboss-eap6-openshift" not found 

 An error occurred while starting the build.imageStream "jboss-eap6-openshift" not found 


This means that you haven't installed images streams to your project.


Located in /usr/share/openshift/examples/xpaas-streams/jboss-image-streams.json on your master you have an example of how to configure streams for xPaaS images. Either copy this file locally or run the below command on your host.


To enable JBoss EAP image streams in your project use the openshift client to like described below:

$ oc project mytestproject
Now using project "mytestproject" on server "XXXXX".
$ oc create -f jboss-image-streams.json 
imagestreams/jboss-webserver3-tomcat7-openshift
imagestreams/jboss-webserver3-tomcat8-openshift
imagestreams/jboss-eap6-openshift
imagestreams/jboss-amq-6
imagestreams/jboss-mysql-55
imagestreams/jboss-postgresql-92
imagestreams/jboss-mongodb-24


After this you should be able to use the JBoss EAP in your projects.

What if you could learn how to use MongoDB directly from the experts, on your schedule, for free? We've put together the ultimate guide for learning MongoDBSign up and you'll receive instructions for how to get started!

Topics:
openshift ,jboss

Published at DZone with permission of Thomas Qvarnström, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}