WebSrvice unable to return bulk data

Hi,
I have two j2ee aplications A1 and A2. The beans from A1 are accessed into A2 through remote lookup. A bussiness method of EJB DC in application A2 , which refers beans of A1 returns me 100s of records.The webservice is created out of session bean. However, when this web service executed through webservice navigator, the navigator does not create the result, although the processing continues when checked in the default trace.
We limited the number of records to 25, still the webservice is not able to render the data. (which does successfully till 20 records).We recreated the webservice, but this didnt solve the problem. The processing time is not more than 15 to 20 secs, but still the webservice is not able to generate the output.We also tried accessing the webservice in webDynpro.
Why is the webservice not retreiving the data, though the processing takes place till the end? Could some one let us soon as we are in the midst of the development?
Thanks and Regards,
Apeksha

Hi Apeksha,
     Even we faced the same problem when retrieving more data. Web Services has that problem b'coz it has return n no of records in XML format. It take more times forming in XML format. Web service has the performance issue.
I think your generating webdynpro model using web service better option go accessing data from database go for EJB JNDI Lookup call the interface directly from webdynpro. EJB JNDI lookup retrieve data much faster
Sample code for lookup ejb
1. addRecord method is interface in EJB
SampleEJB remote = null;
try {
Context ctx = new InitialContext();
SampleEJBHome home = (SampleEJBHome) ctx.lookup("SampleJNDI");
remote = home.create();
String result = remote.addRecord(aTemp1,aTemp2);
} catch (Exception e) {
System.out.println("Exception:" + e.getLocalizedMessage());
Even me too awaiting for experts reply..
Regards
Suresh

Similar Messages

  • URGENT : Return Bulk data from Stored Procedure

    Hi,
    Tell me, how do I return a bulk of data which
    does not exist in the data base
    but is concluded while the Stored Procedure is executed
    from the Stored procedure
    to the C++ program.
    For Example:
    Table ABC
    Field1 Field2 Field3
    A 1 3
    B 1 5
    C 2 10
    Table DEF
    Field1 Field2 Field3
    D 10 24
    E 3 16
    F 8 19
    SP_TESTING
    Depending on the values in both the tables
    for some range of conditions,
    a conclusion X is derived for each range value of the
    condition range.
    Now I need to return this bulk of data X with the
    condition they belong to
    back to the C++ code calling it....
    NOTE : A stored procedure is requited as there is a lot
    of processing
    required before we conclude the result X for each value
    in the condition range.
    If I execute this code from C++ instead of Stored
    procedure
    it is very slow and speed is a prime requirement of my
    system.
    Also i'm not using any MFC class to access database.
    I'm using ConnectionPtr, RecordsetPtr and _CommandPtr
    from msado15.dll for database access...
    One solution to this could be use of Temp tables.
    As this process is used by a lot of different stored
    procedures having a common
    temp table to all will need something like 50 NUMERIC
    fields, 50 VARCHAR fields
    and so on, which doesn't seem like a very good solution
    to this problem.
    Sounds like something I would have done while in school,
    implement a dumb solution.
    So, please suggest me a solution as to how do I return
    bulk data in the form
    of recordsets from stored procedure.
    Regards
    Shruti

    Use Out parameter mode
    SQL> CREATE OR REPLACE procedure a1 (x  OUT NUMBER, y  OUT NUMBER) AS
      2  BEGIN
      3        x:= 1;
      4        y:= 2;
      5  END;
      6  .
    SQL> /
    Procedure created.
    SQL> SET SERVEROUTPUT ON
    SQL> DECLARE
      2   a NUMBER :=3;
      3   b NUMBER :=4;
      4  BEGIN
      5   a1 (a,b);
      6      DBMS_OUTPUT.PUT_LINE( 'a = ' || a );
      7      dbms_output.put_line( 'b = ' || b );
      8  END;
      9  .
    SQL> /
    a = 1
    b = 2
    PL/SQL procedure successfully completed.By default parameters are copied to the OUT parameter mode .
    COPY hint in PLSQL don’t send a pointer to calling program unit but NOCOPY
    does.
    Khurram

  • The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.

     We developed a SSIS Package to pull the data From Oracle source to Sql Server 2012. Here we used ADO.Net source to pull the records from Source but getting the below error after pulling some 40K records.
      [ADO NET Source [2]] Error: The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. 
     The PrimeOutput method on ADO NET Source returned error code 0xC02090F5. 
     The component returned a failure code when the pipeline engine called PrimeOutput(). 
    The meaning of the failure code is defined by the component, 
    but the error is fatal and the pipeline stopped executing. 
     There may be error messages posted before this with more 
    information about the failure.
    Anything that we can do to fix this?

    Hi,
      Tried both....
      * Having schema type as Nvarchar(max). - Getting the same error.
      * Instead of ADO.Net Source used OLEDB Source with driver as " Oracle Provide for OLE DB" Getting error as below.
           [OLE DB Source [478]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
           [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on OLE DB Source returned error code 0xC0202009.  The component returned a failure
    code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the
    failure.
    Additional Info:
       * Here the Source task is getting failed not the conversion or destination task.
    Thanks,
    Loganathan A.

  • Uncaught error java nullpoint exception, email icons disappeared, application loader unable to back up data, desktop manager unable to connect

    Model:  Curve 8900
    Provider: At&t
    Platform: 4.2.0.108
    I'm ready to throw this phone in the blender.... if I could only back up my data first. A couple of months ago the What's App application required an update. I updated it and ever since my phone has steadily had more and more issues. First, I kept getting this uncaught error message, shortly thereafter the 2 email accounts (both gmail) that I have linked to the account disappeared. The message icon shows that I have messages, but icons not there (I have tried the show all option). At one point the message icon started exponentially adding the number of messages until it got up to over 86,000. When I reboot the phone it goes back down and then steadily increases again... usually though it's more to 400 - 500 rather then tens of thousands. I have been trying to install updates and do a wipe of the BB so that I can start from scratch, unfortunately the application loader is unable to back up data. The desktop manager is unable to connect to the blackberry and indicates that an upgrade is required. I have tried doing the upgrade both directly from the phone and connected to the desktop manager, but nothing seems to work. If I try to upgrade the software directly from the BB, I get to the start download button and when I click, nothing happens. I have removed all applications except bberry app world and one game that I play, Pixelated Plus. Still nothing. Any ideas?

    Do you want to save the messages?
    If not (and I think they are the problem) open the Desktop Software > Device > Delete Data and click the "select Data" option. Select the Messages to remove. Complete the prompts and finish.
    Then, return to backup the entire device, and see if that is possible to complete this time with no messages.
    Now, once the back up is done and you have your data, you can disconnect the device.
    Now, use BBSAK to wipe the device and subsequently load the new operating system.
    **If you cannot complete the backup again above, you might have to do without it, OR you can use the Desktop Software to sync your Address book, calendar, memos and tasks to Outlook. OR, you can easily install and use BlackBerry Protect to backup your device over the air to RIM servers, then once wiped and the new OS reloaded, you can use Protect to restore the data back to the 8900. << This you should do regardless.
    Good luck, post back here as you have questions.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to do Bulk data transfer  using Web Service

    In my application I have to write various web services but majority of the web service has to
    query database and return back bulk data(rows>10K) through web service.
    So I would like to ask what is the efficient way of transferring bulk data using web service as presently
    Iam returning the dataset as xml String (using StringBuilder) from web service and consuming the same at client end.
    Is there a better way to this in web service?
    My env:
    Front end can be in any other technology ,UI like C#
    Back end : Tomcat 6 on Java 6 with Axis2
    Thanks in advance

    Innova wrote:
    But then also I have to mention a return type although its xml that is getting transferred.
    Can you provide me a with a small sample code.Like if I have Emp obect with properties
    Empname,EmpID,DOJ,DOB,Dpt . In this case what will be the return type.
    My major concern is that my resultset is going to be huge in terms of >10,000 rows so
    that much time for formation of xml and then the transfer so how can I reduce the transfer
    time ,I meant a faster optimised approach for transferring large data as part of web service.
    Simply putting , how can I transfer bulk data in minimum time so that I can reduce the
    waiting time at client side for the response.
    Thanks in advanceI've done this with thousands before now, and not had a performance problem...at least nothing worth writing home about.
    Your return type will be an array of Emp objects. You can use a SOAP array for that (you'll need to look that up for the syntax, since I can't remember it off the top of my head), which gets restricted to being an array of Emp.
    Should the normal technique prove to be too slow then you should look at alternatives, but I would expect this to work well enough. And you have no faffing about with devising a new transfer system that then has to be explained to your client system...it'll all be standard.

  • Calendar sync stopped working: "Unable to process organizer data"

    I'm trying to help a consulting client whose Blackberry Q10 stopped synchronizing calendar data 5 days ago. It looks like that's the only thing he synchronizes with his desktop. I've tried looking up answers, but I've found very little information about this problem, and the few suggestions I found have not worked.
    Phone: Blackberry Q10
    Model#: SQN100-2
    Software Release: 10.1.0.4189
    Blackberry Link Release: 1.2.1.31
    Symptoms: After clicking on the Sync Contacts/Calendar button, Blackberry Link sits for a very long time on the "Syncing your contacts and calendar appointments. Do not disconnect your device." screen, with sporadic activity on the progress meter, before being returned to the Sync Contacts and Calendar Appointments screen. In the lower left, a warning message "Sync was unsuccessful" is displayed. When I click the Show Recent Activity link under that, a Recent Activity screen that repeats "Sync was unsuccessful" along with a second message, "Unable to process organizer data" appears.
    Is there a way to resolve this short of restoring the phone to factory defaults? The calendar data on my client's phone has now gone 5 days without being synced, and he doesn't want to lose the latest changes.

    HipsterZ10, I didn't mean to suggest that you aren't entitled to gripe, only that doing so in response to a post on a community support forum isn't particularly useful. (Do BlackBerry support teams even monitor this forum?)
    You sound like someone who knows his way around BlackBerry very well, and I would love to do some brainstorming with you if you're so inclined. I have nowhere near as much BlackBerry experience as you have, but I have worked in many areas of computing support for over 25 years. I'd like to think that between the two of us - plus anyone else who can chime in with something constructive - we can come up with something that helps us all out,.
    With that in mind:
    You've tried uninstalling and reinstalling without success. Did you just uninstall and reinstall the latest version of BlackBerry Link, or did you try uninstalling the latest version and going back to one that used to work? (Or did you try upgrading because the previous version stopped working?)
    Did you try any direct edits to the Registry to clean out any BlackBerry settings that the uninstall program might've left behind? Uninstallers are often not kept up to date as software developers make changes to software, so they often leave digital detritus in the Registry. This usually has no effect on anything else, but can prevent software that was uninstalled from working properly when it's reinstalled.
    You also mention that you've tried a lot of settings changes. Would you please share with us the settings changes that you made?
    I know from other companies' devices that updates to the Windows software is sometimes accompanied by firmware or programming changes on the device. Does anyone know if that's the case for BlackBerry Link updates? If it is, then simply uninstalling BlackBerry Link may not be enough.
    Have you been unable to sync only the calendar, or your contacts as well? (I don't know what else BlackBerry Link can synchronize.) My client has only been trying to sync his calendar. If the problem is confined to calendar sync, is there maybe a cleanup procedure that needs to be run on the device or on the Windows side to clean up old appointments every now and then? I know of other products that will fail to sync their calendars if there's too much old data.
    Finally, does BlackBerry Link just sync the BlackBerry device with itself, or does it sync it with Outlook? That wasn't clear to me the last time I was in my client's office; he uses Outlook 2003, but I wasn't certain if BlackBerry Link was connected with it in any way. Come to think of it, my client also uses Windows XP, which does not come with the .NET framework by default. Some commercial software depends on particular versions of the .NET framework, and I've seen situations in which Microsoft updates to the .NET framework breaks 3rd party software. Does BlackBerry require .NET, and, if so, does it try to install the version it needs? To sum these things up, we could be looking at lack of support for older versions of Windows, Outlook  or the .NET Framework.
    Those are some ideas; let's see if we can narrow down the list. I should be back at my client's office on Monday, but if anyone else has time to try any of this today, kindly post what you discover here.

  • Xen / pygrub issues: VmError: Boot loader didn't return any data!

    Hardware:
    2x Intel Xeon Quad-Core 2.33GHz
    24GB FBDIMM RAM
    2x 2TB HDD in RAID-1
    Intel Server Board S5400SF
    Setup:
    Arch Linux x86_64
    Xen 4.1.2
    Grub2 Multiboot
    Synopsis:
    I set up a new VM for Debian Squeeze following instructions here: http://www.howtoforge.com/installing-de … 86_64-dom0. Partitioning & installation completed correctly. When I tried to run the VPS afterwards, I got this output:
    | [root@srv0 xen]# xm create -c /etc/xen/xm-debian.cfg
    | Using config file "/etc/xen/xm-debian.cfg".
    | Error: Boot loader didn't return any data!
    I've attached a more complete log output at the end of the mail.
    This is the first VM I have tried to create on this setup.
    Additional:
    I can mount the partition within the lvm:
    | [root@srv0 xen]# kpartx -av /dev/VPS/fennec
    | add map VPS-fennec1 (253:2): 0 83881984 linear /dev/VPS/fennec 2048
    | [root@srv0 xen]# mount /dev/mapper/VPS-fennec1 /mnt
    | [root@srv0 xen]# cd /mnt
    | [root@srv0 mnt]# ls
    | bin   etc      lib     lost+found  opt   sbin     sys  var
    | boot  home      lib32  media         proc  selinux  tmp  vmlinuz
    | dev   initrd.img  lib64  mnt         root  srv        usr
    | [root@srv0 mnt]# cd boot
    | [root@srv0 boot]# ls
    | config-2.6.32-5-amd64  initrd.img-2.6.32-5-amd64  vmlinuz-2.6.32-5-amd64
    | grub               System.map-2.6.32-5-amd64
    | initrd               vmlinuz
    | [root@srv0 boot]# cd grub
    | [root@srv0 grub]# cat menu.lst
    | timeout 5
    | default 0
    |
    | title Linux
    | kernel /boot/vmlinuz root=/dev/xvda1
    | initrd /boot/initrd
    As you can see, the kernel (which is 2.6.32) and vmlinuz (also 2.6.32) exist in the /boot directory.
    Pygrub:
    Attempting to pygrub the VPS LVM gives the following output:
    | [root@srv0 /]# pygrub --kernel=/boot/vmlinuz --ramdisk=/boot/initrd /dev/VPS/fennec
    | Traceback (most recent call last):
    |   File "/usr/bin/pygrub", line 774, in <module>
    |     raise RuntimeError, "Unable to find partition containing kernel"
    | RuntimeError: Unable to find partition containing kernel
    domU Config File:
    | name = "fennec"
    | memory = 1024
    | maxmem = 1024
    | cpus = "2-7"
    | disk = [
    |     'phy:/dev/VPS/fennec,xvda,w',
    |     'phy:/dev/VPS/fennec-swap,xvdb,w'
    | ]
    | vif = ['']
    | bootloader = "pygrub"
    | bootargs = "--kernel=/boot/vmlinuz --ramdisk=/boot/initrd"
    I have tried this with and without the bootargs line without any success.
    About The Filesystem:
    /dev/VPS is a vg on a RAID-1 array
    /dev/VPS/fennec is an lv on VPS vg
    The fennec lv has a single ext3 partition of 40GB
    xend.log Output:
    [2012-07-20 09:35:17 907] DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'fennec'], ['memory', 1024], ['maxmem', 1024], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['cpus', '2-7'], ['oos', 1], ['bootloader', '/usr/bin/pygrub'], ['bootloader_args', '--kernel=/boot/vmlinuz --ramdisk=/boot/initrd'], ['image', ['linux', ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'phy:/dev/VPS/fennec'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/VPS/fennec-swap'], ['dev', 'xvdb'], ['mode', 'w']]], ['device', ['vif']]])
    [2012-07-20 09:35:17 907] DEBUG (XendDomainInfo:2498) XendDomainInfo.constructDomain
    [2012-07-20 09:35:17 907] DEBUG (balloon:187) Balloon: 22794808 KiB free; need 16384; done.
    [2012-07-20 09:35:17 907] DEBUG (XendDomain:476) Adding Domain: 17
    [2012-07-20 09:35:17 907] DEBUG (XendDomainInfo:2836) XendDomainInfo.initDomain: 17 256
    [2012-07-20 09:35:17 25157] DEBUG (XendBootloader:113) Launching bootloader as ['/usr/bin/pygrub', '--output=/var/run/xend/boot/xenbl.15844', '--kernel=/boot/vmlinuz', '--ramdisk=/boot/initrd', '/dev/VPS/fennec'].
    [2012-07-20 09:35:17 907] ERROR (XendBootloader:214) Boot loader didn't return any data!
    [2012-07-20 09:35:17 907] ERROR (XendDomainInfo:488) VM start failed
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 474, in start
        XendTask.log_progress(31, 60, self._initDomain)
      File "/usr/lib/python2.7/site-packages/xen/xend/XendTask.py", line 209, in log_progress
        retval = func(*args, **kwds)
      File "/usr/lib/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 2838, in _initDomain
        self._configureBootloader()
      File "/usr/lib/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 3285, in _configureBootloader
        bootloader_args, kernel, ramdisk, args)
      File "/usr/lib/python2.7/site-packages/xen/xend/XendBootloader.py", line 215, in bootloader
        raise VmError, msg
    VmError: Boot loader didn't return any data!
    [2012-07-20 09:35:17 907] DEBUG (XendDomainInfo:3071) XendDomainInfo.destroy: domid=17
    [2012-07-20 09:35:17 907] DEBUG (XendDomainInfo:2406) No device model
    [2012-07-20 09:35:17 907] DEBUG (XendDomainInfo:2408) Releasing devices
    [2012-07-20 09:35:17 907] ERROR (XendDomainInfo:108) Domain construction failed
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 106, in create
        vm.start()
      File "/usr/lib/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 474, in start
        XendTask.log_progress(31, 60, self._initDomain)
      File "/usr/lib/python2.7/site-packages/xen/xend/XendTask.py", line 209, in log_progress
        retval = func(*args, **kwds)
      File "/usr/lib/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 2838, in _initDomain
        self._configureBootloader()
      File "/usr/lib/python2.7/site-packages/xen/xend/XendDomainInfo.py", line 3285, in _configureBootloader
        bootloader_args, kernel, ramdisk, args)
      File "/usr/lib/python2.7/site-packages/xen/xend/XendBootloader.py", line 215, in bootloader
        raise VmError, msg
    VmError: Boot loader didn't return any data!
    Appreciate any suggestions.

    Hi,
    I have a very similar issue. I've managed to create PVM guests under 3.0.1 and upgraded via YUM to 3.0.3. I now have 2 Hosts and created a guest Server that I downloaded from the Oracle Software Cloud. This boots fine and is accessible. I cannot create a standalone guest (I want to create a RHEL 5 Server) as this gives me the same error. The Server Pool has one Server Pool LUN and one Repo for the Guests.
    I can create the guest and and add a small boot ISO from the ISO Repositiory, which I then intent to Kickstart the rest of the installation. When starting the Guest, the following is received:
    Starting operation 'Virtual Machine Start' on object '0004fb0000060000951b61a25a250dc9 (csitestvl14)'
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: gbahel71.gb.xxxxxx.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/1 start_vm 0004fb00000300009edc3a187ae931f0 0004fb0000060000951b61a25a250dc9, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command ['xm', 'create', '/OVS/Repositories/0004fb00000300009edc3a187ae931f0/VirtualMachines/0004fb0000060000951b61a25a250dc9/vm.cfg'] failed (1): stderr: Error: Boot loader didn't return any data!
    , stdout: Using config file "/OVS/Repositories/0004fb00000300009edc3a187ae931f0/VirtualMachines/0004fb0000060000951b61a25a250dc9/vm.cfg".
    Edited by: LeeUK on 20-Mar-2012 08:54

  • Powershell Script for Exchange- Storagelimitstatus wont return any data.

    I am trying to run the following script using PowerGUI and its working but one piece. The storagelimitstatus isn't returning any data. Any impute would great.
    Here is what I wrote. 
    If (-not (Get-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue))
    {   Try { Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction Stop }
        Catch { Write-Host "Unable to load Exchange tools because ""$($Error[0])""" -ForegroundColor Red ; Exit }
    Get-Mailbox -ResultSize Unlimited | Select-Object DisplayName,IssueWarningQuota, storagelimitstatus,ProhibitSendQuota,ProhibitSendReceiveQuota,@{label="TotalItemSize(MB)";expression={(Get-MailboxStatistics $_).TotalItemSize.Value.ToMB()}}, @{label="ItemCount";expression={(Get-MailboxStatistics
    $_).ItemCount}}, Database| Export-Csv "\\pc1417\c$\Scripts\UserMailboxSizes.csv" -NoTypeInformatio

    StorageLimitStatus is a property extracted by Get-MailboxStatistics and not Get-Mailbox.Try below and check if that works!
    Get-Mailbox -ResultSize Unlimited | Select-Object DisplayName,IssueWarningQuota,@{label="StorageLimitStatus";expression={(Get-MailboxStatistics $_).StorageLimitStatus}},ProhibitSendQuota,ProhibitSendReceiveQuota,@{label="TotalItemSize(MB)";expression={(Get-MailboxStatistics $_).TotalItemSize.Value.ToMB()}}, @{label="ItemCount";expression={(Get-MailboxStatistics $_).ItemCount}}, Database| Export-Csv "\\pc1417\c$\Scripts\UserMailboxSizes.csv" -NoTypeInformation
    Pavan Maganti ~ ( Exchange | 2003/2007/2010/E15(2013)) ~~ Please remember to click “Vote As Helpful&quot; if it really helps and &quot;Mark as Answer” if it answers your question, “Unmark as Answer” if a marked post does not actually answer your
    question. ~~ This Information is provided is &quot;AS IS&quot; and confers NO Rights!!

  • Returning the data from Time Capsule to the laptop

    Dear Sir,
    Kindly be informed that we have four Macbook laptops and a time capsule machine at our office in order to have back up o our data which are really important to us.
    Now we have some problem with returning one of laptops data after installing Mac OS.
    The software department has informed me that the data is available on the time capsule but they were unable to return it to the laptop. They tried it during the installment, after that and also with migration assistant.
    We would be thankful to receive your kind advise regarding our problem via my e-mail: [email protected]
    For further information, please do not hesitate to contact us.
    Thanks and best regards,
    Mahshid Darabi
    Commercial Manager
    Tooska Khorasan
    Trading & Engineering Group
    No.1005, Lufthansa Tower,
    Dr. Beheshti Ave.
    Tehran-Iran
    Tel: +9821 8874 9370-3
    +9821 8851 5706-13
    Mobile: +98912 633 9114
    e-mail: [email protected]
    website: www.tooskaco.com

    found this:
    "The process to restore backups is unbelievably easy, and takes few clicks to start. When booted from the OS X DVD, (put the install disk in the drive, and restart the computer - holding down the "c" key) click the Utilities menu, and choose “Restore from Time Machine backup”. Select the hard drive on which your backups are located, choose the destination drive, and choose which backup you wish to restore. Hit “Start”, and walk away. The restore process can take anywhere between 1 and 2 hours, so it’s best you walk away from your Mac for a bit. Your Mac will reboot, and depending on what backup you chose to restore, you’ll be right back where you left off."

  • Reading/Writing Bulk Data, getting OutOfMemoryError: Java heap space

    Hello,
    I am reading more than a million record using CursoredStream, following is my code snippet for reading data
    ReadAllQuery query = new ReadAllQuery();
    query.setReferenceClass(DataBk.class);
    query.useCursoredStream();
    CursoredStream stream;
    stream = (CursoredStream)dbses.executeQuery(query);
           while (!stream.atEnd()) {
           vector1 = stream.read(stream.size());
           }       Problem is I am getting
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap spaceI was reading other forums posts about this and it is mentioned that memory heap size could be increased.
    Where do I increase memory heap size?
    java.lang.OutOfMemoryError while opening 9.0.4.5 mwp in 10.1.3.3
    Besides, if my above code is not alright, someone could suggest best approach for reading and writing bulk data.
    Regards
    Edited by: user20090209 on Oct 14, 2009 10:17 AM

    Hello,
    If you are reading a million records and running out of heap, you will still get the exception by reading it using a cursor one at a time. It also depends on how the driver is processing the million records. Using a scrollable cursor might help ( http://wiki.eclipse.org/Using_Advanced_Query_API_(ELUG) ), increasing the heap as suggested will (In Jdev, Java options can be added to the project properties->Run/Debug/Profile->Launch settings), or even changing your app design to use objects more efficiently all around. It depends on what your are using the objects for, but even using pagination (via setting the firstRows/maxResults on a query) to limit the results returned can help depending on how the application requires the objects. What is important is that the objects be free for garbage collection when you are done processing them, and before the next batch needs to be brought in from the database.
    Also, common problems are that reading in one object can bring in multiple trees if relationships aren't managed efficiently. Only use relationships where required, and use indirection where ever possible.
    Best Regards,
    chris

  • Discoverer Report  returning ' no data  found '

    Hi  ...
    i  have an issue with one discoverer  report  .
    Discoverer report  name : EDI Price Exception Report.
    when i ran the report  in Discoverer  Desktop edition  It is returning 'No Data Found ' But  i am taken the  Query from admin edition  and tried to  ran in  PL/SQL Developer/TOAD  by setting  Org_id condition
    it's returning Data  . the Desktop Edition of Discoverer for  some specific date  Range  it's giving Data  But  from last month on wards  it's not returning any Data.
    in Discoverer Report  Desktop  it's not retuning the Data from  November to till date
    Oracle  Applications  11i
    Discoverer 4i
    Oracle Data base :9i 
    OS : Windows.
    Attached the Sql  which i used to generate the Report :
    I HAVE USED THE FOLLOWING  :-for initialize the profile options
    EXEC FND_GLOBAL.APPS_INITIALIZE (0,52163,660);
    EXEC APPS.FND_CLIENT_INFO.SET_ORG_CONTEXT(2922);
      SELECT A.CUST_PO_NUMBER,
             A.ORDER_NUMBER,
             A.ORDERED_DATE,
             A.ORDER_TYPE,
             -- C.CUSTOMER_ID,
             C.CUSTOMER_NUMBER,
             C.CUSTOMER_NAME,
             B.LINE_NUMBER,
             B.ORDERED_ITEM,
             MSI.SEGMENT1 ACCO_ITEM,                               -- GRW 20060407
             MSI.DESCRIPTION,
             -- MSI.INVENTORY_ITEM_ID,
             (SELECT MCI.CUSTOMER_ITEM_NUMBER
                FROM MTL_CUSTOMER_ITEMS MCI,
                     MTL_CUSTOMER_ITEM_XREFS MCIX,
                     MTL_SYSTEM_ITEMS_B MSIB
               --  MTL_PARAMETERS          MP
               WHERE     MCI.CUSTOMER_ID = C.CUSTOMER_ID                 --1814924
                     AND MCI.CUSTOMER_ITEM_ID = MCIX.CUSTOMER_ITEM_ID
                     AND MCIX.INVENTORY_ITEM_ID = MSIB.INVENTORY_ITEM_ID
                     AND MSIB.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID   --869899
                     AND MSIB.ORGANIZATION_ID = MTP.ORGANIZATION_ID --MP.ORGANIZATION_ID
                     AND MTP.ORGANIZATION_CODE = 'BRM'
                     AND MCI.CUSTOMER_ITEM_NUMBER = B.ORDERED_ITEM
                     AND NVL (mci.inactive_flag, 'N') <> 'Y'
                     AND NVL (mcix.inactive_flag, 'N') <> 'Y')
                CUSTOMER_ITEM,
                     XXAB_ITEM_XREFS.GET_GBC_ITEM_NUM (B.ORDERED_ITEM) GBC_ITEM_NUMBER,
             B.ORDERED_QUANTITY,
             B.PRICE_LIST,
             B.UNIT_SELLING_PRICE,
             B.UNIT_LIST_PRICE,
                   TO_NUMBER (B.ATTRIBUTE7) CUST_SENT_PRICE,
             apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
                                                B.ordered_item,
                                                B.header_id,
                                                B.line_number,
                                                B.unit_selling_price,
                                                B.attribute7,
                                                B.pricing_quantity_uom,
                                                B.attribute4)
                CUST_SENT_PRICE_CONVERTED,
             ABS ( (B.UNIT_SELLING_PRICE
                    - apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
                                                         B.ordered_item,
                                                         B.header_id,
                                                         B.line_number,
                                                         B.unit_selling_price,
                                                         B.attribute7,
                                                         B.pricing_quantity_uom,
                                                         B.attribute4)))
                DIFFERENCE,
                      MTP.ORGANIZATION_CODE,
             B.SHIP_TO_LOCATION
        FROM OE_ORDER_HEADERS_V A,
             OE_ORDER_LINES_V B,
             RA_CUSTOMERS C,
             MTL_PARAMETERS MTP,
             MTL_SYSTEM_ITEMS_B MSI
       WHERE     A.HEADER_ID = B.HEADER_ID
             AND A.SOLD_TO_ORG_ID = C.CUSTOMER_ID
             -- Added by Gati on 19-Oct-2012, tkt - INC000000118962
             AND ROUND (TO_NUMBER (apps.XXAB_CUST_SENT_PRICE_CONV_SO (
                                      C.customer_number,
                                      B.ordered_item,
                                      B.header_id,
                                      B.line_number,
                                      B.unit_selling_price,
                                      B.attribute7,
                                      B.pricing_quantity_uom,
                                      B.attribute4)),
                        2) <> B.UNIT_SELLING_PRICE
             --AND ROUND(TO_NUMBER(B.ATTRIBUTE7), 2) <> B.UNIT_SELLING_PRICE
             --AND     a.ship_from_org_id = mtp.organization_id
             AND B.SHIP_FROM_ORG_ID = MTP.ORGANIZATION_ID          -- GRW 20060413
             --AND     a.ship_from_org_id = msi.organization_id
             AND B.SHIP_FROM_ORG_ID = MSI.ORGANIZATION_ID          -- GRW 20060413
             AND B.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID       -- GRW 20060407
             AND A.ORDER_SOURCE_ID = 6
             AND A.ORG_ID = B.ORG_ID
             AND TO_CHAR (A.ordered_date, 'DD-MON-YYYY') between  '01-NOV-2013' and  '03-NOV-2013'
             and mtP.organization_code='BRM'
                      AND A.ORG_ID = (SELECT HOU.ORGANIZATION_ID
                               FROM HR_OPERATING_UNITS HOU
                              WHERE HOU.NAME = '50 ACCO Canada')
             AND B.cancelled_flag <> 'Y'
             AND B.flow_status_code <> 'CANCELLED'
             AND B.ORDERED_ITEM <> 'INVALID_ITEM'
    ORDER BY a.order_number

    Hi,
    Assuming your initialization matches your discoverer login, it is pretty weird that you get no data.
    I am not sure how you got the SQL but i suggest you trace the session to get the exact SQL ran by the discoverer.
    You may find another condition or join that limits your data.
    Also another thing that you should try is to initial the session by using all the parameters (including the security group as you have in your discoverer login):
    begin
      fnd_global.APPS_INITIALIZE(user_id =>, resp_id =>, resp_appl_id =>, security_group_id =>);
    end

  • Discoverer report returns no data from a certain time

    Using Discoverer 10g,a discoverer report which returned data normally last month gets to return no data now.
    We have four same environments, and two of them has this problem, two is OK.
    And the SQL of the discoverer of the four environments are the same.
    We have no any changment of this discoverer and related EUL for more than one year....
    How should we investigate into this issue.
    For example ,a point we should notice or something...
    Could somebody give us a suggestion?
    Thank you.

    Thanks for your qiuck reply.
    1.empty table that is joined in the query.The four environments has almost the same data,it is not the cause.
    2.security issue with the data, maybe the security definitions are different from one environment to another.we are now invesgate into this cause.
    and there is a sql of the discoverer's EUL which shows no data in a enviroment(in this enviroment discoverer report gets no data), but in another enviroment data can show.
    the sql is as following.
    =============
    SELECT loc_bu.org_id
    ,loc_bu.location_id building_id
    ,loc_bu.building building_name
    ,loc_bu.location_code building_number
    ,loc_fl.location_id floor_id
    ,loc_fl.location_code floor_number
    ,loc_fl.floor floor_name
    ,loc_of.location_id office_id
    ,loc_of.location_code office_number
    ,loc_of.office office_name
    ,loc_of.suite office_suite
    ,loc_of.location_alias office_alias
    ,loc_of.assignable_area office_assignable_area
    ,loc_of.space_type_lookup_code office_space_type_code
    ,lst.meaning office_space_type
    ,loc_of.function_type_lookup_code office_function_type_code
    ,fun.meaning office_function_type
    ,(SELECT ffv.description
    FROM fnd_flex_values_vl ffv
    ,fnd_flex_value_sets ffvs
    WHERE ffv.flex_value = loc_of.attribute1
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'MB_PN_ON') occupancy_exception_flag
    ,loc_of.active_start_date
    ,loc_of.active_end_date
    --ADD BY KEVIN 2008/6/26 START
    ,loc_of.attribute7 division_code_office
    ,(SELECT ffv.description
    FROM fnd_flex_values_vl ffv
    ,fnd_flex_value_sets ffvs
    WHERE ffv.flex_value = loc_of.attribute7
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'MB_PN_DIVISION') division_description_office --ヌヨ-ホ・ヒオテ・
    --ADD BY KEVIN 2008/6/26 END 
    FROM pn_locations loc_bu
    ,pn_locations loc_fl
    ,pn_locations loc_of
    ,fnd_lookups fun
    ,fnd_lookups lst
    WHERE loc_bu.location_id = loc_fl.parent_location_id
    AND loc_bu.location_type_lookup_code IN ('LAND', 'BUILDING')
    AND nvl(loc_bu.attribute6, '99') <> '01'
    AND loc_fl.location_id = loc_of.parent_location_id
    AND loc_fl.location_type_lookup_code IN ('FLOOR', 'PARCEL')
    AND nvl(loc_fl.attribute6, '99') <> '01'
    AND loc_of.location_type_lookup_code IN ('OFFICE', 'SECTION')
    AND nvl(loc_of.attribute6, '99') <> '01'
    AND loc_of.function_type_lookup_code = fun.lookup_code(+)
    AND fun.lookup_type(+) = 'PN_FUNCTION_TYPE'
    AND loc_of.space_type_lookup_code = lst.lookup_code(+)
    AND lst.lookup_type(+) = decode(loc_of.location_type_lookup_code,
    'OFFICE',
    'PN_SPACE_TYPE',
    'SECTION',
    'PN_PARCEL_TYPE')
    AND nvl(loc_of.space_type_lookup_code,'99') <> '07';
    ====================
    Ps.before excute this sql, we always first excute following command.
    ====
    begin
    fnd_client_info.set_org_context(117);
    end;
    ====
    The analyst of our team is not very good at the security problem, could you help us?
    Thanks a lot.

  • PI 7.3 - AEX "unable to read configuration data" and login problems

    Hello Friends,
    after installation of AEX, i'm facing some problems.
    1.I'm not able to login with any user, i created during installation wizard. So i cannot check any user in NWA -> User Administration.
    2.Once more, while opening http://<host>:<port>/rep or http://<host>:<port>/dir, i get the following error message.
    Can somebody help me?
    I think, there is a problem with the users, which have been created during installation. How can i check this? Is there any chance?
    Second, if i'm able to login, i have to import the exchange profile again. This should solve the problem. Or is this wrong?
    PI (http://<host>:<port>/dir/start/index.jsp). Below is the part of the error message that is showing up. Appreciate your suggestions:
    Exception class: com.sap.aii.utilxi.prop.api.PropertiesException$InitFailed
    Message
    Unable to read configuration data (ExchangeProfile/aii.properties)
    Stacktrace
    Thrown:
    com.sap.aii.utilxi.prop.api.PropertiesException$InitFailed: Unable to read configuration data (ExchangeProfile/aii.properties)
    at com.sap.aii.utilxi.prop.api.PropertySourceFactory.initServerMode(PropertySourceFactory.java:220)
    at com.sap.aii.utilxi.prop.api.AIIProperties.initServerMode(AIIProperties.java:518)
    at com.sap.aii.ib.server.applcomp.StartupServerProperties.initPropertiesForServer(StartupServerProperties.java:97)
    at com.sap.aii.ibdir.server.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:151)
    at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:43)
    at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
    at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:438)
    at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:203)
    Please let me know if I am not clear.
    Edited by: Clarence on Feb 6, 2012 3:28 PM
    Edited by: Clarence on Feb 6, 2012 3:28 PM

    hi,
    >>>>Second, if i'm able to login, i have to import the exchange profile again. This should solve the problem. Or is this wrong?
    if you have java stack only there is no exchange profile anymore...
    https://weblogs.sdn.sap.com/pub/wlg/28334
    Regards,
    Michal Krawczyk

  • Unable to change the data in PSA

    Hello All,
    I have a delta failure because of invalid characters in one of the field and now i wanted to change the PSA. I have deleted the request from all data targets and started changing the error record, it is not showing all columns from PSA hence i am unable to change the data in required field.
    Could you please let me know how will i see all columns from PSA. Thanks
    Regards,Ashok

    Hi Ashok,
    To increase/decrease the number of columns that are displayed on the menu from the Settings option select Change display variants
    Also if you want to see say all the failed records you can sort the order of the data using the Status column

  • Unable to access the data from Data Management Gateway: Query timeout expired

    Hi,
    Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
    1. The gateway is in running status.
    2. Data source is also in ready status and test connection worked fine too.
    3. Below is the error in System Health -
    Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.        
    Error code: 4025
    4. Below is the error in Event Viewer.
    Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
    5. This is the correlational id for latest refresh failure
    is
    f9030dd8-af4c-4225-8674-50ce85a770d0
    6.
    Refresh History error is –
    Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
    managed IDataReader interface was being used: Query timeout expired. 
    Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
    Thanks,
    Richa

    Never mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
    Thanks.

Maybe you are looking for

  • HT204053 I want to connect my Apple account any Claude

    I want to connect my Apple account any Claude stolen iPhone 5s

  • Internal Order to track revenues

    Hi All, Wanted to know what setting we make in Internal Order Type so that it can be used for tracking revenues instead of costs. If we don't set this in Internal Orrder Type , then how can we acheive this? When I look at 'Control Tab' at Internal Or

  • I would like to know the IP's that have accessed my account?

    Hi Community I would like to know if any other IPs (Times & Locations too) my Account of me.com or icloud.com for the FindMyIPhone has been Accessed. Like Account Activity you can find in Gmail for Security Purposes. Any Users Know how or have a way

  • Change computer name using partial serial number

    I'm starting to learn Powershell and I'm stuck trying to automate a computer name change. The code below works to rename the computer and reboot but I would like to shorten it and I'm not sure how. The serial number is 15 characters which makes the c

  • Init backgrounding - what is it ?

    I am just trying to get to grips with the init system of Arch (I am used to the sysv method). I have seen the word "backgrounding" mentioned a few times, but cannot find a reference to what it actually does, so would be interested in a quick explanat