docs: public boolean setupDataSourceConnection(String strDataSource) throws DBException
      {
          if (m_JDBCConnection != null)
              return true;
          if ((DBConstants.TRUE.equalsIgnoreCase(this.getProperty(DBParams.SERVLET)))
                  || ((this.getDatabaseOwner() != null) && (DBConstants.TRUE.equalsIgnoreCase(this.getDatabaseOwner().getEnvironment().getProperty(DBParams.SERVLET)))))
          {   // Datasource connections are only for servlets (NOTE: Letting this code run otherwise messes stuff up)
              try {
                  if (m_initialContext == null)
                      m_initialContext = new InitialContext();
                  String strDatabaseName = this.getDatabaseName(true);
                  strDataSource = Utility.replace(strDataSource, "${dbname}", strDatabaseName);
                  DataSource ds = (DataSource)m_initialContext.lookup(strDataSource);
                  if (ds == null)
                      return false;   // Failure
                  m_JDBCConnection = ds.getConnection();
              } catch (NamingException e) {
                  return false;   // Failure
              } catch (SQLException e) {
                  return false;   // Failure
              } catch (NoClassDefFoundError e) {
                  return false;   // Failure
              } catch (Exception e) {
                  return false;   // Failure
              }
              return true;    // Success!
          }
          else
              return false;   // Not supported
      }