Error getting schema root with OLAP API

I am getting the following error:
java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read
     void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
     void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
     void oracle.jdbc.dbaccess.DBError.throwSqlException(java.io.IOException)
     void oracle.jdbc.driver.OracleStatement.executeNonQuery(boolean)
     void oracle.jdbc.driver.OracleStatement.doExecuteOther(boolean)
     void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()
     int oracle.jdbc.driver.OraclePreparedStatement.executeUpdate()
     boolean oracle.jdbc.driver.OraclePreparedStatement.execute()
     oracle.express.idl.ExpressMdmModule.MetadataPropertyBagUnion[] oracle.express.idl.ExpressMdmModule.MetadataProviderInterfaceStub.getMetadataPropertyBags(java.lang.String[])
     oracle.express.mdm.MetadataPropertyBag[] oracle.express.mdm.MetadataPropertyBagFetcher.fetchMetadataPropertyBags(java.lang.String[])
     oracle.express.mdm.MdmObject oracle.express.mdm.MdmMetadataProvider.getMetadataObject(java.lang.String)
     oracle.express.mdm.MdmSchema oracle.express.mdm.MdmMetadataProvider.getRootSchema()
     void mypackage3.olaptest.<init>()
     void mypackage3.olaptest.main(java.lang.String[])
java.lang.NullPointerException
     oracle.express.mdm.MetadataPropertyBag[] oracle.express.mdm.MetadataPropertyBagFetcher.fetchMetadataPropertyBags(java.lang.String[])
     oracle.express.mdm.MdmObject oracle.express.mdm.MdmMetadataProvider.getMetadataObject(java.lang.String)
     oracle.express.mdm.MdmSchema oracle.express.mdm.MdmMetadataProvider.getRootSchema()
     void mypackage3.olaptest.<init>()
     void mypackage3.olaptest.main(java.lang.String[])
***Exception encountered : java.lang.NullPointerException
Process exited with exit code 0.
... when running the following code
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
String url = "jdbc:oracle:thin:@jonm2000:1521:jonm";
String user = "sh";
String password = "sh";
oracle.jdbc.OracleConnection conn = (oracle.jdbc.OracleConnection)java.sql.DriverManager.getConnection(url, user, password);
ExpressTransactionProvider tp = new ExpressTransactionProvider();
ExpressDataProvider dp = new ExpressDataProvider(conn, tp);
dp.initialize();
MdmMetadataProvider mp = null;
mp = (MdmMetadataProvider) dp.getDefaultMetadataProvider();
MdmSchema root = mp.getRootSchema();
dp.close();
conn.close();
catch(Exception e) {
System.out.println("***Exception encountered : " + e.toString());
e.printStackTrace();
It is also brings down the Oracle database.
I am running:
JDeveloper 9.0.2.822.0
Oracle Database 9.0.2.1.0
The code I am running is pretty much copied from the Oracle OLAP API guide - does anyone know why I am getting problems?

It appears to be missing metadata. Since you are trying to get the schema, this is most likely a field that is required but not present (something silly, like labels). Try the following scripts posted below that verify metadata.
When creating solved level hierarchies, all of these dimensions require 4 special dimension attributes. All 4 of these dimension attributes require a level attribute to be mapped to a populated column in each of the solved hierarchies.
The 4 special attributes are:
GID
PARENT_GID
ET
PARENT_ET.
You can check if these attributes exist with the following query:
SELECT DA.OWNER,\n\
DA.DIMENSION_NAME,\n\
DA.ATTRIBUTE_NAME,\n\
NVL(DA.DISPLAY_NAME, DA.ATTRIBUTE_NAME),\n\
NVL(DA.DESCRIPTION, DA.ATTRIBUTE_NAME),\n\
(CASE WHEN D.DESCRIPTOR_VALUE = 'Long Description' THEN 4\n\
WHEN D.DESCRIPTOR_VALUE = 'Short Description' THEN 5\n\
WHEN D.DESCRIPTOR_VALUE = 'End Date' THEN 1\n\
WHEN D.DESCRIPTOR_VALUE = 'Time Span' THEN 2\n\
WHEN D.DESCRIPTOR_VALUE = 'Year Ago Period' THEN 3\n\
WHEN D.DESCRIPTOR_VALUE = 'Grouping ID' THEN 6\n\
WHEN D.DESCRIPTOR_VALUE = 'Parent Grouping ID' THEN 7\n\
WHEN D.DESCRIPTOR_VALUE = 'ET Key' THEN 8\n\
WHEN D.DESCRIPTOR_VALUE = 'Parent ET Key' THEN 9\n\
ELSE 0\n\
END)\n\
FROM ALL_OLAP2_DIM_ATTRIBUTES DA,\n\
all_olap2_entity_desc_uses edu,\n\
all_olap_descriptors d\n\
where\n\
DA.OWNER = EDU.ENTITY_OWNER (+)\n\
AND DA.DIMENSION_NAME = EDU.ENTITY_NAME (+)\n\
AND DA.ATTRIBUTE_NAME = EDU.CHILD_ENTITY_NAME (+)\n\
AND EDU.DESCRIPTOR_ID = D.DESCRIPTOR_ID (+)\n\
ORDER BY DA.OWNER, DA.DIMENSION_NAME, DA.ATTRIBUTE_NAME
For these 4 attributes, it's not enough that they just exist, (note you can name them whatever you want) but they also have to be marked as the appropriate type as per the above SQL.
Note also that the above SQL checks for other specially marked attributes such as Long/Short Description and End Date/Time Span. These attributes can exist without being marked as such (and can even be missing completely), and OLAP API will still function. However, I believe the OLAP API functions "better" if these attributes exist and are marked as special.
The below SQL will check your column mappings for all attributes. (As a general rule, you shouldn't have to worry too much about mapping any CWMLITE logical entity to a valid table/column, because the CWMLITE API should catch if you don't use a valid table/column.)
select owner,\n\
dimension_name,\n\
hierarchy_name,\n\
level_name,\n\
attribute_name,\n\
table_owner,\n\
table_name,\n\
column_name,\n\
(case when dtype = 'NUMBER' then 0\n\
when dtype = 'DOUBLE' then 5\n\
when dtype = 'FLOAT' then 4\n\
when dtype = 'DATE' then 7\n\
else 1 end)\n\
from\n\
all_olap2_dim_level_attr_maps\n\
ORDER BY OWNER, DIMENSION_NAME, HIERARCHY_NAME, ATTRIBUTE_NAME
Finally, note that any hierarchy which you map as coming from an AW will be a solved level hierarchy.

Similar Messages

  • Get schema description with JAXP API

    Hello
    i'm looking for extracting the schema description of a NODE or ELEMENT from a DOM tree.
    I have some problems to configure my xercesJ parser via JAXP API.
    Can anyone tell me how to do that ?
    thank you very much for your help
    regards

    Add xercesImp.jar to Classpath.
    Set System property &#8216;javax.xml.parsers.DocumentBuilderFactory&#8217;
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory","org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");

  • How to get cluster name with c++ API?

    Hi everyone,
    I want to get cluster name with c++ API, do you know how to do that?
    Thanks very much!!!
    Guangyin

    937347 wrote:
    Hi Robert,
    For Java, we can get the cluster name like this:
    cache.getCacheService.getCluster().getClusterName(),
    for c++, just as you said, do you mean that i can try to get cluster name like this:
    Sting::View name = cache->getCacheService()->getInfo()->getServiceName();
    InvocationService::handle invocation = cast<InvocationService::handle>(CacheFactory::getService(name));
    String clusterName = invocation->getInfo()->getServiceName();
    But i can not get the right result.
    I know little about how to use InvocationService, could you give me example?
    Thanks very much!!!
    GuangyinHi Guangyin,
    I do not know the C++ API, I never used it, but what you wrote definitely does not look right.
    InvocationService is a way to send arbitrary Java logic (you need to write both the Java logic and a C++ counterpart class, the C++ class will serialize itself with POF and the Java class will deserialize the same data appropriately) as a command to the cluster via the TCP*Extend connection and the command would execute on the proxy node and thus it would have access to the cluster itself.
    You probably should start with the documentation of the Coherence*Extend C++ API documentation for samples.
    http://docs.oracle.com/cd/E24290_01/coh.371/e22839/toc.htm
    http://docs.oracle.com/cd/E24290_01/coh.371/e22839/cpp_part.htm#CHDHCIEJ
    Best regards,
    Robert

  • Is it possible to create the adhoc network and get it work with WLAN APIs (WlanConnect) instead of netsh commands...?

    Hi All,
    I am facing issues in creating  adhoc network in Windows 8.1. After searching in internet, I found that adhoc works with 
    netsh commands.
    1. I have tried neths commands and able to get it work on windows 8.1, 
     but I want to do it through the WLAN APIs ie. WlanConnect ,
    2. I am able to initiate the adhoc network(on Windows 8.1) by using WlanConnect API and other device are also able to connect to the Windows8.1 initiated adhoc  network  but the DHCP is not working.
    -> clients are not able to get the IP address.
    Is it possible to create the adhoc network and get it work with WLAN APIs (WlanConnect) instead of netsh commands...?
    Thanks
    akhil

    Hi,
    Did you mean to write a program to implement that creating adhoc via UI? This should be development issue.
    But this is Windows 8.1 client forum and there is no professional on develop.
    To help you better, I suggest you submit a new case on MSDN forum to help to check your code as they will be more professional on your issue:
    This is the MSDN forum link.
    http://social.msdn.microsoft.com/Forums/ 
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.
    Kate Li
    TechNet Community Support

  • How to i get the connect to database with OLAP API 9.2.0.0

    hi all,
    when i use the OLAP API (9.2.0..0) to connect the database,i gained the message of the following:
    java.lang.NoClassDefFoundError: com/sun/java/util/collections/HashMap
    void oracle.express.olapi.transaction.ExpressTransactionProvider.<init>()          ExpressTransactionProvider.java:40
         void mypackage3.APPEX.init()
              APPEX.java:51
         void sun.applet.AppletPanel.run()
              AppletPanel.java:344
         void java.lang.Thread.run()
              Thread.java:484
    JDev=9.0.3
    OLAP API=9.2.0.0
    Oracle 9i 9.2.0.1
    and how can i get the OLAP API 9.2.0.4.1?
    anyone can help me !
    thanks!!!

    Hi, yes, there are at least two known ways:
    1. if you happen to have a UCCX premium, you can create an HTTP application that serves up the prompt file,
    2. you can try to access the prompt file like this: http://<uccxip>:9080/prompts/dirname/promptfilename.wav
    G.

  • Error while enabling dimension for OLAP API and BI Beans

    Hi, I've created some dimensions in OLAP Catalog using CWM2 packages. These dimensions have only one hierarchy and one or two levels.
    I also have an Analytic Workspace, and I've created these dimensions in this A.W. using CREATE_AWDIMENSION method from DBMS_AWM package.
    Everything ok at this point.
    Next, I've tried to enable these aw dimensions for the OLAP Api and BI Beans, using CREATE_AWDIMENSION_ACCESS_FULL/CREATE_AWDIMENSION_access methods from DBMS_AWM. Strangely, dimensions whith two levels are enabled ok, but dimensions with only one level can't be enabled. If I use CREATE_AWDIMENSION_ACCESS and I execute generated script, an error appears when trying VALIDATE_DIMENSION, with a text like this:
    .ENTITY TYPE ENTITY NAME STATUS COMMENT
    . Dimension AW1.DIM1      INVALID ERROR: Component entity.
    - Default Display Hierarchy: "J0".
    . Hierarchy J0 INVALID ERROR: Hierarchy Top Level not found.
    My database ir 9.2.0.6. What is failing ? Some idea ? Thanks by your help.

    Not sure if it's valid to have a dimension with 1 hierarchy and 1 level in that hierarchy. The hierarchy may have to have at least 2 levels. If you want the configuration of a dimension with 1 hierarchy and 1 level, CWM2 may want you to omit the hierarchy, thus creating the dimension with only 1 level.

  • Es-cli Error getting the alarms with getAlarms

    Hi All,
    We are using Sun Management Center Server Version 4.0 Build: 15,H491 and I am haveing a problem seeing alarms for all clients. We would really appreciate any help.
    This is what I am doing and the results:
    $ /opt/SUNWsymon/sbin/es-cli
    Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    loginHost: hostname
    Password: ********
    Login is successful.
    getLoadedModules a=rdfnur01The command is currently running in the background.
    >
    The command has ended its operation.
    print== getLoadedModules: Results 1/3 ===============================================
    Module Name=Common Config Reader
    Module Key=Config-Readerelp
    Description=Common Config Reader Module
    Agent Name=rdfnur01
    Agent Port=1161
    Version=1.0
    == getLoadedModules: Results 2/3 ===============================================
    Module Name=Kernel Reader
    Module Key=kernel-reader
    Description=Kernel Reader
    Agent Name=rdfnur01
    Agent Port=1161
    Version=2.0
    == getLoadedModules: Results 3/3 ===============================================
    Module Name=File Scanning [var/adm/messages Log]
    Module Key=fscan+syslog
    Description=File Scanning
    Agent Name=rdfnur01
    Agent Port=1161
    Version=2.0
    ================================================================================
    getAlarms -lUsing the last output as the input to the current command...
    The command is currently running in the background.
    >
    The command has ended its operation.
    print== getAlarms: Results 1/1 ======================================================
    Domain=IMS Core Nodes
    Agent Name=rdfnur01
    Agent Port=1161
    State=Fail
    Message=Error getting the alarms.
    ================================================================================
    getAlarms a=rdfnur01The command is currently running in the background.
    >
    The command has ended its operation.
    print== getAlarms: Results 1/1 ======================================================
    Domain=IMS Core Nodes
    Agent Name=rdfnur01
    Agent Port=1161
    State=Fail
    Message=Error getting the alarms.
    ================================================================================
    getAlarms a=rdfnur01The command is currently running in the background.
    >
    The command has ended its operation.
    print== getAlarms: Results 1/1 ======================================================
    Domain=IMS Core Nodes
    Agent Name=rdfnur01
    Agent Port=1161
    State=Fail
    Message=Error getting the alarms.
    ================================================================================
    >

    Hello user13499843,
    If you click on the "Alarms" tab for that Agent (rdfnur01) in the Java Console, do you see alarms there either? Do you see alarms in the Alarms tab for any of your Agents? If not... have you applied patches 143323-04 (SPARC) or 143324-05 (x86) on your SunMC Server? Those patches break the Alarms tab in SunMC (a regression) and would also break es-cli in the way that you posted.
    Solution: downgrade to 143323-03/143324-04 ... once your Alarms tab works in the Java Console es-cli should work for you as well. You may also want to check the versions of your other SunMC patches (http://forums.halcyoninc.com/showthread.php?t=104)
    Regards,
    [email protected]

  • Fatal error when trying to execute a dml-command with OLAP API

    Hi,
    when I created an OracleConnection using the jdbc thin driver. The connection works fine.
    But when I try to execute any dml-command with an SPLExecutor the following fatal error occurs:
    oracle.express.idl.util.OlapiException: ORA-37118: Message 37118 not found; product=RDBMS; facility=ORA
    ORA-06512: at "SYS.GENCONNECTIONINTERFACE", line 66
    ORA-06512: at line 1
    Any Suggestions ?

    Hi Priya,
    1.The entries for the initialization in the BW system are contained in the RSSDLINIT table for the DataSource/source system combination. Compare these with the entries in the ROOSPRMSC table in the OLTP system.
    2. If there are NO entries in the RSSDLINIT table in BW, use transaction RSA7 to delete the delta queue for this DataSource/BW application combination in the source system (OLTP).
    3.Once you deleted all the entries,In Infopackage scheduler option,delete all the init selections to proceed further.
    In which system u r going to do this.....Quality or production.(Better,you check with basis to delete the entries.)
    Regards
    Kumar

  • Get file metadata with Reader API

    Hi
    It is possible to retrieve the metadata of a file with the Reader API? How?
    Thanks

    My project was generated by the wizard, but when try to use the PDDocGetXAPMetadata function the project does not compile with this error: "'PDDocGetXAPMetadataSELPROTO' : undeclared identifier".
    Any ideas?

  • Chaning the bookmarks root with PDBookmark api

    Hello Acrobat Experts,
    I'm working recently with bookmarks, and my mission is to sort document's bookmarks by a specific order.
    When I recursively going through the levels there is no problem - except for the first level under the root.
    Somehow, the effect of changing the order / location of its child (by using PDBookmarkUnlink and PDBookmarkAddChild / AddNext / AddPrev) cause Acrobat to miss misbehave
    Actually, if I understand correctly this behavior, Acrobat is not changing it's root association corresponding to its current first child.
    The original first child of the root (acquired from PDDocGetBookmarkRoot) is still active though it is no longer the first one.
    Did anyone got into this problem before?
    Can you help me with this?
    Many thanks,
    Doron Ori Tal

    If you are writing a plugin (which it appears that you are), then you only need to work at Cos object level to restructure the tree pointers.  No need to copy ANYTHING.  It's just a linked list that you are "sorting" - thinks standard Computer Science theory.
    No bug here - I suspect that your code isn't considering the standard issues around linked list reordering (see comment above).

  • How can i get slices info with PS API support?

    Hi.
    have tried listener. but there is no info about slices.
    in "SDK\samplecode\common\sources\PropertyUtils.cpp" found
    OSErr PIGetSlices(Handle & slices);
    but there is no information WHAT is that Handle?!
    Please, give some information about it

    It must be the easiest variant - to parse psd file.
    My question - my answer

  • Select some attributes with criteria api

    Hi,
    How can I specify more than one attribute here:
    query.select((Selection<? extends E>) root.get("name"));
    in other words, how can i get this query with criteria api "select name, second_name from Person" ?
    Thank you!

    Hi,
    How can I specify more than one attribute here:
    query.select((Selection<? extends E>) root.get("name"));
    in other words, how can i get this query with criteria api "select name, second_name from Person" ?
    Thank you!

  • Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API

    Hi All,
    In one of my tasks, I was struck with one issue, that is "While uploading multiple files into custom list with REST API".
    Iam trying to upload multiple files in library with REST calls for an APP development, my issue is if i wants to upload 4 image at once its storing only
    3 image file and further giving "Conflict" error". Below is the attached screenshot of exact error.
    Error within screenshot are : status Code : 409
    status Text :conflict
    For this operation i am uploading different files as an attachment to an list item, below is the code used for uploading multiple files.
    my code is
    function PerformUpload(listName, fileName, listItem, fileData)
        var urlOfAttachment="";
       // var itemId = listItem.get_id();
        urlOfAttachment = appWebUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + listItem + ")/AttachmentFiles/add(FileName='" + fileName + "')"
        // use the request executor (cross domain library) to perform the upload
        var reqExecutor = new SP.RequestExecutor(appWebUrl);
        reqExecutor.executeAsync({
            url: urlOfAttachment,
            method: "POST",
            headers: {
                "Accept": "application/json; odata=verbose",
                "X-RequestDigest": digest              
            contentType: "application/json;odata=verbose",
            binaryStringRequestBody: true,
            body: fileData,
            success: function (x, y, z) {
                alert("Success!");
            error: function (x, y, z) {
                alert(z);

    Hi,
    THis is common issue if your file size exceeds 
     upload a document of size more than 1mb. worksss well for kb files.
    https://social.technet.microsoft.com/Forums/office/en-US/b888ac78-eb4e-4653-b69d-1917c84cc777/getting-error-while-uploading-multiple-files-in-sharepoint-hosted-app-in-2013-with-rest-api?forum=sharepointdevelopment
    or try the below method
    https://social.technet.microsoft.com/Forums/office/en-US/40b0cb04-1fbb-4639-96f3-a95fe3bdbd78/upload-files-using-rest-api-in-sharepoint-2013?forum=sharepointdevelopment
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • An error occurred during olap API metadata retrieval. This is probably caus

    this is what i have done so far. i really nead some help asap!!!
    1. Install Oracle 9i Release 2 (9.2.0.1) Enterprise Edition with the General purpose database configuration (Data warehouse works as well). At the end of the installation I chose the password management button to change passwords for the few necessary accounts: SYS, SYSTEM, OLAPSYS, SH.
    2. Download the p3948480_9206_WINNT.zip from metalink, the 9.2.0.6 patchset
    3. Shut down any existing Oracle9i database instances with normal or immediate priority. Stop all listener and other services running in the Oracle home directory where you want to install the patch set.
    4. unzip the content of thepatch to a temp directory
    5. start setup.exe under the temp directory (it will start the Oracle Universal installer 10.1.0.3)
    6. install the patchset to your Oracle home, selecting the source in the temp_dir\stage\products.jar file
    7. review carefully the post-installation tasks for the patchset:
    Review the following sections before upgrading a database (quote from the patchset html readme):
    8.2.1.1If JServer is part of the installation ensure that there is at least 10 MB of free space allocated to the SYSTEM tablespace.
    8.2.1.2 Check XDB Tablespace Size
    For RAC installations, ensure that there is at least 50 MB of free space allocated to the XDB tablespace.
    8.2.1.3 Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initialization Parameters
    Set the value of the SHARED_POOL_SIZE and the JAVA_POOL_SIZE initialization parameters as follows:
    Start the database:
    SQL> STARTUP
    If necessary, enter the following command to determine whether the system uses an initialization parameter file (initsid.ora) or a server parameter file (spfiledbname.ora):
    SQL> SHOW PARAMETER PFILE;
    This command displays the name and location of the server parameter file or the initialization parameter file.
    Determine the current values of these parameters:
    SQL> SHOW PARAMETER SHARED_POOL_SIZE
    SQL> SHOW PARAMETER JAVA_POOL_SIZE
    If the system is using a server parameter file:
    If necessary, set the value of the SHARED_POOL_SIZE initialization parameter to at least 150 MB:
    SQL> ALTER SYSTEM SET SHARED_POOL_SIZE='150M' SCOPE=spfile;
    If necessary, set the value of the JAVA_POOL_SIZE initialization parameter to at least 150 MB:
    SQL> ALTER SYSTEM SET JAVA_POOL_SIZE='150M' SCOPE=spfile;
    If the system uses an initialization parameter file, if necessary, change the values of the SHARED_POOL_SIZE and the JAVA_POOL_SIZE initialization parameters to at least 150 MB in the initialization parameter file (initsid.ora).
    Shut down the database:
    SQL> SHUTDOWN
    8.2.2 Upgrade the Database
    After you install the patch set, you must complete the following steps on every database associated with the upgraded Oracle home:
    Log on as a member of the Administrators group to the computer where the Oracle components are installed.
    Use SQL*Plus to login to the database as the SYS user with SYSDBA privileges:
    sqlplus /NOLOG
    CONNECT SYS/password AS SYSDBA
    Enter the following SQL*Plus commands:
    SQL> STARTUP MIGRATE
    SQL> SPOOL patch.log
    SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
    SQL> SPOOL OFF
    Restart the database:
    SQL> SHUTDOWN
    SQL> STARTUP
    Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.
    SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql
    12. Install JDeveloper 9.0.4 (download it from OTN and just unzip it in a directory ... it doesn't require an oracle home)
    13. Install BI Beans 9.0.4 (download it from OTN as well), run the setup.exe that comes with it and in the destination oracle home select the directory where you installed JDeveloper and give an oracle home name to it)
    14. Install the BIBDEMO schema:
    Create a directory on the computer that is running the Oracle9i database. This install_home directory is the location to which you will upload the data files that are required to build the BIBDEMO schema.
    On the computer where BI Beans is installed, locate the bibeans_home\bibdemo_schema folder (where bibeans_home is the root folder of your BI Beans installation). Copy all of the files found in this folder to the install_home folder on your server machine.
    Open a DOS prompt and navigate to the install_home folder.
    Run bibdemo.bat to install the schema, using the following syntax:
    bibdemo.bat <path to Oracle database files >
    For example, for an instance named my9iService, enter the following:
    bibdemo.bat D:\OraHome1\oradata\my9iService
    You are prompted for the password for the sys as sysdba user.
    The script takes approximately 15 minutes to run, depending on the machine specifications. It is normal to see some error messages while the script is running. In addition, when materialized views are being created in the database, the script will appear to stop; this is also normal. A clear message will tell you when the script has completed.
    The log files (*.log) that are generated by the installation script are stored in the folder from which you ran the script.
    Here's what
    bi_checkconfig.bat -h ana -po 1521 -sid proiect -u bibdemo -p bibdemo -q
    returned:
    BI Beans Diagnostics(v1.0.2.0) 2/28/05
    ===============================================================================
    JDEV_ORACLE_HOME .......................... = E:\OraDS
    JAVA_HOME ................................. = E:\OraDS\jdk
    JDeveloper version ........................ = 9.0.4.1.1.1436
    BI Beans release description .............. = BI Beans 9.0.4 Production Release
    BI Beans component number ................. = 9.0.4.23.0
    BI Beans internal version ................. = 2.7.5.32
    Connect to database ....................... = Successful
    JDBC driver version ....................... = 9.2.0.4.0
    JDBC JAR file location .................... = E:\OraDS\jdev\lib\patches
    Database version .......................... = 9.2.0.6.0
    OLAP Catalog version ...................... = 9.2.0.1.0
    OLAP AW Engine version .................... = 9.2.0.1.0
    OLAP API Server version ................... = 9.2.0.1.0
    BI Beans Catalog version .................. = N/A; not installed in bibdemo
    OLAP API JAR file version ................. = 9.2
    OLAP API JAR file location ................ = E:\OraDS\jdev\lib\ext
    Load OLAP API metadata .................... = Successful
    Number of metadata folders ................ = 2
    Number of metadata measures ............... = 12
    Number of metadata dimensions ............. = 8
    Testing sample query for measures and dimensions
    (S=Schema, C=Cube, M=Measure, D=Dimension)
    1/21) Measure Budget ................... = Successful
    S=BIBDEMO, C=BIBDEMO_BUDGET_CUBE, M=BUDGET
    2/21) Measure Actual ................... = Successful
    S=BIBDEMO, C=BIBDEMO_ACTUAL_CUBE, M=ACTUAL
    3/21) Measure Close Price .............. = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_CLOSE
    4/21) Measure Open Price ............... = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_OPEN
    5/21) Measure Low Price ................ = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_LOW
    6/21) Measure High Price ............... = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_HIGH
    7/21) Measure Stock Volume ............. = Successful
    S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_VOLUME
    8/21) Dimension Division ............... = Successful
    S=BIBDEMO, D=DIVISION
    9/21) Dimension Line Items ............. = Successful
    S=BIBDEMO, D=LINE
    10/21) Dimension Time ................... = Successful
    S=BIBDEMO, D=TIME
    11/21) Dimension Day .................... = Successful
    S=BIBDEMO, D=DAY
    12/21) Dimension Stock .................. = Successful
    S=BIBDEMO, D=STOCK
    13/21) Measure Costs .................... = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.COSTS
    14/21) Measure Promotion ................ = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.PROMO
    15/21) Measure Quota .................... = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.QUOTA
    16/21) Measure Units .................... = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.UNITS
    17/21) Measure Sales .................... = Successful
    S=BIBDEMO, C=ANALYTIC_CUBE, M=F.SALES
    18/21) Dimension Channel ................ = Successful
    S=BIBDEMO, D=CHANNEL
    19/21) Dimension Geography .............. = Successful
    S=BIBDEMO, D=GEOGRAPHY
    20/21) Dimension Product ................ = Successful
    S=BIBDEMO, D=PRODUCT
    21/21) Dimension Time ................... = Successful
    S=BIBDEMO, D=TIME
    Metadata output location .................. = E:\OraDS\bibeans\bi_checkconfig\bi
    _metadata.txt
    To interpret this output, see the "Displaying Information about your Oracle9i Bu
    siness Intelligence Beans Client Configuration" technical note, whose file name
    is bi_checkconfig_tn.html
    These diagnostics are captured in: E:\OraDS\bibeans\bi_checkconfig\bi_checkconfi
    g.xml
    now: i have created some new stuff:
    1). user ana with roles:
    -dba
    -olap_dba
    -connect
    -resource
    (same roles as bibdemo)
    2).schema ana; tablespace ana (permanent), tablespace anatemp (temporary)
    3).i have created some relational tables and i have inserted some data in them:
    agent, aparat (cofee machines), beneficiar (clients), locatii (city), raport (REPORT), timp (time), tipaparat (types of cofee machines), tipbautura (products : types of cofee made by all the cofee machines), zone (state)
    4). one fact table with:
    - sold cantity (measure)
    - id_bautura (id_product) primary key
    - id_timp(id_time) primary key
    - id_beneficiar (id_client) primary key
    - id_agent primary key
    - id_locatie (id_city) primary key
    - id_aparat (id_cofee_machine)primary key
    i have inserted some data also
    5).dimensions:
    AGENT_DIM :levels: codag(id_agent), numeag (agent name), telefag (agent phone number)from relational table agent
    BENEFICIAR_DIM :levels: codben (id_client), denumire (client name), adresa (adress) ,codl (id_city) etc from relatinal table beneficiar (clients)
    TIMP_DIM :levels: id, year, month from relational table timp (time)
    TIPBAUTURA_DIM :levels: codbautura (id_product), numebautura (product name)from relational table tipbautura (products)
    ZONA_DIM :levels: codzona (id state), numezona (state name), codoras (id city), numeoras (city name) with ierarhy id_state---id_city FROM 2 RELATINAL TABLES CITY AND STATE!!!!!!!! AM I ALOUD TO DO THAT?????
    DO I NEED TO CREATE A DIMENSION FROM ONLY ONE TABLE???????
    APARAT_DIM :LEVELS: codben (id client), codtip (id machine type), denumireap (machine type name), matricolap ((machine id) (FROM 2 RELATIONAL TABLES ALSO!!!!!!! FROM TYPES OF COFEE MACHINES AND COFEE MACHINES!!!!!
    6). I HAVE NOW CREATED THE CUBE FROM THE FACT TABLE AND WITH ALL THE DIMENSIONS
    7). summary advisor wizard NOT WORKING! IT NEVER STOPS!
    8). I HAVE CREATED ALSO ONE materialized view FOR THE CUBE
    IF I COMPILE IT... NO ERRORS
    9). CUBE VIEWER NOT WORKING!!!!!!! IT ONLY APEARS A BELL!!!
    NOW IF I RUN BI_CHECK CONFIG ON ANA AND ALSO ON BIBDEMO!!!!!!!!!!!!
    IT SAYS:
    1) An error occurred during olap API metadata retrieval. This is probably caused by inconsistent metadata.
    ============================================================================
    oracle.express.ExpressServerExceptionError class: Unknown Error
    Server error descriptions:
    INI: System failure, Generic at TxsOqConnection::getDefaultDatabase
    at oracle.express.olapi.data.full.ExpressDataProvider.getMetadataProviderInterface(ExpressDataProvider.java:1003)
    at oracle.olapi.metadata.MetadataFetcher.initialize(MetadataFetcher.java:73)
    at oracle.olapi.metadata.MetadataFetcher.<init>(MetadataFetcher.java:45)
    at oracle.olapi.metadata.BaseMetadataProvider.<init>(BaseMetadataProvider.java:47)
    at oracle.olapi.metadata.mdm.MdmMetadataProvider.<init>(MdmMetadataProvider.java:130)
    at oracle.express.olapi.data.full.ExpressDataProvider.getDefaultMetadataProvider(ExpressDataProvider.java:964)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverImpl_92.getMdmMetadataProvider(MDMMetadataDriverImpl_92.java:1133)
    at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverImpl_92.attach(MDMMetadataDriverImpl_92.java:810)
    at oracle.dss.metadataManager.server.drivers.mdm.MDMMetadataDriverImpl.attach(MDMMetadataDriverImpl.java:125)
    at oracle.dss.metadataManager.server.MetadataManagerImpl.buildObjectModel(MetadataManagerImpl.java:1092)
    at oracle.dss.metadataManager.server.MetadataManagerImpl.attach(MetadataManagerImpl.java:969)
    at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:876)
    at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:799)
    at BICheckConfig.checkConnection(BICheckConfig.java:277)
    at BICheckConfig.main(BICheckConfig.java:1348)
    I TRYED ALSO WITH USER ANA WITH ROLES:
    - DBA
    - CONNECT
    -RESOURCE
    - OLAP_USER
    NOT WORKING! AND ALSO BIBDEMO NOT WORKING!
    WHAT AM I MISSING? SHOULD I USE AW MANAGER? OR DO I NEED TO CREATE AN AMNALITIC WORKSPACE???
    WHAT ARE THE STEPS TO CREATE A GOOD METADATA????

    Hi,
    The issue here is if the whole catalog is corrupt or just one schema. So to try and determine the status of the catalog I would try:
    1) Using OEM remove all the objects you created
    2) I presume you created your database using the Database Configuration Assistant? You should have used the warehouse template
    3) Make sure the following accounts are unlocked and also not expired : SH, OLAPSYS
    4) Make sure the password for the SH schema is SH
    5) Make sure the password for the OLAPSYS account is manager
    6) Install the BIBDEMO schema that is shipped with BI Beans. This in the jdev_home/bibeans/bibdemo_schema
    The installation process will remove SH schema from the OLAP catalog.
    7)Once this is installed use JDeveloper to see if you can create a crosstab or graph.
    8) If the BIBDEMO schema works try creating your new schemas one at a time.
    9) Make sure the if you define the a dimension as type time it has END_DATE (column type DATE) and TIME_SPAN (column type number) defined. Otherwise don't define the dimension as type time.
    Hope this helps
    Keith Laker
    Product Manager
    Oracle Business Intelligence Beans

  • XML Sax Exception with 9.2.0.5 express*.jar files for Olap API

    I was using the olap_api_92.jar that
    came with jdeveloper for the olap api and having a coding problem.. In trying to see
    if I could resolve the previous problem, I set my classpath to use the jar files provided with the 9.2.0.5
    install for AiX.. all beginning with express*.jar
    I now get an XML parsing error that I can't fix..
    which jar is good, the olap_api_92.jar seems to work..
    Help!
    thanks,
    Lisa Cox
    OCLC Inc.
    java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 179, Column 18>: XML-0124: (Fatal Error) An attribute cannot appear more than once in the same start tag.
    at oracle.olapi.metadata.MetadataFetcher.processXML(MetadataFetcher.java:237)
    at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(MetadataFetcher.java:180)
    at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObject(BaseMetadataProvider.java:150)
    at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObject(BaseMetadataProvider.java:107)
    at oracle.olapi.metadata.mdm.MdmMetadataProvider.getMetadataObject(MdmMetadataProvider.java:147)
    at oracle.olapi.metadata.mdm.MdmMetadataProvider.getRootSchema(MdmMetadataProvider.java:174)
    at oracle.express.mdm.MdmMetadataProvider.getRootSchema(MdmMetadataProvider.java:144)
    at org.oclc.xwc.olap.OlapClient.main(OlapClient.java:494)

    The OLAP component versions are empty.
    <Check key="OLAP Catalog version" value=""/>
    <Check key="OLAP AW Engine version" value=""/>
    <Check key="OLAP API Server version" value=""/>
    Please doublecheck that the catpatch.sql script ran without any errors.
    Aneel Shenker
    Senior Product Manager
    Oracle Corp.

Maybe you are looking for

  • Windows 7 Home Premium SP1 installation error. (Catastophic Failure) Error: E_UNEXPECTED(0x8000ffff)

    I installed a new hard drive and set it (the computer) back to factory defaults. Time to start updating everything. First stop Microsoft Update, automatic update does not work, tried to install SP1manually, and received the error in the title. So tri

  • Need the WM structure info

    Dear Experts, I have the following case where i need to define the structure in warehouse complex.In the current non-SAP system the entire warehouse area has a highrack storage, where there are about 100 materials stored.The WM users have defined sto

  • When I type my text gets highlighted and then deleted.

    I am having a problem with typing. When I type fast my text gets highlighted and then deleted or typed over. Im not sure what is wrong. I think it is either a trackpad or keyboard. Any help be great!!

  • BEFW11S4-V4 and Vista compatability

    I have this router for our home network and run XP and 98SE through it with no problem. My wife's XP machine is starting to make bad noises so she is looking at a new machine which has Vista on it. My question is will Vista work with this router. I s

  • Problems transfering files from PC to Harddrive on Airport Extreme.. Help!

    I upgraded to an Airport Extreme to help speed up my wireless and access a LACIE 1tb harddrive between two computers - a Windows XP 64bit machine and a new macbook. Everything works great except I cannot copy large files from the PC to the harddrive