พบกับบทความเกี่ยวกับคอมพิวเตอร์และ programming ได้ที่ http://articles.modoeye.com
Databases help / Oracle VS OWB
korakot_titla
korakot_titla
Thu 8 May 2008 12:52:59

รบกวนพี่ๆทีมงานช่วยอ่านกระทู้ที่ผมเคยโพสต์ไว้ในอีกเว็บนึงนะคับแต่ไม่มีใครที่จะแก้ไขปัญหานี้ได้ผมจึงได้ทำการคัดลอกเนื้อหามาแปะไว้ในเว็บนี้ ผมรบกวนพี่ๆทีมงานช่วยแก้ไขปัญหาที่ผมติดอยู่นี้ด้วยนะคับ ขอบคุณครับ

path ที่ชี้ของ OWB ไม่ถูกต้องนะคับรันไม่ผ่านสักที รบกวนท่านผู้รู้

Earlier, you were instructed to install Warehouse Builder in an Oracle home other than the database Oracle home. To ensure access to the Control Center on the 10g R2 database, run the script UnifiedRepos/reset_owbcc_home.sql and pass in your Oracle home for Warehouse Builder. Run the script as a system privileged user such as SYS or SYSTEM. For example, type the following command at the command prompt:
SQL> @c:\oracle\OWB_home_11g\owb\UnifiedRepos\reset_owbcc_home;
Press Enter. You will be prompted for the full path of the Oracle home for the OWB Control Center install. First read the following note.
Note: In the following example, observe the required use of forward slashes "/", even when using a Windows machine. Also please note that your response with the full path must be case-sensitive! Be sure to type the drive letter in uppercase, such as "C:". And follow the case sensitivity of the folder names in the path of the Oracle home for OWB. Your response should appear somewhat like the following example:


คือตอนนี้ผมลองทำ OWB ตามตัวอย่างที่ทาง web Oracle.com เค้าแนะนำให้ทดลองแต่ผมติดตรงที่ผมเน้นตัวอักษรคือผมไม่แน่ใจว่า path  ตรงนี้ที่เค้าให้ผมใส่เปน path ของอะไรเหรอครับ ถ้าเปน path ของ OWB ที่ผมได้ทำการ Install ผมก็ลองแล้วนี่คับแต่ก็ไม่ได้ เราต้องให้ตัว OWB ตัวนี้ชี้ไปที่ path ไหนเหรอคับ รบกวนหน่อยนะคับ ขอบคุณมากคับ

------------------------------------------------------------------------------------------

เสียดายที่ผมอ่านกระทู้นี้ หลังจาก outsource ที่มาพัฒนา Oracle Warehouse Builder ให้บริษัทผม กลับไปแล้ว  อายจัง
วันไหนเค้าเข้ามาอีก  ถ้าผมยังจำได้ เดี๋ยวจะถามให้นะครับ

เท่าที่ผมอ่าน และ ดู comment อธิบาย Script  reset_owbcc_home.sql  ของ database 11g ที่อยู่ในเครื่องผม
เหมือนกับ  Script นี้  มันจะทำหน้าที่ set home ของ OWB ในกรณีที่ลง OWB คนละ Home กับ Database นะ


Rem reset_owbcc_home.sql
Rem
Rem  Copyright (c) Oracle Corporation 2007. All Rights Reserved.
Rem
Rem    NAME
Rem      reset_owbcc_home.sql - This (Install) script sets the
Rem      correct permissions for the OWB Control Center.
Rem
Rem    DESCRIPTION
Rem      Run this script if you are NOT using an OWB installed in the Oracle
Rem      database home. It ensure that the Control Center runs correctly in
Rem      the specificed home. You are only likely to need to perform this
Rem      step if you are installing OWB against a 10g database, or are not
Rem      using the default 11g installation.
Rem
Rem    NOTES
Rem      Parameter is the path of the OWB Oracle home.
Rem      The path is converted to unix format (using /).
Rem      To view the policies set by this script, look in dba_java_policy
Rem      for all policies granted to OWBSYS.
Rem



ดังนั้นความเข้าใจของผมเอง คือ ให้ run script นี้ที่อยู่ใน Home ของ Database  แล้วมันจะขึ้น prompt ให้ใส่ค่า path ของ OWB ครับ
ทั้งนี้  การใส่ค่า path OWB  ต้องดู Slash , ตัวอักษร เล็ก ใหญ่ห้ถูกต้องด้วยนะคับ

--------------------------------------------------------------------------------------------

ผมเพิ่งเคยใช้นะคับ รบกวนแนะนำอีกทีนะคับไม่ค่อยเข้าใจว่า
Rem reset_owbcc_home.sql
Rem
Rem  Copyright (c) Oracle Corporation 2007. All Rights Reserved.
Rem
Rem    NAME
Rem      reset_owbcc_home.sql - This (Install) script sets the
Rem      correct permissions for the OWB Control Center.
Rem
Rem    DESCRIPTION
Rem      Run this script if you are NOT using an OWB installed in the Oracle
Rem      database home. It ensure that the Control Center runs correctly in
Rem      the specificed home. You are only likely to need to perform this
Rem      step if you are installing OWB against a 10g database, or are not
Rem      using the default 11g installation.
Rem
Rem    NOTES
Rem      Parameter is the path of the OWB Oracle home.
Rem      The path is converted to unix format (using /).
Rem      To view the policies set by this script, look in dba_java_policy
Rem      for all policies granted to OWBSYS.
Rem
ให้รันตัวนี้หรือป่าวคับ ถ้าใช่ แล้วรันตรงไหนคับ

ส่วนการใส่ path ของ OWB ที่เครื่องผมได้ทำการ Install ลงในไดร์ D:/product/11.1.0/db_1
และใน db_1 จะมี folder OWB
และที่ผมทดลองทำและไม่ผ่านผมใส่ path  ดังนี้คับ
D:/product/11.1.0/db_1/owb
แล้วก็รัน มันก็ขึ้น succeed นะคับแต่ก็พอสร้างไม่ได้นะคับ
รบกวนอีกรอบนะคับ ขอบคุณมากคับ

--------------------------------------------------------------------------------------------

ผมมี Error มาให้ดูด้วยนะคับ ไม่ทราบว่าทำไมมันขึ้นอย่างนี้คับ

The Warehousing Builder workspace owner installation failed on user OWBSYS Exception occured in 'processSPAWN'. java.lang.Exception: Error:java.sql.SQLException: ORA-29532: Java call terminated by uncaught Java exception : java.sql.SQLException:OWBSYS is not  granted access to D:\product\11.1.0\db_1/owb/admin/rtrepos.properties: please run UnifiedRepos/reset_owbcc_home.sql speccifyint the path of the Oracle Home from which the Control Center Service is begin run.

คือที่ผมคอมเม้นท์ไว้ทำไม path มันถึงมีเครื่องหมาย "/","\" ขึ้นมาเองคับ ทั้งๆที่ตอนใช้คำสั่ง retset_owbcc_home.sql ผมไม่ได้ใส่เครื่อ่งหมาย "

----------------------------------------------------------------------------------------------

เหอๆๆ  อันนี้คงต้องพึ่งผู้เชี่ยวชาญแล้วครับ เพราะผมก็ไม่ได้เชี่ยว OWB  เคยแค่ install software OWB ครั้งเดียวเท่านั้น แล้วผ่านไม่มีปัญหาอะไรด้วย   ยิงฟันยิ้ม
ถ้าเจอ outsource เข้ามาอีกครั้ง แล้วไม่ผมลืม  จะเรียกเค้ามาช่วยตอบให้นะคับ

-------------------------------------------------------------------------------------------

webmaster
webmaster
Thu 8 May 2008 19:19:00
ผมไม่ได้จับนาน โดยเฉพาะ OWB ไม่ได้เล่นเลย อย่างไรลองหาดูใน
http://www.orafaq.com/search/OWB
เดี๋ยวโหลดเสร็จจะช่วยทดลองให้ครับ
korakot_titla
korakot_titla
Thu 8 May 2008 23:41:11

ขอบคุณมากครับ

webmaster
webmaster
Thu 15 May 2008 03:00:24
ผมไม่แน่ใจในปัญหาที่เกิดขึ้นนะครับ ผมลอง Install สร้าง Database แล้วก็ connect ได้ปกติ น่าจะมีปัญหาในส่วนของ reset_owbcc_home.sql เนื่องจากมีการสั่ง replace path ให้เป็น UNIX path คือจาก \ เป็น / แทน copy ไฟล์แล้วแก้ไขแล้วลอง run commane ใหม่ครับน่าจะหาย

ปล. ตัวใหม่นี่ยิ่งกิน resource มากกว่าเก่าเยอะเลยตอน 9i แค่ 512MB ยังพอทำงานอื่นได้ แต่ 11g นี่แค่ run idle ยังลำบากเลย
Reply
Name:
E-mail:
Home | Services | Forum | Classified | Directories | Support | Contact
ATOM feed RSS 0.9 feed RSS 1.0 feed RSS 2.0 feed
Copyright © 2005 - 2007 Modoeye.com, All Rights Reserved.
Disclaimer | Privacy policy | Term of Use | Term of Services
Valid XHTML Valid CSS! PHP: Hypertext Preprocessor MySQL database Apache Powered! FreeBSD Power to serve
Modoeye Sitemap Client login