Solved

What is a database realm?

Posted on 2002-03-13
1
778 Views
Last Modified: 2013-12-10
Dear all,


What is a database realm? Do I need to have one to use a mysql database with connection pooling?


In the config.xml file, I have this setup:

  <JDBCConnectionPool
    CapacityIncrement="2"
    DriverName="org.gjt.mm.mysql.Driver"
    InitialCapacity="4"
    LoginDelaySeconds="1"
    MaxCapacity="10"
    Name="mysqlPool"
    Properties="user=hans;password=qgCQFkPV"
    RefreshMinutes="10"
    ShrinkPeriodMinutes="15"
    ShrinkingEnabled="true"
    Targets=""
    TestConnectionsOnRelease="false"
    TestConnectionsOnReserve="false"
    TestTableName="dual"
    URL="jdbc:mysql://localhost:3306/db1"
  />
 
  <JDBCDataSource
    JNDIName="generic-dataSource-mysqlPool"
    Name="generic-dataSource-mysqlPool"
    PoolName="mysqlPool"
    Targets="genericServer"
  />


  <RDBMSRealm
    Name="defaultRDBMSRealmForMySql"
    RealmClassName="generic.security.rdbmsrealm.RDBMSRealm"
    DatabaseDriver="org.gjt.mm.mysql.Driver"
    DatabaseURL="jdbc:mysql://localhost:3306/db1"
    DatabaseUserName="hans"
    DatabasePassword="qgCQFkPV"
    SchemaProperties=""
    Notes="The data source for the mySql database db1"
  />


Do I need the rdbmsrealm?


Stephane

0
Comment
Question by:stephaneeybert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
pepenieto earned 50 total points
ID: 6885007
A Database realm is used for managing java security. That is, if you want to use java security (ACL´s, USER´s, GROUP´s) in your application, and you want the users & groups of your application to be the same that managed for weblogic, you must do a rdbmsrealm that tells weblogic what are the tables, views, sql statements,... to access your database information.

If you want to use your mysql database you don´t need rdbmsrealm.
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question