Workspace could not be attached

Hi All ,
I executed below:
exec DBMS_CUBE.BUILD('NN_OLAP_POC.MARKET_SALES_CUBE, NN_OLAP_POC.BRAND_SALES_CUBE', parallelism=>2) ;
and it fails with :
ERROR at line 1:
ORA-37162: OLAP error
XOQ-01707: Oracle job "JOB$_196" failed while executing slave build
"NN_OLAP_POC.MARKET_SALES_CUBE USING (LOAD NO SYNCH, SOLVE) AS OF SCN 31840126"
with error "37162: ORA-37162: OLAP error
XOQ-01600: OLAP DML error "ORA-4030: out of process memory when trying to
allocate 14083672 bytes (xsCCube,xsCCube_1)" while executing DML
"SYS.AWXML!R11_AGGREGATE_CONSISTENT('MARKET_SALES_CUBE.CUBE'
'MARKET_SALES_CUBE.SOLVE.AGGREGATIONDEFINITION'
SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 1) 'P59')"
ORA-06512: at "SYS.DBMS_CUBE", line 236
ORA-06512: at "SYS.DBMS_CUBE", line 305
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_CUBE", line 236
ORA-06512: at "SYS.DBMS_CUBE", line 280
ORA-06512: at line 1
Now I am not being able to attach the AW in REad Write mode and I believe that has been locked by the AWM itself and I need to bounce the database to remove the lock .
Can you please point out the reason of the failure and even if failed AW should release the lock which is not the case now .
Thanks in advance ,
DxP

The session that had attached the AW in RW mode is probably still alive, which means the AW cannot be attached RW by any other session. This may have sorted itself out by the time you read this, but if not, then run the following as DBA.
set pages 500 lines 110
col usn format a23 heading "USER (SID,SERIAL#,SVR)"
col aw format a22 heading "OLAP AW (ATTACHED)"
col generation format 99999 heading "Genrtn"
select
  username || ' ('||sid||','||serial#||','||
  decode(server,
    'DEDICATED','D',
    'SHARED', 'S', 'U')||')' usn,
    gvawo.inst_id,
    owner||'.'||daws.aw_name||' ('||
     decode(attach_mode,
     'READ WRITE', 'RW',
     'READ ONLY', 'RO',
     'MULTIWRITE', 'MW',
     'EXCLUSIVE', 'XW', attach_mode)||')' aw,
  generation
from
  dba_aws daws,
  gv$aw_olap gvawo,
  gv$aw_calc gvawc,
  gv$session gvses
where
  daws.aw_number = gvawo.aw_number
  and sid = gvawo.session_id
  and gvawc.session_id = sid
  and gvawo.inst_id = gvawc.inst_id
  and gvses.inst_id = gvawc.inst_id
order by
  username,
  sid,
  daws.aw_name
/This will list all the attached AWs and the sessions that own them. Similar information can be obtained from AWM using the node 'Reports->OLAP DBA Reports->AWs Attached'.
Here is a sample output.
USER (SID,SERIAL#,SVR)        INST_ID OLAP AW (ATTACHED)       Genrtn
GLOBAL (16,357,D)           1 SYS.AWXML (RO)            2
GLOBAL (16,357,D)           1 SYS.EXPRESS (RO)            2
GLOBAL (101,4017,D)           1 SYS.EXPRESS (RO)            2
SCOTT (18,599,D)           1 SYS.EXPRESS (RO)            2
SCOTT (18,599,D)           1 GLOBAL.GLOBAL (RW)            0As you can see, user SCOTT has the AW named 'GLOBAL' attached in RW mode. I can kill the session using
alter system kill session '18,599';

Similar Messages

  • Could not find "Attachment" class (DeliveryManager)

    Hello,
    I was trying to send email using Delivery Manager (java program) but getting error compiling the source code when adding sample line "Attachment m = new Attachment();". Below is an excerpt of the source code. I could not add "Attachment" function.
    // create delivery manager instance
    DeliveryManager delMgr = new DeliveryManager();
    // create a delivery request
    DeliveryRequest delReq = delMgr.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
    // set email subject
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "test");
    // set SMTP server host
    delReq.addProperty(
    DeliveryPropertyDefinitions.SMTP_HOST, "xxxx.mail.com");
    // set the sender email address
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_FROM, "[email protected]");
    // set the destination TO email address (required)
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS, getReportNotify(repID,"TO") );
    // set the destination CC email address (optional)
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CC_RECIPIENTS, getReportNotify(repID,"CC") );
    // set the content type of the email body
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE, "text/plain");
    // set the document file name appeared in the email
    //delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME, getReportTitle(repID)+rRequestID+".pdf");
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME, repID+".txt");
    // set the document to deliver
    //delReq.setDocument(OutFileName);
    delReq.setDocument(msgDir+repID+".txt");
    //create Attachment instance
    Attachment m = new Attachment();
    // pdf
    m.addAttachment(OutFileName,getReportTitle(repID)+rRequestID+".pdf","application/pdf");
    // attaching step
    delReq.addProperty(DeliveryPropertyDefinitions.SMTP_ATTACHMENT, m);
    // submit the request
    delReq.submit();
    // close the request
    delReq.close();
    Here's the compilation error:
    EBSEmailDelivery.java:33: cannot resolve symbol
    symbol : class Attachment
    location: class oracle.apps.xdo.ebsdelivery.EBSEmailDelivery
    Attachment m = new Attachment();
    ^
    Thanks in advance.

    Also, here's the list of classes imported in my java code:
    import oracle.apps.xdo.delivery.DeliveryManager;
    import oracle.apps.xdo.delivery.DeliveryRequest;
    import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
    import oracle.apps.fnd.common.AppsContext;
    Not sure where to refer the "Attachment" class. Thanks.

  • SharePoint mail handler could not extract attachment from a certain type of eml emails

    I found out why SharePoint mail handler could not extract attachment from a certain type of eml emails. The eml emails not working me were constructed with this structure, using one attachment as example:
    If I removed the highlighted red part, it just worked.
    ----boundary_2_6a659de7-74df-40e1-ab98-225ccc22717a
    Content-Type: multipart/alternative;
    boundary=--boundary_1_9786ce6d-49bd-4ef9-9300-4ed4797bd8ad
    ----boundary_1_9786ce6d-49bd-4ef9-9300-4ed4797bd8ad
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: base64
    {body
    text/plain in base64 string}
    ----boundary_1_9786ce6d-49bd-4ef9-9300-4ed4797bd8ad
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Encoding: base64
    {body
    text/html in base64 string}
    ----boundary_1_9786ce6d-49bd-4ef9-9300-4ed4797bd8ad--
    ----boundary_2_6a659de7-74df-40e1-ab98-225ccc22717a
    Content-Type: multipart/mixed; boundary=--boundary_3_e5f4edb0-f72c-44d3-9cea-f01b51affe53
    ----boundary_3_e5f4edb0-f72c-44d3-9cea-f01b51affe53
    Content-Type: application/octet-stream;
    name=attachment.pdf
    Content-Transfer-Encoding: base64
    {attachment
    in base64 string here}
    ----boundary_3_e5f4edb0-f72c-44d3-9cea-f01b51affe53
    ----boundary_2_6a659de7-74df-40e1-ab98-225ccc22717a--
    I know little about eml file structure. Either the structure is wrong or the sharepoint has a bug!

    Also, here's the list of classes imported in my java code:
    import oracle.apps.xdo.delivery.DeliveryManager;
    import oracle.apps.xdo.delivery.DeliveryRequest;
    import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
    import oracle.apps.fnd.common.AppsContext;
    Not sure where to refer the "Attachment" class. Thanks.

  • Filed messages issue, could not download attachment

    My Z10 seems to be having major issues downloading attachment from my Exchange account when there's a rule (client-side rule) that files this away.  My Z10 is set to show filed messages and to sync this folder so it does come through, but I can't download the attachments (txt files).
    If I forward the email to me to bypass the rule (via WebApp), I have no issues downloading the attachment.
    In general, it seems as though I'm getting iffy support for filed messages (Gmail, via IMAP, doesn't alert on emails that bypass Inbox and are filed, but that folder/label is set to sync too).
    Anyone have any ideas or am I just running into some bugs?

    Hey jj619,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    To better investigate why the attachment is not downloading, we will need to gather some logs.  Please contact your network service provider and ask to be transferred to BlackBerry.
    Thanks for your patience.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • When sending picture text I get error: Could not open attachment. The file appears to be corrupt.

    I don't know what info to put here. I had just snapped a picture using the phone, it was not a picture from anywhere else. It came up for both people I tried to send it to. Never had an issue before. Please help!

    Hello nikki12345, 
    Welcome to the forums. 
    Try transferring (backing up) media from your media card to a PC and reformatting the card. Have a look at this article for additional help. 
    Media card cannot be read. Verify that the memory card is formatted
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Could not find a Hyperion Reporting and Analysis  in  workspace

    i installed hyperion 9 system them with reporting and essbase ..
    after configured all .. configure shows sucess but after shared services configuration failed in BI
    unable to open workspace
    when i tried to open Workspace
    "Could not find a Hyperion Reporting and Analysis in workspace9 server running on server at port 6800. Please verify your server connect string and confirm that the server is up."
    Edited by: user1624634 on Mar 10, 2010 12:28 AM

    Hello
    May i suggest adressing this question to a Hyperion/Essbase forum:, here is the link i am certain you'll get your answer quicker.
    Essbase
    Thanks

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • APEX SSO and Load balancing: Could not determine workspace for application

    We had a single HTTP Server serving APEX in a 10.2.0.2 database configured with SSO to be used by the developers. APEX has been registered as a partner application and the login url has been CA Siteminder protected so that the SM_USER details are forwarded in the header for the application to use for authorization. Everything is fine so far.
    Now we have added a HTTP Server on another host and have it all set up for APEX and its pointing to the same database. APEX_ADMIN access works as normal, but applications previously using SSO now get the following error after entering the URL.
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7620 Could not determine workspace for application ().
    Using HTTP Watch I find that the application is not even trying to redirect to the login page.
    What is wrong here?

    APEX has been registered as a partner application as described in
    http://www.oracle.com/technology/products/database/application_express/howtos/sso_partner_app.html
    In the meantime I found metalink document 368746.1 which describes the cause of this problem. Please read carefully what I wrote, it all works when the the new APEX web server is turned off in the server farm on the load balancer and directed through the original web server. When running regapp.sql the hostname in the listener token was using the virtual hostname. This works fine if the request comes from the original APEX server which proofs that there is nothing wrong with the installation and set up of SSO. When directing the request to the new APEX web server the APEX_ADMIN page still works only existing work spaces using SSO don't seems to work anymore resulting in a error as described in the subject.
    As for metalink document 368746.1 naming the causes of this error:
    - there are no duplicate entries in WWSEC_ENABLER_CONFIG_INFO$
    -LISTENER_TOKEN clearly works for requests coming from the first web server
    -theoretically the web server listener port could be changed from 7777, but port 80 needs to be maintained here as production is mimiced as far down as possible.
    Is there some cache table which can be cleared? How is it that the flows schema (apex engine) can not find the work space when the request comes from a new web server which can however access the APEX_ADMIN pages.
    anyone?

  • I bought an ebook but when I  try to download it I receive a message stating 'Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wa

    Can anyone assist me? I keep receiving this message when I download my ebook ''Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't decoded).'
    Much appreciated

    I think you should ask in the Digital Editions forum, Adobe Digital Editions

  • Why can't I open a pdf file on my desktop?  I keep getting this message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and w

    Why can't I open a pdf file on my desktop?  I have Adobe Reader and running OS 10.10.1  I keep getting the same message: "Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."

    I tried that.
    I saved the file 8pdk_96_4.pdf to my desktop and tried to open it using Adobe Reader but I get the same message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

  • I have received an error message from an attached USB hard drive (not Time Capsule) stating "Disk Name" cannot be repaired. Back up your data and reformat. I opened the Disk Utility in an attempt to repair the disk but am advised that the disk "could not

    I have received an error message relating to an attached USB hard drive (not a back up and not Time Capsule) advising that "disk name" cannot be repaired. Back up your data and reformat. When I attempted to verify the disk with Disk Utility, I was advised that the disk could not be unmounted. What can I do to repair the disk?
    Write Status is Read/Write
    SMART Status is Not Supported
    Partition Map Scheme is Master Boot Record
    HELP!
    timothy7712

    You need something stronger, such as DiskWarrior, TechTools Pro, or Data Rescue.

  • Could not apply the Blur Gallery workspace because the file is locked...

    I fixed the permissions 10x times (from Safe Mode as well). I reassigned and reassigned the Permissions. I reset the PS Preferences. I "Uninstall LT5, Uninstall PSCC2014, Unistall Creative Cloud. Reinstall Creative Cloud, Install PSCC 2014 from the Cloud, (and HAVE NOT reinstall) LT5.5 from the Adobe site."; I reinstalled OX 10.10.3. Nothing fixes the problems I am having: CC updater always stopped at 50% and the failed. I will get "Could not apply the Blur Gallery workspace because the file is locked..." any blur from Blur Gallery. I did noticed one thing, I can use any blur from this menu once and then I will get the error message. I will get to use one tool once from the Blur Gallery. Also I couldn't save my keyboard "Short Cut".  Anyone
    I tried everything I can find online and nothing helps. Any suggestions welcome. Thanks!!

    We would need to know the amount of Video ram you have. If it is above 512 MB, then check for driver updates.
    Windows OS
    Click Start.
    On the Start menu, click Run.
    In the Open box, type "dxdiag" (without the quotation marks), and then click OK.
    The DirectX Diagnostic Tool opens. Click the Display tab.
    On the Display tab, information about your graphics card is shown in the Device section. You can see the name of your card, as well as how much video memory it has.
    Once you know the kind of graphics card you have, visit the manufacturer's website to download the latest driver. Here are links for downloading drivers from the most common graphics card manufacturers:
    NVIDIA: http://www.nvidia.com/content/drivers/drivers.asp
    AMD: http://support.amd.com/en-us/download
    Intel: http://support.intel.com/support/graphics/

  • Could not get stream for task attachment

    When uploading Document and Trying to view documents in Worklits we get the following error:
    <Error> <oracle.soa.services.workflow.worklist> <BEA-000000> <<oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.getTaskAttachment>
    Could not get stream for task attachment:
    This seem to have been a bug on previous versions of Oracle BPM but we're receiving it on 11.1.1.7
    Any idea what might be causing this?
    someone that experienced a similar issue but was resolved bu applying a patch
    ID 1453480 - someone that experienced a similar issue but was resolved bu applying a patch
    Thanks

    Complete restart of the environment solved issue

  • Lighting effects not working, 'Could not apply the workspace because there is not enough memory (RAM)' with 4GB RAM?

    Tried to use 'render/lighting effects' on 5 more or less new different laptops now. All kind of Window versions.
    They all have at least 4GB RAM. The Graphic Card is compatible.
    Layer to work on is RGB-Type.
    It's all about Photoshop CC 2014, trial version.
    When I go to 'Lighting effects' it says first:
    'The 3D features require that 'Use Graphics Processor' is enabled in the Performance preferences. Your video card must meet the minimum requirements and you may need to check that your driver is working correctly.'
    - I switched the 'Use Graphics Processor' on and off and restarted new - nothing happens.
    - Video card is compatible.
    Second it says:
    ''Could not apply the workspace because there is not enough memory (RAM)'
    - RAM on all the computers I tested it with is at least 4GB
    Please help!

    We would need to know the amount of Video ram you have. If it is above 512 MB, then check for driver updates.
    Windows OS
    Click Start.
    On the Start menu, click Run.
    In the Open box, type "dxdiag" (without the quotation marks), and then click OK.
    The DirectX Diagnostic Tool opens. Click the Display tab.
    On the Display tab, information about your graphics card is shown in the Device section. You can see the name of your card, as well as how much video memory it has.
    Once you know the kind of graphics card you have, visit the manufacturer's website to download the latest driver. Here are links for downloading drivers from the most common graphics card manufacturers:
    NVIDIA: http://www.nvidia.com/content/drivers/drivers.asp
    AMD: http://support.amd.com/en-us/download
    Intel: http://support.intel.com/support/graphics/

  • After saved to computer, Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    After saved to computer, Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    What is your operating system?  Reader version?
    Saved from where?  What is the file size of the saved document?

Maybe you are looking for