Story about Timbuktu, Tombouctou, MaliA story I really like; Story about Timbuktu (Tombouctou, Mali) There were an Australian and a priest competing against each other.
Their scores were equal, so they had to create a verse about "Timbuktu". The priest began: I was a father, all my life, had no children, had no wife. I read the Bible, through and through. On my way to Timbuktu. Then the Australian told his version: When Tim and I to Brisbane went, we met three ladies cheap to rent. They were three and we were two, so I booked one and Tim booked two!
Cheers!! Add a comment Creating an online Phone Book with Oracle Database and SQLDeveloperThis tutorial shows how to create an Online Phone Book with search feature using Oracle Database and SQLDeveloper. What’s needed?
1. First let’s prepare our data set in excel sheet.
(click to enlarge)
= "INSERT INTO MYPHONEBOOK (FIRST_NAME, LAST_NAME, PHONE_NUMBER) VALUES ( '"&A2&"', '"&B2&"', '"&C2&"');"
2. Next, let’s create a table "MYPHONEBOOK" in a database: The following SQL DDL does the job (a table with three columns): CREATE TABLE MYPHONEBOOK 3. Our Table is ready for data load; copy and paste all insert statements into SQLDeveloper's worksheet and run it; INSERT INTO MYPHONEBOOK (FIRST_NAME, LAST_NAME, PHONE_NUMBER) VALUES ( 'Donald', 'OConnell', '650.507.9833'); 4. Now let’s create an Online Phone Book using SQLDeveloper's export feature:
5. We are done! Now embed htm file at any webhosting plan, web server or use it locally. Enjoy your online phone book with search feature ? Click here to see a working example of the Online Phone Book.
Cheers!! Add a comment GRUB 2 Restore after Windows installationGRUB 2 Restore after Windows (re)installation – fast and simple solution Scenario: Multiple OS in one machine - Linux Grub2 Boot Loader doesn't start after Windows (re) installation. A selfish Windows OS starts automatically by default. It happens when installing Linux and Windows. This can be easily avoided by installing multiple operating systems in the following order; first Windows then Linux. Example of existing disk partitions: /sda1 ntfs Windows 7 (here, Windows installer set up the Boot flag to active) /sda2 ext3 Ubuntu ( bootloader’s home partition and the Boot flag has been unset) /sda3 ext3 home /sda4 ext3 .... /sda5 ntfs data/whatever Requirements: - A patient – Computer with multiple OS's and the bootloader broken by the Windows installer. - Ubuntu LiveCD (installation CD) or - A light GParted Live CD/USB/HD/PXE - gparted-live-xxx.iso ~121.4 MB (recommended) Solution: GRUB-2 Boot Loader has been restored by applying the following remedy:
Cheers!!
Add a comment
Screen saver killer for windows
The Screensaver killer script
Sometimes you have to work with the systems where you are not a local admin, or you haven’t been given the credentials instead of someone just logged you in letting you work for a while upon a desktop. Most of the time there is a screensaver policy running which is set up to 5, 10 sometimes 15 minutes. Such an annoying could it be when you are back to your desk finding your laptop/desktop locked due to the strict time out policies! What would you do? Either asking someone, for the next time; “could you please log me in, again?” or ask uncle Google for a small “exec” file which is being called the screensaverkiller !
To the point - Installing screensaver killer in Win OS: 1. Download screen saver killer zip package 2. Crete a directory C:\scr_killer and unzip scr_killer.zip into this dir, you will get scr_killer.exe and sleep.exe 3. Create a batch file in C:\scr_killer called scr_killer.bat 4. Put below code into the file: 5. Save changes, create a shortcut on your desktop, execute scr_killer.bat script and you are done. 6. To stop the script; hit CTRL+C and press "Y"
Add a comment JVM memory allocation between the managed servers in WLS 10.3
Oracle WebLogic Server 10.3 comes with default configuration of the JVM memory distribution between the managed servers. Assuming we have the "AdminServer" and one managed server “SOA_Server1” in "soadomin" domain, the JVM memory allocation will be the same for all servers by default.
In order to tune the JVM memory allocation for all managed servers and allocate desired amount of memory per a managed server an update of the configuration file can be performed. Example configuration files in <MIDDLEWARE_HOME>/domains/soadomain/bin Linux OS : setSOADomainEnv.sh Win OS : setSOADomainEnv.cmd Memory allocation will be set as follow AdminServer = 768MB SOA_Server1 = 2048MB (2g) Default memory = 1024MB (1g)
if [ "${SERVER_NAME}" = "" ] || [ "${SERVER_NAME}" = "SOA_Server1" ]; then
if [ "${SERVER_NAME}" = "SOA_Server1" ] || [ "${SERVER_NAME}" = "SOA_Server2" ]; then
:OracleJVM Start the WLS environment and test settings: [weblogic@host ~]$ ps auxww |grep java
Add a comment Identifying locked objects and killing the session in DB
Common error: ORA-00054: resource busy and acquire with NOWAIT specified
To identify all locked sessions in an Oracle database: Query 1: SELECT oracle_username || ' (' || s.osuser || ')' username, s.sid || ',' || s.serial# sess_id, owner || '.' || object_name object, object_type, DECODE (l.block, 0, 'Not Blocking', 1, 'Blocking', 2, 'Global') STATUS, DECODE (v.locked_mode, 0, 'None', 1, 'Null', 2, 'Row-S (SS)', 3, 'Row-X (SX)', 4, 'Share', 5, 'S/Row-X (SSX)', 6, 'Exclusive', TO_CHAR (lmode)) mode_held FROM v$locked_object v, dba_objects d, v$lock l, v$session s WHERE v.object_id = d.object_id AND v.object_id = l.id1 AND v.session_id = s.sid ORDER BY oracle_username, session_id; Query 2: SELECT c.owner, Output example: OWNER OBJECT_NAME SID,SERIAL OBJECT OBJECT_TYPE STATUS MODE_HELD Get the SID and SERIAL values of the session you want to kill. To kill the session in an oracle database:SQL> ALTER SYSTEM KILL SESSION '579, 703' IMMEDIATE;
This is it! Add a comment Orcle APEX Manage HTTP remote access
Manage HTTP Access in Application Express 3.0
After default installation of Oracle APEX 3.0, remote users are not allowed to access Database home page (APEX console)
To set HTTP Access to allow remote connects: SQL> exec dbms_xdb.setListenerLocalAccess (l_access => FALSE);
To set HTTP Access back to Local only: SQL> exec dbms_xdb.setListenerLocalAccess (l_access => TRUE);
More information availble at Oracle: Oracle Application Express
Installing Oracle AIA 11g Foundation Pack on Linux 64bitInstallation of Oracle Application Intergration Architecture Foundation Pack (AIA) 11g including Oracle SOA Suite 11g with Oracle BAM 11g on Oracle Database XE 10g and Linux 64bit.Assumptions:
Download software and place it into /home/oracle/stage directory: If you don't already have an Oracle database installed, choose Oracle Express Edition for a small footprint database. (Oracle XE is suitable for development only. Ignore the warning during installation about the database version as that pertains to production installations.) Oracle Database 10g Release 2 (10.2.0.1) Express Edition for Linux x86 http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html Oracle WebLogic Server 11gR1 (10.3.2) 64bit - Package Installer (Additional Platforms, file: wls1032_generic.jar)
http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.htmlRepository Creation Utility (11.1.1.2.1) http://www.oracle.com/technology/software/products/middleware/htdocs/fmw_11_download.html SOA Suite 11.1.1.2.0 Generic: 1.7 GB (Nov-2009) http://www.oracle.com/technology/software/products/middleware/htdocs/fmw_11_download.html Oracle AIA 11gR1 (11.1.1.2.0) Linux x86 V20956-01.zip http://edelivery.oracle.com
Add a comment
Ho to uninstall Oracle SOA Suite 11g & WebLogic Server
This short demo demonstrates how to uninstall Oracle SOA Suite 11g including WebLogic platform and database schemas.
cascade
Add a comment
Oracle database startup shutdown scriptAutomate Oracle Database startup shutdown scriptorarun - script automates database start, stop, status query tasks, also allows user to manage isqlplus console and em database controlUsage: orarun {start|stop|status|isqlstart|isqlstop|emstart|emstop}
Installation: Create "orarun" file and paste the code into the created file. Make sure script's location is in user's $PATH (ex.: /home/oracle/bin/orarun)
Enjoy the script...Add a comment
|
More Articles...
- Installing Oracle EM Grid Control 11g on Linux
- Oracle DBA Interview Questions Answered: UNIX
- Drop multiple tables from users schemas
- Problem when creating the SQL Profile
- Doordefender is in Holland
- The key is always a good management
- The Universe according to Google
- How to uninstall Oracle Database 11g
- How to increase SGA_MAX_SIZE
- Enter the Linux
- Convert Videos AVI to MPG
- The powerful Human Cell
- Data Files: moving renaming deleting
- Redo Online Logs: add clear move delete
- eMarcel's music online
- Vi Reference Card - quick how-to
- The truth is just here
- Puzzling puzzle the game
- Earth Seasons Simulation
- Show number of CPUs UNIX












