LTRIM taking too many characters...??

Hi guys,
I have a list of subnames, all beginning with 'pro_type_'
I have used LTRIM to get rid of this and just print the rest of the name, but for some reason all the subnames beginning with the letter 'e' also lose that letter - can anyone explain to me why?
E.g. both
SELECT DISTINCT LTRIM(subname, 'pro_type') from vwclustertplname
and
SELECT DISTINCT LTRIM(subname, 'pro_type_') from vwclustertplname
gives me the list, but with that problem...
I have also tried trimming after getting the list, e.g.
FOR c IN (SELECT DISTINCT subname from vwclustertplname)
          LOOP
               htp.formSelectOption( LTRIM(c.subname, lv_trimString), cattributes => 'value="' || LTRIM(c.subname, lv_trimString) || '"');
          END LOOP;
where lv_trimString := 'pro_type_'
and
htp.formSelectOption( LTRIM(c.subname, 'pro_type_'), cattributes => 'value="' || LTRIM(c.subname, 'pro_type_') || '"');
All the other subnames display correctly, but the ones starting with 'e' come out with no 'e'
Any idea?? I'm confused!!!!
Thanks
angel

try REPLACE becuase what you are telling about LTRIM is the expected behaviour. till it finds match it keeps trimming and stops when there is mismatch.
so you can check if REPLACE is solving the problem.
replace(subname, lv_trimstring)

Similar Messages

  • I have an Ipad 2 Model MC775LL, IOS 6.0.1 (10A523) and I am trying to update to IOS 6.1, but the download is taking too many hours. Is it normal?

    I have an Ipad 2 Model MC775LL, IOS 6.0.1 (10A523) and I am trying to update to IOS 6.1, but the download is taking too many hours. Is it normal?

    You have to connect the iPad to your computer to update.
    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1.3. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
     Cheers, Tom

  • Taking too many subscription payments

    My company has 4 Creative Cloud Subscriptions but Adobe are taking 5 subscription payments form the company credit card. I have transaction ID for payments but am getting nowhere trying to speak to someone to sort this out. Please help as a matter of urgency. I expect a full repayment of the money you are taking without authorisation. We only recive 4 invoices.

    Hi Beverley I am getting nowhere! I am close to cancelling all subscriptions!!
    Below is transcript of online Chat. Can you please call me on the telephone number below to resolve this??
    You are now chatting with Dhananjay.
    Dhananjay: Hello! Welcome to Adobe Customer Service.
    Neil: Hello
    Dhananjay: Hi Neil
    Neil: My company has 4 Creative Cloud Subscriptions but Adobe are taking 5 subscription payments form the company credit cards. I have transaction ID for payments but am getting nowhere trying to speak to someone to sort this out. Please help as a matter of urgency. I expect a full repayment of the money you are taking without authorisation. We only recive 4 invoices.
    Dhananjay: May I please have your email address registered with Adobe?
    Neil: My own one is [removed], but we also have subscriptions on [removed IDs]
    Dhananjay: Thank you for the confirming.
    Dhananjay: I will be glad to check and help you with this issue.
    Neil: Thanks
    Dhananjay: Thank you for waiting. One moment please.
    Dhananjay: I checked to see you have Creative Cloud membership (one-year)
    Neil: yes
    Dhananjay: For [removed]
    Dhananjay: Order Date: Jul. 15, 2013
    Neil: yes that one is correct
    Dhananjay: Sorry for the wait. Please do stay online.
    Neil: ok
    Neil: ok
    Dhananjay: May i know why you want to cancel this order?
    Neil: I do NOT want to cancel this order.
    Neil: A payment of £38.11 was taken from credit card on 27 October with reference of DSSY012698981DT, please tell me what subscription that is for.
    Dhananjay: Okay.
    Dhananjay: Please stay online for 2 to 3 minutes while I check this information for you.
    Neil: ok
    Dhananjay: I'll be right with you.
    Neil: thanks
    Dhananjay: I checked and see your order is for ID [removed]
    Dhananjay: Order number AD001185187UK
    Dhananjay: Dated 26-Oct-2013
    Neil: but a payment of £22.23 is being taken on 16th October for this subscription. Reference is DSSY013475821DT
    Dhananjay: The above order you want to retain?
    Dhananjay: AD001185187UK?
    Neil: yes, but why is there a payment of £22.23 being taken on 16th October with reference DSSY013475821DT??
    Dhananjay: I checked and see Re: Taking too many subscription payments is for  DSSY013475821DT Order date 15-Jul-2013 Id [removed]
    [removed] are both the same person so I only need one subscription. please cancel AD001185187UK.
    Dhananjay: Please stay online, while I cancel the subscription for you.
    Neil: ok
    Dhananjay: Thank you for waiting. One moment please.
    Neil: ok
    Dhananjay: This is the one which is charged £38.11
    Neil: correct
    Dhananjay: As one year contract is expired and you have been moved to standard price.
    Neil: ok
    Dhananjay: I'll be right with you.
    Dhananjay: Sorry for the wait. Please do stay online.
    Neil: ok
    Dhananjay: Please be informed a (Cancelation fee will apply if customer cancels 30 days +/- of their annual commitment date).
    Dhananjay: cancelation fee is calculated as 50% amount of the remaining month’s charges (excluding the current month).
    Neil: Cancel whichever subscription will cost the least to cancel, either AD001185187UK or AD001610869UK
    Dhananjay: I will check.
    Neil: is it cheaper to cancel AD001610869UK as its renewal is is July?
    Dhananjay: As you have been paying £22.23
    Dhananjay: For this order dont cancel that.
    Dhananjay: As  Account Activated: 15-Jul-2013
    Dhananjay: You will have to pay the same amount for one year better cancel the other order.
    Neil: As a cancellation fee only applies if customer cancels 30 days +/- of their annual commitment date, and £22.23 account renewal is July, there will be no cancellation fee for this one.
    Dhananjay: Weren't you informed about the renewal?
    Neil: No!
    Dhananjay: As Account Activated: 15-Jul-2013 already 3 months are up Neil
    Thanks
    Neil
    http://www.designworksdigital.co.uk/DW_Email_Signature/Logo.gif<http://www.designwork.co.uk/>
    Neil Rapson / Director
    40 Trafalgar Lane
    Edinburgh EH6 4DJ
    Adobe Authorised Print Service Provider / ISO9001:2008 Accredited Company
    Designworks Design & Artworking Ltd is a limited company registered in Scotland / Registered no. SC192515.
    Message was edited by: Beverley Gray

  • How to hold result of query with too many characters into a cursor?

    Hi, guys:
    Could anyone help me on this issue? I encounter such a error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small. The reason is because the returning result is too big to hold in a cursor. I know I should use clob, how can I return result of a query into a clob?
    Here is my code of procedure
    function Find_Near_Offenders(P_f_Resident_Latitude in float, P_f_Resident_Longitude in float, P_n_Radius in number, P_s_User_Group in varchar2, P_b_Found out boolean) return rcur_Offender AS
        rcur_Offender_address rcur_Offender;
      begin
        if P_s_User_Group='Public' then
            open rcur_Offender_address for
              select distinct  so.offender_id as "Offender_ID",  so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender_Name",
              replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#') ,',') as "Address",
              replace(replace(nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, 'No Known Address'),'#') ,',')  as "Physical_Address",
              nvl2(sl.ADDRESS_LATITUDE, to_char(sl.ADDRESS_LATITUDE)||','||to_char(sl.address_longitude),'') as "Address_Geocoding",
              nvl2(sl.physical_address_latitude,to_char(sl.physical_address_latitude) ||','||to_char(sl.physical_address_Longitude),'') as "Physical_Geocoding"
              from sor_location sl, sor_offender so, sor_offense sof, registration_offender_xref rox, sor_last_locn_v sllv
              where rox.offender_id=so.offender_id
              and sllv.offender_id(+)=so.offender_id
              and sl.location_id(+)=sllv.location_id
              and sof.offender_id=so.offender_id
              and rox.status not in ('Merged')
              and rox.reg_type_id=1
              and upper(rox.status)='ACTIVE'
              and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
              --and sl.physical_address_latitude is null
              and sl.ADDRESS_LATITUDE <=to_number(P_f_Resident_Latitude)+0.02*to_number(P_n_Radius) and sl.ADDRESS_LATITUDE>= to_number(P_f_Resident_Latitude)-0.02*to_number(P_n_Radius)
              and sl.address_longitude >=to_number(P_f_Resident_Longitude)-0.02*to_number(P_n_Radius) and  sl.address_longitude<=to_number(P_f_Resident_Longitude)+0.02*to_number(P_n_Radius)
              and sor_google_map_service.Calculate_Distance(P_f_Resident_Latitude, P_f_Resident_Longitude, sl.ADDRESS_LATITUDE, sl.address_longitude)<=P_n_Radius
              union
              select distinct  so.offender_id as "Offender_ID",  so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender_Name",
              replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#') ,',') as "Address",
              replace(replace(nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, 'No Known Address'),'#') ,',')  as "Physical_Address",
              nvl2(sl.ADDRESS_LATITUDE, to_char(sl.ADDRESS_LATITUDE)||','||to_char(sl.address_longitude),'') as "Address_Geocoding",
              nvl2(sl.physical_address_latitude,to_char(sl.physical_address_latitude) ||','||to_char(sl.physical_address_Longitude),'') as "Physical_Geocoding"
              from sor_location sl, sor_offender so, sor_offense sof, registration_offender_xref rox, sor_last_locn_v sllv
              where rox.offender_id=so.offender_id
              and sllv.offender_id(+)=so.offender_id
              and sl.location_id(+)=sllv.location_id
              and sof.offender_id=so.offender_id
              and rox.status not in ('Merged')
              and rox.reg_type_id=1
              and upper(rox.status)='ACTIVE'
              and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
              and sl.physical_address_latitude <=to_number(P_f_Resident_Latitude)+0.02*to_number(P_n_Radius) and sl.physical_address_latitude>= to_number(P_f_Resident_Latitude)-0.02*to_number(P_n_Radius)
              and sl.physical_address_Longitude >=to_number(P_f_Resident_Longitude)-0.02*to_number(P_n_Radius) and  sl.physical_address_Longitude<=to_number(P_f_Resident_Longitude)+0.02*to_number(P_n_Radius)
              and sor_google_map_service.Calculate_Distance(P_f_Resident_Latitude, P_f_Resident_Longitude, sl.physical_address_latitude, sl.physical_address_Longitude)<=P_n_Radius;
            return rcur_Offender_address;
          end if;
      end;and my anonymous block is:
    declare
      query_result json_list;
      --list_string varchar2(32000);
      list_string clob;
      l_cursor sor_google_map_service.rcur_Offender;
      b_found boolean;
    begin
        l_cursor:=sor_google_map_service.find_near_offenders(35.5113030,-97.5543081, 3, 'Public', b_found);
        query_result:=json_util_pkg.ref_cursor_to_json(l_cursor);
        list_string:='{"Offenders": '||json_printer.pretty_print_list(query_result)||'}';
        dbms_output.put_line(list_string);
    end;

    lxiscas wrote:
    I checked the PL_JSON, and I found it uses sys_refcursor, which is limited to 32K around. That doesn't make sense. A SYS_REFCURSOR has no 32k limit-- the limits are related to the data types that the SQL statement that the SYS_REFCURSOR points to uses. If that SQL statement has a CLOB column, there is effectively no limit. If that SQL statement has a VARCHAR2 column, you've got the 4000 byte limit.
    and I was using varchar2 variable in anonymous block. However, my cursor result is too big to hold in a 32K space. Again, this doesn't seem to make sense. There is no such thing as a result that is too big for a cursor
    Do you think I need to change PL_JSON API myself to ensure it uses CLOB? or there is anyway that I can avoid update PL_JSON package internally?If the PL_JSON package is trying to write more than 32k of data into a VARCHAR2, your options are
    - Modify the package to use a CLOB
    - Find some other package that implements whatever functionality you need
    - Limit the data to 32k
    Justin

  • PowerPivot 2010 - When I try to filter data in a slicer, it doesn't work (too many characters?)

    Hi,
    PowerPivot 2010 - When I try to filter data in a slicer (I click on a value in the slicer to filter data) and the value is above a certain amount of characters (255?), it doesn't work.
    Is there a way to fix this?
    Thanks.
    Mr. Flycatcher

    Hello,
    I can confirm, such long slicer values can cause issues. E.g. you can not select such an value with a simple mouse click, but if I remove the filter then I can use key "Ctrl" + mouse click combination to select/deselect such value.
    The best way is to short such values.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • RFC calls are taking too many work process -- system knock out

    Hi,
    I have an interface remote function, which is going to be called by a java program.
    Data is going to be sent to the system, processed and sent back syncronous to the caller.
    The calls are working on SAP tables, so I needed to lock and unlock the tables. The java program
    is opening many parallell threads and starts them the same time.
    That means, that the sap system is getting attacked by many rfc calls on the same function, with the
    same user at the same time.
    The system has in development 15 dialog work processes set up. If I run that with up to 15 parallell rfc calls, all is working ok!
    Let me now explain the problem:
    I have programmed the table lock, that it´s trying to lock the table at the beginning of the function.
    If it´s not possible it tries it again. At first I have just inserted a one second wait and let that run maximum 3 times. If the table is still locked, it breaks down with an error.
    But because the calls come nearly to exactly the same time to the system, the first call locks all others out, and the rest ran out of the 3 seconds and ended up with an error.
    So I tried to build an endless loop, which is just ending, when the table could be locked again, or when the runtime of 5 seconds has reached. That means, it´s not waiting for a second, if the table is locked, but it´s trying again and again up to 5 seconds.
    That is all ok, because sometime the table is free again and all calls are then processed alright.
    BUT if I now run that with MORE than 15 rfc calls from the java program (15 dialog processes are set up), the system got knocked out! It is using all free work processes for the RFC calls and get stucked. I think, the first call is locking the table, and the got stopped by the system. And then all the others are running in the endless loop....
    So, shouldn´t be there a limit for dialog processes taken by RFC calls? For example here for this user? In this case it should f.e. be set to 10 free processes with 5, which are reserved for other users...
    Any advices?
    The second is, how can I change the lock mechanism, that I don´t use an endless loop? Waiting for one second and doing that 3 times, is not good enough... Because all the rfc calls wait then for one second, up to 3 times, and end with an error....
    Is it possible to wait for half seconds, or defined milli seconds?
    Thank you for all advices!

    Hi,
    What I have understood is you are trying to lock the table in a loop and just checking the duration by explicitly putting wait statement.
    Hope you are NOT locking the entire table rather a particular record in each lock.
    No need to use explicit wait statement rather its better to let SAP thinks when to lock the table T1 when its already locked by another work process. So just set the wait parameter for the Enqueue function module as 'X' and check how it behaves. Until the table is not unlocked the process will wait.
    If you see the wait parameter for the Enqueue function module is not available then create your own lock object for the table and use that. Make sure its getting dequeued else you can understand better
    Cheers
    Somnath

  • Apple ID too many characters What now?

    Starting a new iPhone4 in iTunes..
    I am asked to login with my Apple ID.
    I do so by typing in my ID
    but when I am ready with typing
    the result is that ONLY the last 3 characters I typed: 'h.nl' are shown in that field...
    After typing the password and ENTER
    the result is that it does NOT recognize my ID.
    What's wrong?

    Starting a new iPhone4 in iTunes..
    I am asked to login with my Apple ID.
    I do so by typing in my ID
    but when I am ready with typing
    the result is that ONLY the last 3 characters I typed: 'h.nl' are shown in that field...
    After typing the password and ENTER
    the result is that it does NOT recognize my ID.
    What's wrong?

  • Mail merge fails if too many characters?

    It seems that if included (imported from Numbers file by merge) field is too large, the result is a blank.
    Is this true .. or is it failing for another reason?

    other problems
    moving text fields from Numbers to be printed by Pages .. if the text contains a single quote (") the result is blank.
    - Roger

  • I can not load my yahoo email. I get the following message: "Not Found The requested URL /mc/showMessage was not found on this server. Apache/2.2.9 (Debian) mod_jk/1.2.26 PHP/5.2.6-1+lenny4 with Suhosin-Patch etc... (too many characters for your ? page

    Can't log into yahoo email. I get the following message: "Not Found The requested URL /mc/showMessage was not found on this server.

    OK here is the problem I am having with this.. It might be related to my own machine but I need help where to look..
    on the command line using mintty on XP I have this:
    $ nslookup us.mg6.mail.yahoo.com
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 98.136.145.155, 216.115.101.178, 216.115.110.119, 216.115.101.179
    98.136.145.157, 98.136.145.154, 216.115.110.118, 98.136.145.156
    Aliases: us.mg6.mail.yahoo.com, geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    geoycpi-uno.gycpi.b.yahoodns.net
    HOwever when I look in firebug for where the ip for the above domain is this is what I get:
    66.115.130.31 clearly not listed above..
    Let's check the aliases
    $ nslookup geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 216.115.110.118, 98.136.145.156, 98.136.145.155, 216.115.101.178
    216.115.110.119, 216.115.101.179, 98.136.145.157, 98.136.145.154
    Aliases: geoycpi-uno-deluxe.gycpi.b.yahoodns.net
    geoycpi-uno.gycpi.b.yahoodns.net
    nope
    $ nslookup geoycpi-uno.gycpi.b.yahoodns.net
    Non-authoritative answer:
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1
    Name: any-ycpi-uno.aycpi.b.yahoodns.net
    Addresses: 98.136.145.156, 98.136.145.155, 216.115.110.118, 216.115.101.179
    98.136.145.157, 216.115.101.178, 98.136.145.154
    Aliases: geoycpi-uno.gycpi.b.yahoodns.net
    nope
    where is this 66.115.130.31 ip comming from.. why isn't firefox using native DNS lookup?
    When I do a reserve lookup on that ip it points to nationalnet.com as the top SOA..
    any ideas?

  • Taking too many pics damages camera?

    Hey, guys
    I've got an iPad Mini Retina Display 32 GB.
    I took about 200 pics within a duration of one hour with regular intervals of about 5 secs. I wanted to know if it's safe or if I could damage my iPad's camera by doing it. Actually I did it because my printer was out of order and I had to scan a 200-page notebook, one page at a time.
    Maybe I'm being paranoid but I'm asking this because the camera of Nokia N95 8GB I used to own has decreased significantly in quality and now it takes pictures that are ugly to look at.
    Thanks.

    it's safe

  • Too many alerts taking too much system resources in the XI system

    We have been running Alerts in XI and looks like there are too many now. The alerts are stopped now from generation.
    I can't even run the report RSALERTPROC successfully to delete the existing alerts from the system.
    Anyone knows an alternative way to do this? Or what is the table name where the alerts are stored so that we can delete some entries.
    Thanks a lot.

    Hi,
    a. If the "Suppress Multiple Alerts of This Rule" is checked for the Rule, we shall recieve only one alert mail for a particular error category. We have to confirm the Alerts by clicking complete in the Alert Inbox.
    If we dont check this "Suppress Multiple Alerts of This Rule" , we will get all the alerts without being supressed.
    b. Run the Report RSALERTPROC and delete all the alerts. Let me know the difficulty in running this report as you have mentioned...
    c. Run the Report RSALERTTEST to display the Alert status.
    Thanks,
    Tanuj

  • Taking too much time in Rules(DTP Schedule run)

    Hi,
    I am Scheduling the DTP which have filters to minimize the load data.
    when i run the DTP it is taking too much time in the "rules" (i can see the  DTP monitor ststus package by pakage and step by step like "Start routine" "rules" and "End Routine")
    here it is consuming too much time in Rules Mapping.
    what is the problem and any solutions please...
    regards,
    sree

    Hi,
    Time taken at "rules" depends on the complexity involved there in ur routine. If it is a complex calculation it will take time.
    Also check ur DTP batch settings, ie how many no. of background processes used to perform  DTP, Job class.
    U can find these :
    goto DTP, select goto menu and select "Settings for Batch Manager".
    In the screen increase no of Processes from 3 to higher no(max 9).
    ChaNGE job class to 'A'.
    If ur DTP is still running , cancel it ie Kill the DTP, delete from the Cube,
    Change these settings and run ur DTP one more time.
    U can observer the difference.
    Reddy

  • HT201250 my time capsule is taking too much time indexing backup and then taking longer time to back up ( 207 days ) or longer !!! what shall i do ?

    my time capsule is taking too much time indexing backup and then taking longer time to back up ( 207 days ) or longer !!! what shall i do ?

    Try 10.7.5 supplemental update.
    This update seems to have solved this problem for many.
    Best.

  • Too many open socket connections causing ColdFusion to crash?

    I’m currently working on an e-commerce site which sends and receives information to/from the client’s order management system via XML over a TCP/IP socket.  It uses a very old java-based custom tag called CFX_JSOCKET (which appears to have been written in 2002) to open the socket, send the data, and get the response.  The code that calls the custom tag and sends/receives data from the OMS pre-dates my working on the site, but its always worked, so I haven’t paid it much attention.
    Back in the summer of 2009 we started experiencing issues with ColdFusion (v.7 on Window 2003 at the time) locking up on a more and more frequent basis, until it ultimately became a daily issue.  After extensive research we narrowed the issue down to the communication between the web server and our client’s order management server.  It seemed the issue with ColdFusion hanging was either related to there being too many connections open, or to these connections hanging and resulting in dead threads.  This an educated guess based on a blog post I’d seen online, not actual monitoring of either CF or the TCP/IP connections.  As soon as we dialed back the timeout on the CFX_JSOCKET tag from 20 seconds to 10, the issue disappeared, so we left it at that and moved on.
    Fast forward to this January. The site is hosted at a new location, on a 64-bit Windows 2008 box running ColdFusion 9.  Over the years traffic on the site has continued to grow.  The nature of the clients business means that August and January are their business times of the year (back to school for college kids) and in January ColdFusion once again started locking up on an almost-daily basis.  
    One significant difference is that the address cleansing software that previously ran on the box and was used to verify shipping addresses is not available for 64-bit, so when we moved to the new server last summer, that task was moved to the client’s order management software and handled via XML like all other interaction with that system. However, while most XML calls to that server (order input, inventory check, etc) take under a second to complete, the address cleansing call regularly takes over 5 seconds to return data, and frequently times out. 
    Once we eliminated the address cleansing call from the checkout process, ColdFusion once again stopped locking up regularly.  So it appears that once again it’s the communication between the web server and the order management server that’s causing problems. We currently have that address cleansing call disabled on the web site in order to keep ColdFusion from crashing, but that’s not a long term solution.
    We don’t have, nor can I find online, the source code for the CFX_JSOCKET custom tag, so I decided I’d write some CF code utilizing the java methods to open the socket, send the data, get the response, and close the connection.  My test code is working fine (under no load).  However, in trying to troubleshoot an issue I had with it, I started monitoring the TCP/IP connections using TCPView.  And I noticed that all the connections to the order management server, whether opened via the custom tag or my new code, remain open in either a TIME_WAIT or FIN_WAIT2 status for well over 2 minutes, even though I know for a fact that my new code is definitely closing the connection from the web server side. 
    They do all close eventually, but I’m wondering 1. Why they’re remaining open that long; 2. Is that normal; and 3. If all these connections remaining open could be what’s causing ColdFusion to choke. 
    Does this sound plausible?  If so, does anyone have any suggestions/recommendations about how to fix it?  My research seems to indicate this might be a matter of the order management system not closing the connection on its end, but I’m in way over my head, and before I go to client and tell them it’s their OMS causing the issue, I need to feel a little more confident that I’m on the right track. 
    Any help or advice would be very greatly appreciated.  And thanks for taking the time to read through my long-winded explanation of the problem.
    Set-up details:
    ColdFusion Version: 9,0,0,251028  Standard 
    Operating System: Windows Server 2008 
    Java Version: 1.6.0_14 
    Java VM Name: Java HotSpot(TM) 64-Bit Server VM 
    Java VM Version: 14.0-b16 
    Thanks,
    Laurie

    Hi Laurie,
    Not aware of custom tag called CFX_JSOCKET. I guess the process you described very well is consuming a resource then you are getting a problem. Trick is what parameter to adjust. Perhaps you are running out of one the threads in CFadmin > Server Settings > Request Tuning.
    I expect if you enable CF Metrics logging where you can log the threads and other resources then you can find out which parameter needs adjusting. Let me know if you want some details on enabling CF Metrics. Perhaps others will have much better idea than me and help without the overhead of logging.
    The other interesting thing is you are using CF9.0.0. Do you have some reasons for not being on updater1 CF9.0.1?
    HTH, Carl.
    PS I posted before however seems to have gone, just hope does not come back and then I have posted twice.

  • AirPlay Screen Mirroring (Mavericks) disconnects frequently with "Feedback taking too long to send" message

    My company has several TVs with AppleTVs (3rd generation units) connected in our conference rooms so we can "Screen Mirror" our Mac laptops via AirPlay during meetings. Many employees have complained that AirPlay Screen Mirroring drops frequently during meetings for no apparent reason.
    In attempts to determine the cause of the issue, I removed the AppleTV units from Wi-Fi and hard-wired them all to the LAN (100Mbps/Full duplex, no switchport errors seen on the Cisco switch). I upgraded the AppleTVs to the latest firmware. I had our AppleTV users ensure they were running MacOS Mavericks with the latest software updates installed. I had the Mac laptops hard-wired into the LAN during meetings in the conference rooms. None of these changes resolved the AirPlay issue.
    I reviewed the MacOS "/var/log/system.log" file from the laptops of several users that reported issues. I found a pattern that seemed to indicate that the "coreaudiod" process reported "Feedback taking too long to send" several times before the AppleTV connection was terminated. Also, from a network trace (using "tcpdump") taken during an unexpected AirPlay Screen Mirroring disconnection, I could see that the Mac laptop sent a TCP FIN packet to the AppleTV unit (this would indicate that the MacOS laptop initiated the closing of the AirPlay connection).
    I have included the relevant log file entries below. Please note that the LAN internal to our company is "solid" and there have been no connectivity issues detected or reported during the times the AirPlay sessions were disconnected.
    I believe I have found a workaround to this issue. By going into "System Preferences", "Sound" and then changing the "Output" device BACK to the "Internal Speakers" (rather than the AirPlay destination), the AirPlay Screen Monitoring connection seems to remain stable.
    My questions are:
    - is anyone else experiencing this type of problem? any other solutions recommended?
    - is there a way to change the AirPlay defaults so that Screen Mirroring only sends the video (not audio)?
    - does anyone know what the log file entries indicate (like, what does "Feedback taking too long to send...." mean)?
    - any fix planned for this issue?
    From: "/var/log/system.log":
    Jan 16 10:50:16 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:16.454404 AM [AirPlay] ### Feedback taking too long to send (1 seconds, 1 total)
    Jan 16 10:50:18 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:18.524517 AM [AirPlay] ### Feedback taking too long to send (4 seconds, 2 total)
    Jan 16 10:50:20 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:20.533639 AM [AirPlay] ### Feedback taking too long to send (6 seconds, 3 total)
    Jan 16 10:50:22 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:22.548168 AM [AirPlay] ### Feedback taking too long to send (8 seconds, 4 total)
    Jan 16 10:50:24 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:24.554522 AM [AirPlay] ### Feedback taking too long to send (10 seconds, 5 total)
    Jan 16 10:50:24 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:24.554809 AM [AirPlay] ### Report network status (3, en0) failed: 1/0x1 kCFHostErrorHostNotFound / kCFStreamErrorSOCKSSubDomainVersionCode / kCFStreamErrorSOCKS5BadResponseAddr / kCFStreamErrorDomainPOSIX / evtNotEnb / siInitSDTblErr / kUSBPending / dsBusError / kStatusIsError / kOTSerialSwOverRunErr / cdevResErr / EPERM
    Jan 16 10:50:26 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:26.545531 AM [AirPlay] ### Feedback taking too long to send (12 seconds, 6 total)
    Jan 16 10:50:28 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:28.559050 AM [AirPlay] ### Feedback taking too long to send (14 seconds, 7 total)
    Jan 16 10:50:30 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:30.628868 AM [AirPlay] ### Feedback taking too long to send (16 seconds, 8 total)
    Jan 16 10:50:32 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:32.655638 AM [AirPlay] ### Feedback taking too long to send (18 seconds, 9 total)
    Jan 16 10:50:34 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:34.641952 AM [AirPlay] ### Feedback taking too long to send (20 seconds, 10 total)
    Jan 16 10:50:36 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:36.659854 AM [AirPlay] ### Feedback taking too long to send (22 seconds, 11 total)
    Jan 16 10:50:38 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:38.653594 AM [AirPlay] ### Feedback taking too long to send (24 seconds, 12 total)
    Jan 16 10:50:40 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:40.659279 AM [AirPlay] ### Feedback taking too long to send (26 seconds, 13 total)
    Jan 16 10:50:42 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:42.745549 AM [AirPlay] ### Feedback taking too long to send (28 seconds, 14 total)
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.532853 AM [AirPlay] ### Endpoint "AppleTV" feedback error: -6722/0xFFFFE5BE kTimeoutErr
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.533151 AM [AirPlay] ### Feedback failed: -6722/0xFFFFE5BE kTimeoutErr
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.533273 AM [AirPlay] ### Error with endpoint "AppleTV": -6722/0xFFFFE5BE kTimeoutErr
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.533427 AM [BonjourBrowser] Reconfirming PTR for AppleTV._airplay._tcp.local. on en0
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.533588 AM [BonjourBrowser] Reconfirming PTR for 9C207BBD8EA1@AppleTV._raop._tcp.local. on en0
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.533839 AM [AirPlay] ### AirPlay report: Network dead for 10+ seconds after 159 seconds, screen, nm "AppleTV", tp WiFi, md AppleTV3,1, sv 190.9, rt 0, fu 0, rssi -54
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.534104 AM [AirPlay] ### Report network status (5, en0) failed: 1/0x1 kCFHostErrorHostNotFound / kCFStreamErrorSOCKSSubDomainVersionCode / kCFStreamErrorSOCKS5BadResponseAddr / kCFStreamErrorDomainPOSIX / evtNotEnb / siInitSDTblErr / kUSBPending / dsBusError / kStatusIsError / kOTSerialSwOverRunErr / cdevResErr / EPERM
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.534315 AM [AirPlay] Deactivating virtual display stream for quiesce
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.543682 AM [AirPlayScreenClient] Stopping session
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.543815 AM [AirPlay] Quiescing endpoint 'AppleTV'
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.543907 AM [AirPlayScreenClient] Stopping session internal
    Jan 16 10:50:44 My-MacBook-Pro.local coreaudiod[161]: 2014-01-16 10:50:44.544218 AM [AirPlayScreenClient] Stopped session internal
    Jan 16 10:50:44 My-MacBook-Pro.local AirPlayUIAgent[985]: 2014-01-16 10:50:44.544266 AM [AirPlayAVSys] ### Quiesce AirPlay
    Jan 16 10:50:44 My-MacBook-Pro.local SystemUIServer[159]: 2014-01-16 10:50:44.544297 AM [AirPlayAVSys] ### Quiesce AirPlay
    Jan 16 10:50:44 My-MacBook-Pro.local SystemUIServer[159]: 2014-01-16 10:50:44.553084 AM [AirPlayAVSys] ### Quiesce AirPlay
    Jan 16 10:50:44 My-MacBook-Pro.local AirPlayUIAgent[985]: 2014-01-16 10:50:44.554904 AM [AirPlayAVSys] ### Quiesce AirPlay
    Jan 16 10:50:44 My-MacBook-Pro.local SystemUIServer[159]: 2014-01-16 10:50:44.557604 AM [AirPlayAVSys] Ignoring route away when AirPlay not current
    Jan 16 10:50:44 My-MacBook-Pro.local AirPlayUIAgent[985]: 2014-01-16 10:50:44.560307 AM [AirPlayAVSys] Ignoring route away when AirPlay not current
    Jan 16 10:50:44 My-MacBook-Pro.local WindowServer[89]: Display 0x04280880: GL mask 0x21; bounds (0, 0)[1920 x 1080], 62 modes available
    Jan 16 10:50:44 My-MacBook-Pro.local WindowServer[89]: GLCompositor: GL renderer id 0x01022727, GL mask 0x0000001f, accelerator 0x00004ccb, unit 0, caps QEX|MIPMAP, vram 2048 MB
    I am happy to provide more information if needed.
    Thank you.
    -Tim

    I'm currently still experiencing this as well. I've confirmed it occurs on 10.9.1, 10.9.2, and 10.9.3 on MacBook Pro Retina's, Mid-2012 and 2013 MacBooks. It happens on multiple ATV's not just one, all are updated to 6.1.1 and a simple reboot seems to fix it temporarily but it does come back. All the ATV's are connecting to the network via Wireless not Ethernet. These are 3rd Gen ATV's but I checked the serial number and these do not match the bad batch of Apple TV's from 2013 that were offered up for Replacement for Apple due to the bad firmware update. None of the computers have the Firewall turned on. Here's the two logs that we always find after the issue occurs (logs are recent, happened this morning):
    5/30/14 8:57:36.017 AM coreaudiod[183]: 2014-05-30 08:57:36.016946 AM [AirPlay] ### Feedback taking too long to send (30 seconds, 17 total)
    5/30/14 8:57:36.332 AM coreaudiod[183]: 2014-05-30 08:57:36.331492 AM [AirPlay] ### Feedback failed: -6723/0xFFFFE5BD kCanceledErr
    The user will get disconnected from Airplay anywhere between 30 seconds to 3 minutes after logging on and can reconnect but then once again get disconnected after the same time period. One interesting thing to note is that when the Feedback Taking Too Long to send error starts occuring and the countdown to disconnect start ticking down to 30, its solely referring to Audio not being sent over the network and Video is working just fine. If I try to play sound I get another log and the sound doesn't play through the speakers. After a reboot, sound works fine and the Feedback Error's do not show up. I've also tried switching to Internal Speakers (since it defaultly switches to Airplay Speakers) after connecting to Airplay and seeing the Feedback timer start in the Console Logs but even after that the log continues to saw its taking too long to send and disconnects in 30 seconds. 
    This issue has been ongoing for months, I've got a ticket logged as far back as January with this occuring but its infrequent enough that we've just restarted and moved on. I'd say its an issue that occurs to about 5%-10% of meetings but that's an entire meeting that doesn't have the ability to Airplay until someone comes down and reboots it.
    I don't often post in this forum but its still an active issue with no resolution, proof that its occuring on other people's systems, and no firmware updates having been released to correct it. It'd be nice to know of any workarounds other than having to buy some lamp timers for each conference room just to get a functional ATV or putting up a sign that says hey if you get disconnected every 3 minutes, reboot the ATV. The whole reason we're using Apple products is for ease of use otherwise I'd put together a much cheaper solution myself. Any help or recommended troubleshooting steps would be fantastic at this point.

Maybe you are looking for

  • Problems loading a text-file from a shared NT network order

    Hi @ all, I try to upload a text file in MII that is destinated in a shared order in the NT file network. I used text_loader with URL FILE://SERVERNAME/SHARE/input.txt and I get the error message "connection refused" even if I use credentials with an

  • Forms applets are not openig in Linux

    hi all, we are installed Oracle ERP 12.1.1(Vision) on RHEL 5.3, I would like to use the Linux as Desktop tier also, so when i am clicking forms applet based item then it is promting me to install j2se plugin version 1.6.0_07 , as i have jre1.6.0_18 a

  • Ipod Classic 120gb to Samsung LCD TV and Home cinema

    Any help or suggestions would help. I have just bought a New Ipod Classic 120gb and connected it to my Samsung LCD TV and Home cinema systems. The Ipod connects fine but the order of the music on the tv is all mixed up. Is there anyway to sort out th

  • Authorization issue for Jump query from Summary to Detail

    Hello Gurus, I am facing an interesting issue in Jump query authorization. I have a query on a summary cube which has Company code as a authorization relevant object .From this query I launch a query on detail cube.This details cube has company code

  • Blocked Stock HUMO handling unit

    I need a BAPI to move a handling unit to blocked stock. Does anyone know a BAPI I can use to replicate when a user selects a handling unit in HUMO then goes to "Edit" -> "Change HU Posting" -> "In Blocked Stock"? I am new at programming with SAP and