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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.