Can't attach to Analytical Workspace anymore

Hi,
I can't attach to the Analytical Workspace anymore with AWM, nor will my mapping from OWB attach to it. OWB control center gives the following error:
Warning
ORA-20101: 11:36:16 ***Error Occured in BUILD_DRIVER: In __XML_SEQUENTIAL_LOADER: In __XML_ADJ_OBJ_LIST: Analytic workspace ERBI_AW is not attached.
What I did a while ago is rename a cube in OWB to the name of an already existing (deployed) cube. This I think started the troubles (d'oh!). I can deploy(drop) and deploy(create) the cube from OWB control center, but AWM won't attach anymore and OWB won't run any map to the AW anymore with the above error.
What can I do to 'clean up' the Analytical Workspace?
Thanks,
Ed

It seems another deploy(drop) followed by deploy(create) did the trick for the OWB client. AWM still cannot connect, which will become a problem.
AWM gives the following messages, any ideas?
oracle.AWXML.AWException: java.lang.NullPointerException
at oracle.AWXML.AW.readAWDefinitions(AW.java:1339)
at oracle.olap.awm.dataobject.aw.WorkspaceDO.getModelAW(WorkspaceDO.java:803)
at oracle.olap.awm.dataobject.aw.WorkspaceDO.getModelAW(WorkspaceDO.java:749)
at oracle.olap.awm.navigator.node.WorkspaceNode.getModelerViewChildren(WorkspaceNode.java:368)
at oracle.olap.awm.navigator.node.WorkspaceNode.getChildren(WorkspaceNode.java:341)
at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(BaseNodeModel.java:74)
at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(BaseNodeModel.java:221)
at oracle.bali.ewt.dTree.DTreeDeferredParent.__fireExpansionChanging(Unknown Source)
at oracle.bali.ewt.dTree.DTreeDeferredParent.setExpanded(Unknown Source)
at oracle.olap.awm.navigator.node.BaseNode.expandHelper(BaseNode.java:2186)
at oracle.olap.awm.navigator.node.BaseNode.access$400(BaseNode.java:109)
at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(BaseNode.java:2136)
Caused by: java.lang.NullPointerException
at oracle.AWXML.AW.readAWDefinitions(AW.java:1313)
... 11 more
Strange though. I have had more trouble with a cube in the past (owb 10203A) after making changes to the cube definition. Hopefully this kind of issues gets less in 11g (whenever I migrate to that).
grts,
Ed

Similar Messages

  • Where can i find the analytic workspace manager for 11g

    Guys,
    I just downloaded the win32_11gR1_database_1013 from the website, however i did not find the 'analytic workspace manager' component as what the document mentioned during the installation.
    Anybody can help me on this?

    however i did not find the 'analytic workspace manager' component as what the document mentioned during the installation.Could you point us to that documentation?

  • Unable to Attach to Analytic Workspace OLAPTRAIN.SALESTRACK

    Failing with the exception trace :
    oracle.AWXML.AWException: java.lang.NullPointerException
    at oracle.AWXML.AW.readAWDefinitions(AW.java:1341)
    at oracle.olap.awm.dataobject.aw.WorkspaceDO.getModelAW(WorkspaceDO.java:739)
    at oracle.olap.awm.dataobject.aw.WorkspaceDO.getModelAW(WorkspaceDO.java:701)
    at oracle.olap.awm.navigator.node.WorkspaceNode.getModelerViewChildren(WorkspaceNode.java:361)
    at oracle.olap.awm.navigator.node.WorkspaceNode.getChildren(WorkspaceNode.java:342)
    at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(BaseNodeModel.java:74)
    at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(BaseNodeModel.java:221)
    at oracle.bali.ewt.dTree.DTreeDeferredParent.__fireExpansionChanging(Unknown Source)
    at oracle.bali.ewt.dTree.DTreeDeferredParent.setExpanded(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode.expandHelper(BaseNode.java:1853)
    at oracle.olap.awm.navigator.node.BaseNode.access$000(BaseNode.java:93)
    at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(BaseNode.java:1803)
    Caused by: java.lang.NullPointerException
    at oracle.AWXML.AW.readAWDefinitions(AW.java:1315)
    Can anyone help on how to proceed ?
    - Oracle server : 11.2

    Hi
    I think you get the error when trying to open the workspace which is already created.
    Please, check the instance or workspace you using is already open by you or any other users.
    Thanks

  • How to delete a Analytic Workspace even other session still attached it

    how to delete a Analytic Workspace even other session still attached that Analytic Workspace?
    or how to detach the Analytic Workspace with other session?
    or how to find session which connected to the Analytic Workspace?
    Thanks

    Here are the sql queries which will tell you who is attached to which aw in which mode.
    select username, sid, serial#, owner||'.'||daws.aw_name aw,
    decode(attach_mode, 'READ WRITE', 'RW',
    'READ ONLY', 'RO', attach_mode) attch,
    trunc(pool_size/1024)||' KB' as curr_opp_kb
    from dba_aws daws, gv$aw_olap gvawo , gv$aw_calc gvawc, gv$session
    where daws.aw_number = gvawo.aw_number and
    sid = gvawo.session_id and gvawc.session_id=sid
    order by owner, sid, daws.aw_name;
    select a.owner,a.aw_name,b.attach_mode
    from dba_aws a ,v$aw_olap b
    where a.aw_number = b.aw_number;
    You might have to kill the RO session before deleting the AW.
    Thanks
    Brijesh

  • ORA-34492: Analytic workspace object cubename _STORED does not exist.

    I am having issues accessing cube data from a user other than where the AW was built.
    Following is what I have done in User-1:
    1. Create two AW's in User-1 : AW-1 and AW-2.
    2. Create all objects in these two AW's
    3. AW-2 is dynamically attached on attaching AW-1 by using PERMIT startup programs. Please refer Attaching multiple AW's
    4. Refreshed both AW's to load data
    5. ALLCOMPILE - no errors.
    6. Created some SQL views on User-1 which basically query the underlying cube views. I also have some queries using the olap_table option.
    7. All my querries work fine in User-1. I can access data from AW-1 and AW-2.
    However, we give access to the above SQL views through an abstract user: User-abs. In 10g, all we did was grant select privs to all the User-1.AW$ tables and also on all the sql views. This would let User-abs get data from the cubes in User-1.
    I am not able to get User-abs to do the same in 11g. We encounter an error mentioning that the workspace object <cubename>_STORED does not exist. The cubename it is referring to exists in AW-2.
    I granted select privs on all AW$ tables, dimension views, cube views and the abstracted sql views but the error persists.
    I tried searching this forum but could not find any helpful leads. Any help will be greatly appreciated.
    Thanks!
    Database - 11.2.0.1
    AWM - 11.2.0.2.0A

    I can think of two possible problems. First, you may not be properly qualifying the owner name when you refer to the object. This can be important when refering to objects owned by other schemas. For example instead of 'my_cube_stored' you would say 'user-1.aw-2!my_cube_stored'. You should also be careful about the order in which you attach the AWs. Do you want AW-2 attached first or last? Use the LAST keyword on AW ATTACH to control this.
    Another possibility is that you have added additional logic to PERMIT_READ over and above the 'aw attach' comand. I was able to recreate the error with the following code in a new AW called TEST_AW in the GLOBAL schema.
    DEFINE PERMIT_READ PROGRAM BOOLEAN
    PROGRAM
    aw attach global.global
    show global.global!units_cube_stored
    return true
    ENDAttaching TEST_AW in RO mode as any user gives me the following error.
    ORA-34492: Analytic workspace object GLOBAL.GLOBAL!UNITS_CUBE_STORED does not
    exist.
    ORA-06512: at "SYS.DBMS_AW", line 93
    ORA-06512: at "SYS.DBMS_AW", line 122
    ORA-06512: at line 1Here is the documentation for PERMIT_READ
    >
    PERMIT_READ
    A PERMIT_READ program is a program that you can create and that Oracle OLAP checks for by name when an AW ATTACH read-only command executes. Depending on the value returned by the program, Oracle OLAP executes the code within the program after attaching the analytic workspace. Depending on the statements in the permit_read program the user is granted or denied access to specific objects or sets of object values. Within permit_read program, you can specify PERMIT commands that grant or restrict access to individual workspace objects. All of the objects referred to in a given permit_read must exist in the same analytic workspace.
    >
    Note, especially, the restriction in the last sentence. This means that a PERMIT_READ program in AW1, for example, cannot refer to objects in AW2. So this is why my PERMIT_READ doesn't work. The AUTOGO does not have these restrictions, but as we know from the forum post you cited, AUTOGO is broken in 11.2.0.1. You can move forward to 11.2.0.2 where AUTOGO is fixed, but there is workaround, which is to add a PERMIT_READ program to the second AW to do the work. For example, if I add this PERMIT_READ to GLOBAL and remove the 'show' command from the PERMIT_READ in TEST_AW, then everything works as expected.
    DEFINE PERMIT_READ PROGRAM BOOLEAN
    PROGRAM
    if aw(attached 'test_aw')
    then do
    show global.global!units_cube_stored
    doend
    return true
    END

  • Cannot drop cube or analytic workspace due to ORA-37409

    The error is ORA-37409: cannot delete or truncate AW used by CUBE ORGANIZED table.
    This seems very closely related to the bug discussed in this thread: Drop cube organized table
    We need to drop and rebuild a cube due to a design change. It looks like there are some CR$ tables related to the cube preventing the drop.
    We cannot drop the CR$ table, nor can we drop the cube, nor can we drop the analytic workspace. We have tried disabling materialized view refresh on the cubes (which works but leaves the CR$ tables out there). We have tried the drop using dbms_aw.aw_delete and with dbms_cube.import_xml (to remove everything). No such luck.
    Is there a workaround you can give me that will allow us to drop the CR$ tables? Or a workaround that will allow us to drop the workspace?

    Update:
    Our last attempt to drop the analytic workspace did remove almost all OLAP metadata. However, there were still rows in sys.olap_tab$ with object IDs relating the problem CR$ tables. In a test database, we confirmed that deleting these rows does allow us to drop the CR$ tables that cannot otherwise be dropped. However, running DML against a sys-owned table like this is unwise at best, and certainly an unsupported workaround (unless we can get Oracle's blessing to do it).
    We may go through MOS and see if Oracle can provide a one-off patch for the bug listed above, to correct this situation. Or perhaps they may be able to provide some other direction.
    This puts us in a situation where our only immediate option may be to uninstall the OLAP option and reinstall it.

  • SOLVED how to solve this problem with analytic workspace manager

    Hi,
    If I have built a model in AWM, I close AWM, and restart it, I cann't attach to my workspace anymore.
    This is the error-message:
    oracle.AWXML.AWException: oracle.AWXML.AWException: An error occurred setting Attribute DataType PRODUCT.LONG_DESCRIPTION.ATTRIBUTE : TEXT
    I have an oracle 10gR2-database.
    How to solve this ?
    Any reaction will be appreciated.
    Leo
    PS I installed the latest version of AWM

    According to Metalink Note 376376.1, I think the way to resolve this problems is as follows:
    1- Download MetaLink patch 5183720 Oracle OLAP: Patch AWM 10.2.0.2 A
    2- Install AWM 10.2.0.2A
    Unzip the downloaded file into a new directory.
    Execute awm\bin\awm.exe.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Exploring AW (analytic workspace) in Java

    Hello,
    I am creating a java program that can retrive data from analytic workspace that is also built with java program, but I don't know how, so I have a couple of questions for those that can help me.
    1. Is there anyway that I can insert data into aw dimension with java program?
    2. If not how can I map existing tables within Database with analytic workspace dimension?
    3. Is there any posibility to connect to aw dimension with MdmDimension class and retrive data with that class ?
    4. Can anyone provide any example programs on this?
    5. Can anyone provide me a simple example how to explore data within the analytic workspace in Java. I want to retrive data from aw cube or dimension if it is posible.
    I appreciate any help,
    Thanks

    Have you considered using the BI Beans? Just a thought...
    Regarding your questions, 1 and 2 are probably best addressed with the OLAP Analytic Workspace API (a.k.a. AW/XML). You might want to take a look at the Javadoc. You can find the latest Oracle OLAP documentation at the following OTN site:
    http://www.oracle.com/technology/products/bi/olap/olap.html
    As for the other questions, here is some help from an OLAP API developer:
    3. Is there any possibility to connect to AW dimension with MdmDimension class and retrieve data with that class?
    The simple answer is no. The OLAP API divides functionality into metadata and data. The Mdm and Mtm classes deal with metadata. These classes represent the relationships between AW objects. The Source and Cursor classes deal with data. They are used to define queries and retrieve data. But the getSource() method can be used on just about any Mdm object to get a Source.
    4. Can anyone provide any example programs on this?
    The "Developer's Guide to the OLAP API" has a lot of examples. But here's a brief example of getting the member IDs of a dimension.
    // given objects
    DataProvider dp;
    MdmPrimaryDimension dimObj;
    // we will commonly work with hierarchies rather than dimensions
    MdmHierarchy hierObj = dimObj.getDefaultHierarchy();
    // get the Source for the hierarchy
    Source hier = hierObj.getSource();
    // get a Cursor
    CursorManagerSpecification cursorManagerSpec =
    dp.createCursorManagerSpecification(hier);
    SpecifiedCursorManager cursorManager =
    dp.createCursorManager(cursorManagerSpec);
    Cursor cursor = cursorManager.createCursor();
    // retrieve the values
    do {
    System.out.println(((ValueCursor) cursor).getCurrentValue());
    } while (cursor.next());
    5. Can anyone provide me a simple example how to explore data within the analytic workspace in Java. I want to retrieve data from AW cube or dimension if it is possible.
    The preceding is one example of exploring data from a hierarchy. Getting data from a dimension is nearly identical -- don't call getDefaultHierarchy(), and call getSource() on dimObj. Getting data from a cube is a little more involved. Again, there are excellent
    examples in the documentation, but here's a brief one:
    // Given objects
    DataProvider dp;
    TransactionProvider tp;
    MdmMeasure salesObj; // dimensioned by customer and time for this example
    MdmHierarchy customerHier;
    MdmHierarchy timeHier;
    // Get Sources
    Source sales = salesObj.getSource();
    Source customer = customerHier.getSource();
    Source time = timeHier.getSource();
    // Create the query. We must join the measure to its dimensions.
    Source query = sales.join(customer).join(time);
    // We have created a new Source, so we need to commit the OLAP API
    transaction.
    tp.prepareCurrentTransaction();
    tp.commitCurrentTransaction();
    // Create the Cursor. This Cursor has a more complex shape because the query is more complex.
    CursorManagerSpecification cursorManagerSpec =
    dp.createCursorManagerSpecification(hier);
    SpecifiedCursorManager cursorManager =
    dp.createCursorManager(cursorManagerSpec);
    CompoundCursor cursor = (CompoundCursor) cursorManager.createCursor();
    // retrieve the values
    do {
    Iterator iter = (cursor.getOutputs().iterator();
    boolean first = true;
    while (iter.hasNext()) {
    if (!first)
    System.out.print(", ");
    System.out.print(((ValueCursor) iter.next()).getCurrentValue());
    first = false;
    System.out.print(": ");
    System.out.println(cursor.getValueCursor().getCurrentValue());
    } while (cursor.next());
    Hope this is helpful.

  • Can't attach photos -- "Preview" only shows iPhoto library Icon

    I can't attach (or upload) photos anymore. When I try to attach a photo using Mail (not directly from iPhoto), I only get the iPhoto Library icon and Preview doesn't show any of my various pictures. If I click on the Library icon, Mail tries to attach my entire photo library and then my iMac locks up. I have the same problem if I try to upload pictures to say an ebay auction. I'm using the new iLife '08.
    Basically, I cannot get a listing of all my individual pictures -- only the iPhoto Library icon. Any advise will be greatly appreciated. Thanks.

    jisham
    There are three ways (at least) to get files from the iPhoto Window.
    1. Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic. You can also drag and drop directly from the iPhoto Window to the Mail window. This works with many other apps.
    2. File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy. This is the best solution for uploading pics to ebay or where ever. After the upload is finished you can trash the file on the desktop, it's only a copy.
    3. Show File: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves. If you're willing to risk database corruption, you can restore the older functionality simply by right clicking on the iPhoto Library and choosing 'Show Package Contents'. Then simply make an alias to the folders you require and put that alias on the desktop or where ever you want it. Be aware though, that this is a hack and not supported by Apple.
    Regards
    TD

  • How can I query analytical workspace ?

    Hello,
    I am using EBS module ODP which uses Analytical workspaces.
    I do not know at all technical subject about Analytical workspaces and OLAP.
    In ODP , I create measures. And ODP provides some report to display and update data stored in my measures.
    I would like to extract data from my measures. How can I do this ?
    => How can I find the internal measure name, the measure column or attribute ...
    => Are there functions to extract the data (like sql language to read in tables )
    => Can anyone give me some commands, and examples to start extracting simple data from my measures(I have had a look to Oracle documentation, but they are very technical and I don't know how to start).

    There are views available in OLAPSYS schema which will give information about the Analytical workspaces and their objects.
    For extracting data from Analytic workspaces you may use the TABLE FUNCTIONS.
    You may refer 'B14346-01 - Oracle OLAP DML Reference 10g Release 2 (10.2)' for details.
    Regards,
    Maruthi

  • Why can't I create view in Analytic Workspace?

    Why can't I create view in Analytic Workspace?

    Hi There,
    1) This is the OBIEE forum, by the sounds of your question, which doesnt have much detail, Im guessing you want the OLAP forum for AWM related issues.
    2) Trying to help, I guess your trying to create the AW cube views, what version of AWM are you using ? It was first provided as a plug in but Im pretty sure the latest version of AWM ships with the functionality.
    BTW I'd try posting in here : OLAP

  • How to fix ORA-33262: Analytic workspace MY_AW does not exist ?

    Here is my version of : http://download.oracle.com/docs/cd/E11882_01/olap.112/e10795/select.htm#CBBGEGFA
    I don't understand why I get this ORA-33262, it just does not make sense ...
    The API should be doing AW ATTACH MYSCHEMA.MY_AW RO
    Solution 1 : The DBA in my team thinks there is no way for her to create a synonym (or something like that) for the MYSCHEMA.MY_AW so I (the API) can use only MY_AW, anyone knows a way to do it ?
    Maybe the second call to _displayResult() needs to ATTACH the AW while the first does not ...
    Solution 2 : How could I specify to the API to use MYSCHEMA.MY_AW instead of MY_AW ?
    Thanks in advance !
    JP
    DataProvider dp = new DataProvider();
    OracleConnection connection = (OracleConnection)connectionFactory.getConnection(); // LOGGED USING PROXY AUTH WITH THE USER (COULD BE ANY USER) AUTHENTICATED TO THE WEB APP AND ACTUALLY REQUESTING THIS TEST
    UserSession session = dp.createSession(connection);
    MdmRootSchema mdmRootSchema = (MdmRootSchema)dp.getMdmMetadataProvider().getRootSchema();
    MdmDatabaseSchema mdmGlobalSchema = mdmRootSchema.getDatabaseSchema("*MYSCHEMA*");
    MdmPrimaryDimension mdmDim = (MdmPrimaryDimension)mdmGlobalSchema.getTopLevelObject(dimension.getName());
    test.testExample(mdmDim);
    public void testExample(MdmPrimaryDimension mdmProdDim) {
    // Get the Source for the short label attribute of the dimension.
    MdmAttribute labelAttribute = mdmProdDim.getShortValueDescriptionAttribute();
    // prodShortLabel, which is the Source for the short value description attribute of the PRODUCT_AWJ dim
    Source prodShortLabel = labelAttribute.getSource();
    // prodHier, which is the Source for the Product Primary hierarchy.
    MdmLevelHierarchy mdmProdHier = (MdmLevelHierarchy) mdmProdDim.getDefaultHierarchy();
    StringSource prodHier = (StringSource) mdmProdHier.getSource();
    // levelSrc, which is the Source for the Family level of the Product Primary hierarchy of the PRODUCT_AWJ dimension.
    MdmHierarchyLevel mdmHierarchyLevel = mdmProdHier.getHierarchyLevels().iterator().next();
    Source levelSrc = mdmHierarchyLevel.getSource();
    MdmAttribute mdmAncestorAttribute = mdmProdHier.getAncestorsAttribute();
    // prodHierAncsAttr, which is the Source for the ancestors attribute of the hierarchy.
    Source prodHierAncsAttr = mdmAncestorAttribute.getSource();
    MdmAttribute mdmParentAttribute = mdmProdHier.getParentAttribute();
    // prodHierParentAttr, which is the Source for the parent attribute of the hierarchy.
    Source prodHierParentAttr = mdmParentAttribute.getSource();
    int pos = 1;
    // Get the element at the specified position of the level Source.
    Source levelElement = levelSrc.at(pos);
    // Select the element of the hierarchy with the specified value.
    Source levelSel = prodHier.join(prodHier.value(), levelElement);
    // Get ancestors of the level element.
    Source levelElementAncs = prodHierAncsAttr.join(prodHier, levelElement);
    // Get the parent of the level element.
    Source levelElementParent = prodHierParentAttr.join(prodHier, levelElement);
    // Get the children of a parent.
    Source prodHierChildren = prodHier.join(prodHierParentAttr, prodHier.value());
    // Select the children of the level element.
    Source levelElementChildren = prodHierChildren.join(prodHier, levelElement);
    // Get the short value descriptions for the elements of the level.
    Source levelSrcWithShortDescr = prodShortLabel.join(levelSrc);
    // Get the short value descriptions for the children.
    Source levelElementChildrenWithShortDescr =
    prodShortLabel.join(levelElementChildren);
    // Get the short value descriptions for the parents.
    Source levelElementParentWithShortDescr =
    prodShortLabel.join(prodHier, levelElementParent, true);
    // Get the short value descriptions for the ancestors.
    Source levelElementAncsWithShortDescr =
    prodShortLabel.join(prodHier, levelElementAncs, true);
    // Commit the current Transaction.
    commit();
    // Create Cursor objects and display their values.
    System.out.println("Level element values:");
    _displayResult(levelSrcWithShortDescr, false); // WORKS WITH NO PROB, I SEE THE NORMAL OUTPUT AS IN THE EXAMPLE
    System.out.println("\nLevel element at position " + pos + ":");
    _displayResult(levelElement,false); // I GET ORA-33262, SEE BELOW
    System.out.println("\nParent of the level element:");
    _displayResult(levelElementParent,false);
    System.out.println("\nChildren of the level element:");
    _displayResult(levelElementChildrenWithShortDescr,false);
    System.out.println("\nAncestors of the level element:");
    _displayResult(levelElementAncs,false);
    private void _displayResult(Source source, boolean displayLocVal)
    CursorManager cursorManager =
    dp.createCursorManager(source); // Exception for ORA-33262 is thrown here
    Cursor cursor = cursorManager.createCursor();
    cpw.printCursor(cursor, displayLocVal);
    // Close the CursorManager.
    cursorManager.close();
    Error class: Express Failure
    Server error descriptions:
    DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::crtCurMgrs4
    SEL: Unable to generate an execution plan for the query, Generic at TxsOqExecutionPlanGenerator::generate(TxsOqSourceSnapshot*)
    INI: XOQ-00703: error executing OLAP DML command "(AW ATTACH MY_AW RO : ORA-33262: Analytic workspace MY_ AW does not exist.
    )", Generic at TxsOqAWManager::executeCommand
    Edited by: J-P on Jun 29, 2010 9:58 AM

    David Greenfield wrote:
    The error happens when the server is executing the OLAP DML command "AW ATTACH CENSUS RO". This in turn gets an error of the form "ORA-33262: Analytic workspace MY_AW does not exist."
    Oups, sorry when posting, I always try to get ride of names specific to my application/company, I forgot to change CENSUS for MY_AW in the error message
    In particular it is attaching the AW named CENSUS, but is complaining about MY_AW. I have a few questions.
    (1) In which AW does your PRODUCT_AWJ dimension live? CENSUS or MY_AW?
    I don't use PRODUCT_AWJ (I kept the comments from Oracle's example), at line 8, I use dimension.getName() instead
    This dimension lives in the AW named "MY_AW"
    >
    (2) Can you connect CENSUS on the command line (logged in as the same user where the error occurs)?
    Using AWM, I tried to do the command "AW ATTACH MY_AW RO", it does not work, I get the same ORA error, I've to use "AW ATTACH MYSCHEMA.MY_AW RO"
    (3) Is there any kind of AUTOGO or PREMIT_READ program in CENSUS that refers to MY_AW?
    No, sorry again, my mistake
    >
    (4) Have you set up any kind of security on the cubes (via AWM) that may be firing during the attach?
    Not to my knowledge, the DBA knows I've this problem, so she should have tought about it ... I'll ask her just in case
    Thank you,
    JP

  • How to Export OLAP analytical workspaces

    Hi, experts:
    I am following Doc. Migrating OLAP From 32 Bits to 64 Bits or Across Platforms (Doc ID 352306.1) to export OLAP analytical workspaces.
    I copied and pasted the step 2. as below. But I donot understand some of them. Hope you can help me.
    1. What does this mean by: "(NOTE: this following statement is critical so everything in the AW is in STATUS)"?
    2. "Replace ALIAS_DIR with a defined directory alias"   This ALIAS_DIR can be anything on current directory?
    3. I have more 3 AW. So I have to run the following four scripts 3 times? I have to modify the export_file_name.eif  file name for each run, right?
    ========
    2.Use the following SQL commands, for EACH AW that was identified in step #1   (NOTE: All quotes are single quotes).  Caution: If you attach multiple AWs and then run the   export command, ONLY the last- attached AW will be exported. --- Replace OWNER.AW_NAME with the the actual OWNER.AW_NAME name SQL> exec dbms_aw.execute('aw attach OWNER.AW_NAME rw'); -- (NOTE: this following statement is critical so everything in the AW is in STATUS) SQL> exec dbms_aw.execute('allstat'); --- Replace ALIAS_DIR with a defined directory alias --- Replace export_file_name.eif with a valid eif file name SQL> exec dbms_aw.execute('export all to eif file ''ALIAS_DIR/export_file_name.eif '''); --- Replace OWNER.AW_NAME with the actual OWNER.AW_NAME name SQL> exec dbms_aw.execute('aw detach OWNER.AW_NAME');
    =======
    Thank you very much for your help.

    1. What does this mean by: "(NOTE: this following statement is critical so everything in the AW is in STATUS)"?
    This is just a note to the readers and you can simply run the sql statement as it is in the doc.
    2. "Replace ALIAS_DIR with a defined directory alias"   This ALIAS_DIR can be anything on current directory? 
    Correct but you need to create the directory first -- See Error - EBS DB importing OLAP from 32 bit to 64 for the commands.
    3. I have more 3 AW. So I have to run the following four scripts 3 times? I have modify export_file_name.eif file name for each run, right?
    Correct.
    Thanks,
    Hussein

  • AWM-Importing Analytical workspace thru XML

    Need help in Oracle:AWM
    I have been trying to load XML file to import the Analytical work space with DML statements.
    I am not able to import AWS on server.It gives following error
    Success <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
    ORA-34684: All of your attached analytic workspaces are read-only.
    Following is the code got from oracle site:
    CREATE OR REPLACE PROCEDURE LOAD_AWM (DIR_NAME VARCHAR, XML_NAME VARCHAR) AS
    clb CLOB;
    infile BFILE;
    dname varchar2(500);
    sql_text varchar2(200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('started');
    -- Create a temporary clob
    DBMS_LOB.CREATETEMPORARY(clb, TRUE,10);
    -- Create a BFILE use BFILENAME function
    infile := BFILENAME(DIR_NAME,XML_NAME);
    -- Open the BFILE
    DBMS_LOB.fileopen(infile, dbms_lob.file_readonly);
    DBMS_OUTPUT.PUT_LINE('File open...');
    -- Load temporary clob from the BFILE
    DBMS_LOB.LOADFROMFILE(clb,infile,DBMS_LOB.LOBMAXSIZE, 1, 1);
    DBMS_OUTPUT.PUT_LINE('File load');
    -- Close the BFILE
    DBMS_LOB.fileclose(infile);
    DBMS_OUTPUT.PUT_LINE('File close');
    -- Create the GLOBAL analytic workspace
    DBMS_OUTPUT.PUT_LINE(DBMS_AW_XML.execute(clb));
    DBMS_AW.AW_UPDATE;
    DBMS_OUTPUT.PUT_LINE('Awm Update.');
    COMMIT;
    -- Free the Temporary Clob
    DBMS_LOB.FREETEMPORARY(clb);
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END;
    There is no other instance open for which it can throw read-only error.
    The XML file is kept in folder on UNIX server which has permissions as drwxrwxr-x
    Please help in this issue.

    Hi,
    iam trying to install oracle 8i in fedora 4 with kernel version 2.6.11 and glibc-2.3.6-3
    when iam trying to run ./runinstaller it is giving the following error.
    And i want to know whether oracle 8i is supported on fedora 4. Plse tell me what all the linux flavours are supported for oracle 8i and also it is compatable for php4 or php5.
    as we are trying to use php with oracle 8i database...!
    ######## error:
    [oracle@localhost linux]$ ./runInstaller
    Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
    Exception java.lang.NullPointerException occurred..
    java.lang.NullPointerException
    at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:192)
    at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:68)
    at sun.awt.motif.MToolkit.createFrame(MToolkit.java:137)
    at java.awt.Frame.addNotify(Frame.java:196)
    at java.awt.Window.show(Window.java:138)
    at java.awt.Component.show(Component.java:528)
    at java.awt.Component.setVisible(Component.java:490)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:419)
    Plse help me...!
    Thanks in advance..

  • AWM: Enable Analytic Workspace for OLAP API

    Hi,
    I created an analytic workspace with Analytic Workspace Manager which is based on a relational star-schema.
    Now I want to access this analytical workspace by normal SQL-Statements. For this I executed in AWM the 'Enable Analytic Workspace for OLAP API and BI Beans ...' routine which generated views that contain the fact and dimension data.
    My problem is that these views are very huge, because they
    apparently store all possible combintations of dimension- and fact records. Most of the records contain only NULL values in the fact columns. I also used Composite Dimensions for the fact table in order to reduce sparsity.
    Is it normal to have such huge views with mostly NULL values? If yes, how can I handle this in order to get an acceptable performance.
    Here an example of a small fact table I use:
    A fact table with 5400 records with its two dimension tables (1129 and 233 rows, no hierarchies) produces 263057 rows in the view.
    Thanks for any help.

    Hi,
    First of all, thanks for the quick response flavio.
    Meanwhile I have found a solution to my problem:
    I don't use the 'Enable Analytic Workspace for OLAP API and BI Beans ...' routine of AWM anymore. Instead, I write my own statement for creating a relational view for the analytical workspace. The statement looks like following:
    create or replace force view costrate_cube as
    SELECT producttype_number, producttype_description, machine_sk, notok_costrate, production_costrate
    FROM TABLE(CAST(OLAP_TABLE(
    'costrate_aw DURATION SESSION',
    'costrate_table',
    'FETCH producttype_dim_producttype_number,
    producttype_dim_producttype_description,
    produnit_dim_machine_sk, produnit_dim_module_sk,
    notok_costrate_variable, production_costrate_variable
    USING <costrate_cube_composite>','') as costrate_table));
    The important part is the USING clause of the FETCH command. By using the composite of all dimensions of the cube, rows containing only null values in the fact columns are being eliminated. Now I get only the rows which are in my original relational fact table (which is what I wanted).
    Werner

Maybe you are looking for