?
Solved

What is a database realm?

Posted on 2002-03-13
1
Medium Priority
?
780 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 200 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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 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