0 Replies Latest reply on May 19, 2014 2:11 AM by dathatreyulu kothapalli

    How do I secure the data source connection in JBoss?

    dathatreyulu kothapalli Newbie



      We have deployed our application in Jboss 7. In standalone.xml, we have configured a data source to connect to our oracle DB as shown below. We are planning to migrate from Plain JDBC to SSL version of JDBC to connect to oracle database. I could not able to locate any documentation to address this issue in Jboss. As per the oracle documentation (http://docs.oracle.com/cd/B19306_01/java.102/b14355/sslthin.htm) it can be achieved with the help of JSSE. There are number of documentations available to enable SSL over HTTP with JSSE. In order to configure SSL  data source in Jboss, there are no proper guide or sample documentations. Kindly share your thoughts if anyone has more idea on this? Thanks in advance.


                      <datasource jta="false" jndi-name="java:jboss/APPDS" pool-name="DBConnectionPool" enabled="true" use-java-context="false" spy="true" use-ccm="true">



                          <connection-property name="char.encoding">



                          <connection-property name="autoCommit">













                              <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>

                              <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.vendor.OracleStaleConnectionChecker"/>