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

Site24x7 - Full stack It Infrastructure Monitoring from the cloud. Sign up for free trial.

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.

Site24x7 - Full stack It Infrastructure Monitoring from the cloud. Sign up for free trial.

Topics:
openshift ,jboss

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}