RT FIFO Read timeout

I have a timeout question about RT FIFO Read in Producer/Consumer system. Here is the scenario.
Producer writes data to RT FIFO via RT FIFO Write;
Consumer read data from RT FIFO via RT FIFO Read with timeout 100ms;
If RT FIFO is empty, returns 100ms timeout and stops Producer and Consumer.
If RT FIFO is not empty, process the data from FIFO and continue Producer/Consumer.
As I understand, RT FIFO empty means 100ms timeout. But the 100ms timeout condition does not behave properly as expected.
Am I understanding the FIFO Read timeout correctly?
Thanks!

MileP,
I find the best way to learn about Real-Time FIFOs is to run some examples of them, check these out and let me know what you think:
https://decibel.ni.com/content/docs/DOC-2303
https://decibel.ni.com/content/docs/DOC-9893
http://zone.ni.com/devzone/cda/tut/p/id/3934
I hope this helps get you going
Sam S
Applications Engineer
National Instruments

Similar Messages

  • Error -50400 occurred at Invoke Method: FIFO.Read in Host.vi

    Hey there,
    we have sensors on an Engine which are connected to a NI cRIO 9014 board (with a NI9411 6-channel digital input modul) and go from there via network to a host computer.
    cRIO board: the cRIO board collects the data from the engine and stores it in a buffer, this is because the network is to slow for the magnitude of data
    host computer: the host computer reads over the network the buffer on the cRIO board, on the host computer it takes out specific portions of the data to create pressure graphs of the engine
    Error: 
    Error -50400 occurred at Invoke Method: FIFO.Read in Host.vi
    Possible reason(s):
    The transfer did not complete within the timeout period or within the specified number of retries.
    This error occurs in the following scenario:
    - engine is running
    - cRIO is running
    When I press the start button (boolean 3) in the host.VI to start the reading of the data from the board AFTER I pressed the run button of the host VI. 
    The Error would not occur if I pressed the start button (boolean 3) BEFORE I pressed the run button of the host VI.
    We tried to increase the time out, but it still did not work, the error occurs!
    We would be really happy if you could look over it and help us in this case! If you need further informations or if we need to clarify some specific portion, please let us know!
    We included the VI's in the attachement!
    Thanks in advance!
    Solved!
    Go to Solution.
    Attachments:
    Host.vi ‏152 KB
    C_RIO.vi ‏92 KB
    Cyl_Pres.lvproj ‏196 KB

    Chrisse,
    There are a few things wrong in your application, if I may offer some suggestions.
    First, your while loops are not running in parallel.  In fact, they are in while loops with a true constant wired to them. I am not sure if this is by design for debugging, or on accident.  I would put the Polling(read pulling zero elements) outside your main while loop.
    Your second nested while loop (the one polling the # of elements and then pulling them out) is going to run just once, and may pull only a few samples.  I don't think that is what you are looking for here, and there are a couple ways we can go here.  You could continuously poll until you have 0 elements available for x amount of time, then you know you have no more samples available and you can process all the data OR you can put all of your data processing as part of that loop and just always write to file immediately as x samples are pulled.
    Also, your main loop's stop condition is (i <= 3) Therefore, it will run once and then stop.  Maybe you mean >=3?
    Also, you have 'append to file' disabled on your write to spreadsheet, so everytime you write you are overwriting old data.  If you want to continuously write, you will be losing data.  This can be cured by either setting this to true(requiring a new file name or programatically deleting the old spreadsheet every time you run the vi) OR you can collect all of your data in a shift register, and only write to file once you have all your data available.
    The error you are seeing is because you try to close your FPGA reference twice.  You only need to close it once.
    After seeing your overall picture, I think this can all be cured by simply hardwiring your Read to get your 1440X4 elements, but as we have seen, this does not work.  Something is happening in your system....this is what I want you to do...run just the following code...and let me know how many elements remaining it gives you...Once the number has settled(I hope it does and your engine doesn't keep running), hit stop, and all the values will be put on a graph for you.  My broken wires are because I do not have the FPGA VI.
    Message Edited by Robbob on 04-21-2009 01:48 PM
    Rob K
    Measurements Mechanical Engineer (C-Series, USB X-Series)
    National Instruments
    CompactRIO Developers Guide
    CompactRIO Out of the Box Video
    Attachments:
    numelements.jpg ‏39 KB

  • FIFO read that doesn't use 100% CPU

    The FIFO read looks like an event based node (like a dequeue or wait on occurance) and I think there's a lot of people that assume it's going to use minimal cpu resources while it is waiting for data. I'm wondering if we can have an option that behaved like that. For example, could we have fixed sized FIFO read where the FPGA could trigger an interupt to let the RT side know the data is ready?

    Hey igagne,
    I think this is a good idea. I get that timeouts implemented with polling are exactly the right thing for some applications, and quite problematic for others. I think having an option would also make the behavior more obvious to the user, which is a good thing. That being said, we do have a few programming practices that we recommend that can help if the polling behavior is not suitable for your application. Have you been able to find a solution that's suitable for your application? What hardware are you using?
    Along the lines of potential workarounds, I think you'll be interested in this knowledge base, http://digital.ni.com/public.nsf/allkb/583DDFF1829F51C1862575AA007AC792. A couple things I'd highlight, firstly some hardware does already work in the way you've described. Secondly, we generally recommend the example code shown at the bottom of the KB. In this way,your code has control over the polling rate and the tradeoff between a low latency response to data being available and consuming resources on the system. If you wanted an interrupt based solution to reduce time spent polling, it'd be possible to also add a wait on irq node and raise the irq from the FPGA when the data has been written. I'd still recommend polling for data after recieving the IRQ on the host because it's not generally guaranteed that the IRQ will arrive after all the data has made it's way to the host buffer, but it should be a much shorter poll.
    Thanks,
    Sebastian
     

  • Read Timeout is not working with business service in OSB 11.6

    HI All,
    We have set below configuration in "Http Transport Configuration" of a business service.
    Read Timeout- 8
    Connection Timeout  - 8
    Authentication  - None
    Proxy Serve
    Follow HTTP redirects - Disable
    Use Chunked Streaming Mode - Enable
    Even though backend is taking more than the configured value in Read Timeout but timeout is not happening in OSB, Connection time out also not worked, when we tested with wrong backend URL.
    Any help for this configuration would appreciated.
    Thanks,.

    Hi,
         Have you invoked any Services before calling the Business Service.
    If Yes, then the problem with the Invoked service.In this scenario even if you set the time out period it will not work..
    If No, your request payload is high
    Regards,
    Kiran

  • CPU usage hits 100% during FIFO read

    I have a real time PC with a 7833R RIO board. I write values which I read from a microphone into a FIFO at a sampling rate of 4 kHz.The length of the FIFO is 2048. On the real time PC, when I call "FIFO read" function to read say 400 samples of data, the CPU utilization of the real time PC hits 100%. Why is this so? The "FIFO read" function is placed inside a while loop.
    Thanks
    Prashant
    Solved!
    Go to Solution.

    Hello Prashant,
    Jaared had given good link to work on.. I suggest about time syncronisation on FIFO read and write..
    Consider following case:
    B is the data written to the FIFO at F1 frequency and read at F2 frequency
    then, time taken to write to the FIFO = B/F1 ;
    data read from the FIFO in this time=(B/F1)* F2;
    If F1>F2 (write freq>read freq)
    The Excess data remained unread = B- (B/F1)* F2;
    If F2>F1 (read freq>write freq)
    The lack of data for syncronisation = (B/F1)* F2 -B;
    The above can help you in designing of synchronised FIFO
    Apart from that please use time out also based on above calculation with time
    BR, HS

  • OSB Business Service is not timing out on Connection/Read timeout

    I have a weird problem with my business service in OSB. I have set the read timeout value as 1 sec and Connection timeout value as 1 sec. The response from backend is taking more than 2 seconds or even 3 seconds but still my business service is not timing out..! My service is still listening to the response from backend even if it comes after 3 seconds. I expect it to timeout after 2 seconds. Any ideas?
    Business Service Configurations:
    Service Type: Any type
    Protocol: http
    Retry count : 0
    Retry Application Errors: No
    Read Timeout: 0
    Connection Timeout: 0
    HTTP Request Method: POST
    Result Caching: No
    Let me know if you need any more information. Thanks in Advance.
    Regards
    Kaleem

    AbhishekJ wrote:
    Maximum possible successful response time of the service will be less than Read TO + Connection TO.
    Alas, this is not true.
    Maximum possible response time is infinity.
    There are two reasons for that.
    1. Read timeout is not counted as time from the successful connection establishing to the current moment. It is measured as time from the last received byte to now. Imagine a backend service that sends a single byte in a data packet every 500ms. Despite you have read timeout set to 1, the receiving of 3K message will take 25 minutes, and yet your Biz service will not timeout.
    2. In HTTPS, handshake is handled by a separate library which has its own quirks. Specifically, if the key exchange is broken at particular point of handshake, the library re-establishes the connection and does it few times; in my experiements, the largest I could delay the eventual fault was about 3 minutes.
    Having said that, in the OP message the configuration is Read=0, Connect=0, so I wonder why the timeout is expected.

  • Read Timeout on non-blocking sockets

    Hi,
    I was wondering if there is a way to specify a read timeout (like setSoTimeout for synchronous sockets) when using a non-blocking socket.
    I'd like to have the select() method return is a sockets timeout expires, puting in the selected key set the timedout socket and have it's read operation return -1, something like what happens when a socket is closed by the other side.
    The thing is I need this to be a timeout specific to each socket, thus the select(millis) isn't apropriate.
    Anyone knows of something like this?
    Thanks....

    Yeah, select() is the only thing built in for that, and you have to do the bookkeeping yourself. You would start something like forming the disjunction of the ready keys and the registered keys after each select, to get the unready keys, and then looking at their history to see how long they have been unready via a Map{key,Long(time)).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • SMTP postfix crashing -  network_biopair_interop read timeout

    Periodically, my mail server goes into a crash cycle. Error messages like those below appear, and very quickly, the machine becomes unresponsive (I believe because it can't fork any more process - so OD won't authenticate, and any command which requires authentication (like a restart or service restart) hangs indefinitely).
    The machine will crash every ~12 hours after being rebooted, for maybe 2-3 days before the problem mysteriously goes into remission. I don't know what confluence of events causes this, or how to see it coming sooner so I can stop and restart the mail service.
    Any insight or solutions would be greatly appreciated.
    /var/log/system.log:
    Apr 25 07:37:43 mercury postfix/smtpd[8213]: warning: Read failed in networkbiopairinterop with errno=0: num_read=0, want_read=5
    Apr 25 07:48:39 mercury postfix/smtpd[8475]: warning: Read failed in networkbiopairinterop with errno=0: num_read=0, want_read=5
    Apr 25 07:50:06 mercury postfix/master[51]: warning: unixtriggerevent: read timeout for service public/flush
    Apr 25 07:55:50 mercury postfix/pipe[8467]: warning: pipecommandwrite: write time limit exceeded
    Apr 25 07:55:50 mercury postfix/pipe[8470]: warning: pipecommandread: read time limit exceeded
    Apr 25 07:57:08 mercury postfix/pipe[8479]: warning: pipecommandread: read time limit exceeded

    The output of postconf -n:
    mercury:/ root# postconf -n
    alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    messagesizelimit = 15728640
    mydestination = $myhostname,localhost.$mydomain,tjs.org,staff.tjs.org,mercury.tjs.org,info.tjs. org
    mydomain = tjs.org
    mydomain_fallback = localhost
    myhostname = mail.tjs.org
    mynetworks = 127.0.0.1/32,10.1.1.0/24,66.148.181.0/24,66.90.0.0/16,192.168.1.0/24,66.93.192. 247/32,66.93.193.247/32
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    ownerrequestspecial = no
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdpw_server_securityoptions = cram-md5,gssapi
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_certfile = /etc/certificates/*.tjs.org.crt
    smtpdtls_keyfile = /etc/certificates/*.tjs.org.key
    smtpduse_pwserver = yes
    smtpdusetls = yes
    unknownlocal_recipient_rejectcode = 550
    And here's a more full version of the logs. I think the increasing pids is a symptom of the problem:
    Apr 27 10:34:58 mercury pop3[7164]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:34:58 mercury pop3[7369]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:35:18 mercury pop3[7164]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication
    Apr 27 10:35:19 mercury pop3[7164]: login: ppp-70-245-234-7.dsl.stlsmo.swbell.net [70.245.234.7] YYY APOP+TLS User logged in
    Apr 27 10:35:28 mercury pop3[7369]: login: c-69-241-232-137.hsd1.mi.comcast.net [69.241.232.137] XXX APOP User logged in
    Apr 27 10:35:59 mercury pop3[7164]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:36:10 mercury pop3[7369]: login: dsl093-192-247.stl1.dsl.speakeasy.net [66.93.192.247] XXX APOP User logged in
    Apr 27 10:36:11 mercury pop3[7164]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:37:01 mercury pop3[7164]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:37:01 mercury pop3[7369]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:37:01 mercury pop3[7833]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:37:07 mercury ctl_cyrusdb[7836]: checkpointing cyrus databases
    Apr 27 10:37:08 mercury ctl_cyrusdb[7836]: done checkpointing cyrus databases
    Apr 27 10:37:15 mercury pop3[7164]: login: dsl093-192-247.stl1.dsl.speakeasy.net [66.93.192.247] XXX APOP User logged in
    Apr 27 10:37:26 mercury pop3[7833]: login: dsl093-192-247.stl1.dsl.speakeasy.net [66.93.192.247] XXX APOP User logged in
    Apr 27 10:37:38 mercury pop3[7369]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:37:52 mercury imap[7842]: login: localhost [::1] jroth CRAM-MD5 User logged in
    Apr 27 10:37:52 mercury pop3[7164]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:38:03 mercury imap[7842]: login: localhost [::1] XXX CRAM-MD5 User logged in
    Apr 27 10:38:13 mercury imap[7842]: login: localhost [::1] XXX CRAM-MD5 User logged in
    Apr 27 10:38:15 mercury imap[7842]: login: localhost [::1] XXX CRAM-MD5 User logged in
    Apr 27 10:38:26 mercury pop3[7833]: login: 66.148.181.178.nw.nuvox.net [66.148.181.178] XXX APOP User logged in
    Apr 27 10:38:30 mercury imap[7842]: login: localhost [::1] XXX CRAM-MD5 User logged in
    Apr 27 10:40:18 mercury pop3[7871]: TLS server engine: cannot load CA data
    Apr 27 10:40:19 mercury pop3[7871]: TLS server engine: No CA file specified. Client side certs may not work
    Apr 27 10:40:19 mercury pop3[7871]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication
    Apr 27 10:41:41 mercury postfix/master[51]: warning: unixtriggerevent: read timeout for service public/flush
    Apr 27 10:50:18 mercury pop3[7913]: TLS server engine: cannot load CA data
    Apr 27 10:50:18 mercury pop3[7913]: TLS server engine: No CA file specified. Client side certs may not work
    Apr 27 10:50:18 mercury pop3[7913]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication
    And then the crash. Note this is a more recent crash cycle than the last one which I posted logs from.
    Interesting that SSL certificates might be the issue. The one user, shown above as YYY, always triggers the log messages about TLS, which none of the other users seem to use. I haven't enabled SSL for email, but I wouldn't mind doing it to fix this problem.
    Thanks for your thoughts and time.
    Brian Howard

  • read-timeout-seconds not working

    (WL 5.1, SP 11)
    Hi all,
    I'm playing around with Read-Only entity beans, and I get a problem
    with the read-timeout-seconds property. I've set my
    weblogic-ejb-jar.xml like this:
    <ejb-name>product.entity</ejb-name>
    <caching-descriptor>
    <max-beans-in-cache>1000</max-beans-in-cache>
    <cache-strategy>Read-Only</cache-strategy>
    <read-timeout-seconds>60</read-timeout-seconds>
    </caching-descriptor>
    The first call to the EJB caches the database record, and subsequent
    calls use the cache. My problem: Even if I delete the database record
    directly (I know, I shouldn't do that... but like I said, I'm playing
    around here... ;)) and wait for more than 60 seconds, the next call to
    the bean still returns the same cached entry.
    I tried with <idle-timeout-seconds> set to 60, and it doesn't work
    neither.
    I've seen in previous messages that this problem (or similar) was
    fixed in SP4, but I use SP11, so it shouldn't be the problem.
    Thanks for your help!
    Phil

    Hi,
         Have you invoked any Services before calling the Business Service.
    If Yes, then the problem with the Invoked service.In this scenario even if you set the time out period it will not work..
    If No, your request payload is high
    Regards,
    Kiran

  • Modbus TCP/IP read timeout

    The code below was taken from the NI Modbus library:
    The first TCP Read VI, reads 7 bytes as a binary string. The data string is then cast to the MBAP_Header data type.
    The MBAP header contains a length field, that is used to determine the length of the Modbus PDU (i.e. remaining part of the TCP message)
    The second TCP Read VI then gets the remaining part of the message.
    Can I set the second read timeout to 0?
    For reqular Ethernet, the maximum packet payload is 1500 bytes.
    1500 bytes is larger than any Modbus message, so I would not expect segmentation of Modbus messages.
    Is this correct?
    In general, if the application data is less than 1500 bytes (on regular Ethernet) and data is read in two parts, is it a good idea to set the second read timeout to 0.
    Is there any other reason why I should not do this?
    Thanks.
    Message Edited by sparkymark567 on 01-28-2010 03:59 AM
    Message Edited by sparkymark567 on 01-28-2010 04:01 AM

    Hey,
    The second read should not have a time out of 0.  The first read only gets the first 8 bits of data, it does not buffer the rest of the package so the second read still needs time to receive the remaining data and hence will need at least some sort of time out value. 
    On the subject of segmentation, I believe you are correct.  As long as your message doesn't excede 1492 bytes (I think the 1500 includes the overhead of the Ethernet package), it should come down in one package.  
    The best thing you can do is to try it out.  
    Kind regards,
    Dominic Walker
    Cardiff University
    Electrical and Electronic Engineering Student

  • How to run vi continuous​ly when VISA read timeout happens

    Hello,
    I am using LabView 2010 to read an Agilent 6000 series Oscilloscope. The Oscilloscope reads data from another experimental machine which fails occasionally due to sample failure. When the machine fails, it stops sending signal to the oscilloscope and leads to the VISA read timeout error and the whole vi is terminated.  Is there a way that I can continuously run the vi when the error happens? For example, when the error happens, it stores the error in the error wire. When the vi read the error code from the wire, it sends a command to stop my experimental machine then stop the vi. 
    So far, it just simply stops during executing the visa read function. In this case, why do we have error in and out? The vi simply stops when the error happens. 
    Thanks
    Lawrence
    Solved!
    Go to Solution.

    I'll start of with automatic error handling. By default, LabVIEW enables the automatic error handling. So consider the case like the one below,
    If let's say the VISA Read returns an error, but you did you pass the error information to VISA Close, what will happen is that LabVIEW will highlight the VISA Read (since the error comes from that function), pause the execution at the VISA Read and an error dialog box will appear. From the dialog box, it will prompt to either continue (Move on to the VISA Close) or stop (LabVIEW will stop the VI at VISA Read)
    Now, consider another scenario like this,
    By passing the error information from one function to another, let's say if VISA Read returns an error, that error will pass to VISA Close and finally to Simple Error Handler.vi. So Simple Error Handler will generate error dialog box after all the VISA operation is completed. This is called manual error handling (It can be enabled by just wiring the error information from one function to another and terminates at Simple Error Handler).
    http://www.ni.com/gettingstarted/labviewbasics/han​dlingerrors.htm
    As for VISA Close, here is the information about VISA Close.
    http://zone.ni.com/reference/en-XX/help/371361K-01​/lvinstio/visa_close/
    See that button on the left side of this post...
    If you feel my post is helpful, all you need is just (at most) 2 seconds to click that button, to show your appreciation. Thank you~~

  • When use scan mode and FPGA simultaneously, why does the FIFO Read can not be used?

    Hello, I am using compactRIO-9025 to do a project and trying to use scan mode and FPGA simultaneously ( Hybrid mode). I have already build a project as the following tutorial.
    http://digital.ni.com/public.nsf/allkb/0DB7FEF37C26AF85862575C400531690 and I have NI 9205, NI 9023 in Scan mode and NI 9871 in FPGA mode in the same project.
    In the FPGA Target of the project,  I add a FIFO and tried to use it to log in data from NI 9871. I wired the module I/O node to FIFO Write in the target vi. However, when I  droped the invoke method to the block diagram of the host vi and right clicked it, there is no FIFO Read can be choose. Could you please help me to solve this problem?
    Thank you very much!!

    I am not aware that using the Scan Engine is blocking any access to a transfer FIFO. But please reread this from your quoted KB:
    Secondly, the number of DMA FIFO's that can be used in the FPGA code will be reduced, since the scan engine uses two DMA FIFO's. Most FPGAs have 3 DMA FIFO's, so there will only be one DMA channel left to use in the FPGA code.
    This means, you have only a single DMA FIFO left which is either Target to Host or Host to Target.
    Make sure that you configured the FIFO to be the correct direction for your needs...
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Read-timeout-seconds

    Hi!
    What happens if I set <read-timeout-seconds> to some value
    for a read only bean, according to bea's docs the ejbLoad() is called initially when the EJB is created and afterwards, WebLogic Server calls ejbLoad() only at intervals defined by the read-timeout-seconds. Does this mean that Weblogic always runs ejbLoad() every x seconds or ONLY if some client runs findByPrimaryKey() and the interval has expired?
    Thanks,
    A.

    It's done lazily. When you access the bean, WLS checks if currentTime -
    lastLoadedTime is > read-timeot-seconds. If so, it calls ejbLoad.
    -- Rob
    bnmbn ghjhg wrote:
    Hi!
    What happens if I set <read-timeout-seconds> to some value
    for a read only bean, according to bea's docs the ejbLoad() is called initially when the EJB is created and afterwards, WebLogic Server calls ejbLoad() only at intervals defined by the read-timeout-seconds. Does this mean that Weblogic always runs ejbLoad() every x seconds or ONLY if some client runs findByPrimaryKey() and the interval has expired?
    Thanks,
    A.

  • SerialPort Read Timeout

    Anyone knows how to achieve SerialPort Read Timeout? Or in another way to say it, stop reading from the SerialPort.

    Remove the Serialport listener Maybe !

  • _setProperty weblogic.wsee.transport.read.timeout  in weblogic 8.1

    I need to set the timeout in the client deployed in weblogic 8.1 when making a call to a webservice.
    I have tried the following code:
    ((ManagePrepaidCardRegistrationPort_Stub) managePrepaidCardRegistrationPort)._setProperty("weblogic.wsee.transport.read.timeout","10");
    and get the following error:
    java.lang.UnsupportedOperationException: unknow property:weblogic.wsee.transport.read.timeout
         at weblogic.webservice.core.rpc.StubImpl._setProperty(StubImpl.java:146)
    How do I do set the timeout property in the client deployed on weblogic 8.1 sp4 when making a call to a webservice?
    I would appreciate any pointers?
    Cheers
    Charlie

    Hi,
    WLS 10.3 documentation
    =======================
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webserv_ref/anttasks.html
    <taskdef name="clientgen"
    classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
    once you generate client stubs you can use below options
    The below options are for timeout only for JAX-RPC Webservice clients generated from clientgen:
    import javax.xml.rpc.Stub;
    ((Stub)port)._setProperty(weblogic.wsee.transport.connection.timeout,2);
    ((Stub)port)._setProperty(weblogic.wsee.transport.read.timeoutt,2);
    how are you running your client what are jar files are there in the classpath when running the client
    http://docs.oracle.com/cd/E13222_01/wls/docs103/webserv/client.html#standalone_invoke
    Regards,
    Sunil P

Maybe you are looking for

  • Change cover size in itunes 11

    Is there any posibility to change the cover size in the new iTunes 11 ?

  • Get user login in Javascript

    Dear all, I would like to create a script to build a URL. I would like to add a variable with the user login name. Does anyone know how to do it? Thanks in advance. Gonçalo

  • Netbeans 6.0 web page JavaScrip onClick of a textbox

    I am working in Netbeans 6.0 web page with a textbox named txtUserid and a button named btnSearch. When I make a change to this this textbox (txtUserid), I want the btnSearch button to be disabled. This is what I have: txtUserid, onChange = document.

  • Catalog on Eternal, OK?

    Hi!  I got a new Mac and after two weeks of dealing with question marks and exclamation points, multiple catalogs and folders everywhere...moving and consolidating files, etc., I am happy that I've now got everything neatly into folders and everythin

  • Including packages in package hierarchy

    Hi, What is the purpose of including packages in package hierarchy? How can I define use access for them? what is the use? Please help me out in this. Thanks and regards, Lakshmi Reghuvaran