Broken Pipe error  when connecting to database

Hi
I have installed ODI and Oracle 10g database on my machine.
But getting a Broken Pipe error while creating an entity in Oracle Data Profiling and Quality tool
Or I can say while connecting database.
It’s a runtime error.
Server terminated the application in an unusual way.
Any inputs are much appreciated.
Thanks
KSK

Hello KSK.
Did you receive or did you find any answer about this question?
Please, let me know if yes or no. I have a workmate with the same problem and we didn't find any clue about the problem.
Best regards.
Ponte

Similar Messages

  • Broken Pipe Error when using database link

    We are using WebLogic 6.1 sp2 / oracle database 8.1.6. / thin drivers.
    The connection works fine, unit I try to access a view that has a union and db links
    in it.
    We have used one or the other (view or a dblink) and it works, but when used together,
    we get broken pipe error.
    I haven't proven that this is the cause, I will try to setup a test, but I was wondering
    if this is a known issue or what ??
    thanks
    Rich

    You need to create the catalog views that support distributed SQL in your remote database (the database you connect to via db_link).
    To create these views, connect "/ as sysdba" and run:
    $ORACLE_HOME/rdbms/admin/catproc.sql
    which will in turn call several other scripts including: $ORACLE_HOME/rdbms/admin/catrpc.sql (which creates your missing view)
    It is best to run the whole catproc.sql script (and not just the catrpc script).
    You can run and rerun catproc.sql several times quite safely.
    Cheers

  • Show error when connect Company Database by DI API in 2004B

    Hi
    I use the DI API to connect company database in 2004B.  I can get the company lists by SAPbobsCOM.CompanyClass.GetCompanyList().
    I write a program to testing the connection that show two different result in client and server side.
    - It show the error -2147221164 (Class not registered), when connect company database in client PC. 
    - The same program run in server, it connected.
    I already checked my config as below
    - SAP 2004B is installed 7.20.145 SP:00 PL:25
    - SAPbobsCOM67.dll is 6.70.188.0 version, and "Special Build Description" is 21.
    The client and server side are same config.
    Any ideas how I should handle this?
    Thanks
      Winson

    sorry! it is wrong posted in here!!

  • Using DI API, getting error when connecting to database:

    The server is 2003. The sqlserver is 2005.
    We have a button that calles the DIapi function Connect().  He gets the following error: [Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'N' to data type int.
    We then tried to connect into another database in SAP we got the following error:
    1).[Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'UDOXX_Contract to data type int.
    There is a user-defined object called 'UDOXX_Contract', but our Add-On does not use any user-defined data object, so that must be from another add-on.  I really dont know anything about these user-defined objects.  Anyone have any idea what can be causing this problem, or what i can look at concerning this?
    thanks
    Bill

    Hi Bill,
    I am not sure why it is giving you the error messages and I have never seen these errors before. What you can possibly try is to see what SQL statements it is trying to execute. You can accomplish this with the SQL Profiler.
    Are you sure you're connecting correctly? Please post your code for the connection here.
    Hope it helps,
    Adele

  • Error when connecting to database in windows2000 professionnel

    i have a database in unix and another database in windows 2000 professionnel when i want to connect using sqlplus to database in windows 2000 professionel from database in unix the message error will appear memory fault(coredump)

    yes, when we install oracle 8i in windows professionel we have this problem, before installing 8i we connected to the database without problem
    thank you

  • Error when connecting to database from connection manager

    New installation of JDeveloper 11r2.
    java.lang.NullPointerException
         at oracle.dms.context.DMSContextManager.getContext(DMSContextManager.java:437)
         at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:445)
         at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:492)
         at oracle.dms.instrument.Noun.<init>(Noun.java:188)
         at oracle.dms.instrument.Noun.create(Noun.java:275)
         at oracle.dms.instrument.NounFactory.create(NounFactory.java:66)
         at oracle.jdbc.driver.DMSFactory.createNoun(DMSFactory.java:69)
         at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:2253)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:617)
         at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
         at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:54)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
         at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:117)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:174)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:143)
         at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:44)
         at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:352)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:148)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:504)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:440)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1051)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:156)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:612)
         at java.lang.Thread.run(Thread.java:595)
    Occurs with both thin and oci8 connections.
    Any ideas?
    Conection name: tryit
    Connection type: Oracle (JDBC)
    username: me
    password: mine
    save password: ticked
    Driver: thin (also tried oci8)
    Host Name: myhost
    SID: my10gdb (also tried service name).

    yes, when we install oracle 8i in windows professionel we have this problem, before installing 8i we connected to the database without problem
    thank you

  • Broken Pipes Error

    Hello,
              We are using Weblogic 5.1.0 SP 9 and we are getting broken pipe ioexception errors in production. Each time this occurs, which is pretty much every day, we have to restart the server. This is causing bad problems in production.
              Does anyone have any advice on troubleshooting this problem, resolving this problem, or any ideas regarding this. I heard that using WL5.10SP9 fixes this problem but we are currently using this.
              Would turning on JDBC tracing help, or any other kind of tracing help on this? Thanks,
              Rajan Roland
              

    Siew Chun wrote:
    Hi,
    I always encounter IO Exception broken pipe error when the application runs more than an hour.
    I had a firewall inbetween the DB and Weblogic application servers that do connection shut down if the line has been idled for more than an hour. I had also verified that all my program codes had done proper closing of connection after the database is updated but the problem still persist.
    Any advise anyone? By the way, I am using Weblogic 5.1 SP12. Is there a limitation in this "old" version? Could that be a limitation in terms of proxy? (by path or by extension which is better?)
    Any help anyone?Hi. set up the pool to test connections on reserve. This will also make the pool periodically test idle
    connections. This keeps them busy.
    Joe

  • Bouncing Oracle Database Creating Broken Pipe Error On Oracle 9iAS 9.0.3

    We published and deployed PL/SQL web services using JDeveloper 9.0.3 wizard on Oracle 9iAS 9.0.3. We bounced the database nightly, in turn, closes the application server connection between 9iAS and the database. This causes the broken pipe error. Bouncing the 9iAS is not an option for us.
    Is this an Oracle 9iAS bug? Is there a workaround to this problem without bouncing the application server?
    Please help.
    Tom

    I have discovered a strange thing. I created a new OC4J instance which I called it: Intelap
    When I deploy to the recently created instance Intelap, jdeveloper success. But when I set OC4J_home in the optional instance field, I got the previous error.
    Sergio

  • Get error when connecting SQL 2012 Management studio to SQL Server 2012 database

    I got this error message when I tried to connect to SQL Server 2012 using Management studio 2012.
    Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)

    Did this get this resolved?
    My SSMS 2012 was running without issue for several months until I installed VS2012. After the VS2012 I started getting "Service 'Microsoft.SqlServer.Management.IRegistrationService' not found" when connecting to database in SSMS 2012. I uninstalled VS2012
    and SSMS 2012 started working again. Installed VS2012 and SSMS 2012 is broken again.
    I tried the above suggestions without success. Here are the error details. Any help is greatly appreciated.
    ===================================
    Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)
    Program Location:
       at Microsoft.SqlServer.Management.ServiceProvider.GetService[T](IServiceProvider serviceProvider, Boolean throwIfNotFound)
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.Initialize()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.GetView(String urnPath)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.<GetColumnsFromNavigationService>d__11.MoveNext()
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.AddFields(List`1 list, IEnumerable`1 fields, IDictionary`2 allValidFields, AddFieldsFlags flags)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.GetParentFields(INodeInformation source, Dictionary`2& allValidColumns)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItemWithQuery(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent)

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

  • When connect the Database from Toad , Sqlplus giving the error

    when connect the Database from Toad , Sqlplus giving the error
    recent changes 12.1.1 installatiojn
    Oracle SQL plus encountered a problem and needs to close we are sorry for convenienvce
    Oracle Forms Designner has encountered a probloem and needs to close we are sorry for the convenience
    Thanks & Regards,
    sree

    when connect the Database from Toad , Sqlplus giving the error recent changes 12.1.1 installatiojnHave you tried using the same user via simple sqlplus on the database server or apps tier server itself? Please try the same database user/login on the database server using the sqlplus available on the server itself. See what message do you get. If the the login happens, then try with the tns entry e.g. sqlplus username/password@prod and see if that works on the db server. If both of these conditions work the check where is Toad picking up the tns entry from on the client pc/laptop. If first test fails, then check if the account is locked.
    Hope this helps.

  • Broken pipe error in plugin log

    Hello All,
    Any help will be much appreciated.
    Currently we have a webserver and weblogic servers(two) in the same box. The webserver
    is IPlanet and it communicates with weblogic(7.0 SP2) using the weblogic plug-in.
    Normally the webserver connects to the first weblogic server and subsequent request
    were sent to the same weblogic servers. While doing so, the plugin hits a broken
    pipe error and it failover to the second weblogic server. We do not know the cause
    of this problem as there is no broken pipe errors in the weblogic server logs.
    I changed the weblogic & plugin configurations and did various tests using the
    following configuratons, but no luck.
    Weblogic plugin configurations:
    1. HungServerRecoverSecs to 5000,
    2. WLSocketTimeoutSecs to 5000
    3. KeepAliveSecs="120" ( by default KeepAliveEnabled is true)
    4. ConnectTimeoutSecs="120" along with ConnectRetrySecs=2 ( i.e. 60 connections
    before it throws HTTP 503- Service Unavailable exception).
    Weblogic server configurations:
    1. Post Timeout Secs: 120(max)
    2. T3 Message Timeout: 480(max)
    3. HTTP Message Timeout: 480(max).
    The plugin log file contents are below:
    Thu May 13 09:35:25 2004 INFO: sysSend 1247
    Thu May 13 09:35:25 2004 INFO: sysSend 139
    Thu May 13 09:35:25 2004 ========= errno [32] msg [Broken pipe]
    Thu May 13 09:35:25 2004 POST timed out to the server 10.227.8.47:8101
    Thu May 13 09:35:25 2004 *******Exception type [POST_TIMEOUT] (POST timed out
    to the server 10.227.4.33:8101
    ) raised at line 731 of proxy.cpp
    Thu May 13 09:35:25 2004 failure on sendRequest() w/ recycled connection to 10.227.4.33:8101,
    numfailures=1
    Thu May 13 09:35:25 2004 Marking 10.227.8.47:8101 as bad
    Thu May 13 09:35:25 2004 Marking [0] as bad WLS: 10.227.8.47:8101:65535
    Thu May 13 09:35:25 2004 got exception in sendRequest phase: POST_TIMEOUT: [os
    error=32, line 731 of proxy.cpp]: POST timed out to the server 10.227.8.47:8101
    at line 1051
    Thu May 13 09:35:25 2004 Failing over after sendRequest exception
    Thu May 13 09:35:25 2004 attempt #1 out of a max of 5
    Thu May 13 09:35:25 2004 Server details are 10.227.8.47'/8101/65535
    Thu May 13 09:35:25 2004 Server was mark bad, going to next server
    Thu May 13 09:35:25 2004 Server details are ''/0/0
    Thu May 13 09:35:25 2004 Server was mark bad, going to next server
    Thu May 13 09:35:25 2004 general list: trying connect to '10.227.8.47'/8103/65535
    at line 1338 for '/callWebApp/application?pageid=NewCall&portletid=CompleteCall&portletns=CompleteCall&wfevent=CompleteCall.showContactAction'
    Thu May 13 09:35:25 2004 INFO: New NON-SSL URL
    Thu May 13 09:35:25 2004 Going to check the general server list
    Thu May 13 09:35:25 2004 WLS info : 10.227.8.47:8103 recycled? 0
    Many thanks
    Shaan

    Hi Sudeep,
    SAP Note 846079 - XI 3.0 JDBC Receiver: # of Retries on SQL Error w/o Effect
    Please check the following SAP note also - 831162
    Some info which i found there and can be relevant in to your scenario.....
    Q: I am using a JDBC Receiver Adapter in conjunction with the  Lotus Domino Driver for JDBC perform an INSERT or UPDATE operation on a database. When sending a message to the receiver, the Adapter Monitoring shows the following error message:
    "java.sql.SQLException: [Lotus][Domino Driver for JDBC]Invalid cursor state"
    Is there a fix for this issue?
    A: To work around this JDBC driver problem, activate the Advanced Mode for the respective JDBC Receiver channel and configure the setting "Number of Retries of Database Transaction on SQL Error" to a value > 0. Additionally, make sure that the setting "Database Auto-Commit Enabled" is also active as the Lotus Domino Driver for JDBC does not support transactions.
    Apply note 846079 before configuring this scenario.
    Q: The TCP/IP connection to my database host is running over an unreliable network connection, i.e. the connection is sometimes interrupted. Consequently, I sporadically receive an SQLException regarding a closed connection in the system trace or audit log or the connection as well as the JDBC Adapter channel are hanging.
    How can I work around this connectivity issue?
    A: Enable the "Advanced Mode" for the respective JDBC Adapter channel and select the option "Disconnect from Database After Processing each Message".
    Note that this might put additional load on your DBMS due to the creation of a new database connection for each message.
    I dont have access to a database right now, so i am not able to check this.
    Also check the JDBC driver compatability as mentioned in the above note.
    Cheer's

  • What exactly is a broken pipe error is

    Hi
    we get often the exception
    "java.io.IOException: Broken pipe" "java.net.SocketException: Broken pipe" and a few like these in our logfile. Not sure why it throws. Can anyone help me out in getting some idea about it.

    The "*java.net.IOException: Broken pipe*" error comes due to following reasons:
    1- If the client disconnects before it has completely received the response.
    2- If the user hits the Stop button, or clicks another link while the previously clicked operation is in process.
    Don't worry. This error is not dangerous.
    The "*java.net.SocketException: Broken pipe*" error occurs due to following reasons.
    1- If you invoke a connection when the other end has already terminated it.
    2- If you have a poorly implemented application protocol.
    3- If the database server closes the connection after a predefined interval if nothing has happened.
    This is in fact an error due to your poor implementation.
    Edited by: 866328 on Jun 16, 2011 5:19 PM

  • Broken Pipe Error-unable to write to socket for second attempt

    Hello,
    I am opening socket connection wuth C-server program.
    I am able to write and read from socket for first time but when tried to write second time in the same sequence gives broken pipe error.
    As seen in the code initialize() methods works perfectly fine,
    Pipe broken error is encountered for processRequest() method for writeBytes(begnmsg+"\n") method.
    Please suggest solution asap.
    Following is the code
    import java.io.*;
    import java.net.*;
    public class PowerModelClient {
         Socket kkSocket = null;
    BufferedReader in = null;
         PrintWriter out = null;
         DataOutputStream os = null;
              char m_eomChar = '\n';
    public PowerModelClient(){
    try{
    //Opens socket connection with C-server program,
    openConnection();
    System.out.println("connected to server");
    //Sends data base information to C-server program and receives acknowledgement from it.
    String recv = initialize();
    System.out.println("Initialize successful"+recv);
         try{
    // Sleep for a short period of time
         Thread.sleep ( 10000 );
    catch (InterruptedException ie) {}
         System.out.println("Initialize successfu 22l");
    //Sends data base information to C-server program and receives acknowledgement from it.
    processRequest();
    //Closes socket connection
         closeConnection();
         System.out.println("Comesout to do QUIT ");
    catch(Exception e){
         System.out.println("Error in main::"+e.toString());
         public static void main(String[] args) throws IOException {
                             new PowerModelClient();
    Opens socket connection with C-server program,
    public void openConnection() throws IOException{
    try {
                        kkSocket = new Socket("server",port);               os = new DataOutputStream(kkSocket.getOutputStream());
         //out = new PrintWriter(kkSocket.getOutputStream(),true);
    in = new BufferedReader(((java.io.Reader)(new InputStreamReader(kkSocket.getInputStream()))));
         } catch (UnknownHostException e) {
              System.err.println("Don't know about host: server.");
                        System.exit(1);
                   } catch (IOException e) {
                        System.out.println("Couldn't get I/O for the connection to: server."+e.getMessage());
                        System.exit(1);
         Sends data base information to C-server program and receives acknowledgement from it.
         This makes the C program to connect with Database.
         The data send to socket should be tagged between @BEGMSG@\nand @ENDMSG@\n
         Similary data obtained from socket will be tagged between @BEGMSG@\n and @ENDMSG@\n
    public String initialize() throws IOException{
                   int ibyteread = 0;
              String fromServer = "";
              String beginmsg=padString("@BEGMSG@");
              String endmsg = padString("@ENDMSG@");
              String recv = "";
              if (kkSocket != null ) {
    try {
                        // Set the socket timeout for ten seconds
                   //     kkSocket.setSoTimeout(10000);
                                       //String data = padString("INIT\tabcd\tisderssddsdg\tdrtrs1\twetewte");                              os.writeBytes(beginmsg+m_eomChar);
                   in.read();
              os.flush();
              os.writeBytes(data+m_eomChar);
              in.read();
         os.flush();
         os.writeBytes(endmsg+m_eomChar);
         os.flush();
         recv = readResponse(in);
    } catch (UnknownHostException e) {
    System.err.println("Trying to connect to unknown host: " + e);
                                                 // Exception thrown when network timeout occurs
                             catch (InterruptedIOException iioe)
                             System.err.println ("Remote host timed out during read operation");
                             catch (IOException e) {
                             System.err.println("IOException: " + e);
                             catch (Exception e) {
                   System.err.println("Exception: " + e);
              return recv;
    Sends data after database connection is established to socket for entitlement processing
    and will receive acknowledgement from server.
    public void processRequest() throws IOException{
                   int ibyteread = 0;
                   String beginmsg=padString("@BEGMSG@");
                   String endmsg = padString("@ENDMSG@");
                   String fromServer = "";
              if (kkSocket != null ) {
                   System.out.println("processRequest");
    try {
                             kkSocket.setSendBufferSize(1024);
                             kkSocket.setSoTimeout (10000);
                                       kkSocket.setTcpNoDelay(true);
         os.writeBytes(beginmsg+m_eomChar);
         int i = in.read();
         System.out.println("Data read is :"+i);
         os.writeBytes(padString("PAEL\t1056209\t269732\t02/01/2003")+m_eomChar);
    in.read();
    System.out.println("Data read is :"+i);
    out.flush();
    System.out.println("Data read is :"+ibyteread);
    os.writeBytes(endmsg+m_eomChar);
    ibyteread = in.read();
    readResponse(in);
    System.out.println("-----end Processing:--------");
    } catch (UnknownHostException e) {
    System.err.println("Trying to connect to unknown host: " + e);
    // Exception thrown when network timeout occurs
    catch (InterruptedIOException iioe)
    System.err.println ("Remote host timed out during read operation");
    catch (Exception e) {
    System.err.println("Exception: " + e);
    The socket requires data to be of length 1024 character, so the renaining length is padded with empty string"\0"
    public String padString(String value){
              StringBuffer strBuff = new StringBuffer(value);
                   while(strBuff.toString().length() != 1023){
                   strBuff.append("\0");
              //System.out.println("the length is "+ strBuff.toString().length());
              return strBuff.toString();
    Close socket
    public void closeConnection() throws IOException{
         in.close();
         os.close();
         kkSocket.close();
    public String readResponse(BufferedReader in) {
    boolean flag = false;
              java.lang.StringBuffer stringbuffer = new      StringBuffer(1024);
    try {
    // for(char ac[] = new char[1]; in.read(ac, 0, 1) != -1;) {
    char ac[] = new char[1024];
    if (in.read(ac, 0, 1) != -1) {
    stringbuffer.append(ac[0]);
    for(; in.read(ac, 0, 1) != -1 && ac[0] != m_eomChar; stringbuffer.append(ac[0]));
    if(ac[0] == m_eomChar) {
    System.out.println("received '" + stringbuffer.toString() + "'");
    } else {
    System.out.println("Message received by client was not properly terminated and was ignored."+stringbuffer.toString());
    } else {
    System.out.println("WARN: no response?");
    } catch(java.io.IOException ioexception) {
    System.out.println("Error in client " + ioexception + "Killing client.");
              return stringbuffer.toString();

    if I were you I would put the lines
    kkSocket.setSendBufferSize(1024);
    kkSocket.setSoTimeout (10000);
    kkSocket.setTcpNoDelay(true);
    before connecting to the server, not after the initial message was sent.

  • Error while connecting MYSQL Database

    Hi,
    I use a 30 days trial of Crystal Reports 2008. When i try to connect with the database i always get the next error: [http://www.visiscan.nl/error.jpg]
    The database is 4.1GB large and there is 10GB free space on the database.
    Anybody can tell me what to do?

    Hi Tom,
    As I understand the error while connecting to database is
    u201CFailed to retrieve data from databaseu201D
    There could be some could be multiple reasons for this.
    If you are using an ODBC connection then try to check the DSN. Recreate the same and then try.
    If the database is oracle check if native client is installed and try to ping from the native client to check if it responds.
    When connecting to Oracle, ensure that the Service name is identical to that used in the <ORA_HOME>/network/admin/tnsnames.ora file on the BusinessObjects XI Release 2 server.
    For ODBC databases, ensure that the ODBC DSN is exactly the same in the ODBC Manager as on the BusinessObjects XI Release 2 server.
    Please let us know if this helps
    Regards,
    Aditya Joshi

Maybe you are looking for