iSelfSchooling.com - Copyright © 1999-2007 iSelfSchooling.com  References  Job Openings  |  Secure Login
    Home  | Search more...  |  FREE Online VIDEO Oracle Training  |  Gift Store  |  Bookstore

   Unlimited access!   

    Oracle  Syntax  | Suggestions Your Contribution  |  FREE Legal Forms

 

Email2aFriend Homepage us! |  Bookmark   -  Copyright & User Agreement

Products/Services

 Vision/Mission

 Community Sharing

 Services

  Products

 Biography

 Contact Us

 FAQ

 Current News

 Website Traffic

 Bookstore

 FREE Training

 SQL

 PL/SQL

 Forms 

 Reports

 Other TOOLS

 Fundamentals

 Performance

 OEM

 Application Server

 Grid Control

 Articles

 Prepare for OCP

Oracle SYNTAX

 Oracle Functions

 Oracle Syntax

 Oracle 10g Syntax

  PL/SQL Syntax

UNIX and more...

 UNIX for DBAs

 LINUX for DBAs

 DB using PHP

  A+ Certification

 Basics of JAVA  

 Tips of  SEO

Finance/Jobs

 Financial Aid

 Skilled

 Oracle

 Jobs

  Magazine

More Training

 Q & Answers

 SQL-PL/SQL

 DBA

 Developer

 Important Notes

 Case Studies

 9i New Features

 10g New Features

 10g Qs/As

 Grid Control

 OracleAS # I

 OracleAS # II

  LDAP and OID

  HTTP Server

 Instructor-Led

  Virtual Hosts

 Community Sharing

More to know...

Acknowledgement**

 FREE Legal Forms

 Who is who

 Market Place

 University Directory

 Advisory Articles

 Links...

 

 

FREE Online Oracle Training for beginners and advanced - The most comprehensive Oracle tutorial

The authors do not guarantee or take any responsibility for the accuracy, or completeness of the information.

BASICS

SQL | PL/SQL

DEVELOPERS

FORMS 2 | REPORTS | Other TOOLS

DBAs

FUNDAMENTALS 2 | PERFORMANCE | OEM

ADVANCE

APPLICATION SERVER | GRID CONTROL | ARTICLES 2 3 4

Advanced - Articles III

Lesson 01 | Lesson 02 | Lesson 03 | Lesson 04 | Lesson 05 | Lesson 06 | Lesson 07 | Lesson 08 | Lesson 09 | Lesson 10 | Lesson 11 | Lesson 12 | Lesson 13 | Lesson 14 | Lesson 15 | Lesson 16 | Lesson 17 | Lesson 18 | Lesson 19 | Lesson 20 | Lesson 21 | Lesson 22 | Lesson 23 | Lesson 24 | Lesson 25 | Lesson 26 | Lesson 27 | Lesson 28 | Lesson 29 | Lesson 30 | Lesson 31 | Lesson 32 | Lesson 33 | Lesson 34 | Lesson 35 |

Lesson 06

"Intuition will tell the thinking mind where to look next."

-Jonas Salk (1914-1995)

 

How to unlock orcladmin
You should use the "oidpasswd" utility to unlock the orcladmin account. Do not confuse this account with the default realm administrator "cn=orcladmin,cn=users,dc=xxxxx,dc=yyyyy".

1. Unlock the orcladmin
$ oidpasswd connect=your-database-sid unlock_su_acct=true
OID DB user password:
OID super user account unlocked successfully.
This unlocks the OID Super User account, cn=orcladmin ONLY. They are two separate accounts. After resetting the orcladmin super user account, you will still not be able to login to SSO using the orcladmin account until you perform the next step.

2. Launch the Oracle Directory Manager:
On unix: run the oidadmin command
On Windows: Start/Programs/Oracle AS10g/Integrated Management Tools/Oracle Directory Manager
Note: the ODM tool must be a 10g client.
Using the left menu tree, navigate to Password Policy Management. You will see TWO entries:
cn=PwdPolicyEntry
Password Policy for Realm 

3. Edit each of these and change the Password Expiry Time (pwdmaxage) to an appropriate value
5184000 = 60 days (default)
7776000 = 90 days
10368000 = 120 days
15552000 = 180 days
31536000 = 1 year
999999999 = never expire 

4. Launch the Oracle Directory Manager and navigate to the realm specific orcladmin account... Entry Management > your_realm > cn=Users where all the users a
re located. Click on the + next to cn=Users. The list is in alphabetical order. 
Locate the cn=orcladmin entry. Find the userpassword attribute and reset the value. 

5. Try the ldapbind again.
$ /u01 $ldapbind -p 13061 -D cn=orcladmin,cn=Users,dc=organization,dc=gov -w xxxxxxx7orcl
bind successful
$ /u01 $ldapbind -p 13061 -D cn=orcladmin -w xxxxxxx7ias
bind successful

6. Know after testing all binding is successful you can add an entry to OID.


How to add name service (an OID entry) to oid in command line
1. first, create a file called net.ldif with the following information. Make sure to change the information accordingly so it matches your tnsnames entries.
2. (NOTICE: the last attribute "orclnetdescstring" is one long line)
#### begins here ####
dn: cn=selfschool,cn=OracleContext,dc=oracle,dc=com
cn: selfschool
objectclass: top
objectclass: orclNetService
orclnetdescstring: 
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=eitsys)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=eitsys)))
##### ends here ######
3. Then add it using the following command:
ldapadd -h <host> -p <port> -D cn=orcladmin -w <password> -v -f net.ldif

How can you change an entry in oid?
The following are few ways you can change the OID entries:
# oidadmin
# netmgr
http://youhost.domain:7777/oiddas

What is Oracle Containers for J2EE (OC4J)?
In general, OC4J is a J2EE certified application server. It provides the performance, scalability, and features such as HTTP clustering and load balancing. OC4J in Oracle Application Server is an attractive option for developing and deploying J2EE applications. Oracle Application Server includes complete support for Enterprise JavaBeans (EJB), Servlets, JavaServer Pages (JSP), JTA, JNDI, JMS, JDBC, JavaMail, JAF, JAXP, connector, and JAAS.

How to install OC4J
You can either install OC4J from Oracle Application Server software distribution or download it from the Oracle Technology management Web site. Before installation, make sure that you have installed JDK 1.2.2 or higher and java binaries' path in your profile. 
The following show the steps to install OC4J in your server:
# cd $ORACLE_HOME/ias
# unzip oc4j.zip 
OR
# jar xvf oc4j.zip
# cd j2ee/home
# java -jar orion.jar -install
Enter an admin password to use: oc4jadmin
Confirm admin password: oc4jadmin
Installation done.
Notice that the application server configuration files will be in $ORACLE_HOME/ias/j2ee/home/config directory.
The following is some of the configuration files:
server.xml - Main configuration file containing directives that apply globally across the container.
default-web-site.xml - It is the default HTTP listener.
data-sources.xml - It allows generic naming for data sources to access. 
data-jms.xml - It is java messaging service.
rmi.xml - It is for remote method invocation with ports.
application.xml - It is the default application.
global-web-application.xml - list all directives for all web applications deployed.

 

 

 
 
Google
 
Web web site