TCP custom step closes connection after Write operation

I'm working on a project which requires me to send the command 0x02+"TIME"+0x06+"BASIC"+0x03+0x0D+0x0A  (hex values correspond to unprintable ascii) to a server. The server is expected to respond with the date and time. I am using the custom TCP steptype found here:http://sine.ni.com/apps/we/niepd_web_display.​display_epd4?p_guid=B6A6CBB49F7F2CB1E034080020E748​61&p_node=DZ52236&p_source=external
I organized the steps like so: TCPConnect->TCPWrite->TCPRead->TCPDisconnect. The problem is that there is an error after TCPWrite and the process stops, so I am unable to read any data. The error message I get is "Error (No connection established)". The network guys say that it might be an issue with Teststand not setting the socket linger parameter, so the server closes the connection after the write command.
I greatly appreciate any effort to fixing this problem, or providing an alternate solution to sending and receiving information through tcp with Teststand.
-Hieu Huynh

Hi HIeu,
Were you able to get the example that is inlcuded in that zip file
working at all? I would say try that with some sort of standard tcp
connection that doesn't require any special inputs and see if you can
get that to function on your workstation.
Let me know, thanks Hieu.
Dan Weiland

Similar Messages

  • How to correct close database connection after report generation

    Hello
    I have problem a with alive database connection after report creation and report  closing. How to properly to close connection to database?
    Best regards
    Edited by: punkers84 on Jun 17, 2011 10:38 AM

    that's what I am doing... after viewing the report, I call the close method on the window closing event of the container window. but the connection is still open. I had a lot of other issues with my jdbc driver but after downgrading to an older version those issues are resolved.Only this one is still there! Is there any other way to close the connection (like using dbcontroller or etc.)?

  • TS1538 Still not connecting after all these steps were done, what is the solution?

    Still not connecting after all these steps were done, what is the solution?

    Tried a different cable, this cable will now charge the ipod, but will not be recognized by the computer as even being a drive.
    haven't tried a different computer because I really don't want itunes instaled on it.

  • HT1212 My iphone is disabled after entering the wrong passcode.Followed the steps by connecting to itunes on my computer but still not helpful.Instead getting a message saying that i must turn off my icloud on iphone before i can resrore my device.

    My iphone is disabled.Followed the steps in itunes after connecting to my computer but getting a message saying that i must turn off 'find my iphone''  on my device before i can restore it.Impossible for me to do that because i obviously have no access to my device.Can anyone help me with this problem please?

    I think you should call via phone or perhaps take it to a phone store. I suggest taking your id, box packaging and other necessities such as the reciept of the phone being purchased.
    Hope this helped

  • Skype 7.6 (409) Cant connect after sleep/lid-close...

    Skype cannot connect after sleep or after I've closed the lid of the computer. I've tested this out and it sometimes opens up the main skype chat window however I am offline and cannot go online.
    I've tried several methods;
    - deleting $TMPDIR/Skype directory
    - deleting my username folder from ~/Library/Application Support/Skype
    - deleting ~/Library/Application Support/Skype/shared.xml
    - Re-installing skype
    The only solution seems to be restarting my computer so I can relogin with skype. However this is not an acceptable solution.

    I couldn't find the edit button . I've succesfully found the problem causing it. However since I can't debug the skype app I am unable to find a solution as of yet.
    My culprit was vagrant. Everytime I boot up a vagrant instance of a vm (which is whenever I turn on my computer) I get dropped out of skype. I've tested this as far as starting a vagrant during a skype call. The call doesnt drop (it kinda stutters) but I am logged out of skype immediately.
    The things vagrant does are logged here;
    ==> vagrant_instance: Attempting graceful shutdown of VM...
    ==> vagrant_instance: Clearing any previously set forwarded ports...
    ==> vagrant_instance: Clearing any previously set network interfaces...
    ==> vagrant_instance: Preparing network interfaces based on configuration...
    vagrant_instance: Adapter 1: nat
    vagrant_instance: Adapter 2: hostonly
    VAGRANTFILE_API_VERSION = "2"
    ==> vagrant_instance: Forwarding ports...
    vagrant_instance: 8000 => 8001 (adapter 1)
    vagrant_instance: 3306 => 3307 (adapter 1)
    vagrant_instance: 27017 => 27018 (adapter 1)
    vagrant_instance: 6379 => 6380 (adapter 1)
    vagrant_instance: 22 => 2222 (adapter 1)
    ==> vagrant_instance: Booting VM...
    ==> vagrant_instance: Waiting for machine to boot. This may take a few minutes...
    vagrant_instance: SSH address: 127.0.0.1:2222
    vagrant_instance: SSH username: vagrant
    vagrant_instance: SSH auth method: private key
    vagrant_instance: Warning: Connection timeout. Retrying...
    ==> vagrant_instance: Machine booted and ready!
    ==> vagrant_instance: Checking for guest additions in VM...
    ==> vagrant_instance: Configuring and enabling network interfaces...
    ==> vagrant_instance: Exporting NFS shared folders...
    ==> vagrant_instance: Preparing to edit /etc/exports. Administrator privileges will be required...
    ==> vagrant_instance: Mounting NFS shared folders...
    ==> vagrant_instance: Machine already provisioned. Run `vagrant provision` or use the `--provision`
    ==> vagrant_instance: to force provisioning. Provisioners marked to run always will still run.
    I suspect there is a port misalignment, however the ports I've specified should not conflict with skype afaik.

  • TCP Open and Close using NI TCP VI's

    Do I need to close the TCP connections on both ends.  For example, I have a "server" that Listens and then a client that opens the TCP connection.  Do I have to close the TCP connections on both ends.  I'm closing it at the client side but is it also suppose to be closed at the Listening end?

    Guy04 wrote:
    Do I need to close the TCP connections on both ends.  For example, I have a "server" that Listens and then a client that opens the TCP connection.  Do I have to close the TCP connections on both ends.  I'm closing it at the client side but is it also suppose to be closed at the Listening end?
    Whenever you optain a LabVIEW refnum through an Open or similar function you should close it at some point too. A TCP refnum is really sort of a pointer to a local network socket and therefore represents resources in the form of memory and network stack management information. Not closing a connection refnum returned by the listen node may prevent your server to serve new connections after some time, since all internal network ports are blocked or the nework stack runs out of resources.
    So close the connection refnum returned by the Listen function after the server is done serving your client and of course do the same on the client side as you already did. Also if you use Create Listener and Wait on Listener (which allows you to write server applications that can serve multiple connections simultanously) close the Listener refnum too when your server is done. Not doing so may prevent the server to be opened at the same port without restarting LabVIEW or at least your application.
    Rolf Kalbermatter
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • TCP/IP problem: closes on client side, not on server side, can't reconnect!

    Hey folks. I have a Java servlet that establishes a TCP/IP connection (via the Socket class) to a credit card processing company. Sometimes (usually early in the morning), for some reason the servlet starts timing out when using the socket (read timeouts), and the servlet responds by attempting to close() the socket, then re-open. The reopen doesn't work (no route to host).
    The credit card processing company put a sniffer on their end, and they don't see anything when our reads time out or when we subsequently do a close(). Thus, they assume the connection is still established. When we try to open a new connection, our SYN packets do get through to them just fine, but they reply with RST packets because they think the prior connection is still established (thus they reject the new connection attempt)... but for us, that connection had gone dead.
    They recommend we send FIN packets to them etc., i.e. that we do a proper TCP/IP close.... but if the connection suddenly goes dead to us, we can't do that... our close() attempts send absolutely nothing to them (no FIN packets, nothing at all).
    Any ideas? Our servlet runs in Java 1.2 under BEA Weblogic 4.5.1 on an HP/UX box. I'm thinking that, after a long time (hours) with no data transferred, our socket times out somehow on our end only (the card company appears to have no such idle-timeout policy), and thus our read/write/close attempts send nothing to them (because the socket is now invalid), but of course the subsequent open attempt sends SYN's just fine. A search of the "weblogic.properties" file produces no apparent TCP/IP socket idle-timeout values to increase or eliminate.
    Please help if you can... right now, the connection can be down for hours because of this (with many fruitless incidents of our open-attempt SYN's responded to with RST's), and we have to call the credit card processing company to have them reset the port, which allows our next open attempt to work.
    Thanks!

    Strange... You say:
    Thus, they assume the connection is still established. When we try to open a new connection, our SYN packets do get through to them just fine, but they reply with RST packets because they think the prior connection is still established (thus they reject the new connection attempt)... but for us, that connection had gone dead.
    According to me, normal TCP behavior shouldn't behave like that.
    A connection is identified by the two ends. Each end is a pair of <IP><Port>... This pair is likely to be the same all the time on the server, but will change on the client. The first time you issue a connection to the server, you will have a TCP connection identified by <ClientIp><FreeLocalPort1>-<ServerIp><ServerListeningPort>. The second time you connect, another free local port will be used. The previous cannot be reused - either because still in use, or because of a kind of 'grace' period during which this port number cannot be reused (this is to prevent mis-interpretation of packets that might be delayed on the network - connection is in the state TIME_WAIT).
    Therefore, I don't understand why the server replies with RST when your client tries to reconnect.
    Unless it has nothing todo with the TCP layer itself... You will see the same RST packet if the server application itself (not the TCP layer) refuses the connection because of some logic that says 'only one connection per client host'. If the server didn't notice your first connection was dead, it is likely to refuse your second attempt. See what I mean?
    Remember a TCP connection can be half-closed. This means that if your client closes the connection, the server won't be able to send you anything but can still read what you send. In this case, if the server sits waiting for your data, it will never detect the connection lost... This is why most tcp daemons start a timer when reading incoming data. After a predefined period of inactivity, they decide the connection is dead and will close their side of the pipe - the connection is now fully closed.
    Hope it was clear (despites my poor English and the very late hour in the night ;-)
    Can point you to more accurate TCP doc if needed.
    -Bertrand

  • MacBook Pro drops Wi-Fi connection after upgrading to 10.6.5. Fixed!

    MacBook Pro drops Wi-Fi connection after upgrading to 10.6.5. Airport says no IP is detected then suddenly reconnects?
    This has been a problem I’ve been troubleshooting for the last month. I’m new to the Mac family and have loved my experience up until this point. I was under the impression that mac’s are supposed to be so user friendly that even your grandmother could use one with out having any technical knowledge. I mean I shouldn’t have to be deleting drivers or reformat my mac because of an OS update glitch? (That’s what the guy at the Genius Bar told me to do.) What I refused to succumb to was that I’m really good with computers. I get at least a phone call every other week from someone asking me for tech support. So I’d like to think that nothing I’ve done to the system would have caused this anomaly.
    After numerous attempts of troubleshooting and researching forms I believe I’ve discovered a solutions that seems to be working for me.
    Here are the steps I took to create a consistent connection to my Wi-Fi. I believe it was a combination of all these steps to create success.
    1.) Changed my router to use G Wireless Only. (I’m assuming this removed any unnecessary frequencies to allow G to broadcast stronger?)
    2.) Did a scan on the other networks in my area to find out what channel everyone else was broadcasting on. Copy and past the text below into a terminal window.
    sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resourc es/airport /usr/sbin/airport
    This will allow you to simply type “airport” in the terminal window to execute the command.
    Type airport –s
    This will display all the networks in your area and what channel they are broadcasting on.
    3.) Changed my router to use a channel that no one in my area was using. (This helped to make my network stronger and free of interference.)
    The last steps will help your home network improve but these next steps I believe helped fix any install errors caused maybe by the 10.6.5 update on my mac.
    4.) Boot your Mac into safe mode by holding down the shift key while booting.
    5.) Open System Preferences and Click on Network.
    6.) Click the drop down menu from Locations at the top of the screen. Click edit locations..
    7.) Create a new location by clicking the + and give it a new name.
    8.) Delete the old location by clicking on the old locations name and click the – to remove.
    9.) Reboot
    10.) Open System Preference and click on Network.
    11.) Click on the settings sprocket next to the + and – and click on Set Service Order…
    12.) Drag Airport to the top of the list of devices then click Ok.
    Now this last step is what seemed to eliminate the issue. I hardcoded my IP address to my network. This way my computer will always use the same IP and not have to search.
    13.) Click on Advanced under Network.
    14.) Click on TCP/IP. Click on the drop down for Configure IPv4 and change it to Manually.
    15.) Fill out the fields with your IPv4 Address: 192.168.1.1xx (x=whatever number) Subnet Mask: 255.255.255.0 Router: 192.168.1.1 (All of these settings are pretty standard for most home networks.)
    16.) Click on the drop down for Configure IPv6 and change it to Off.
    17.) Next click on the DNS tab at the top.
    18.) Click the + to add a DNS Record.
    To find your DNS Server open a Terminal window by launching Applications --> Utilities --> Terminal
    Then Type cat /etc/resolv.conf
    (There is a space between cat and /. Without it you’ll get no such file or directory.)
    This should return two addresses. Your ISP’s DNS Servers.
    19.) Add both records to the DNS and click Ok.
    20.) Click Ok then under Network Click Ok.
    21.) Reboot router then Mac
    22.) Fixed my connection issue
    The symptoms I experienced eluded me to believe that something with the DHCP is going into an idle then disconnecting. Before when DHCP was set to automatically assign the network signal would time out then searchers for a new IP resulting in Airport displaying No IP is detected. By setting my IP to a fixed address I still notice a slight drop in bandwidth at moments but because of the assigned IP I never loose connection. I can now stream video, play games, chat all without getting disconnected.
    I believe this fix will work for my home network but I also noticed this issue at work so for each location that I connect for the time being I’ll create each there own location and hardcode the IP address to that network. I’ve been reading that 10.6.6 is coming soon so maybe this will be resolved for good in the next update.
    Let me know if this helps or if you have any questions.
    Best of luck.
    Message was edited by: erockdabass
    Message was edited by: erockdabass

    I have been having the same issue for the last two weeks. No real indication as to why it ever began other than I had turned off my router and Airport Extreme Base Station off for a weekend while I was away from my place.
    iPad, iPhone, iPod Touch, all have no issues at all with my Airport Extreme Base Station. Can stay connected throughout my living room, bathroom, bedroom, no issues whatsoever.
    My 5 month old MacBook Pro 2.66 GHz Core i7 Airport is sometimes perfect, able to connect, DHCP, and browse without issue. Then, for no reason, I won't be able to join my wireless network, or when I can join, I can't pick up an IP address. And then it will connect, pick up and IP, and then it won't browse. No real rhyme or reason to when this will happen, or when it works.
    I thought that it was an issue with my MacBook Pro, but then my sister visited with her brand new MacBook Pro 2.26 Intel Core 2 Duo, and while a month ago she was able to connect, DHCP, and browse without issue, this weekend she had all of the same issues I was having.
    My XBOX 360 and MacBook Pro have absolutely no issues with the wired connection. Only my WAN seems to have this issue.
    Did you ever find anything more to this?

  • I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded

    Here is a ticket regarding our current client web application (  Image data add, edit , delete in folder with form data in MSSQL Database) that using code c#, web form, ajax, VS2008, MSSQL Server2008 , it appears that there is an error where the HTTP
    503 error occurs. 
    . Below is a conversation with Host Server support assistant.Can you take a look at it? 
    Ben (support) - Hi 
    Customer - We're having an issue with our windows host 
    Ben (support) - What's the issue? 
    Customer - 503 errors 
    Ben (support) - I am not getting any 503 errors on your site, is there a specific url to duplicate the error? 
    Customer - no, it comes and goes without any change Customer - could you have access to any logs ? 
    Ben (support) - Error logs are only available on Linux shared hosting, however with this error it may be related to you reaching your concurrent connections 
    Ben (support) - You can review more about this at the link \ 
    Customer - probably yes - how can we troubleshoot ? 
    Ben (support) - http://support.godaddy.com/help/article/3206/how-many-visitors-can-view-my-site-at-once 
    Ben (support) - This is something you need to review your code and databases to make sure they are closing the connections in a timely manner 
    Customer - we're low traffic, this is an image DB to show our product details to our customers 
    Customer - ahhhh, so we could have straying sessions ? 
    Ben (support) - Correct Customer - any way you could check if it's the case ? 
    Customer - because it was working previously 
    Ben (support) - We already know that's the case as you stated the 503 errors don't happen all the time if it were issue on the server the the 503 would stay. 
    Customer - so our 2/3 max concurrent users can max out the 200 sessions 
    Customer - correct ? 
    Customer - is there a timeout ? 
    Ben (support) - no that's not a time out concurrent connections are a little different then sessions and or connections. Lets say for an example you have 5 images on your site and 5 7 users come to your site this is not 7 concurrent connections but 35. They
    do close after awhile hence why the 503 error comes and goes. You can have these connections close sooner using code but this is something you have to research using your favorite search engine 
    Customer - thank you so much 
    Customer - I'm surprised that this just started a few weeks ago when we haven't changed anything for months 
    Customer - any changes from your side ? lowering of the value maybe ? 
    Customer - I'm trying to understand what I can report as a significant change 
    Ben (support) - We haven't touched that limit in years 
    Ben (support) - This could just be more users to your site than normal or even more images 
    Customer - I was thinking that could be it indeed 
    Customer - so I need to research how to quickly close connections when not needed 
    Ben (support) - Correctly 
    Ben (support) - correct 
    Customer - thanks !! 
    Ben (support) - Your welcome 
     Analysis : 
     The link provided tells us : All Plesk accounts are limited to 200 simultaneous visitors. 
     From what Ben (support) says and a little extra research, if those aren't visitors but connections then it's quite easy to max out, especially if the connections aren't closed when finished using. I'd suggest forwarding this to Kasem to see what he thinks. 
    Cheers, 
    Customer

    Hi Md,
    Thank you for posting in the MSDN forum.
    >>
    I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded.
    Since
    Visual Studio General Forum which discuss VS IDE issue, I am afraid that you post the issue in an incorrect forum.
    To help you find the correct forum, would you mind letting us know more information about this issue? Which kind of web app you develop using C# language? Is it an ASP.NET Web Application?
    If yes, I suggest you could post the issue directly on
    ASP.NET forum, it would better support your issue.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Failed to open the connection after changing the connection in CMC

    Hi
    Below are our environment details:
    BOXI 3.1 SP3
    Solaris Sparc 10
    Crystal Reports 2008 Sp3
    Weblogic 11g
    Our team is facing the problem as described below:
    We have created Crystal Reports using JDBC connection and it works fine
    in an environment(SIT).
    When we migrate these reports to the another environment(UAT) we get
    the error "Failed to open the connection"
    After migrating we indeed change the connection to Custom Database
    Login Information in CMC.
    So to troubleshoot we installed Crystal Reports in UAT environment and
    had to perform Set DataLocation after which
    the reports starting working fine.
    Now when we are migrating reports to Production we have the same issue.
    We cannot install Crystal Reports on Production this time and hence we
    are stuck.
    Please let us know if any known workaround or solution for the same.
    Thanks
    Kamal
    Edited by: Kamalaksha Shetty on Nov 15, 2011 4:18 AM

    Hi Meenal,
    I am not 100% sure I understood the workaround of having Crystal Designer on the server. Can you connect from UAT designer to production and perform the same operation?
    Check this KBA that describes this problem and a solution:
    https://service.sap.com/sap/support/notes/1445067
    Regards,
    Julian

  • Ethernet Won't Connect after 10.5.6 Upgrade

    After doing the upgrade to 10.5.6 on my MacBook Pro, the ethernet port no longer seems to work. The Network preferences panel claims that the cable for Ethernet is not plugged in when it certainly is and works just fine with other computers (Mac and PC). I know Airport works since that's how I'm connecting to write this.
    Anyone else seen this problem? Anyone have a solution?

    Have you tried rebooting your router?
    There are two major parts to connecting to the Internet using Wi-Fi and DHCP:
    1) Associating with the network
    This is where you connect to your local network, typically by selecting your router's SSID and entering its password. This is the Wi-Fi equivalent of connecting your machine to a router using an Ethernet cable.
    2) Obtaining an IP address (and other network parameters) via DHCP
    This is where your machine asks your local DHCP server for an IP address and if one is available, your DHCP server should provide it (and other network parameters, such as the local netmask, the gateway address for your network, the addresses of your network's DNS servers, etc.)
    When this step fails, computers fall back to what is called a self-assigned IP address. This address, 169.x.x.x, is an IP address systems use when an attempt to obtain an IP address via DHCP fails.
    This is done so that two machines connected to each other without a DHCP server in place will still be able to communicate in an ad-hoc fashion, but they will not be able to connect to other networks (such as the Internet.)
    The question of why DHCP fails is a rather complex one with a variety of possible causes - router issues, DHCP server issues, and so forth. For example, some cable modems are configured to only issue a single IP address - any device other than the first to ask will not be able to obtain one. Still more common is they can only assign a limited number of addresses - say five - a number quite easy to reach if say you have a DVR, a couple iPhones, a computer and a Wii or XBox in the house.
    So the first things to do to try and resolve the issue are the easy ones, and rebooting your router is tops on that list.

  • Need information regarding Solaris kernel Delayed write operation

    Hello Friends,
    I need information regarding the delayed write operation in Solaris.
    Would be thankful if anyone can give me some details.
    Thanks in advance

    1) When you post code, please use[code] and [/code] tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    2) Don't just post a huge pile of code and ask, "How do I make this work?" Ask a specific question, and post just enough code to demonstrate the problem you're having.
    3) Don't just write a huge pile of code and then test it. Write a tiny piece, test it. Then write the piece that will work with or use the first piece. Test that by itself--without the first piece. Then put the two together and test that. Only move on to the next step after the current step produces the correct results. Continue this process until you have a complete, working program.

  • Forced to close RoboHelp after generating SSLs in order to edit content

    I have reported this as a bug, but wonder whether any of you have had similar experiences and, if so, how you resolved it.
    Have to close RoboHelp after generating SSLs in order to edit content
    Steps to reproduce bug:
    Open project from Visual Studio Source Control (Team Foundation Server).
    Select a Single Source Layout and generate the output.
    Try to edit a topic. The Check Out dialog box says "To modify this document, the files in the list below need to be checked out from version control. Do you want to check out these files."
    Click Yes.
    Results:
    The Cannot Complete Operation dialog box appears. "The files in the list below could not be checked out from version control. Exclusive access to these files is required to modify this document."
    Click Close, close RoboHelp, and restart RoboHelp.
    Expected results:
    The files should be checked out from version control with exclusive access when I click Yes to check them out.
    When I look in Source Control Explorer, the file I tried to check out is not even checked out. Even manually locking the file for edit from Source Control does not free the file for editing in RoboHelp.
    Thanks.
    Carol

    ''Keep until: I close Firefox''
    That's what I use for all cookies. If you start a new session every time you start Firefox, i.e., you don't resume the same session over and over, websites cannot track you 'across sessions' using cookies; you are a new person to them during each session (unless/until you log in).
    Note that "Flash cookies" need to be managed separately.
    As for this particular site, if you want to spend some time research it, you could install an add-on such as Firebug or the external Fiddler2 proxy. Both will show you each request made by the browser when you load a page. Then you can see which third party sites are involved and if you like make a specific entry to allow them in the Exceptions dialog.
    * https://addons.mozilla.org/en-US/firefox/addon/firebug/
    * http://www.fiddler2.com/fiddler2/ (more difficult to use for HTTPS sessions)

  • Custom Step Type Execution

    I've made a custom step type which calls a .NET module. In the Properties>>SubSteps tab I added an Edit type which opens a dialog for the user to enter parameters when they edit that step type. Then I added a Post-stpe type which I thought was what gets called when the step is actually executed in a sequence. When I run a sequence that uses one of these types, the edit dialog pops up again, then only after I close the edit dialog does the post-step run. I assume I read something wrong because I thought the edit step type should only get called when one is editing the custom step type in the sequence editor prior to actually running the sequence that uses that step.

    Josh,
       I think the issue is with the Edit step. Before the custom step type ever runs in a sequence the desire is to be able to edit parameters via some custom mechanism. i.e. one of the main reasons for creating a custom step type is to override and customize the parameter enter\select functionality. When a user adds a step, usually the next thing he or she does is immediately right click and select to edit it and enter parameters. When one of these custom steps is added and you try to 'edit' it, here is where the problems start. If, as you say, the .NET object will not get instantiated until the sequence is actually run, you will never be able to access it and call its functions at edit time. I guess that's why all the examples I've seen use calls to C\C++ style dlls so no objects are involved.
       Clearly the problem stems from my misunderstanding of when a .NET object can and\or will be created in custom steps in Test Stand. It just seemed logical to me that one should be able to force creation of an object in a pre-step but I now know that isn't true. However, there has to be some step or event (possibly when the Test Stand environment loads for example) in which I can create any .NET objects I want to use in custom steps. Maybe I'll look into that. If it turns out to be too much trouble to do so, I will stick to doing things via direct C\C++ dll function calls. Most of our .NET modules are just wrappers of multiple C\C++ dlls anyways. If you have any more info or I'm mistaken in my thinking please let me know. Thanks again.

  • DP Process in abended state with WARNING OGG-01223  TCP/IP error 111 (Connection refused).

    Hi,
    I've configured ogg between primary & DR server. I'm continuously getting the following error in my primary server for DP process & sometimes for EXTRACT process after which process goes in abended state.
    WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    After starting the process manually, it comes in Running state. But this is frequent issue I'm facing for OGG configuration at my end.
    Please find the parameter details & report log details as follows:
    Primary Server Parameters:
    GGSCI (sevadm) 40> view params dpatm
    extract dpatm
    userid ggs_owner,password ggs_owner
    discardfile /home/oracle/ogg/dirdat/discard/dpatm_discard.txt,append,megabytes 1
    0
    rmthost 10.10.250.198 ,mgrport 7809,tcpbufsize 100000
    rmttrail /home/oracle/ogg/dirdat/rt
    passthru
    sequence atmswitch.*;
    table atmswitch.*;
    GGSCI (sevadm) 51> view params mgr
    port 7809
    dynamicportlist 7810-7830,7833,7835
    DYNAMICPORTREASSIGNDELAY 5
    --autorestart extract extatm,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract extcbs,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dpatm,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dpcbs,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drrepatm,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drrepcbs,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract extaml,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract extrm,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract extinb,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dpaml,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dprm,retries 500,waitminutes 1,resetminutes 600
    --autorestart extract dpinb,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drrepaml,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drreprm,retries 500,waitminutes 1,resetminutes 600
    --autorestart replicat drrepinb,retries 500,waitminutes 1,resetminutes 600
    userid ggs_owner,password ggs_owner
    purgeoldextracts /home/oracle/ogg/dirdat/*,usecheckpoints,minkeepdays 5
    GGSCI (sevadm) 52> view params extatm
    extract extatm
    userid ggs_owner,password ggs_owner
    reportcount every 2 hours,rate
    report at 01:00
    reportrollover at 01:15
    tranlogoptions asmuser sys@asm,asmpassword asmdba
    grouptransops 2000
    discardfile /home/oracle/ogg/dirdat/discard/extatm_discard.txt,append,megabytes
    10
    discardrollover at 02:00 on sunday
    exttrail /home/oracle/ogg/dirdat/lt
    ddl include all
    ddloptions addtrandata retryop retrydelay 20 maxretries 20,report
    sequence atmswitch.*;
    table atmswitch.*;
    Report log file for DP Process:
    GGSCI (sevadm) 39> view report dpatm
                     Oracle GoldenGate Capture for Oracle
        Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
       Linux, x64, 64bit (optimized), Oracle 10g on Apr 23 2012 07:44:10
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2015-03-19 16:54:56
    Operating System Version:
    Linux
    Version #1 SMP Tue Mar 16 21:52:39 EDT 2010, Release 2.6.18-194.el5
    Node: sevadm
    Machine: x86_64
                             soft limit   hard limit
    Address Space Size   :    unlimited    unlimited
    Heap Size            :    unlimited    unlimited
    File Size            :    unlimited    unlimited
    CPU Time             :    unlimited    unlimited
    Process id: 13260
    Description:
    **            Running with the following parameters                  **
    2015-03-19 16:54:56  INFO    OGG-03035  Operating system character set identifie
    d as UTF-8. Locale: en_US, LC_ALL:.
    extract dpatm
    userid ggs_owner,password *********
    2015-03-19 16:54:56  INFO    OGG-03500  WARNING: NLS_LANG environment variable d
    oes not match database character set, or not set. Using database character set v
    alue of WE8ISO8859P1.
    discardfile /home/oracle/ogg/dirdat/discard/dpatm_discard.txt,append,megabytes 1
    0
    rmthost 10.10.250.198 ,mgrport 7809,tcpbufsize 100000
    rmttrail /home/oracle/ogg/dirdat/rt
    passthru
    sequence atmswitch.*;
    table atmswitch.*;
    2015-03-19 16:54:56  INFO    OGG-01815  Virtual Memory Facilities for: COM
        anon alloc: mmap(MAP_ANON)  anon free: munmap
        file alloc: mmap(MAP_SHARED)  file free: munmap
        target directories:
        /home/oracle/ogg/dirtmp.
    CACHEMGR virtual memory values (may have been adjusted)
    CACHESIZE:                               64G
    CACHEPAGEOUTSIZE (normal):                8M
    PROCESS VM AVAIL FROM OS (min):         128G
    CACHESIZEMAX (strict force to disk):     96G
    Database Version:
    Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Database Language and Character Set:
    NLS_LANG         = ".WE8ISO8859P1"
    NLS_LANGUAGE     = "AMERICAN"
    NLS_TERRITORY    = "AMERICA"
    NLS_CHARACTERSET = "WE8ISO8859P1"
    2015-03-19 16:55:26  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:56:08  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:56:49  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:57:30  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:58:11  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:58:52  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 16:59:33  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 17:00:14  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 17:00:55  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 17:01:36  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2015-03-19 17:02:17  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    Source Context :
      SourceModule            : [er.extrout]
      SourceID                : [/scratch/aime1/adestore/views/aime1_adc4150256/oggc
    ore/OpenSys/src/app/er/extrout.c]
      SourceFunction          : [tcp_send_data]
      SourceLine              : [1352]
      ThreadBacktrace         : [9] elements
                              : [/home/oracle/ogg/libgglog.so(CMessageContext::AddTh
    readContext()+0x1e) [0x2ba1dd1587de]]
                              : [/home/oracle/ogg/libgglog.so(CMessageFactory::Creat
    eMessage(CSourceContext*, unsigned int, ...)+0x2cc) [0x2ba1dd154c7c]]
                              : [/home/oracle/ogg/libgglog.so(_MSG_ERR_TCP_GENERIC(C
    SourceContext*, char const*, CMessageFactory::MessageDisposition)+0x31) [0x2ba1d
    d139daf]]
                              : [/home/oracle/ogg/extract(tcp_send_data(extract_def*
    )+0x2b3) [0x5116e1]]
                              : [/home/oracle/ogg/extract(flush_tcp(extract_def*, in
    t)+0x15c) [0x512350]]
                              : [/home/oracle/ogg/extract(RECOVERY_initialize()+0x37
    1) [0x5239a1]]
                              : [/home/oracle/ogg/extract(main+0x4a5) [0x56b335]]
                              : [/lib64/libc.so.6(__libc_start_main+0xf4) [0x333621d
    994]]
                              : [/home/oracle/ogg/extract(__gxx_personality_v0+0x382
    ) [0x4e754a]]
    2015-03-19 17:02:58  ERROR   OGG-01224  TCP/IP error 111 (Connection refused); r
    etries exceeded.
    2015-03-19 17:02:58  ERROR   OGG-01668  PROCESS ABENDING.
    Please guide me on this.
    Regards,
    Simon P

    - check your remote host server is up and running.
    - check mgr process is up and running on target site.
    - try this and see if network connection is OK..
    telnet 10.10.250.198 7809
    - try to copy a file (scp) from source to target (take a dummy file; size bigger than tcpbufsize)
    - check ggserr.log file on target; you might see if there are any issues with server/collector port allocation/timeout.
    hope this helps...
    Thanks.

Maybe you are looking for

  • How to properly execute script on shutdown using systemd

    Hello, I am trying to execute a simple script to update my freedns.afraid.org DNS record on each machine shutdown. Could somebody please provide me a complete step by step example on how to achieve this? There are many posts, but none work, directory

  • I want to uninstall firefox 4!

    I want to uninstall Firefox 4! HOW DO I UNINSTALL FIREFOX 4?? I HAVE THE OLDER VERSION AND I LIKE IT BETTER.

  • Timestamp with price data in BPS and CPM

    Hi Guys,    I am working on a price determining project, the requirment is to build a cockpit(couple of screens), the screen will looks like BPS layout, One of the data column will be the actual price for steel,the rest of the columns will be caculat

  • Laad geen websites: Kan geen verbinding maken..

    sinds deze week heb ik firefox geinstalleerd , om een tweede internet browsers te hebben. sinds vandaag kan ik er niet meer op.. krijg steeds dezelfde foutmelding en heb al alles geprobeerd wat jullie aanraden en niets helpt .. Firefox kan geen verbi

  • WebCenter integration with BPELWorklist  Portlet

    Hi We have a requirment in which we need to display the BPEL Worklist exposed as a portlet in a WebCenter page. We are able to display the worklist data , however when I click a particular task id , the page simply refreshes instead of opening the BP