AIDocument- GetDocument Fails with AIErr DOC?

Hi
I am trying in Illustrator 64 on Windows through a plugin to open  document and get the documents setup.
My code is as follows.
I first acquire the required Suites ( AIDocument, AIDocumentList, AIFilePath etc ) and all the Suites are acquired with NO Errors and have valid pointers
AIErr err = kNoErr;
//Get the page information
  AIDocumentHandle theDocument;ai::UnicodeString uniPath( "C:\\test.ai");
ai::FilePath fpath(uniPath) ;
err = sAIDocumentList->Open( fpath, kAIUnknownColorModel,kDialogOff, false, &theDocument );  
//This conpletes with no errors and the document is opened.  theDocument, aslo has a valid pointer.
AIDocumentSetup docSetup;
err = sAIDocument->GetDocumentSetup(&docSetup);
//This return an error DOC?
I have also tried using AIDocument->GetDocument and AIDocumentList->Activate both after opening the document and they also return DOC?, though the theDocument Handle returned by open document appears to be valid.
Can anyone suggest what I might be doing wrong or a possible way forward?
Thanks
A

Thanks, hooking the kAIDocumentOpenedNotifier worked and my call to GetDocumentSetup works fine, but it still doesnt work where I was calling it before. 
I done think its a document no loaded issue as I am making the call as a result of a button press in the plugin GUI, which triggers a CSXS event, see below.
static void UpdateClickedFunc(const csxs::event::Event* const eventParam, void* const context)
     MyPanelController *myPanelController= (MyPanelController*)context;
     myPanelController->GetDocumentSetupInfo();
From this I get my context and and call my function that reads the document setup for the AIDocumentSuite.
Could it be that in this context, I might not be able to address the AIDocumentSuite. If so how would I get the main context or do I just need to run all my functions in the main body of my plugin.
Amy

Similar Messages

  • Updatemanager fails with "unknown subcommand getdocument" message

    When I run update manager it fails with following message:
    unknown subcommand getdocument
    Stack Trace:
    com.sun.swup.client.engine.solaris.CollectionFileException: Unknown subcommand getdocument.
    at com.sun.swup.client.engine.solaris.PatchCollection.processCollections(PatchCollection.java:91)
    at com.sun.swup.client.engine.solaris.PatchCollection.<init>(PatchCollection.java:53)
    at com.sun.swup.client.engine.solaris.PatchCollection.getInstance(PatchCollection.java:70)
    at com.sun.swup.client.engine.solaris.SolarisDataCollector.getCollectionsObject(SolarisDataCollector.java:392)
    at com.sun.swup.client.engine.solaris.SolarisDataCollector.getAvailableCollectionNames(SolarisDataCollector.java:279)
    at com.sun.swup.client.engine.solaris.SolarisDataCollector.getAvailableUpdateCollections(SolarisDataCollector.java:158)
    at com.sun.swup.client.ui.UpdateFrame$LoadDataWorker.construct(UpdateFrame.java:234)
    at com.sun.swup.client.ui.foundation.swing.SwingWorker$2.run(SwingWorker.java:109)
    at java.lang.Thread.run(Thread.java:595)
    $uname -a
    SunOS asuman 5.11 snv_15 i86pc i386 i86pc
    PS: patch manager was installed on SunOS 5.10.1 then the machine upgraded to SunOS 5.11

    probably java interface (updatemanager) uses smpatch at backend and may be some libraries it uses upgraded with system upgrade. the smpatch command works well and does not support list & getdocument commands.
    # smpatch get
    patchpro.backout.directory "" ""
    patchpro.download.directory /downloads/patches /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source - https://updateserver.sun.com/solaris/
    patchpro.patchset - patchdb
    patchpro.proxy.host "" ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port "" 8080
    patchpro.proxy.user "" ""
    patchpro.sun.passwd **** ****
    patchpro.sun.user - ""
    # smpatch list
    Unknown subcommand list.
    # smpatch update
    No patches required.
    #

  • Report failing with error

    Hi All,
    Application R12.1.3 with Shared Application Tier 2 nodes
    Database : 11g R 11.2.0.2 with RAC 2 nodes with ASM
    We have a concurrent program which gets fired when submitted thru API . For each order program is run once . If there are more orders it will run n number of times . At this time one request is failing with error
    REP-0004:
    REP-0069:
    REP-57054:
    But for the same failed request when we run separately(with same parameters) it is completing Normal . There is no other error in Manager Logs.
    please help what can be the issue.
    thanks
    Mapps

    Please see the following docs/links.
    Concurrent Processing - Concurrent Reports Failing With Errors REP-0004,REP-0082 and REP-0104 [ID 844976.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=REP-0004+AND+REP-0069+AND+REP-57054&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    If the links did not help, please enable trace/debug and see if you get more details about the error and post the contents of the log file then -- How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    Thanks,
    Hussein

  • Discoverer Desktop Connections Fails With Invalid Username/Pass in r12

    Hi all;
    I have problem. I can login Discoverer Administrator from my localmachine and i can see what ppl did it there.. But when i try to login Discoverer Desktop from my localmachine its gives me Invalid Username/Pass. error.
    I even cant login my system from browser :
    http://xx.com:7778/discoverer/plus << pages comes and i fill in the blanks area like:
    Connect to : Oracle Application
    Username: sysadmin
    pass: ***
    Database: VIS
    I found some document from forums. Whihc is :
    Discoverer Is Unable to Connect to Oracle Applications database: invalid username/password      Doc ID: Note:467919.1
    Discoverer 10g (10.1.2) Connectons To Oracle E-Business Suite 12 Fails With 'Invalid Username/Password'      Doc ID: Note:443661.1
    But before i apply those patch i want to take advice from you. Coz i can login Discoverer Administrator and can use it but cant login Discoverer Desktop...its kind of wierd... i already checked what i have done in installtion and its all seems correct.
    Any idea;
    Regards
    Helios

    Discoverer supports two kinds of connections - database schema connections and apps connections. For Disco Admin, you login using a database schema, which, as you stated, works. For Disco User you login using an Apps user account (for which there is a no equivalent database scherma). To enable such a connection, you need to check the "oracle applications user" check box on the 10g Disco login screen. Also, under Tools --> Options, in the Connection tab, make sure that "connect to both standard and applications EULs" radio button is selected.
    HTH
    Srini

  • Atempt to start OMS for Grid Control 11g fails with - Unexpected error occu

    Hello,
    I am running Grid Control 11g.
    Repository DB is 11.2.0.1
    Both the Grid Control and DB server are running in same machine - redhat 5.
    When trying to start the oms, this fails with the below error:
    Oracle Enterprise Manager 11g Release 1 Grid Control
    Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
    Starting WebTier...
    WebTier Successfully Started
    Starting Oracle Management Server...
    Oracle Management Server is not functioning because of the following reason:
    Unexpected error occurred. Check error and log files.
    The emctl.log shows the following error which I am unable to debug:
    2011-09-13 11:20:05,619 [main] DEBUG oms.StatusOMSCmd processStatusOMS.138 - HTTP port in emgc property file: 7202
    2011-09-13 11:20:05,620 [main] DEBUG oms.StatusOMSCmd processStatusOMS.139 - HTTPS port in emgc property file: 7301
    2011-09-13 11:20:05,620 [main] DEBUG oms.StatusOMSCmd processStatusOMS.155 - Using http port.
    2011-09-13 11:20:05,620 [main] DEBUG oms.StatusOMSCmd processStatusOMS.195 - Attempting to connect to http://<host>.<domain>:7202/em/console/logon/logon
    2011-09-13 11:23:05,596 [main] ERROR oms.StatusOMSCmd processStatusOMS.239 - Read timed out
    java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:206)
    at HTTPClient.BufferedInputStream.read(BufferedInputStream.java:126)
    at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:348)
    at HTTPClient.RespInputStream.read(RespInputStream.java:147)
    at HTTPClient.RespInputStream.read(RespInputStream.java:108)
    at HTTPClient.Response.readResponseHeaders(Response.java:1107)
    at HTTPClient.Response.getHeaders(Response.java:832)
    at HTTPClient.Response.getStatusCode(Response.java:331)
    at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:92)
    at HTTPClient.HTTPResponse.handleResponseImpl(HTTPResponse.java:872)
    at HTTPClient.HTTPResponse.access$000(HTTPResponse.java:62)
    at HTTPClient.HTTPResponse$2.run(HTTPResponse.java:839)
    at HTTPClient.HTTPResponse$2.run(HTTPResponse.java:837)
    at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:666)
    at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:837)
    at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:242)
    at oracle.sysman.emctl.oms.StatusOMSCmd.processStatusOMS(StatusOMSCmd.java:199)
    at oracle.sysman.emctl.wls.OMSController.statusOMS(OMSController.java:867)
    at oracle.sysman.emctl.wls.OMSController.startOMS(OMSController.java:606)
    at oracle.sysman.emctl.wls.OMSController.main(OMSController.java:213)
    2011-09-13 11:23:05,597 [main] INFO wls.OMSController statusOMS.950 - statusOMS finished with result: 9
    In emgc.properties, I have MSPORT=7202.
    I have used the notes in Metalink 1287904.1, but without resolution.
    I am able to connect with sqlplus, with user sysman, without issues. There are no invalid objects under sysman.
    emoms.trc shows the following:
    2011-09-11 15:51:53,160 [JobWorker 22356:Thread-108] WARN jdbc.ConnectionCache _getConnection.353 - Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    Thank you for support.
    Regards,
    Horia
    Edited by: horia.berca on Sep 13, 2011 5:29 AM
    Edited by: horia.berca on Sep 13, 2011 5:32 AM
    Edited by: horia.berca on Sep 13, 2011 5:35 AM
    Edited by: horia.berca on Sep 13, 2011 5:45 AM

    Hello again;
    Check the solution in this: ( and note the multiple versions of oracle it covers )
    UNABLE TO FIND GRID INFRASTRUCTURE LISTENER (Doc ID 1483234.1)
    Best Regards
    mseberg

  • Following error occours when running a BI Publisher report in Siebel: Operation ' ? ' of Web Service ' ? . ? ' at port ' ? ' failed with the following explanation: " ? ".(SBL-EAI-04308)

    I am installing a new reporting server.
    When running a report I get the above error:
    Operation '<?>' of Web Service '<?>.<?>' at port '<?>' failed with the following explanation: "<?>".(SBL-EAI-04308)
    Any ideas?

    Have a look here for Oracle's guidelines on troubleshooting such errors:
    http://download.oracle.com/docs/cd/E14004_01/books/Reports/ReportsTroubleshoot.html

  • CUCM 8.6.1 Refresh upgrade to 10.5 fails with Internal Error (Function: ipmReadNormalizedInputLine) [SOLVED]

    Hi,
    we are upgrading our CUCM 8.6.1 to 10.5.1 on VMWare Enviroment (vSphere 5.5 running on UCS). 
    We are running this upgrade in a sandbox, in order to avoid any problem in the production cluster.
    We followed the refresh upgrade guide ( http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/upgrade/10_0_1/CUCM_BK_U4214F9D_00_upgrade-guide-cucm-100.pdf)
    Pre-configuration steps
    Take a clone of the running publisher and put it in the sandbox
    Remove DNS servers (they are not available in the sandbox)
    Change the NTP Server with a ntp that is recheable from the sandbox
    Check that Gateway and NTP connectivity are OK for the CUCM
    Pre-upgrade:
    Run the cop files to update keys and increase disk space (log partition is 80% full)
    Shutdown the CUCM VM and
    Increase disk space on the VM configuration
    change VM OS from RedHat5 (32bit) to RedHat 6  (64bits)
    change VM nic from flexible to VMNIX3
    Restart the VM
    Upgrade
    1. mount the iso
    2. connect to OS Administration web interface and perform the Software installation from CD/DVD
    3. upgrade process works fine up to the post-installation task
    During post-installation tasks (after completing the DB Load and Transforming Copy) the Upgrade process always fails fails with an internal error
    IPM|Internal Error, File:ipm.c:2011, Function: ipmReadNormalizedInputLine(), "/usr/local/cm/script/cm-dbl-install RU PostInstall 10.5.1.10000-7 8.6.1.21019-1 /usr/local/cm/ /common/component/database /common/log/install/capture.txt " failed (1)|<LVL::Critical>
    IPM|  end-of-session "Installing database component": 1109.369 secs.|<LVL::Info>
    IPM|Close progress meter "Component Install"|<LVL::Info>
    We also tried the intermediate steps:
    - upgrade from 8.6.1 to 9.1 : worked
    - from 9.1 to 10.5: Failed with the same error
    - from 9.1 to 10.1: Failed with the same error
    any help will be greatly appreciated, thanks
    Stefano

    Issue was related to Dial Plans, the logs showed
    16:45:46.204 |   DBUtil::BlockCopyTable ### *ERROR* ###:  (diagnosis):  Bulk Data Migration for table availdialplan failed due to data constraint issue, (-971).
    16:45:46.611 |   DBUtil::BlockCopyTable *
    16:46:16.555 |*ERROR* Error fetching column information: [Informix][Informix ODBC Driver][Informix]Could not position within a table (informix.systables).
    16:46:16.588 |   DataConverter_5to6::CopyTables *ERROR* BlockCopyTable failed to process table (availdialplan)
    16:47:52.395 |   installFull *ERROR* Prior Cancel or Error Processing convert5to6()
    Cisco TAC fixed by updating the primary key in the DB.
    After the fix we were able to perform the RU as expected.

  • Dbconsole config in oracle apps 12i (db 11.1.0.7)  failed with emca

    Dear all,
    I started configuring dbconsole for oracle apps 12 with oracle 11.1.0.7 database using emca.
    It failed while supplying dbsnmp password.
    CONFIG: Failed to update account status.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACL
    E not available
    I changed the password manually using alter user cmd and tried to confiure it but it doesn't work.
    I restarted the db tier and tried to configure it but with same error.checked the password policy for profile its unlimited.
    I don't understand what is wrong.
    Can someone throw some light on this.
    Thanks & regards,

    Have you changed the password correctly? If yes, can you login using the new password via SQL*Plus?
    Please see these docs.
    EMCA Fails With Error "ORA-01034: ORACLE not available" and "Invalid username/password." For DBSNMP User [ID 550484.1]
    How to Troubleshoot EMCA Failures Due to Connectivity Issue to Database [ID 1106623.1]
    If none of the above helps, please log a SR.
    Thanks,
    Hussein

  • FAILED with error NT_STATUS_NO_SUCH_USER

    Setup:
    OS X Server 10.3.9. PDC. ALL clients are a combination of XP and W2K. No macs (sadly).
    Situation:
    Over the last 3 years I've been plagued with this problem. Symptoms include new authentications are not granted access, but existing connections suffer no degradation of service. The simple solution has been to simply go into Server Admin and "Restart Service" on the Windows service. Done and done. However, this can happen anywhere from once a week to (up to) 3 times a day. Even on weekends when (likely) no one is in the building, though some users may not log out of their workstations - let alone shut down.
    Troubleshooting:
    1) I set the smbd logs to 1 (debug) and at the point of degrading, I only see this:
    ***** Begin: I changed nothing; I left out nothing ***********************
    [2008/04/14 10:54:09, 1] authods.c:opendirectory_authuser(208)
    User "bvolz" authenticated successfully with "dsAuthMethodStandard:dsAuthSMBNTKey"
    [2008/04/14 10:54:09, 2] authods.c:opendirectory_smb_pwd_checkntlmv1(424)
    opendirectorysmb_pwd_checkntlmv1: [-14071]opendirectoryuser_sessionkey
    [2008/04/14 10:54:09, 2] /SourceCache/samba/samba-60.5/samba/source/auth/auth.c:checkntlmpassword(305)
    checkntlmpassword: authentication for user [bvolz] -> [bvolz] -> [bvolz] succeeded
    [2008/04/14 10:54:10, 1] /SourceCache/samba/samba-60.5/samba/source/smbd/service.c:close_cnum(841)
    volzsql (192.168.0.3) closed connection to service Shared
    [2008/04/14 10:54:11, 0] pdbods.c:getrecords(1015)
    dsGetRecordEntry error (-14085)odssam_getsampwnam: [-14085]getsam_recordattributes dsRecTypeStandard:Users no account for 'jpiper'!
    [2008/04/14 10:54:11, 2] /SourceCache/samba/samba-60.5/samba/source/auth/auth.c:checkntlmpassword(312)
    checkntlmpassword: Authentication for user [jpiper] -> [jpiper] FAILED with error NTSTATUS_NO_SUCHUSER
    ***** End: I changed nothing; I left out nothing ***********************
    2) Recently, I tried to change the default allowed connections per KB Article: http://docs.info.apple.com/article.html?artnum=107899 but that actually only seemed to exacerbate the problem. Today I removed the directories that were added in Netinfo Manager from the KB.
    3) I also looked at the nmbd.log and frequently see this, which is equally as troubling:
    [2008/04/14 10:44:29, 2] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdbrowsesync.c:sync_withdmb(154)
    syncwithdmb:
    Initiating sync with domain master browser VOLZSERVER<20> at IP 65.16.245.50 for workgroup VOLZINC
    [2008/04/14 10:44:29, 2] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdbrowsesync.c:announce_local_master_browser_to_domain_masterbrowser(110)
    announcelocal_master_browser_to_domain_masterbrowser:
    We are both a domain and a local master browser for workgroup VOLZINC. Do not announce to ourselves.
    [2008/04/14 10:44:29, 2] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdbrowsesync.c:sync_withdmb(154)
    syncwithdmb:
    Initiating sync with domain master browser VOLZSERVER<20> at IP 65.16.245.50 for workgroup VOLZINC
    [2008/04/14 10:46:57, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:46:57, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:46:57, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:46:57, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:46:57, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:46:57, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:46:57, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:46:57, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:05, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:05, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:05, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:05, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:05, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:05, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:05, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:05, 0] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdpackets.c:process_browsepacket(1050)
    processbrowsepacket: Discarding datagram from IP 65.16.245.54. Source name VOLZSERVER<00> is one of our names !
    [2008/04/14 10:59:27, 2] /SourceCache/samba/samba-60.5/samba/source/nmbd/nmbdbrowsesync.c:announce_local_master_browser_to_domain_masterbrowser(110)
    announcelocal_master_browser_to_domain_masterbrowser:
    We are both a domain and a local master browser for workgroup VOLZINC. Do not announce to ourselves.
    This type of activity in the log is repeated over and over and over again.
    Question:
    How do I make it stop? Ok, to be fair, I've searched for the last few years for a solution and I'm not sure why samba is continuing to 'break.' Is there someone here that can enlighten me or poke me in the right direction to why this could be happening? I know little to nothing about samba. I DO know networking, and this could be the issue. The server was handed to me by the previous admin and so to rebuild (the easy solution) isn't so easy because the previous admin didn't document anything he did to build it, like NAT forwarding and such, which, if I don't put back into it, will cause MANY headaches. So, eventually I WILL rebuild from scratch (the time may be nigh), and I think it may fix a misconfiguration, but I fear it will be difficult. This is our production server with no test environment (other than using SuperDuper! to image the drive and play with it over a weekend or something).
    Plea:
    For help.
    Edit: How do I suppress the wiki markup? It's butchering the posted log excerpts. <nowiki></nowiki> doesn't seem to work.

    Turns out a printer driver installed on an XP (even W2K(?)) was (apparently?) flooding the OS X SMB server to the point of collapse. Uninstalling the "HP Tools" part of the driver cleared it up. The printer is an HP LJ1300. I had downloaded the full driver from HP.com. I don't know if any/all these conditions need to be matched, but: the printer was on the network using an HP print server JetDirect EX Plus, and the computer(s) in question were connecting directly to it (not via a print server). It's been too long ago, but there were always several errors in the System Log (Win XP Event Viewer) that correlated with the errors on the OS X server.
    Proud to say that since that day (10+ months ago) I've not seen it happen again. whew.

  • Financial Statement Generators fail with ORA-01722

    We upgaded from 11.5.10.2 to R12.1.3. Since then we have FGSs fail with ora-01722

    *+<Moderator edit - deleted MOS Doc content - pl do NOT post such content - it is a violation of your Support agreement>+*
    Please refer:
    R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS – ORA-01403: No Data Found Common Issues [ID 1368691.1]
    R12: RGRARG FSG Completes with Error, rgrsap.rgrsxp: ORA-01722: Invalid Number [ID 579655.1]

  • [svn] 1013: Bug: LCDS-180 - [WebLogic 10.1 on Suse9] MxUnit Dynamic destination "SecurityEmployeeUser" test fails with a NullPointerException

    Revision: 1013
    Author: [email protected]
    Date: 2008-03-28 17:24:25 -0700 (Fri, 28 Mar 2008)
    Log Message:
    Bug: LCDS-180 - [WebLogic 10.1 on Suse9] MxUnit Dynamic destination "SecurityEmployeeUser" test fails with a NullPointerException
    QA: Yes
    Doc: No
    Details:
    This prevents the NPE but for non-servlet endpoints you need to be sure to define your users/roles in Weblogic's default security realm. The test was failing because login was failing, most likely because the regression server wasn't fully configured.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-180
    Modified Paths:
    blazeds/branches/3.0.x/modules/opt/src/weblogic/flex/messaging/security/WeblogicLoginComm and.java

  • Req import fails with POCIRM-24a: ORA-01400:

    Req import fails with.
    POCIRM-24a: ORA-01400: cannot insert NULL into ("PO"."PO_REQ_DISTRIBUTIONS_ALL"."D

    Please post the details of the application release, database version and OS.
    Req import fails with.
    POCIRM-24a: ORA-01400: cannot insert NULL into ("PO"."PO_REQ_DISTRIBUTIONS_ALL"."DPlease follow the steps in these docs for details about the error.
    Adding To Cart Delivers Error - ORA-01400: Cannot Insert NULL Into ("PO"."PO_REQUISITION_LINES_ALL"."DELIVER_TO_LOCATION_ID") [ID 580002.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

  • Standard Data Collection Failing with Error ORA-04054: database link  does not exist.

    Hi Gurus,
    When I am running Standard Data Collection in ASCP(APS) instance R12.1.3, its failing with error : ORA-04054: database link  does not exist.
    There is no such Database link exits which is showing in above error.
    Also the database link name in the above error is not profile values in the database.
    I think, concurrent might be fetching this database link name  from some tables related to plan.
    I am not having much knowledge about how this ASCP/APS works.
    Need your help to resolve this issue.
    Thanks,

    Hi,
    ASCP Collections looks at the dblink from instances definitions from.
    1. Responsibility: Advanced Planning Administrator
    2. Navigation: Admin > Instances
    You may review the note in support.oracle.com - Understanding DB Links Setup for APS Applications - ASCP and ATP Functionality (Doc ID 813231.1)

  • Adcfgclone fails with ORA-04063: view "SYS.DBA_NETWORK_ACLS" error

    Hi all,
    While running adcfgclone on dbtier if fails with following error
    ORA-04063: view "SYS.DBA_NETWORK_ACLS" error
    here is the scene:
    we are trying to clone a production instance for doing some patching
    while running adcfgclone on target (test instance) it fails
    our current environment is
    application:R12.1.3
    db:11.1.0.7
    os: rhel 5.6
    here is output from
    autoconfig file:
    SQLPLUS Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 09:28:32 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: Connected.
    PL/SQL procedure successfully completed.
    Commit complete.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    adcrobj.sh exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 2 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/addbperms.sh
    script returned:
    addbperms.sh started at Thu Apr 18 09:28:32 IST 2013
    The environment settings are as follows ...
    ORACLE_HOME : /u02/testoba/db/tech_st/11.1.0
    ORACLE_SID : TESTOBA
    TWO_TASK :
    PATH : /u02/testoba/db/tech_st/11.1.0/perl/bin:/u02/testoba/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/testoba/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
    Library Path : /u02/testoba/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/testoba/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/testoba/db/tech_st/11.1.0/ctx/lib
    SQLPLUS Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
         Changing permissions for file sqlplus.
         Changing permissions for file extproc.
         Changing permissions for file tkprof.
    addbperms.sh exiting with status 0
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 3 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/perl/bin/perl -I /u02/testoba/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/testoba/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/testoba/db/tech_st/11.1.0/appsutil/perl /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/txkConfigDbOcm.pl
    script returned:
    Configuring OCM on the Database Tier....
    Testing database connection...
    Database connection test passed.
    Response file /u02/testoba/db/tech_st/11.1.0/appsutil/clone/adclnocm.res required to configure OCM does not exists
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 4 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/txkcreateACL.sh
    script returned:
    You are running txkcreateACL.sh version 120.1
    The environment settings are as follows ...
    ORACLE_HOME : /u02/testoba/db/tech_st/11.1.0
    ORACLE_SID : TESTOBA
    PATH : /u02/testoba/db/tech_st/11.1.0/perl/bin:/u02/testoba/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/testoba/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
    Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
    Executing txkcreateACL.sql ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 09:28:33 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected.
    FROM DBA_NETWORK_ACLS
    ERROR at line 17:
    ORA-06550: line 17, column 8:
    PL/SQL: ORA-04063: view "SYS.DBA_NETWORK_ACLS" has errors
    ORA-06550: line 16, column 3:
    PL/SQL: SQL Statement ignored
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    txkcreateACL.sh: exiting with status 1
    .end std out.
    .end err out.
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv
    txkcreateACL.sh INSTE8_APPLY 1
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: RC-50014: Fatal: Execution of AutoConfig was failed
         at oracle.apps.ad.clone.ApplyDatabase.checkAutoConfigErr(ApplyDatabase.java:3192)
         at oracle.apps.ad.clone.ApplyDatabase.runCVMAndAutoConfig(ApplyDatabase.java:3010)
         at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:649)
         at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
         at java.lang.Thread.run(Unknown Source)
    please provide any suitable link or doc id or any workaround
    thanks
    Zavi

    Hi;
    Please review:
    Adautocfg.Sh Fails With "ORA-01422: " While Executing Txkcreateacl.sh [ID 854746.1]
    Database Cloning Failed With txkcreateACL.sh[36]: sqlplus [ID 603297.1]
    R12 : Autoconfig script txkcreateACL.sh fails with error ORA-31003: Parent /sys/acls/ already contains child entry OracleEBS.xml [ID 1328458.1]
    Regard
    Helios

  • Backup Fails with Invalid RECID Error

    Hi All,
    Please help me to understand Caution -section
    below text is from
    [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmtroub.htm#447765]
    Backup Fails with Invalid RECID Error: Solution 2
    This solution is more difficult than solution 1:
    To create the control file with SQL*Plus:
       1. Connect to the target database with SQL*Plus. For example, enter:
          % sqlplus 'SYS/oracle@trgt AS SYSDBA'
       2. Mount the database if it is not already mounted:
          SQL> ALTER DATABASE MOUNT;
       3. Back up the control file to a trace file:
          SQL> ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
       4. Edit the trace file as necessary. The relevant section of the trace file looks something like the following:
          # The following commands will create a new control file and use it
          # to open the database.
          # Data used by the recovery manager will be lost. Additional logs may
          # be required for media recovery of offline data files. Use this
          # only if the current version of all online logs are available.
          STARTUP NOMOUNT
          CREATE CONTROLFILE REUSE DATABASE "TRGT" NORESETLOGS  ARCHIVELOG
          --  STANDBY DATABASE CLUSTER CONSISTENT AND UNPROTECTED
              MAXLOGFILES 32
              MAXLOGMEMBERS 2
              MAXDATAFILES 32
              MAXINSTANCES 1
              MAXLOGHISTORY 226
          LOGFILE
            GROUP 1 '/oracle/oradata/trgt/redo01.log'  SIZE 25M,
            GROUP 2 '/oracle/oradata/trgt/redo02.log'  SIZE 25M,
            GROUP 3 '/oracle/oradata/trgt/redo03.log'  SIZE 500K
          -- STANDBY LOGFILE
          DATAFILE
            '/oracle/oradata/trgt/system01.dbf',
            '/oracle/oradata/trgt/undotbs01.dbf',
            '/oracle/oradata/trgt/cwmlite01.dbf',
            '/oracle/oradata/trgt/drsys01.dbf',
            '/oracle/oradata/trgt/example01.dbf',
            '/oracle/oradata/trgt/indx01.dbf',
            '/oracle/oradata/trgt/tools01.dbf',
            '/oracle/oradata/trgt/users01.dbf'
          CHARACTER SET WE8DEC
          # Take files offline to match current control file.
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/tools01.dbf' OFFLINE;
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/users01.dbf' OFFLINE;
          # Configure RMAN configuration record 1
          VARIABLE RECNO NUMBER;
          EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG('CHANNEL','DEVICE TYPE DISK
          DEBUG 255');
          # Recovery is required if any of the datafiles are restored backups,
          # or if the last shutdown was not normal or immediate.
          RECOVER DATABASE
          # All logs need archiving and a log switch is needed.
          ALTER SYSTEM ARCHIVE LOG ALL;
          # Database can now be opened normally.
          ALTER DATABASE OPEN;
          # Commands to add tempfiles to temporary tablespaces.
          # Online tempfiles have complete space information.
          # Other tempfiles may require adjustment.
          ALTER TABLESPACE TEMP ADD TEMPFILE '/oracle/oradata/trgt/temp01.dbf' REUSE;
          # End of tempfile additions.
       5. Shut down the database:
          SHUTDOWN IMMEDIATE
       6. Execute the script to create the control file, recover (if necessary), archive the logs, and open the database:
          STARTUP NOMOUNT
          CREATE CONTROLFILE ...;
          EXECUTE ...;
          RECOVER DATABASE
          ALTER SYSTEM ARCHIVE LOG CURRENT;
          ALTER DATABASE OPEN ...;
    Caution:
          If you do not open with the RESETLOGS option,
    then two copies of an archived redo log for a given log sequence number may
    exist--even though these two copies have completely different contents.
    For example, one log may have been created on the original host and the other on the new host.
    If you accidentally confuse the logs during a media recovery,
    then the database will be corrupted but Oracle and RMAN cannot detect the problem.

    Please help me to understand Caution -section
    Caution:
    If you do not open with the RESETLOGS option,
    then two copies of an archived redo log for a given log sequence number may
    exist--even though these two copies have completely different contents.
    For example, one log may have been created on the original host and the other on the new host.
    If you accidentally confuse the logs during a media recovery,
    then the database will be corrupted but Oracle and RMAN cannot detect the problem.As per my understanding it says. If you don't open database with RESETLOGS option then there may be archived logs with log sequence number which is already archived on the source host. This may happen due to difference in RECIDs. Now when the database needs media recovery for this particular log sequence, you may provide any of them. So in this case, RMAN and Oracle will not be able to differentiate the two files and can accept any of the archived log files during recovery. Since the contents of two archived logs are different, because they are generated at different times and they contains different transactions. So, internally it corrupts your database.
    Rgds.

Maybe you are looking for