How to Add JBoss xPaaS Images Streams to OpenShift Enterprise V3
Some little tricks required to add JBoss on an OpenShift installation
Join the DZone community and get the full member experience.Join For Free
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.
Published at DZone with permission of Thomas Qvarnström, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.