Xslt 2.0 and RDBMS 9iR2

This might be a really daft question, but is it possible to use XSLT 2.0 from within PL/SQL in a 9.2 RDBMS?
Our upgrade to 10g RDBMS is coming ... but slowly!
Is it possibly to use the 10g XDK with a 9i database in the meantime?
Thanks,
Andy

There are two versions of Saxon (http://saxon.sourceforge.net/). Apparently the Open-Source version does have "to the letter" support for XSTL 2.0.
Saxon uses the Mozilla Public License so you're able to include Saxon in your own projects without having to make them open-source but if you're distributing a Saxon binary, e.g. if you're working for a services company that's creating a project for some customer, you'll have to include in the documentation (or even in the project's readme.txt) that your project uses an unmodified Saxon version and that Saxon's source code can be obtained at the website I already mentioned.
Either way, I'm not much into forcing my own opinions onto others but if you ask me paying a couple of thousand quids for a few licenses of a product like the commercial version of Saxon is well worth it. It probably won't make a dent in your project's budget and you'll be doing the Right Thing, which is to fund the development of great software :-)

Similar Messages

  • Java API's supported in the Jdeveloper, IAS, and RDBMS product components

    If there are any technical errors or "mistatement of the facts" in this posting, please let me know about them ..
    This article is being delivered in Draft form and may contain
    errors. Please use the MetaLink "Feedback" button to advise
    Oracle of any issues related to this article.
    PURPOSE
    This article describes the "Enterprise Java Beans" (EJB), "Java Server Pages"
    (JSP) and servlets Application Programming Interfaces (API) supported by the
    Oracle products, Jdeveloper, Internet Application Server (IAS) and the Oracle
    RDBMS release 2 and release 3, also known as Version 8.1.6 and 8.1.7,
    respectively.
    SCOPE & APPLICATION
    All parties interested in the Java API's supported by these products.
    Java API's supported in the Jdeveloper, IAS, and RDBMS product components
    JDEVELOPER
    JDEVELOPER is Oracle's Java development tool designed for coding / development,
    testing / debugging, and deployment of Java Applications to the IAS and
    RDBMS platforms.
    With the java software api's being in a constant state of evolution, each new
    release of Jdeveloper adds support for the "then current" version of the java
    software api's, if it does not already have it implemented.
    JDEVELOPER SERVLET API JSP API EJB API
    VERSION VERSION VERSION VERSION
    3.2.X.X 2.2 1.1 1.1
    3.1.X.X 2.1 1.0 1.0
    NOTE :
    Sun Microsystems and their advisory teams (Oracle is on it) is working on
    "draft" specifications for the next version of all of these API's
    EJB -------> http://java.sun.com/products/ejb/index.html
    JSP -------> http://java.sun.com/products/jsp/index.html
    Servlets --> http://java.sun.com/products/servlet/?frontpage-javaplatform
    It is anticipated that future releases of Jdeveloper will continue to be
    upgraded to include support for the next version of each api.
    To obtain the latest information on Oracle's Internet Development Suite (IDS)
    of tools, please review the "Internet Developer Suite" information located
    on Oracle's technet web site at :
    http://technet.oracle.com/products/index.htm
    IAS
    IAS is Oracle's next evolution of the web server and application server
    product technology superceeding the Web Application Server (WAS) and Oracle
    Application Server (OAS) product lines.
    IAS SERVLET API JSP API EJB API EJE VERSION
    VERSION VERSION VERSION VERSION SUPPORTED
    9I(1.0.2) 2.2 1.1 1.1 817
    8i(1.0.1-NT) 2.0 1.0 1.0 816
    8i(1.0.0-UNIX) 2.0 1.0 1.0 816
    The IAS product contains two Java Virtual Machines (JVM) within it's
    architecture.
    They are called :
    1) APACHE JSERV servlet engine
    2) ORACLE ENTERPRISE JAVA ENGINE (EJE)
    APACHE JSERV servlet engine
    The APACHE JSERV servlet engine is an EXISTING product licensed from the
    apache group which supports the servlet api 2.0.ONLY.
    The APACHE JSERV product does not support ANY JSP's unless the customer
    installs a third party jsp engine.
    The IAS 8i/9i which has the APACHE JSERV product embedded in it, comes with
    Oracle's JSP engine (OJSP) already integrated into it. OJSP supports JSP's up
    to the specific JSP engine version documented in the Oracle Universal
    Installer (OUI) for the 8.1.7 RDBMS or the IAS products. It is also documented
    in the product's release notes.
    Oracle ENTERPRISE JAVA ENGINE (EJE)
    The EJE formerly known as :
    1) Oracle 8i Java Virtual Machine (JVM)
    2) JSERVER component,
    3) Aurora JVM
    was originally releas ed in the RDBMS 8.1.5 database with jdk 1.1.6 based java
    support.
    The currently supported versions of the Oracle 8i RDBMS, versions 2 and 3,
    also known as Version 8.1.6 and 8.1.7, respectively, provides a jdk 1.2.1
    based java virtual machine support.
    "EJE" Version 816
    This EJE, found in rdbms 8.1.6 and IAS 8i, contains support for the ejb
    api 1.0, corba, and java stored procedures.
    "EJE" Version 817
    This EJE, found in rdbms 8.1.7 and IAS 9i, contains support for the ejb,
    corba, and java stored procedures as well as the Oracle Servlet Engine (OSE)
    which provides support for the servlets 2.2 api and JSP 1.1 api.
    Note :
    EJB support in the "EJE" Version 817 has been upgraded to comply with the EJB
    1.1 api specification which includes "entity beans" support.
    What is the bottom line ??
    1) Servlets deployed to the APACHE JSERV must comply with servlet api 2.0.
    2) Servlets 2.1 or higher are only supported in EJE's OSE component found in
    the rdbms 817 or ias 9i products. Servlets api 2.0 can also run in the OSE.
    References
    1) "Oracle9i Application Server Technical White Paper" located at :
    http://technet.oracle.com/products/ias/pdf/9ias_102.pdf
    2) "Whats New? Oracle8i JVM Accelerator, Oracle Servlet Engine, OracleJSP ..."
    located at :
    http://technet.oracle.com/products/oracle8i/pdf/504.pdf
    3) "Oracle8i Release 3 New Features Summary" located at :
    http://technet.oracle.com/products/oracle8i/pdf/8iR3_nfs.pdf
    null

    which jvm is used by jserv ?? EJE or a separate jdk ?
    The Jserv servlet engine is running in a separate jdk JVM external to the EJE jvm which is embedded within the "database" component of ias and the RDBMS.
    See the reference below for more details ...
    if jserv only support old apis, why it is in oracle's products ?
    i would assume that the oracle servlet engine was under development when ias 8i was released and became available in time for the ias 9i and rdbms 817 products.
    looking back in history leads me to believe ias 8i was a migration path to get to ias 9i or rdbms 817.
    Based upon the long history of new releases of every oracle product being upgraded with new features, it's reasonable to assume that these products will continue to evolve.
    when I deploy a jsp how to deploy in the right servlet container ("EJE") ?
    as documented in the reference below, you can deploy JSP's to either the apache jserv jvm or the EJE since the ORACLE JSP engine functionality is in both jvm's.
    there are many posts where you can see that people have deploy in jserv and they have problems because they don't use the right container (servlet 2.0 instead of
    servlet 2.2) http://technet.oracle.com:89/ubb/Forum2/HTML/006349.html
    when ias 8i came out this was clearly an issue since servlet support was at api 2.0, and the current servlet api was probably at 2.1.
    oracle clearly made every effort to get ias 9i released quickly to supply a servlet 2.1 and 2.2 capable engine to resolve this issue.
    since ias 9i and rdbms 8.1.7 are available this is no longer an issue.
    The reference below explains the architecture and understanding it would eliminate a lot of "deploy to the wrong ias 9i component" issues.
    so why jserv is bundled with oracle 8i/9ias since EJE support the right api version ?
    if in ias 9i release , oracle had removed the jserv component without any advance warning, many customers would have been very upset since oracle makes every attempt to give advance notice before removal of functionality.
    References
    1) "Oracle9i Application Server Technical White Paper" located at :
    http://technet.oracle.com/products/ias/pdf/9ias_102.pdf

  • Help XSLT Data Mapper and Transformations

    Hi guys,
    I need help in oracle ESB (XSLT Data Mapper and Transformations). I need to use the XSLT Data Mapper and Transformations using Response XML to Request XML.
    Thanks
    Vyas

    The concept is the same as BPEL. Without going into too much detail have a look at the folowing tutorial.
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28212/buildendtoend.htm#BEICEFJD
    Near the bottom they show how to do transformations.
    cheers
    James

  • Can i have same ORACLE_BASE directory location for Grid and RDBMS home ?

    Grid Version:11.2.0.3
    OS : RHEL 5.8
    Can I have same ORACLE_BASE location for Grid (CRS) and RDBMS software Homes ?

    The OFA guideline for ORACLE_BASE is /u01/app/<owner>.  If you are using the same owner for all software (let's call him "oracle") then a simple installation will have one base /u01/app/oracle.  This base will be shared by all installations of Grid and RDBMS software.  But, if you use two separate owners (let's call them grid and oracle) then you will have two separate ORACLE_BASE locations /u01/app/oracle and /u01/app/grid.  I always use two separate owners, but I know many people who only use the oracle account and that is fine too.
    Oracle allows every ORACLE_HOME to have a unique base.  There is no requirement to install more than one ORACLE_HOME under a given ORACLE_BASE location.  This is just an extension of what I said above, that the ORACLE_HOMEs for Grid and RDBMS can be stored under separate ORACLE_BASEs. 
    If you are using RAC then I strongly suggest you read chapter 1 of the Oracle Real Application Clusters Installation Guide.  Read section "Overview of Oracle Base and Oracle Home Directories". The rules for ORACLE_BASE are as I noted above, but the rules for ORACLE_HOME change: the Grid ORACLE_HOME is not to be a sub-directory of the Grid ORACLE_BASE as it is when not using RAC.  So, with RAC your directory structure might look more like this:
    su -
    umask 0022
    mkdir -p /u01/app/oraInventory
    # Grid Base
    mkdir -p /u01/app/grid
    # Grid Home
    mkdir -p /u01/app/12.1.0.1/grid
    # Oracle  Base
    mkdir -p /u01/app/oracle
    # Oracle Home
    mkdir -p /u01/app/oracle/product/12.1.0.1/db_1
    # Ownership for all of the above...
    chown grid:oinstall /u01/app/grid
    chown grid:oinstall /u01/app/oraInventory
    chown grid:oinstall /u01/app/12.1.0.1
    chown grid:oinstall /u01/app/12.1.0.1/db_1
    chown oracle:oinstall /u01/app/oracle
    My examples show 12.1.0.1 but it's the same for 11.2.0.3.
    There's no requirement to create the home directories prior to running the OUI.  It can create them for you.  I just shown these commands to help you understand the big picture.
    The OUI will pop-up a warning if the Grid user's ORACLE_HOME is outside of his ORACLE_BASE as shown in the above mkdir commands, which is funny since it is the recommended setup in the Oracle RAC documentation.  I submitted a bug report several years ago.  To be consistent across all of my RAC and non-RAC servers I follow the more strict rules of RAC and use the mkdir commands shown above.

  • Cubes Structure and rdbms

    Hi Gurus,
    What is the major difference in Cubes sturcture and rdbms
    Can rdbms fully supports cubes structures.if not why
    Thanks

    user1124854 wrote:
    Awaiting for reply
    Hello and welcome to the internet. While you are awaiting you may like to try this handy page that allows you to search for what you would like to find.
    http://www.google.com/
    You may find it quicker than repeatedly asking others to use it for you.
    http://www.google.com/search?q=rdbms+cube
    http://en.wikipedia.org/wiki/OLAP_cube
    If you find any specific questions in anything you find please feel free to stop by to have a discussion about them.

  • Diff bet DBMS and RDBMS

    Hi Gurus,
    Please tell me the difference between DBMS and RDBMS.
    Thanks
    Hari

    The R means "relational". A relation is a mathematical construct that E.F.Codd first used as the basis for his model of database management in 1969.
    The term "relational" has nothing to do with relationships or references between tables. Loosely speaking, a Relation (in RDBMS terms) is an N-dimensional data structure that is commonly pictured or represented as a "table".
    An RDBMS is a database management system that implements the relational model. Oracle is not an RDBMS. Like all SQL DBMSs, Oracle borrows certain concepts and terminology from the relational model even though it departs from relational principles in some major respects. SQL DBMSs are sometimes informally described as RDBMSs, which has lead to some unfortunate misunderstandings about relational issues.
    I can recommend Chris Date's book: Introduction to Database Systems as a great starting point for further reading about RDBMS.

  • Auto start and shutdown 9iR2 on Mac OS X?

    Does anybody know how to set up Mac OS X to auto start and auto shutdown 9iR2 on Mac OS X?

    You may want to create an item in /Library/StartupItems.
    See the following links for information:
    http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/BootingLogin/Customization_Techniques.html
    http://developer.apple.com/techpubs/macosx/Darwin/howto/system_starter_howto/system_starter_howto.html
    http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/BootingLogin/The_Boot_Sequence.html
    I have not tried this as yet.

  • How can I do to install Patch and RDBMS using SILENT mode in a Pentium 4 ?

    I was installing the Oracle 8.1.6.0.0 in remote machines using a SILENT mode normally. But now, I`m having a problem with the Pentium 4. I need to apply a patch because of the bug number 1507768. And, after apply the patch, I don't get to install using the same response file (in a SILENT mode). How can I do to install the patch and the RDBMS using a SILENT mode in a Pentium 4?

    I've created a new domain with this command:
    $ asadmin create-domain adminport 18000 user admin dmRemineTest
    I've installed the serviceWindows with this script:
    SETLOCAL
    SET I=C:\Sun\SDK
    c:\windows\system32\sc.exe create JCAPS6U1_dmRemineTest binPath= "%I%\lib\appservService.exe \"%I%\bin\asadmin.bat start-domain dmRemineTest\" \"%I%\bin\asadmin.bat stop-domain dmRemineTest\"" start= auto DisplayName= "JCAPS6U1_dmRemineTest"
    pause
    ENDLOCAL
    like the one suggest me in this forum, and thanks for it but now i have an other problem. I've started the domain dmRemineTest and it is running:
    asadmin> list-domains
    dmRemineTest running
    domain1 not running
    Command list-domains executed successfully.
    I'm proving to access to eManager at link: http://intaliodevsrv:15000/eManager/Welcome.do
    inserting this informations required:
    Server Type: Sun Java System Application Server Domain (9.1)
    Host Name: localhost
    HTTP Administration Port: 18000
    User Name: admin
    Password: adminadmin
    I insert into HTTP Administration Port 18000 from here:
    <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="__asadmin" enabled="true" family="inet" id="admin-listener" port="18000" security-enabled="false" server-name="" xpowered-by="true"/>
    When I click on Connect to Server, eManager response with this message:
    Connection Failed. Please check the following:
    - Server Type is correct.
    - Server is running.
    - Hostname and Port number(s) are correct.
    - Server SSL configuration.
    How can I solve the problem?

  • XSLT Collaboration Definition and XSLT 2.0

    Hello,
    is it possible to use XSLT 2.0 in XSLT Collaboration Definition? If so, how can I manage it?
    Regards,
    Jirka

    There are two versions of Saxon (http://saxon.sourceforge.net/). Apparently the Open-Source version does have "to the letter" support for XSTL 2.0.
    Saxon uses the Mozilla Public License so you're able to include Saxon in your own projects without having to make them open-source but if you're distributing a Saxon binary, e.g. if you're working for a services company that's creating a project for some customer, you'll have to include in the documentation (or even in the project's readme.txt) that your project uses an unmodified Saxon version and that Saxon's source code can be obtained at the website I already mentioned.
    Either way, I'm not much into forcing my own opinions onto others but if you ask me paying a couple of thousand quids for a few licenses of a product like the commercial version of Saxon is well worth it. It probably won't make a dent in your project's budget and you'll be doing the Right Thing, which is to fund the development of great software :-)

  • ASM 11.1.0.7.0 and RDBMS client with version (10.2.0.4)

    Hi all,
    we are trying to expand the space in our ASM. Using a RAC system with two instances.
    - ASM Version is 11.1.0.7.0
    - RDBMS client with version (10.2.0.4)
    Ad the time the ASM is rebalancing the database instances are going down.
    - The alert logs from ASM
    SQL> ALTER DISKGROUP ORADATA ADD DISK '/dev/mapper/1HITACHI_D60062610068-part1' SIZE 51199 M REBALANCE POWER 2
    WARNING: Deprecated privilege SYSDBA for command 'ALTER DISKGROUP ADD/DROP/REBALANCE'
    NOTE: Assigning number (2,2) to disk (/dev/mapper/1HITACHI_D60062610068-part1)
    NOTE: requesting all-instance membership refresh for group=2
    NOTE: initializing header on grp 2 disk ORADATA_0002
    NOTE: cache opening disk 2 of grp 2: ORADATA_0002 path:/dev/mapper/1HITACHI_D60062610068-part1
    NOTE: requesting all-instance disk validation for group=2
    Tue Oct 13 15:12:42 2009
    NOTE: disk validation pending for group 2/0x44480376 (ORADATA)
    Tue Oct 13 15:12:45 2009
    Tue Oct 13 15:12:45 2009
    WARNING: RDBMS client (SID1:SID,ÿ) with version (10.2.0.4.0) is not compatible with a pending operation
    NOTE: ASM client SID1:SID died unexpectedly.
    Alert Logs from DB Instance
    ORA-15064: error in comunication with ASM-Instance..
    Shutting down instance
    My question: Does anyone know if we face a bug ore some configuration issues ?
    THX ! Woo

    Hy Moo,
    My question: Does anyone know if we face a bug ore some configuration issues ?It seems to be some kind of problem in the disk group configuration. You can verify it querying compatibility and database_compatibility fields from v$asm_diskgroup view.
    As You should know, there are ASM new features that requires COMPATIBLE.ASM and COMPATIBLE.RDBMS attributes of the ASM diskgroup be set to at least Oracle 11.1. ( Fast Disk Resync is one example of it), maybe You are facing a configuration issue, not hitting a bug.
    Hope it helps,
    Cerreia

  • Clone RAC Install - CRS and RDBMS Homes

    Hi All,
    I have used the clone option with oui to clone an existing Oracle RDBMS home as per Metalink article 300062.1.
    I am interested in cloning a RAC install , including CRS nd RDBMS homes , and can see that the clone directory exists , so assume it must be possible, does anyone know if there are specfic instructions on how to clone a CRS/RAC install ?
    Thanks,
    Darrell

    Please go with links:------------
    www.oracle.com/database/rac_home.html -
    www.oracle.com/technology/products/database/clustering

  • JAAS, LDAP and RDBMS

    Hi,
    I need some help developing a SSO (Single Sign-On) service used by the system I'm currently developing. I've read several posts on this forum, but none of them addresses this scenario.
    Yeah, I'm a true newbie to this technologies and have only read the tutorials about them, but now I need some help with "best practices", sample code, design. I would be most grateful!
    Here's the scenario:
    1. A user starts the system.
    2. User have the choices of going remote or running locally.
    3. If remote is choosen the current user should be validated against a LDAP service, reading some attributes telling us if she have access to remote database and what her read/write permissions are.
    4. Database user name and database password is extracted from LDAP service and used in system to create a remote connection to the database.
    Hope you guys understand! Password and usernames sent across the network have to be encrypted.
    PS. I'm not using J2EE, but it would be nice to have a compliant solution :-)
    So, what do you guys think?
    Kind regards, Andreas

    Hi Andreas,
    to do a basic LDAP authentication you can try something like this:
        public java.lang.String ldapAuthentication() {
            Hashtable env = new Hashtable(11);
            env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
            env.put(Context.PROVIDER_URL, "ldap://" + THE_LDAP_HOST + ":389/" + THE_LDAP_DOMAIN);
            env.put(Context.SECURITY_AUTHENTICATION, "simple");
            String principal = (COMMON_NAME.equals("") ? USER_NAME : COMMON_NAME);
            env.put(Context.SECURITY_PRINCIPAL, principal);
            env.put(Context.SECURITY_CREDENTIALS, THE_PASSWORD);
            try {
                DirContext ctx = new InitialDirContext(env);
                return LDAP_AUTH_OK;
            } catch (AuthenticationException e){
                return LDAP_AUTH_INVALIDCREDENTIALS;
            catch (NamingException e){
                return LDAP_AUTH_NAMINGEXCEPTION;
        }The capitalized words - except the constants in Conext - are the parameters you may change for your specific use.
    To connect and Query the LDAP database you should "bind" to the LDAP server with a known username and password and query the Context you have created (ctx in the code above).
    For your point #4 i think that you can't extract a password of any user from the LDAP database. It is encrypted.
    Try to use kerberos authentication instead and use the ticket you obtain from the kerberos server to authenticate with the RDBMS.
    Something about kerberos authentication may be found here
    http://forum.java.sun.com/thread.jsp?forum=51&thread=380562&tstart=0&trange=15
    Regards,
    Andrea Colleoni

  • Syntax difference RdB SQL and RDBMS SQL

    Hi folks,
    I tried to find out, but still I couldn't find an answer. Maybe you'll know:
    Is there is syntax difference between SQL statements for Oracle RdB and Oracle RDBMS?
    The situation is, that we will migrate an application from VB6 to VB.NET. The VB6 version contains sql statements to an Oracle RdB database. The VB.NET version should query on a Oracle RDBMS (10g).
    You help is more than welcome!

    Shorter than Toon already put it, is not possible ;)
    Some related questions and explanations:
    Re: diff. between sql and pl/sql
    Re: PL/SQL vs SQL
    Re: SQL call in PL/SQL

  • IAS and RDBMS and Linux

    Linux is great but and all but what kind of machines are all you big websites using. Hope not using intel.
    Over 400,000 linux lovers enjoy iAS9i. WHY? It doesnt run on OS greater than 6.0.
    I like the 8i RDBMS but what are you guys using to server your pages.(.jsp, .php, .psp)
    I dont want any info on .asp.

    I have installed Oracle 10g and when running the following code i get an error pls help me out
    import java.sql.*;
    public class conn2
    public static void main(String args [])
    Connection conn;
    Statement stmt;
    ResultSet rset;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    String url = "jdbc:oracle:thin:@ 192.168.7.281:1521:rep9";
    String username = "pr01";
    String password = "pr";
    conn = DriverManager.getConnection(url, username, password);//exception in this line
    System.out.println("Connection successful");
    catch (Exception e)
    e.printStackTrace();
    Gives the runtime error
    java.sql.SQLException: Io exception: The Network Adapter could not establish the
    connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:431)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:515)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at conn2.main(conn2.java:18)

  • Multiple data sources Essbase and RDBMS in BIEE 11g

    Hi,
    I want to link Essbase cube with sql server in BIEE 11. I try to do it and I found that it can be linked in physical layer, but it does not allow me to set linkage in "Business Model and Mapping" layer. when I drag and drop a report and it return error:
    =================
    View Display Error
    ODBC Driver returned an error (SQLExeDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code:10058. [NQODC] [SQL_STATE: HY000] [nQSError: 10058] A general error has ocurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 15018] Incorrectly defined logical table source (for fact table dummy_gen2_info) does not contain mapping for [Product.Gen2,Product - Member Key]. (HY000)
    =================
    My steps:
    ==========================
    1) Use "Import Metadata" in BI Admin tools to import data source from Essbase (e.g. TBC, TBC_ASO)
    2) Use "Import Metadata" in BI Admin tools to import SQL server table (e.g. testdb.dbo.p_gen2_info)
    3) create linkage between table testdb.dbo.p_gen2_info.gen_id with TBC_ASO.[Product.Gen2,Product - Member Key] in "Physical layer"
    4) drag and drop TBC (Essbase), TBC_ASO (Essbase), and testdb (sql server) from physical layer to "Business Model and Mapping" layer
    5) drag and drop table testdb.dbo.p_gen2_info to TBC_ASO (since it dosn't allow set linkage in "Business Model and Mapping" layer between different data source)
    6) drag and drop TBC, TBC_ASO, testdb from "Business Model and Mapping" layer to Presentation Layer.
    ==========================
    Anything I did wrong? please advise.

    Check what are your settings under tools-> Embedded OC4J Preferences in the datasource node.

Maybe you are looking for