Tcp open connection problem while parallel tcp communicat​ion

I have a problem with TCP Open connection while running another TCP transfer.
While I run the Simple Data Client/Server example (..NI\LabVIEW 2010\examples\comm\TCP.llb) I would like to open another TCP connection according this simple VI attached. This runs on another port than the running Client/Server example. When the address of the PC to be connected to, is known to the network (IP/Name) all is fine, when the address is a name unknown to the network, than a significant delay in the datatransfer of the client/server example occures. Hope that anybody can reproduce/explain this behaviour.
Network setup here is Gigabit ethernet/ DHCP / Windows XP Prof. SP3/ LV 2010 / LV 8.6.1
Jörn
Attachments:
TCP_Open_blockingproblem.vi ‏16 KB

I really appreciate your comments,
to make sure that we do see the same effects let me exactly explain what I see: I open the example vi's : Data Client/Server example (..NI\LabVIEW 2010\examples\comm\TCP.llb. You can open it localy that means on one PC or open one  on another PC. To make it simple for the first try open it localy and run both vi's according the example instructions. On the Data Client.vi I see now the samples updating many times per second (should be every 25 ms, because the server produces these in this intervall). All is like expected. Now open the TCP_Open_blockingproblem.vi from above and let it run unmodified (except you have an PC named 'DataServer0'). What I see now in the Data Client.vi : The samples update came nearly to an halt (this is why I called it 'blocking'). Updates only every 6 seconds (here in my network setup). Now stop the TCP_Open_blockingproblem.vi. The DataClient.vi is running on the same speed as before. Now modify the 'DataServer0' to a pc name existing in your network and start again. This time the sample speed is not degraded. Can you confirm this behaviour ?.
I did recognise the effect for the first time while I desigend an appliaction  based on the STM library and posted the effects I saw, here : http://forums.ni.com/t5/Components/Simple-TCP-Mess​aging-STM/td-p/583438/page/5. Like Christian Loew supposed there is a bunch of code around. It is a multi tier application receiving TCP traffic on some ports and distributing on others. So I decided to isolate the problem from STM and my own code and came to the simplest code which I thought it was possible where the problem still occures which I described above.
Your suggestion to lookup the names once in the beginning of the application is a possible way, but I must say with the experience now I am still very uncertain of more unexpected future side effects during lookup, especially on network setups at customersites where I have no direct access. So I decided to give an UDP registration mechanism a try, like it is realised in the STM Examples of HostReceiver.vi and Target Sender.vi.
Thanks for following so far,
Jörn

Similar Messages

  • 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

  • How to use WAN IP with port number in TCP Open Connection ?

    I have a code to write / read a WiFi device server that gets DIO / AI data through a serial port. See attachment.
    The device driver has a static IP of 192.168.1.10 and port 30704 for data stream. I have a router which links my laptop and this device driver in a LAN and all is fine.
    But now I want to access my device driver through the internet. For this I already have done a port forwarding in my router to direct incoming requests on 30704 port to my device driver.
    The issue : I cannot reach my device driver when I enter the WAN side IP of my router like 52.23.45.131 and the Port as 30704  in the TCP Open connection.
    Any suggestions ?
    Thanks 
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.
    Attachments:
    Remote_Logger.vi ‏32 KB

    Hello,
    without looking at your vi:
    Did you try to reach your device from an external Computer?
    Because NAT Translation cant be done (by most routers) if you try to reach yourself from the inside.
    I am correct that the device created a virtual Networkcard on your computer at which you can communicate locally, right?
    Did you try to use another computer in your Network, to reach your computer and the attached device?
    If it is not possible, try to enable Routing at your computer.
    If it is possible, your router is not forwarding (or you answered at with "no" at the first question or both).
    If you are using an external computer and the networkinternal connection from another PC is working and you are 100% sure the router is set up correctly, try to disable all local firewalls and test again. (if it works you need to setup a proper fwrule).
    Regards
    Rene

  • Connection problem while trying to connect with server on i cloud??

    When i try to connect to i tunes i have a connection fault that says problem while rying to connct with server?
    Please help!

    I am having the exact same problem.  Cox has no fix.  I am in RI.

  • [SOLVED] Maximun TCP open connections and Open File Descriptors

    Hi,
    back when I was using XP I needed to patch a system file to increase max amount of open TCP connections - you surely know about this. I'm wondering how do I do the same in GNU/Linux and if that's real important here.
    Also, by default open files are set to 1024, how do I change that? I'm running x86_64 + KDE SC 4.4.2
    Last edited by martin77 (2010-04-12 04:17:27)

    Thanks for replying.
    I mean "open file handler" or in a better GNU/Linux terminology "open file descriptors" aka the maximun number of files that can be accessed at a given time.
    For instance, VMWare will need you increase them to 4096 to work properly - and I presume something in the order of 5120 would be ok.
    Following The Arch Way, already found the solution and want to share it with all of you fellow n00bs:
    1. you need to open for edit /etc/security/limits.conf file with root privileges
    2. at the end of the file add:
    * soft nofile nn
    * hard nofile nn
    where nn is the number of open file descriptors you want. I set them to 8196 (probably too high) so for instance it should read:
    * soft nofile 8192
    * hard nofile 8192
    Read the embedded help for a better understanding of this crucial configuration file.
    As usual, thank you very much to this great community, devs and users, best!
    Last edited by martin77 (2010-04-12 04:18:47)

  • Tomcat and Postgres TCP/IP Connection Problem

    Hello,
    i have a linux server with tomcat 5.0.25 and another linux server with postgres, i have a webapp that uses Connection Pooling for the database connection, when im going to open the connection i get this error:
    org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP
    But when i try this from mi windows pc the connection is succesful and i have the same tomcat version.
    Can somebody help me?
    Thanks in Advance
    Escobar5

    Postgres has a pg_hba.conf file that configures access to the database. Access is configured on an IP address basis. Probably your PC has an IP address that is configured in the file to allow access and the Linux server doesn't. Check the Postgres documentation on how to change this file to allow access form teh linux server

  • 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

  • Connection Problem while client is behind proxy and server out side proxy

    hello
    i implemented ChatApplication in JAVA, for that i used socket connection when client and server both are in same network then it's working fine.
    but when my server is on internate and client is behind proxy and try to connect with server
    it not able to connect i get exception.
    i serch most of forum i got same answer and i try it but i was not success.
    any kind of help is appriciated.
    i attached my code(which i implement for testing ) pls reply me
    thanks in advance.
    Server.java
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    class Server {
       public static void main(String args[]) {
          String data = "you are successfully connected with server.";
          try {
             ServerSocket srvs = new ServerSocket(1234);
             Socket skt = srvs.accept();
             System.out.print("Server has connected!\n");
             PrintWriter out = new PrintWriter(skt.getOutputStream(), true);
             System.out.print("Sending string: '" + data + "\n");
             out.print(data);
             out.close();
             skt.close();
             srvs.close();
          catch(Exception e) {
             System.out.print("Whoops! It didn't work!\n");
    ProxyClient.java
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class ProxyClient{
       public static void main(String args[]) {
         String host="61.17.212.29";
         int port=1234;
               String line;
         Properties properties = System.getProperties();
         /*properties.put("firewallSet", "true");
         properties.put("firewallHost", "192.168.0.1");
         properties.put("firewallPort", "808");*/
         properties.put("socksProxySet","true");
         properties.put("socksProxyHost", "192.168.0.1");
         properties.put("socksProxyPort", "1080");
         System.setProperties (properties);
         try {
         /*SocketAddress addr = new InetSocketAddress("192.168.0.1", 1080);
         Proxy proxy = new Proxy(Proxy.Type.SOCKS, addr);
         Socket skt = new Socket(proxy);
         InetSocketAddress dest = new InetSocketAddress("61.17.212.29",1234);
         skt.connect(dest);*/
             System.out.println("before socket taken");
             Socket skt = new Socket(host,port);
             System.out.println("after socket taken");
             BufferedReader networkBin = new BufferedReader(new InputStreamReader(skt.getInputStream()));
             System.out.println("Received string: '");
             line = networkBin.readLine();     // Read one line
          while(true)
                 System.out.println(line);     // Output the line
                 line = networkBin.readLine(); // Read the next line, if any
          catch(Exception e) {
             System.out.print("Whoops! It didn't work!\n");
         e.printStackTrace();
    }

    Now look here. I could not care less about this
    code. I don't know anything about it, I don't
    want to know, I have already recommended you don't
    use it, and I have also given you a simpler and
    better solution. If you don't want to take my advice
    that is your privilege and your problem.ya i has understand system propertis i have setted and u can see it in the code i have tried by both system properties and also J2SE 5.0 proxy class but i got a same problem malformed Exception server refuse to connection.
    is there any problem at sever side?
    can u tell me in which way u r teling to set the propery i m looking forward for ur reply.
    ya i m sure u will give me.................reply "ejp".
    Thnx in advance.

  • Connection problem while connecting to LDAP resource via SSL

    Hi,
    I am facing problem in connecting LDAP via SSL. I got the self signed certificate from the LDAP team and while importing it to the JVM keystore using command "keytool -import -file PathTo/ds-cert.txt -keystore ./cacerts -storepass changeit -trustcacerts", I am getting error "keytool error: java.security.SignatureException: Signature does not match". Since I am not able to import the cert, I am facing problem in connetcing to LDAP via SSL. I have gone thru other posts and found some answers for it.. but not able to do it correctly. I am using SIM 7.1 and tomcat. In some posts, I have seen, in the resource config wizard, use "true" instead of 1 in the SSL field.. For SIM 7.1, does the value 1 work?. Please help me in importing the cert to my local JVM keystore.
    Thanks.
    Edited by: dj123 on Oct 15, 2008 1:50 PM

    Make sure you are importing the certificate of the issuer (CA) that issued the LDAP certificate, not the LDAP cert itself.

  • Trusted Connection Problem while creating a project in MDM WD Confg.Manager

    Hi Experts,
    We have the Netweaver instance (CE7.2) and MDM instance (MDM7.1SP07) installed in the same machine.
    In our current scenario we are trying to create a projects in the MDM WD Configuration Manager for displaying the MDM records.
    Things Done:-
    1) Created allow.ip file and added the IP address of the server and also added the IP address of the Local Host (127.0.0.1).
    2) Same user exists in the Netweaver and as well as in the MDM repository with same case.
    3) Created a necessary MDM Destination.
    4) After adding the entry in the allow.ip file, i have restarted the MDM server too.
    Now when i create a project in the Config. Manager, after selecting the MDM destination i get a Trusted Connection error.
    Cannot retrieve language list from repository [null] on server [null]. UserConnectionException: Can not connect with UserSessionContext to repository 'Inbox' on the server 'ctsinsapnw7'.,  Can not connect with UserSessionContext to repository 'Inbox' on the server 10.239.31.178'.,  Can not resolve JCA connection. Cause exception: Connection Failed: Cannot create JCA connection. Cause exception: Failed to create trusted connection to MDM server '10.239.31.178' for user 'mdmuser' because server is not defined as trusted, error code: ConnectionNotTrusted,  com.sap.mdm.internal.protocol.manual.ServerException: The connection is not trusted
    Is there anything to be done. Any help on resolving this will be very much appreciated.
    Regards,
    Prasanna Kumar R Y

    Please make sure of below things...
    1. Location of allow.ip file.
             Default location is exe folder where your MDM server executable are available.
    2. If not using default location,
             Then check the entry of 'TrustedFiles Dir" property in mds.ini file.
    3. Is server stops completely?
             Its very important to restart the server.
             Sometime console may show that the server is stopped but server might be running.
             If possible please check whether server stopped, using Console on different machines.
    4. Check the log of MDM server while starting and stopping the MDM server.
             Please pest the log messages in this thread to help you better.

  • Connection problem while invoking remote method from client using oracle 8.1.6 server

    while using a connection object to make connection to oracle in all remote methods(in EJB)only the first remote method called from the EJB client is getting invoked and the connection stops.It gives me COMM_FAILURE while invoking the second method in oracle 8.1.6.Help me out in this aspect immediately please.

    r singh wrote:
    >
    I am getting "No Suitable Driver" exception from WebLogic 6.1 (sp1) at
    the start up of the server.
    My settings:
    - WLS 6.1 on a solaris 8 machine and Oracle 8.1.6 on a WIN2K machine.
    - I created the connection pool for oracle with the following
    parameters:
    connection name: OracleConnectionPool
    url: jdbc.oracle.thin:@myOracleServer:1521:myDBName
    driver class name: oracle.jdbc.driver.OracleDriver
    properties: user=scott
    password=tiger
    - I have also downloaded classes12.zip and nls_charset12.zip from
    Oracle.com
    and have placed under $WL_HOME/lib.
    - I have added $WL_HOME/lib/classes12.zip:$WL_HOME/lib/nls_charset12.zip
    in
    front of the $CLASSPATH in the startWeblogic.sh script. The echoed
    classpath
    from the startup script is:
    /opt/tools/bea/wlserver6.1/lib/classes12.zip:/opt/tools/bea/wlserver6.1/lib/nls_
    charset12.zip:/opt/tools/bea/wlserver6.1:/opt/tools/bea/wlserver6.1/lib/weblogic
    _sp.jar:/opt/tools/bea/wlserver6.1/lib/weblogic.jar
    - Still I get the error:
    <Jan 16, 2002 1:38:45 PM EST> <Error> <JDBC> <Cannot startup
    connection pool "Or
    acleConnectionPool" No suitable driver>
    Can somebody point me out if i am doing anything wrong here.
    Thanks.
    RamanandHi,
    Sure. Your URL should be "jdbc:oracle:thin:@myOracleServer:1521:myDBName"
    not "jdbc.oracle.thin:@myOracleServer:1521:myDBName"
    Joe

  • Connectivity Problem while installing Oracle

    I have been trying to install Oracle Personal Edition of 8i on Win 98 PC, after successfull installaion I get a very common Oracle error : ORA-12541 TNS : no listener, when I try to connect to SQL Plus.
    I am unable to resolve it, tips reqd.
    thanx in advance.

    Hi Sanchayan,
    thanx for the reply, I tried what u suggested. But there is no such file on my PC, when I searched I found a file named 'lsnrauto.exe' in the BIN directory, tried started that by double-clicking but it didn't work. So anything else that you can suggest ???
    Shalu
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Sanchayan Roy Choudhury ([email protected]):
    Hi,
    Check if the OracleTNSListener service is running. If not, open a cmd window and give the command -
    c:> lsnrctl80 (corresponding exe in 8i!)
    lsnrctl80> start
    this will give errors if there are any
    in the listener.ora file.
    Otherwise, check that the entry for the
    database is proper in this file!
    Cheers,
    Sanchayan<HR></BLOCKQUOTE>
    null

  • JNDI : connection problem while storing data more than one records

    I am persisting data into the MSSQL Server 2005 database using the JNDI lookup. I can insert the single record at a time, but when I ran the test program for 10 or 20 records i am getting the following exception on Jboss
    Configuration details : JBoss, Spring, MSSQL server 2005, Jdk 5
    JNDI mapping from JBOSS
    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
    <local-tx-datasource>
    <jndi-name>jdbc/myjndi</jndi-name>
    <!-- allows DS to be accessed remotely -->
    <use-java-context>false</use-java-context>
         <connection-url>jdbc:inetdae7:localhost:1434?database=myDB&secureLevel=0</connection-url>
         <driver-class>com.inet.tds.TdsDriver</driver-class>
         <user-name>sa</user-name>
         <password>admin123</password>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>50</max-pool-size>
    <metadata>
         <type-mapping>MS SQLSERVER2000</type-mapping>
    </metadata>
    </local-tx-datasource>
    </datasources>
    Exception :
    14:07:06,812 INFO [myMDB] Exception while Storing Event in Database : Could not get JDBC Connection; nested exception is org.jboss.util.Neste
    dSQLException: Could not create connection; - nested throwable: (com.inet.tds.r: java.net.SocketExceptionjava.net.SocketException: Connection reset); - neste
    d throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.inet.tds.r: java.net.SocketExceptionjava.net.S
    ocketException: Connection reset))
    14:07:06,812 INFO [STDOUT] org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (com.inet.tds.r: java.net.SocketExceptionjava
    .net.SocketException: Connection reset); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (co
    m.inet.tds.r: java.net.SocketExceptionjava.net.SocketException: Connection reset))
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:107)
    14:07:06,812 INFO [STDOUT] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:112)
    14:07:06,812 INFO [STDOUT] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
    14:07:06,812 INFO [STDOUT] at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:177)
    14:07:06,812 INFO [STDOUT] at org.springframework.orm.ibatis.SqlMapClientTemplate.insert(SqlMapClientTemplate.java:356)
    14:07:06,812 INFO [STDOUT] at com.org.project.gen.MyDAOImpl.insert(MyDAOImpl.java:25)
    14:07:06,812 INFO [STDOUT] at com.org.project.geo.MyTabletDAO.addEvent(MyTabletDAO.java:137)
    14:07:06,812 INFO [STDOUT] at com.org.project.mdb.myMDB.onMessage(myMDB.java:72)
    14:07:06,812 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    14:07:06,812 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    14:07:06,812 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
    14:07:06,812 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:87)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:873)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1090)
    14:07:06,812 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1392)
    14:07:06,812 INFO [STDOUT] at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
    14:07:06,812 INFO [STDOUT] at com.tibco.tibjms.TibjmsSession._submit(TibjmsSession.java:3567)
    14:07:06,812 INFO [STDOUT] at com.tibco.tibjms.TibjmsSession._dispatchAsyncMessage(TibjmsSession.java:1963)
    14:07:06,812 INFO [STDOUT] at com.tibco.tibjms.TibjmsSession._run(TibjmsSession.java:3054)
    14:07:06,812 INFO [STDOUT] at com.tibco.tibjms.TibjmsSession.run(TibjmsSession.java:4204)
    14:07:06,812 INFO [STDOUT] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
    14:07:06,812 INFO [STDOUT] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
    14:07:06,812 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
    14:07:06,812 INFO [STDOUT] Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.inet.tds.r: java.net.
    SocketExceptionjava.net.SocketException: Connection reset)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.
    java:161)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnection
    Pool.java:508)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:395)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:297)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:447)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManage
    r2.java:874)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103)
    14:07:06,812 INFO [STDOUT] ... 33 more
    14:07:06,812 INFO [STDOUT] Caused by: com.inet.tds.r: java.net.SocketExceptionjava.net.SocketException: Connection reset
    14:07:06,812 INFO [STDOUT] at com.inet.tds.k.createSQLException(Unknown Source)
    14:07:06,812 INFO [STDOUT] at com.inet.tds.TdsConnection.a(Unknown Source)
    14:07:06,812 INFO [STDOUT] at com.inet.tds.TdsConnection.a(Unknown Source)
    14:07:06,812 INFO [STDOUT] at com.inet.tds.TdsConnection.<init>(Unknown Source)
    14:07:06,812 INFO [STDOUT] at com.inet.tds.q.<init>(Unknown Source)
    14:07:06,812 INFO [STDOUT] at com.inet.tds.k.createConnection(Unknown Source)
    14:07:06,812 INFO [STDOUT] at com.inet.tds.TdsDriver.connect(Unknown Source)
    14:07:06,812 INFO [STDOUT] at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.
    java:151)
    14:07:06,812 INFO [STDOUT] ... 41 more

    Hi Subin,
    You can try couple of things.
    If your data is less than 32767, you can pass it to stored procedure and change it to clob type like
    PROCEDURE CLOBQUERY
         Param     IN     CLOB,
    and you can call Procedure
    EXECUTE CLOBQUERY '[Param.1]'
    If your data is around than 1000000(32767*32), you can break the data in length of 32767 and pass it to param 1 to 32 like
    EXECUTE CLOBQUERY '[Param.1][Param.2][Param.3]..[Param.32]'
    Finally you can try to update jdbc drive.
    check the link Link: [JDBC Limitation|http://confluence.atlassian.com/display/JIRA/UsingOracle10gdriverstosolvethe4000character+limitation]

  • Database connection problem while startup

    Hi Guru
    My oracle database version is 10.2.0.3 in AIX 6.1. I have created a database through DBCA but not able to connect from host. error is as under
    $ export ORACLE_SID=rmancat
    $ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue May 3 11:26:14 2011
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    Please guide me in this regards
    Rabi

    Hi Sybrand
    Please do not answer this type of question.
    By answering this question you endorse abuse of this forum.I agree wiht you, i face same issue many time at EBS forum site,linux,db installation upgrade etc..Some of Posters many times dont read anything or dont make any search for their issue. Mostly they just make posts in forum sides for their questions wihtout any search. I agree wiht your words again because many posters expect we read something for them and give solution for them which is very bad. Those cycle has been exist in past and it will be exists at future, because i belive its related wiht human behaviour and human behaviour doesnt change soo quickly
    But i am not aggree wiht "do not answer this type questions" part. I belive ppl should answer who have time or who wanna give response for those kind of questions. We are volunteer here and i belive we should try to help who wants to expect help from us. At least we should give them correct path like " try to use search mechanisim or try to use metalink or search engines", This is what i am thinking
    Regard
    Helios

  • [Yoga 2 11] Wifi connection problems, slow performanc​e, disconnect​ions.

    Hello
    Terrible wifi on the Yoga 2 11. I wish I had seen all the reports about it before purchasing this laptop.
    I tried installing another card, but I get the "unauthorized wifi card" error. (Card: Intel 7260HMW AC)
    Is there any workaround? Any new/better wifi card that actually works? Any official message from Lenovo? I don't really know where to begin.

    Help me someone!!

Maybe you are looking for