TCP/IP connection in UDF Timeout

Hi Guys,
Can someone please tell me if there's some way to trace this. I'm doing a TCP/IP connection to an external server from our PI Dev system in a UDF. I've designed this code in an external java tool and everything works fine. I can send the message over the protocol and I get a response back but if I test the UDF in my MM it times out and kicks me off the network. I've asked the firewall guys to have a look but all they they there's no scanning on this rule and nothing's being blocked. I need to find out how come I can't get a connection to this IP and Port. Any idea? Also would I be able to run a tracert command in R/3 itself?
Thanks,
Jan
Edited by: Jan de Lange on Oct 19, 2011 9:54 AM

Hi,
I've tested my code in my 3G which gets a connection and send/receive data. However if I deploy it on PI It times out after a while. At  s.connect(serverAddress, 30000); it can't get a connection to the host. There's no error message, just times out. I'll see what I can come up with working with the network people. They just HAVE to do a trace on it.
try
            System.out.println("Creating Socket: " + ip + ":" + port);
            //Create Socket Address
            SocketAddress serverAddress = new InetSocketAddress(ip, Integer.parseInt(port));
            s = new Socket();
            //Set Keep Alive Parameter
               s.setKeepAlive(true);
               //Set Read/Write Timout
               s.setSoTimeout(20000);
               //Open Connection with Address + Process Timout
            s.connect(serverAddress, 30000);
            System.out.println("Socket Created: " + s);
        catch(UnknownHostException uhe)
            // Host unreachable
            System.out.println("Unknown Host :" + ip);
               errorTrace+=(";Unknown Host :" + ip);
            s = null;

Similar Messages

  • ASA TCP Idle Connection Timeout Suspense

    Hello I upgraded our Cisco ASA 5520 with a Cisco ASA 5585. Though both ASA were configured with default TCP Idle Connection Timeout values people are now starting to complaint that idle SSH connections are being terminated. This is proper behavior but they were claiming it didn't occur with the old firewall. Our users are setting keepalives for 1800 seconds to get around this before I can bump the setting to infinite (setting 0). Is there a bug with the feature in older ASA OS?

    Hi,
    Before looking for a bug I would check the ASA logs (hopefully you are storing them to a separate Syslog server) and see why the connections are torn down (Teardown reason) and how long have they been on the ASAs connection table before they were torn down.
    You also have the option to perform traffic capture on the ASA for the traffic in question and confirm why or which party terminates the connection.
    I guess you can use the MPF on the ASA to configure separate idle timeouts for just these SSH Connections if you do not want to touch the global timeout values.
    I have not run into any problems with the timeout settings on the older softwares. In the newer softwares (8.3+) I have run into these problems. In those situation the ASA has not removed the connection that have reached the timeout value. I have seen connection that have been idle for over 1000h.
    - Jouni

  • The TCP/IP connection does not closed after a VISA close

    I am using the VISA functions to communicate with a Sorenson SGA power supply from a Windows XP computer.  I have the VISA TCPIP Resource defined in MAX and use this alias name in the VISAResourceName for the input to the VISA Open.  Then I write a SCPI command, such as *IDN?, and read the repsonse.  Then I close the VISA session.  When I look at the TCP statistics using the netstat -n command, I get the following response:
    Proto           Local Address                 Foreign Address    State
    TCP            10.10.10.9:3881              10.10.10.1:111       TIME_WAIT
    TCP            10.10.10.9:3882              10.10.10.1:111       TIME_WAIT
    If I query the ID again, I get 2 more TCP connections with different local ports numbers.  Every time I perform the query, I get 2 more TCP port connections at different local ports.  It takes about 1 minute for the TIME_WAIT's to time out.  If I query the Sorenson enough, I can fill up my allowable local port connections.
    1)  Why doesn't the TCP connections go away after the VISA Close?
    2) Should I be opening and closing the VISA session every time I want to talk to the Sorenson?
    3) What does the VISAResourceName control or constant actual do to resolve the alias into a IP?
    This Sorenson power supply does not seem to be very quick to repsond to TCP requests.  If I set the timeout on the VISA Open to anything less the 100ms, I cannot get a session open every time.  It will fail about 50% of the time.
    Has anyone had experince talking to the Sorenson power Supplies using VISA TCPIP?
    Thanks,
    Julia

    Hi Julia,
    Let me try answering your questions here.
    1) I'm actually currently looking into this to see if this is expected behavior, and I'll definitely post back to let you know what I find.
    2) You do not need to close a VISA session everytime you want to communicate with the device, you can leave the same session open and keep using that session, instead closing it out at the end.
    3) The VISA aliases and what they correspond to are stored in a visaconf.ini file. There is more information about this file and where it is located on your hard disk in this KnowledgeBase article here. This visaconf.ini file is checked to see what the actual resources being looked up are.
    Let me know if I answered your questions, I will write back with more information on question 1.
    Rasheel

  • Java.sql.SQLException: The TCP/IP connection to the host  has failed.

    Hello. I hope you had a happy new year! Now its back to work.
    I am having a problem connecting to a remote SQL Server DB. I am using NetBeans 5.5 and the latest J2EE. I am able to see the tables in the IDE and bind objects to data. But when I run it it gets this:
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: no further information
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:100)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:344)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:126)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:968)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1428)
    I checked the SQL Server Configuration manager on that machine and TCP/IP connections are allowed. What else could be wrong?
    Thank You.

    "Connection refused" means that the client sends a packet saying "I would like to connect to port number NNNN please" to the server computer, and the server computer's OS sends the reply "there is no process listening to that port on the network interface you are using".
    The database server is not running, or running but not listening to TCP/IP connections, or at a different port from what you think, or listening to only selected network interfaces (it is possible for a process to listen to a specific interface or a wildcard for all interfaces). A less likely scenario is that a firewall is sending the "connection refused" message.
    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port. You need to configure the database to accept TCP connections; the server documentation or google should explain how.
    - Try "telnet server-host-name the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try telnet with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • Error in SM59 TCP/IP connection after kernel upgrade to 215..

    Hi
    We recently upgraded our kernel to patch 215(NW 7.0)..
    We built the kernel by first taking the entire kernel stack( level 201) and then  patched it with dw, enserver, lib_dbsl, tp, r3trans, r3inlpgm, saposcol with level = 215 except for lib_dbsl, which is 214 and enserver which is 207...
    After the upgrade to this new level, we have a SM59 TCP/IP connection which calls an RPG program located in /qsys.lib/..(start on application server radio option), which has stopped working...
    Now this RFC doesn't work anymore...
    When we test it, it shows us the following:
    Logon     Cancel
    Error Details     timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host sapdev.ny..... / sapgw00
    Error Details     DETAIL: no connect of TP /qsys.lib/rtcimo.lib/RFC000.pgm from host sapdev.ny.....
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 1537
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 6255
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Tue Aug 18 23:09:46 2009
    Error Details     VERSION: 2
    We have another system in which tp is at patch 169 and it works fine...
    Looks like something changed with the kernel/tp patch...
    doesn't show anything in the sm21 log..in the work process log for dev_rd..
    MtxInit: -2 0 0                                                                               
    Mon Aug 17 16:00:47 2009                                                                               
    GwDpInit: attached to gw_adm at 70000008059bae0                                                                               
    DpSetProcessPriority: Run priority for gwrd adjusted to 12                                                                    
    Tue Aug 18 14:35:09 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >%%SAPGUI%%<, TP: >saphttp< [gwr3cpic.c   6212]                           
    ERROR => GwISearchPartner: HOST: %%SAPGUI%%, conv ID: 22575469 [gwr3cpic.c   6225]                                        
    Tue Aug 18 17:25:25 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    ERROR => GwISearchPartner: HOST: sapdev.ny....., conv ID: 32824524 [gwr3cpic.c   6225]                               
    Tue Aug 18 17:29:30 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    ERROR => GwISearchPartner: HOST: sapdev.ny......, conv ID: 33074744 [gwr3cpic.c   6225]                               
    Tue Aug 18 17:40:29 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    ERROR => GwISearchPartner: HOST: sapdev.ny......,  conv ID: 33722803 [gwr3cpic.c   6225]                               
    Tue Aug 18 22:52:39 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    Tue Aug 18 22:52:40 2009                                                                               
    ERROR => GwISearchPartner: HOST: sapdev.ny......, , conv ID: 52504488 [gwr3cpic.c   6225]                               
    Tue Aug 18 23:09:46 2009                                                                               
    ERROR => GwISearchPartner: timeout, partner LU: >sapdev<, TP: >/qsys.lib/rtcimo.lib/RFC000.pgm< [gwr3cpic.c   6212]       
    ERROR => GwISearchPartner: HOST: sapdev.ny......, , conv ID: 53534925 [gwr3cpic.c   6225]                                                                               
    Has anyone seen anything like this??
    Please let us know..
    Thanks
    sap ques...
    Edited by: sap ques on Aug 19, 2009 5:23 AM
    Edited by: sap ques on Aug 19, 2009 5:25 AM

    This error may be due to kernel patch level. You can try some other patch level. If you can raise an OSS message with SAP, they can tell you exactly which Kernel patch will solve your problem.

  • TCP/IP connection in a loop

    Dear Friends,
    I am trying to make my computer with labview to communicate with another computer running VB.net application. I am basically trying to set up a TCP/IP listener. I want the VI to continuously run and send the values based on a command button. While debiggin the VB application in another computer I see that the data is sent only the first time and after that the application does not recieve any data. I am attaching the VI herewith:
    Test.VI: It is the main VI
    String.VI: Based on the button status I will feed different strings to the TCP connection.
    I would appreciate if anyone can help me in figuring out why the connection sends data only once.
    Thanks
    Sankar 
    Attachments:
    test.vi ‏28 KB
    string.vi ‏13 KB

    I would have to say that your problem is probably on the VB side of the equation. I don't see any "smoking gun" in your LabVIEW vi.
    Take a look at your TCP read function to see what is going on.
    How long are your timeouts set for on the VB side and how long does it take for the VB code to get back to waiting for the TCP Read?
    How about your TCP socket connection ID on the VB side. After your read, are you possibly closing the socket or loosing the reference to it?
    Does your TCP Read function return any errors? (Timeout, could not create listener, etc...) 
    Another possiblity is that your VB TCP function is looking for some form of termination character that it is not finding (CRLF?). The LabVIEW TCP Read function allows this mode of operation but it is not the default, I am not sure about VB. 
    Based on my experience with TCP, these are the things I would look at first.
    I have found that the concept of TCP is fairly straight forward, however the proper and reliable management of connections is not quite as easy.
    As an intermediate step, you could develop both sides of the communication in LabVIEW and stay in that mode until you are confident that you have all of the issues with sequencing, formatting, timing, etc... worked out. Once that is done, convert your TCP reader into VB code.

  • The TCP/IP connection was unexpectedly terminated by the server (NNTP)

    I had a prior thread on this topic which was apparently closed to further posts:
    http://homecommunity.cisco.com/t5/Wireless-Routers/The-TCP-IP-connection-was-unexpectedly-terminated...
    so I'm opening this new thread. The problem was never solved and I could not deal with the help being offered here previously.
    The problem is...
    My connection to a NNTP news service which I use very frequently is reset every 10 minutes so that I get the message: The TCP/IP connection was unexpectedly terminated by the server.
    I have been getting this error at least a dozen times per day for more than a year. So it has become a major annoyance and I want to fix it if possible. I wonder if there's any new insight available? I'm not a rank beginner but am far from being a router expert. I do not understand many of the router settings.
    Here's a more detailed description of the problem...
    After getting the error, I must then click on something else in my email client (Outlook Express) then return to click on a newsgroup under that news service, whereupon it reestablishes a valid connection for another 10 minutes. If I am active and click on various messages to read them in the newsgroup, the 10 minute timeout does not happen. It's only when I have left the connection idle without activity for 10 minutes that it times out.
    This is a news server which requires an authenticated login with username and password. The same problem happens at a different news server which also requires an authenticated login with username and password. So it is not a problem unique to just one news service. It affects all news services which have an authenticated login requirement. An example news service with a sample newsgroup which has this type of problem is
    news:\\news.eternal-september.org\alt.free.newsservers
    It's free but you must register at http://eternal-september.org/ to use this news service.
    It does not happen at open news services without any login requirements. So it is definitely related to the login requirement.
    Perhaps most importantly, it does not happen if I remove the Linksys E2000 router from the circuit and connect my DSL modem directly to computer. So it is definitely a router-related problem causing this inactivity timeout every 10 minutes.
    Windows XP Home SP3
    Outlook Express 6
    Zone Alarm 6.1.744.001
    Linksys E2000 router
    firmware 1.0.04 build 7
    software 1.3.11006.1
    connection type (WAN) DHCP
    mostly the default settings used

    [It is very frustrating to try to work with this board because of the short timeout invoked when editing a message! The following is what I intended to post after a bit of reflection...]
    I researched this a bit and bridge mode is available via a setting in my Speedstream 4100 modem, so I don't have to call my ISP. But I'll need to research the consequences a bit more and record some variables to make sure I can get back to my current configuration. There are 3 available settings (radio buttons) in my modem...
    PPP Location
    WARNING
    Changing these settings may interfere with your ability to connect to the Internet.
    *  PPP is on the modem. This is the normal mode for this modem when connected to a single computer. In this mode, the PPP session is initiated from the modem. Gateways and routers should work in this mode but their configuration may have to be changed to do so (e.g., you may need to have the gateway/router IP address changed to 192.168.1.1).
    *  PPP is on the computer. This mode is normally used if you need to run a PPPoE client on your PC. This mode can be used with a gateway or router which initiates a PPPoE session. To return to the DSL modem user interface you will need to directly connect your PC to the modem without any gateway or router between the modem and the PC.
    *  Bridged Mode (PPPoE is not used). This mode must be used if you are connecting to a non-PPPoE network. Selecting this mode will cause the modem to automatically restart.

  • EBP/CCM XI Catalog scenario; TCP RFC connection EBP to XI doesn't work

    Hello All,
    i have configured EBP/CCM <> XI Catalog scenario and when i try to execute the test connection for both TCP RFC connections "INTEGRATION_SERVER_<SID>, PLAIN_HTTP_ADAPTER_<SID>" I receive following "ICM_HTTP_CONNECTION_FAILED".
    Does anybody know the problem? How can I solve this issue?
    Many thanks in advance!
    Regards,
    Jochen

    Hi Chirag Gohil,
    first of all many thanks for quick support (also to all!)
    I have added the values as notice at your attached weblog
    RZ10 (reboot done):
    icm/server_port_0   PROT=HTTP,PORT=8005,TIMEOUT=30,PROCTIMEOUT=600
    SXMB_ADM:
    RUNTIME   HTTP_TIMEOUT   10000
    but no positive result. The same situation as before!
    One additonal helpfull information:
    I tryed to execute the respective TCP RFC connection at IE Browser an it works fine!
    Targethost: <hostname>
    Path Prefix: /sap/xi/engine?type=entry
    ServiceNo.: 8005
    Logon:
    Language: EN
    Client: 010
    User: <user>
    URL at Browser:
    http://<hostname>:8005/sap/xi/engine?type=entry
    Login with user works fine
    XML wegside appeard with comment: "EMPTY_HTTP_REQUEST_RECEIVED"
    I think this shows that generall connection works fine!
    But why doesn't work the TCP RFC connection?
    Many thanks in advance!
    Regards,
    Jochen

  • TCP Open Connection and Error Code 1

    So, I have a client that is supposed to continuously try to connect to a server using TCP Open Connection.vi. When the connection is established, the loop is supposed to exit.
    psuedocode for the loop I have is as follows (similar code, LV 7.1, exhibiting the same problem is attached)
    while (error)
      attempt to open connection
    Pretty simple, right?
    I've had no issues with servers written in LabVIEW, but when attempting to integrate with a server that was written in C, it appeared that the client created multiple connections. I have been able to reproduce this problem by writing a server with Java. The C server was on a remote machine, the Java server on a local. Both see different numbers of additional connections (3 for C, 2 for Java).
    Looking at the error codes, I am getting a bunch of code 56 (timeout, expected) and the ocassional code 1 (unexpected). I have noticed that whenever I have this multiple connection problem, I show an error code 1 right before the valid connection attempt and loop exit. Is there someway that a connection is being established (or partially established), but labVIEW is still returning an error? Is there a better way to verify that a TCP connection was actually successful?
    Here is example output from the attached code, it shows the error codes generated
    56
    56
    56
    1
    56
    56
    56
    56
    56
    56
    56
    1
    56
    56
    56
    56
    56
    56
    56
    1
    Here is output from my Java code
    [2006-05-24 15:43:23.556] - Begin Listening for Connection Attempts
    [2006-05-24 15:43:23.587] - Accepting Connection
    [2006-05-24 15:43:23.603] - Begin Listening for Connection Attempts
    [2006-05-24 15:43:23.603] - Accepting Connection
    Running ServerNIOConnection Thread
    [2006-05-24 15:43:23.603] - Begin Listening for Connection Attempts
    Running ServerNIOConnection Thread
    Thanks,
    Martin
    Message Edited by mmathis2000 on 05-24-2006 05:50 PM
    Attachments:
    Sample Client.vi ‏21 KB

    Hello,
    I’m a little curious why you are setting up your client like
    this.  If it is your objective to just
    have the client wait until a connection is made, why not just have the TCP
    connect VI have timeout value of ‘-1’ meaning “do not timeout”.  This will allow the built-in TCP event
    structure to listen for connections and ‘wake up’ your program when a
    connection is established.  I say this,
    because the error messages seem to be dependant on the timeout values.  For example, wire in 1ms to the timeout and
    see how the messages differ in timeouts as opposed to wiring in “2000” for the
    timeout value.  This is because the
    Connect VI attempts a connection and waits only the specified timeout before
    abandoning that attempt and continuing with another attempt.  I’m betting in your case connecting to the
    server takes longer than your timeout value, so the connection is initiated by
    your LV client, the handshaking takes place, your server indicates that a
    connection is being made, and sometime during this process your timeout expires
    and LV tries the process again thus you see the multiple connections.  Go ahead and try this as an experiment – take
    your VI, and instead of using ‘localhost’ use the IP address of your favorite
    website and change the remote port to port 80. 
    Change the timeout to -1 and wait for the connection, then change the timeout
    to 1 and see all the timeout errors given.
    Hopefully this answers your question, please let me know if
    you have any additional questions or if this is inaccurate/unclear.
    Travis M
    LabVIEW R&D
    National Instruments

  • ES2: The TCP/IP connection to the host has failed

    A very simple error message appears against a stalled livecycle process which runs upon a flex form submission. You'd think that the connection to the server was lost.This custom process ("completion") is attempting to write out to the backend database at that time.
    However,the "read" process to prepopulate the form already correctly uses the same JNDI connection. And that works. Every time.
    The solution was to go into the "completion" process and move around the individual nodes, re-save and deploy again
    Why is this - seems to be more problems in ES2 than we bargained for perhaps.

    "Connection refused" means that the client sends a packet saying "I would like to connect to port number NNNN please" to the server computer, and the server computer's OS sends the reply "there is no process listening to that port on the network interface you are using".
    The database server is not running, or running but not listening to TCP/IP connections, or at a different port from what you think, or listening to only selected network interfaces (it is possible for a process to listen to a specific interface or a wildcard for all interfaces). A less likely scenario is that a firewall is sending the "connection refused" message.
    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port. You need to configure the database to accept TCP connections; the server documentation or google should explain how.
    - Try "telnet server-host-name the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try telnet with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • Setting up a VISA for a TCP/IP connection

    I am trying to write a program in LabVIEW that will allow me to take data from my LeCroy Wavejet 354 and display it in a LabVIEW interface.  I have installed LeCroy's VICP passport.  I have no problems pinging the device so I know my ethernet connection to the computer is good.  It is not clear as to how I can use VISA to establish the desired connection for TCP/IP connections. In MAX, the remote systems function doesn't detect the o-scope's IP address.  I also tried creating a new device under devices and interfaces in MAX and after "create new" it gave me no option to create anything.   Do you have an example VI that can help me see how VISA can be used to establish this connection or know of some other way I could get this to work?  Thanks for the help.
    Solved!
    Go to Solution.

    Hi BYULab,
    Alan from LeCroy Tech Support here...    Unfortunately, the "Accepted Solution" isn't correct.
    When using the VICP Passport, you cannot create a TCP/IP resource in MAX for the scope. You can create an alias in MAX via the VISA Options... but it isn't necessary at all.   In fact, you don't need to do *anything* in MAX to connect to the scope.
    To connect to the scope, simply enter into the VISA Resource control the following string:  VICP::<ip address> (example: VICP::100.100.100.1)
    I've attached a screenshot...
    Best Regards,
    Alan
    Alan Blankman, Technical Product Marketing Manager and LabVIEW Developer
    LeCroy Corporation
    800-553-2769 x 4412
    http://www.lecroy.com
    [email protected]
    Attachments:
    WaveJet VICP control.JPG ‏94 KB

  • Report (release 6.0.8.15.0) failure on tcp/ip connection to personal oracle 8.1.5

    hi,how can i resolve this problem?
    i use personal oracle with a tcp/ip connection and if i run a
    report(developed with report builder oracle) i receive a
    compiler error .if i run this same form on the server,the form
    has no problem.
    the only different is a client's call with tns (the listner is
    start up)
    thank and sorry for my bad english

    Hi, how are you?
    I read your file. On my computer, I got the same problem. First I installed Personal Oracle 8.15 version under window 98. The oracle home is e:\orale\ora81. Then I installed Form 8i in the orale home e:\oracle\ora. After installation, there are two SQLPLUS. One is under ora81 and another is ora. The one which is in e:\oracle\ora81 is working and it can bring up the database. Another one and Forms don't work. They can not connect to the local database. It means my client which is under e:\oracle\ora can't connect to my server which is under e:\oracle\ora81. I think I shoud set up the connection in tnsnames.ora by using Net8 Easy Config. I did it. It failed. Can you help me?
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by harry dhillon ([email protected]):
    No, you shouldn't have to to.
    If you have Personal Oraacle 8 running properly on your PC, then you can just connect to the database from Developer V6 using your normal username/password. For example, if you log on to SQLPLUS as scott/tiger, then the same will work for your forms and reports. You don't even need to enter a connect string. I have it working OK on a Windows '98 PC, with Personal Oracle 8i, and Forms v6i.<HR></BLOCKQUOTE>
    null

  • RFC connection results in "Timeout during connection setup"

    Hello Guys,
    The RFC ABAP connection to the Solution Manager encounters connection error: "/ CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242#Timeout during connection setup."
    The Solution Manager has following details:
    SAP Solution Manager (700 15)
    ORACLE 10.2.0.2.0
    HP-UX
    The R/3 QAS Customer 1 system has following details:
    SAP R/3 Enterprise (620 54)
    ORACLE 9.2.0.8.0
    HP-UX
    The R/3 QAS Customer 2 system has following details:
    SAP R/3 Enterprise (620 59)
    ORACLE 9.2.0.8.0
    HP-UX
    The RFC ABAP connection from <SID Solution Manager> -> <SID R/3 QAS Customer 1> is working correctly.
    The RFC ABAP connection from <SID R/3 QAS Customer 2> -> <SID Solution Manager> is working correctly.
    The RFC ABAP connection from <SID R/3 QAS Customer 1> -> <SID Solution Manager> encounters connection error:
    ERROR                timeout during allocate                       
    LOCATION             SAP-Gateway on host hemisrq.services.retail.tc.services.retail.tc / sapgw01
    DETAIL               no connect of TP sapdp02 from host conssmp.servom host <host name Solution Manager> after 22
    COMPONENT            SAP-Gateway                                   
    COUNTER              1152                                          
    MODULE               gwr3cpic.c                                    
    LINE                 1820                                          
    RETURN CODE          242                                           
    SUBRC                    0                                         
    RELEASE              640                                           
    TIME                 Thu Jun  5 10:55:15 2008                      
    VERSION              2                                             
    Here's the dev_rfc0 log file
    Trace file opened at 20080605 101956 METDST SAP-REL 640,0,235 RFC-VER 3 985555
    ======> CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242                               
    Timeout during connection setup. Please check partner availability                
    ABAP Programm: RSRFCPIN (Transaction: SM59)                                       
    Called function module: RFC_PING                                                  
    User: SAPBEHEER (Client: 000)                                                     
    Destination: <SID Solution Manager>CLNT010 (handle: 2, , {4846C6DC-14A2-0F1F-E100-0000AC1B29D8})     
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 2277                                   
    CPIC-CALL: 'ThSAPCMINIT' : cmRc=27 thRc=242                                       
    Timeout during connection setup. Please check partner availability                
    HOST =<host name Solution Manager>                                                  
    SERV =sapdp02                                                                     
    Checked the error code 242 "GW_TIMEOUT" and found:
    Connection setup to the remote gateway has been closed because timeout has been exceeded.
    The time limit can be set in parameter gw/timeout.
    Changed parameter gw/timeout to value 10000, but still encounter same error message.
    From OS level <SID R/3 QAS Customer 1> i can ping the <host name Solution Manager>.
    fvb1:/home/stampg$>ping <host name Solution Manager>
    PING <host name Solution Manager>: 64 byte packets
    64 bytes from 172.27.68.239: icmp_seq=0. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=1. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=2. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=3. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=4. time=1. ms
    64 bytes from 172.27.68.239: icmp_seq=5. time=1. ms
    conssmp.services.retail.tc PING Statistics----
    6 packets transmitted, 6 packets received, 0% packet loss
    round-trip (ms)  min/avg/max = 1/1/1
    Any suggestions where to look ?
    Regards,
    Gidion

    Hello Gidion,
    can you please verify the hostnames/FQDN's? Because:
    LOCATION SAP-Gateway on host hemisrq.services.retail.tc.services.retail.tc / sapgw01
    host hemisrq.services.retail.tc.services.retail.tc
    It seems to me that somewhere the domain is double used.
    Additionally:
    Sometime there is sapgw 01, sometime sapdp 02. Can you please check the correct service numbers / system numbers?
    Regards
    Holger

  • Activating a vi on a remote computer (and transferring the data back) via a TCP/IP connection

    Hi all,
    I need some help in creating a vi that can be activated remotely using a TCP/IP connection. Can this be done. If it can, I have a vi (that would be on the remote computer) that manipulates the data as required and saves the data file. While the connection is open, I need to retrieve the data file from the remote computer. Can anybody help, I am running labview 6.
    Thanks
    Ridge

    Ridge,
    This is what the "i" in LabVIEW 6i stands for. Internet applications (collection of data through IP) was a basis for the release of 6i. This is not only a capability, but is built in as easy to do.
    Unfortunately, I have little experience in this arena. I have built TCP/IP client server relationships, but never remotely controlled a VI over IP, so I can't advise you.
    I would suggest the following:
    Look up remote VIs on NI's website, specifically in Application Notes, and examples/downloads.
    Check the examples that ship with LabVIEW.
    Look for other documentation within LabVIEW (search through help).
    Contact your local sales rep for some assistance.
    I do remember seeing some kind of demo about this a long time ago, and remember
    it being extremely easy. However; I never had use for it, so I never did anything with it.
    You should have the ability to get started very quickly.
    Good luck, and let us know how you do.

  • TCP/IP connection with external device

    Hi,
    I need establish TCP/IP connection to my hardware device which has ip(10.102.20.90) and port no as 9012 by setting static ip.
    Since i am new to this protocol i am bit worried about how to make communication between my pc to hardware. Here my labwindow code act as clinet and hardware as server. after establishing successful connection i need to read the data coming out from that port.
    Please help me in making this communication happens.
    i am working on Labwindow 9.0 version.
    Solved!
    Go to Solution.

    A good starting point would be to look at the TCP/IP client sample application that ships with CVI. You'll find it at <CVI Folder>\samples\tcp\client.cws
    Martin.
    Martin
    Certified CVI Developer

Maybe you are looking for

  • Some of my images do not show up (some do) when I publish a Dreamweaver document

    Here's my problem: I have been working on a web site, using Dreamweaver CS6. Working on a mac with 10.6.8. The site has several pages, and several of these pages have several images each. All the images are jpgs. Some are RGB files, drawn from digita

  • Can I use a WTR54G for satelitte internet access

    I am having wildblue satelitte internet installed.the install tech said I could use linksys wireless g to hook up two computers for internet access.I have bought the linksys equipment and was reading on the web site that it wont work with satelitte i

  • Data upload based on company code

    Hi all There are  three company codes maintained in source system under one client. They want to schedule the BW  data upload company codewise at different time of the day. e.g for company code one at  2am , for company code two at  11am and for thir

  • Where to find Net8 Assistant?

    The online document tell me that I can run Net8 Assistant in "$ORACLE_HOME/bin/net8asst.sh".But after i install oracle 8,when I try to run the scripts,I can't find it! Who can tell me what is wrong with it? null

  • Cant install Oracle 11g on Vista x64 SP1

    I'm using AMD Turion X2 TL-58, 4GB RAM, 160HDD, Vista x64 SP1. When I installed Oracle Database 11g without creating default database, everything was fine, then I created database but failed, anyone has this problem on Vista ? If I install Oracle Dat