How to configure the database on jboss-webserver30-tomcat8 OpenShift Image

Solution Verified - Updated -

Issue

  • How to configure the database settings on jboss-webserver30-tomcat8 OpenShift Image
  • We saw that the jws30-tomcat8-postgresql-s2i template exposes some variables, but how can we configure the database URL ?

          name: DB1_JNDI
          value: jdbc/EBX_APPENDIX
        -
          name: DB1_USERNAME
          value: xxxxxx
        -
          name: DB1_PASSWORD
          value: xxxxxx
        -
          name: DB1_DATABASE
          value: xxxxxx
    

Environment

  • OpenShift 3.2.1.21
    • jboss-webserver30-tomcat8-openshift:1.2-18

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content