A remote host refused an attempted connect operation

I have been tasked with putting together a demo of Adobe Interactive Forms on our development system, and I'm following the steps listed in the SAP How-To guide, "How To... Create Online and Offline Forms in Web Dynpro for Java."
The demo form (as described in the How-To) has been created and deployed from a NetWeaver 2004s to our Application Server 6.40 (with all the latest patches).  When run, however, I get a 500 Internal Error:
      <b>java.net.ConnectException: A remote host refused an attempted connect operation.</b>
Our BASIS team has confirmed that ADS is configured correctly on the server, per SAP Note 944221.
Any suggestions on the cause and possible fixes would be greatly appreciated.
<b>Addendum:</b>
Here is the exception chain:
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF
     at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException.<init>(PDFDocumentRuntimeException.java:25)
     at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:392)
     at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
     at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
     at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:752)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:705)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(AccessController.java:215)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
     at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException.<init>(PDFDocumentRuntimeException.java:25)
     at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
     at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)
     at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:121)
     at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:336)
     ... 29 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
     java.net.ConnectException: A remote host refused an attempted connect operation.
     at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
     at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3958)
     at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:148)
     at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
     ... 32 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
     java.net.ConnectException: A remote host refused an attempted connect operation.
     at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:85)
     at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:95)
     at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
     ... 35 more
Caused by: java.net.ConnectException: A remote host refused an attempted connect operation.
     at java.net.PlainSocketImpl.socketConnect(Native Method)
     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:336)
     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:201)
     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:188)
     at java.net.Socket.connect(Socket.java:482)
     at java.net.Socket.connect(Socket.java:432)
     at java.net.Socket.<init>(Socket.java:339)
     at java.net.Socket.<init>(Socket.java:150)
     at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:648)
     at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
     at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:548)
     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1425)
     at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:78)
     ... 37 more
-- Nick

Hi Nick,
Can you verify the ADS connection using the web service test tool? Go to http://myhost:50000/, choose web services, choose the 1st one (Adobe Document Services?), choose test, don't enter any values (leave the default values) and choose test (or something very similar, I don't have access to a server right now to verify it). You should get a login screen where you need to login with "ADSUser". Finally you should see the request and response where the response status code must be "200 OK" (and the response content-type should not be text/html; that's when a logon screen html page is returned, e.g. if the password is expired).
If it fails somewhere, try it again using the FQHN, e.g. http://myhost.mydomain.com:50000/ (I think we had a similar issue once).
If the web service test doesn't work, there's definitely a problem with the ADS configuration. If the web service does work, check the connection settings in Visual Administrator <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/f3fcf604777062e10000000a1553f6/frameset.htm">Setting Up Basic Authentication in a Java Environment</a> (or the ABAP and/or SSL version of the same document).
Kind regards,
Sigiswald

Similar Messages

  • RFC Error: A remote host refused an attempted connect operation

    Hi I received strange kind of error..
    Have anyone of you seen something like this before?
    <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (**) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=logon*.*.com GROUP=SPACE R3NAME=2 MSSERV=sapms2 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '.*..*:sapms*8' not reached TIME Sat Feb 11 20:37:58 201 RELEASE 710 COMPONENT NI (network interface) VERSION 39 RC -10 MODULE nixxi.cpp LINE 3147 DETAIL NiPConnect2: *.*..*:*** SYSTEM CALL connect ERRNO 79 ERRNO TEXT A remote host refused an attempted connect operation. COUNTER 8</SAP:AdditionalText>
      <SAP:Stack />

    Hi,
    MSHOST=logon**.*.com is name server, but it can be recognized as in message is also part "on local host with Unicode ERROR partner '.*..**:" where *.*... is IP address..
    That problem occurred after some patches were implemented.
    @2.) I can't change it to ABAP proxy
    M.

  • 10G dbconsole:  A remote host refused an attempted connect operation.

    We have 10.2 running on AIX. I previously had dbconole running fine, however, something was changed and now when I log into dbconsole I get the error "IOException in sending Request :: A remote host refused an attempted connect operation.". I can still administer database stuff (user, tablespaces) but any operation that tries to access the host fails. For instance I can't schedule a job nor change the operating system credentials. What's really wierd is that on the home page it shows database down, listener down, and agent failed. Obviously, the database and the listener are not down or I wouldn't even be able to get in.
    Help appreciated.
    Kirk

    emagent.trc
    07-03-26 15:50:43 Thread-1026 ERROR fetchlets.oslinetok: Process stderr = /u01/app/oracle/product/10.2.0/db_1/bin/emctl[333]: /tmp/sh401660.13: 0403-005 Cannot create the specified file.
    2007-03-26 15:50:43 Thread-1026 ERROR engine: [oracle_emd,fcotaix2.mccnet.mccneb.edu:3938,EMDUploadStats] : nmeegd_GetMetricData failed : em_error=failed to get upload statistics:
    /u01/app/oracle/product/10.2.0/db_1/bin/emctl[333]: /tmp/sh401660.13: 0403-005 Cannot create the specified file.
    2007-03-26 15:50:52 Thread-1280 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
    2007-03-26 15:50:56 Thread-1027 ERROR http: 11: snmehl_read: error on read: The network is not currently available. (error = 69)
    2007-03-26 15:50:56 Thread-1027 ERROR upload: FxferSend: HTTP Error=-1 reading request response from: http://fcotaix2.mccnet.mccneb.edu:1158/em/upload/
    2007-03-26 15:50:56 Thread-1027 ERROR upload: Failed to upload file B0006595.xml, ret = -2
    2007-03-26 15:50:56 Thread-1027 ERROR http: snmehl_connect: Failed to get address for fcotaix2.mccnet.mccneb.edu: Authoritive Answer Host not found (error = 1)
    2007-03-26 15:50:56 Thread-1027 ERROR upload: FxferSend: Cannot connect to: http://fcotaix2.mccnet.mccneb.edu:1158/em/upload/. retStatus=-32
    2007-03-26 15:50:56 Thread-1027 ERROR upload: Failed to upload file B0006595.xml, ret = -2
    2007-03-26 15:50:56 Thread-1027 ERROR http: snmehl_connect: Failed to get address for fcotaix2.mccnet.mccneb.edu: Authoritive Answer Host not found (error = 1)
    2007-03-26 15:50:56 Thread-1027 ERROR upload: FxferSend: Cannot connect to: http://fcotaix2.mccnet.mccneb.edu:1158/em/upload/. retStatus=-32
    2007-03-26 15:50:56 Thread-1027 ERROR upload: Failed to upload file B0006595.xml, ret = -2
    2007-03-26 15:50:56 Thread-1027 ERROR upload: 3 Failures in a row for B0006595.xml, we give up
    2007-03-26 15:50:56 Thread-1027 ERROR upload: Error in uploadXMLFiles. Trying again in 86.00 seconds.

  • SMD Issue: A remote host refused an attempted connect operation

    Hi all,
    I am installing SMD agent 7.2 on managed system which is ABAP+JAVA 7.0. I Have successfully installed SMD agent 7.2 on Managemd system. Now, i need to configure its Introcope agent for JAVA system in sOlution manager. when i go to RCA->MAnaged system->setup wizard, it successfully configures it in further screens.
    However, wehn i go to RCA->MAnaged system->INtroscope agent and select the respective JAVA SID for which I installed sMD agent, it does not display the server node of jAVA for that system. Also when I check in the logs of sMG agent in the managed system, I get the below error;
    location:/usr/sap/sMD/SMDA97/log/SMDAgentApplication.0.log
    Error: A remote host refused an attempted connect operation
    Can anyone help me solving this issue?
    REgards,
    FAisal

    Hi Guilherme,
    Thanks for your reply.
    I have checked in agent administration screen. The agent is successfully assigned. I only see a problem while solman talking to the managed system on P4 port. I believe I have to open or do some administration of this P4 port. But where I am not sure.
    I mean while installed another SMD Agent on another J2EE server and it worked instantly!
    Can you help?
    Regards,
    Faisal

  • Java Proxy Runtime Error - A remote host refused an attempted connection

    I am able to register my Java server proxy with no errors. However when I message is sent through I get the following error in Xi Adapter:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method someJavaProxyCallIB of proxy bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4LocalObjectImpl0_0: A remote host refused an attempted connect operation.: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method someJavaProxyCallIB of proxy bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4LocalObjectImpl0_0: A remote host refused an attempted connect operation.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Doea anyone know why this is happening?

    I guess, that you have Java proxy libraries in the EAR file. Remove them before deploying.
    Regards
    Stefan

  • [MFC] Error Importing logs using SCP - "Error while downloading file. The remote host has terminated the connection"

    Background: 
    In order to transfer logs to MFC, we had to use an intermediate logging server in our OOB network.  When this logging server crashed we had to rebuild the server with new hardware and SCP no longer worked.
    Issue: 
    The host key changed on the new server and had to be manually updated.  We suspected it was related to the hosts key but had difficulty finding where the known hosts info was stored.
    Solution: 
    Go to your install location of MFC and remove the known_hosts file.  In our case the file was located at:  "D:\Program Files\IronPort Systems\Mail Flow Central\mailFC\tmp\known_hosts".  Instead of removing the file, we renamed it to known_hosts.old and restarted the MFC service.  Afterwards we could see all the old logs importing.
    The issue itself was not difficult to resolve, it just took more time than expected for something that would seem straightforward.  To complicate things, we even raised a query to customercare who came back saying that they do not support the server on which MFC is running.  But clearly the source of the issue was related to the application rather than the server itself.

    Thanks for your comment qetzacoatl, however I don't this this will work for me, I am on a team, and we need to be able to check-in/out files and make sure we don't override eachothers work. I also don't want to have to use 2 programs to accomplish the task one should be able to do. Its now 3 weeks going and I can't get any work done, it seems like its getting worse. Nobody from Adobe seems to want to comment on my thread at all....So maybe I should just find a completely new solution and get rid of DW all together, Aptana is looking VERY nice right about now.

  • Detecting When a Non-Blocking Socket Is Closed by the Remote Host

    Hi,
    Using NIO non blocked sockets how do I detect when a Non-Blocking Socket Is Closed by the Remote Host?
    What I have read is:
    The only way to detect that the remote host has closed the connection is to attempt to read or write from the connection. If the remote host properly closed the connection, read() will return -1. If the connection was not terminated normally, read() and write() will throw an exception.
    I have written a server test program using NIO and an applet connecting to the server program via sockets.
    When I after a successful connection shuts down the browser following happens: The code below comes in an endless loop though mySelector.select returns 0 every time. (The selector is registered for OP_READ). size = 1.
    while (true) {
    int n = mySelector.select();
    int size = mySelector.keys().size();
    if (n == 0) continue;
    Is this an expected result?
    How do I get to know what client has lost connection?
    My environment:
    W2000
    java 1.4.1 build 1.4.1_01-b01
    Browser used: IE 5.0
    Many thanks for your help on this matter!
    Regards Magnus Wistr�m

    What you're doing looks OK to me.
    I wonder whether your thread is being interrupted by Thread.intterupt() somewhere. Try putting a Thread.interrupted() before the select call.
    Sylvia.

  • Datapump process cannot connect to REMOTE HOST.

    hi,
    I am using ORACLE DATABASE 11g on 2 servers. Both have IBM AIX OS in it. I am trying to implement Golden Gate(GG) on it. The scenario is as follows :-
    Server 1 :-
    I have created 1 extract and 1 datapump processes.
    GGSCI (JLFLXFC1) 228> info all
    Program     Status      Group       Lag           Time Since Chkpt
    MANAGER     RUNNING
    EXTRACT     RUNNING     R2B         00:00:00      00:00:03
    EXTRACT     ABENDED     R2BDP       00:00:00      00:06:40The datapump process gets aborted after a few tries to connect to the remote host server. The log of datapump is as follows :-
    GGSCI (JLFLXFC1) 230> view report r2bdp
                     Oracle GoldenGate Capture for Oracle
            Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
      AIX 5L, ppc, 64bit (optimized), Oracle 11g on Apr 22 2011 03:25:30
    Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2012-06-14 15:13:07
    Operating System Version:
    AIX
    Version 5, Release 3
    Node: JLFLXFC1
    Machine: 00C576D24C00
                             soft limit   hard limit
    Address Space Size   :    unlimited    unlimited
    Heap Size            :    unlimited    unlimited
    File Size            :    unlimited    unlimited
    CPU Time             :    unlimited    unlimited
    Process id: 278676
    Description:
    **            Running with the following parameters                  **
    EXTRACT R2BDP
    --setenv (ORACLE_SID=NGPR2B)
    USERID ggs_owner, PASSWORD *********
    RMTHOST FIFLX595,MGRPORT 7809
    RMTTRAIL /data01/GoldenGate/dirdat/NGPR2B/rt
    PASSTHRU
    TABLE R2B.*;
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE:                         64K
    CACHESIZE:                                8G
    CACHEBUFFERSIZE (soft max):               4M
    CACHEPAGEOUTSIZE (normal):                4M
    PROCESS VM AVAIL FROM OS (min):          16G
    CACHESIZEMAX (strict force to disk):  13.99G
    Database Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will be used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
    NLS_LANGUAGE     = "AMERICAN"
    NLS_TERRITORY    = "AMERICA"
    NLS_CHARACTERSET = "AL32UTF8"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    Opened trail file /data1/GoldenGate/dirdat/R2B/lt000000 at 2012-06-14 15:13:07
    2012-06-14 15:13:07  WARNING OGG-01015  Positioning with begin time: Jun 14, 2012 3:13:04 PM, waiting for data: at extseqno 0, extrba 0.
    2012-06-14 15:13:37  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:14:17  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:14:57  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:15:37  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:16:17  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:16:57  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:17:37  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:18:17  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:18:57  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:19:37  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    2012-06-14 15:20:17  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    Source Context :
      SourceModule            : [er.extrout]
      SourceID                : [/scratch/aime1/adestore/views/aime1_staxk09/oggcore/OpenSys/src/app/er/extrout.c]
      SourceFunction          : [tcp_send_data(extract_def *)]
      SourceLine              : [1257]
    2012-06-14 15:20:57  ERROR   OGG-01224  TCP/IP error 79 (Connection refused); retries exceeded.
    2012-06-14 15:20:57  ERROR   OGG-01668  PROCESS ABENDING.
    GGSCI (JLFLXFC1) 231>I am able to ping the remote server but GG datapump is not able to connect it.
    The manager at the remote server shows the following messages in report :-
    2012-06-14 14:54:03  INFO    OGG-00953  Purging log history from GGS_OWNER.GGS_DDL_HIST older than 2012-06-12 13:54:03.290718: 0 rows deleted from GGS_OWNER
    .GGS_DDL_HIST.
    2012-06-14 14:54:03  INFO    OGG-00953  Purging log history from GGS_OWNER.GGS_DDL_HIST_ALT older than 2012-06-12 13:54:03.297951: 0 rows deleted from GGS_O
    WNER.GGS_DDL_HIST_ALT.
    2012-06-14 14:54:08  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 14:54:43  INFO    OGG-00974  Manager started collector process (Port 7847).
    2012-06-14 14:54:48  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 14:55:23  INFO    OGG-00974  Manager started collector process (Port 7848).
    2012-06-14 14:55:28  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 14:56:03  INFO    OGG-00974  Manager started collector process (Port 7849).
    2012-06-14 14:56:08  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 14:56:43  INFO    OGG-00974  Manager started collector process (Port 7850).
    2012-06-14 14:56:48  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 14:57:23  INFO    OGG-00974  Manager started collector process (Port 7851).
    2012-06-14 14:57:28  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 14:58:03  INFO    OGG-00974  Manager started collector process (Port 7852).
    2012-06-14 15:09:30  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:10:05  INFO    OGG-00974  Manager started collector process (Port 7841).
    2012-06-14 15:10:10  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:10:45  INFO    OGG-00974  Manager started collector process (Port 7842).
    2012-06-14 15:10:50  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:11:25  INFO    OGG-00974  Manager started collector process (Port 7843).
    2012-06-14 15:11:30  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:12:05  INFO    OGG-00974  Manager started collector process (Port 7844).
    2012-06-14 15:12:10  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:12:45  INFO    OGG-00974  Manager started collector process (Port 7845).
    2012-06-14 15:12:50  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:13:25  INFO    OGG-00974  Manager started collector process (Port 7846).
    2012-06-14 15:13:30  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:14:05  INFO    OGG-00974  Manager started collector process (Port 7847).
    2012-06-14 15:14:10  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:14:45  INFO    OGG-00974  Manager started collector process (Port 7848).
    2012-06-14 15:14:50  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:15:25  INFO    OGG-00974  Manager started collector process (Port 7849).
    2012-06-14 15:15:30  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:16:05  INFO    OGG-00974  Manager started collector process (Port 7850).
    2012-06-14 15:16:10  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:16:45  INFO    OGG-00974  Manager started collector process (Port 7851).
    2012-06-14 15:16:50  INFO    OGG-00963  Command received from EXTRACT on host 10.180.22.246 (START SERVER CPU -1 PRI -1  TIMEOUT 300 PARAMS ).
    2012-06-14 15:17:25  INFO    OGG-00974  Manager started collector process (Port 7852).Can anyone suggest what could be the problem ?
    Please guide me how to troubleshoot this problem.
    Thanks in advance.

    Yes, I have changed that previously for testing purpose.
    Now i have kept DATAPUMP port and TARGET MGR port to 7809 . Still i am getting the error.
    I also checked with TELNET if the port is blocked but its not.
    Below is the report of my DATAPUMP and the attempt of TELNET Command.
    GGSCI (JLFLXFC1) 30>  view report r2bdp
                     Oracle GoldenGate Capture for Oracle
            Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
      AIX 5L, ppc, 64bit (optimized), Oracle 11g on Apr 22 2011 03:25:30
    Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2012-06-18 11:03:30
    Operating System Version:
    AIX
    Version 5, Release 3
    Node: JLFLXFC1
    Machine: 00C576D24C00
                             soft limit   hard limit
    Address Space Size   :    unlimited    unlimited
    Heap Size            :    unlimited    unlimited
    File Size            :    unlimited    unlimited
    CPU Time             :    unlimited    unlimited
    Process id: 823546
    Description:
    **            Running with the following parameters                  **
    EXTRACT R2BDP
    --setenv (ORACLE_SID=NGPR2B)
    USERID ggs_owner, PASSWORD *********
    RMTHOST FIFLX595,MGRPORT 7809
    RMTTRAIL /data01/GoldenGate/dirdat/NGPR2B/rt
    PASSTHRU
    TABLE R2B.*;
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE:                         64K
    CACHESIZE:                                8G
    CACHEBUFFERSIZE (soft max):               4M
    CACHEPAGEOUTSIZE (normal):                4M
    PROCESS VM AVAIL FROM OS (min):          16G
    CACHESIZEMAX (strict force to disk):  13.99G
    Database Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will be used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
    NLS_LANGUAGE     = "AMERICAN"
    NLS_TERRITORY    = "AMERICA"
    NLS_CHARACTERSET = "AL32UTF8"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    Opened trail file /data1/GoldenGate/dirdat/R2B/lt000000 at 2012-06-18 11:03:30
    2012-06-18 11:03:30  INFO    OGG-01014  Positioning with begin time: Jun 18, 2012 11:03:22 AM, starting record time: Jun 18, 2012 6:50:11 AM at extseqno 0, e
    xtrba 4557.
    2012-06-18 11:04:00  WARNING OGG-01223  TCP/IP error 79 (Connection refused).
    GGSCI (JLFLXFC1) 31> shell telnet FIFLX595 7809
    Trying...
    Connected to FIFLX595.
    Escape character is '^]'.
    telnet>qMy MGR at target schema is as follows :-
    PORT 7809
    USERID ggs_owner, PASSWORD ggs_owner
    PURGEOLDEXTRACTS /data01/GoldenGate/dirdat/ex, USECHECKPOINTS, MINKEEPDAYS 3
    PURGEMARKERHISTORY MINKEEPDAYS 3, MAXKEEPDAYS 5, FREQUENCYMINUTES 30
    PURGEDDLHISTORY MINKEEPDAYS 1, MAXKEEPDAYS 2, FREQUENCYMINUTES 30Please let me know if you find any mistake in this.
    Thanks.

  • WCF service connection forcibly closed by the remote host for large data

    Hello ,
                        WCF service is used to generate excel report , When the stored procedure returns large data around 30,000 records. Service fails
    to return the data . Below is the mentioned erorr log :
    System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP
    response to <service url> This could be due to the service
     endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by
    the server (possibly due to the service shutting down). See server logs for more details. ---> System.Net.WebException:
    The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException:
    Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
    ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       --- End of inner exception stack trace ---
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout).
       --- End of inner exception stack trace ---
    Server stack trace:
       at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at IDataSetService.GetMastersData(Int32 tableID, String userID, String action, Int32 maxRecordLimit, Auditor& audit, DataSet& resultSet, Object[] FieldValues)
       at SPARC.UI.Web.Entities.Reports.Framework.Presenters.MasterPresenter.GetDataSet(Int32 masterID, Object[] procParams, Auditor& audit, Int32 maxRecordLimit).
    WEB CONFIG SETTINGS OF SERVICE
    <httpRuntime maxRequestLength="2147483647" executionTimeout="360"/>
    <binding name="BasicHttpBinding_Common"  closeTimeout="10:00:00"  openTimeout="10:00:00"
           receiveTimeout="10:00:00"  sendTimeout="10:00:00"  allowCookies="false"
           bypassProxyOnLocal="false"  hostNameComparisonMode="StrongWildcard"
           maxBufferSize="2147483647"  maxBufferPoolSize="0"  maxReceivedMessageSize="2147483647"
           messageEncoding="Text"  textEncoding="utf-8"   transferMode="Buffered"
           useDefaultWebProxy="true">
    <readerQuotas     maxDepth="2147483647"
          maxStringContentLength="2147483647"  maxArrayLength="2147483647"
          maxBytesPerRead="2147483647"  maxNameTableCharCount="2147483647" />
         <security mode="None"> 
    WEB CONFIG SETTINGS OF CLIENT
    <httpRuntime maxRequestLength="2147483647" requestValidationMode="2.0"/>
    <binding name="BasicHttpBinding_Common"
           closeTimeout="10:00:00"       openTimeout="10:00:00"
           receiveTimeout="10:00:00"       sendTimeout="10:00:00"
            allowCookies="false"        bypassProxyOnLocal="false"
            hostNameComparisonMode="StrongWildcard"        maxBufferSize="2147483647"
            maxBufferPoolSize="2147483647"        maxReceivedMessageSize="2147483647"
            messageEncoding="Text"        textEncoding="utf-8"
            transferMode="Buffered"        useDefaultWebProxy="true">
     <readerQuotas
           maxDepth="2147483647"
           maxStringContentLength="2147483647"
           maxArrayLength="2147483647"
           maxBytesPerRead="2147483647"
           maxNameTableCharCount="2147483647" />   

    Doing binding configuration on a WCF service to override the default settings is not done the sameway it would be done on the client-side config file.
    A custom bindng must be used on the WCF service-side config to override the defualt binding settings on the WCF service-side.
    http://robbincremers.me/2012/01/01/wcf-custom-binding-by-configuration-and-by-binding-standardbindingelement-and-standardbindingcollectionelement/
    Thee readerQuotas and everything else must be given in the Custom Bindings to override any default setttings on the WCF service side.
    Also, you are posting to the wrong forum.
    http://social.msdn.microsoft.com/Forums/vstudio/en-us/home?forum=wcf

  • Connection Closed forcibly by the remote host

    Hi,
    I am trying to print a file on the Client machine by getting the file object from the Server. For this, I used an Applet to call the Servlet and in return the Servlet will send the file object as response. It worked well for me, but I got the following error at one time.
    [5/2/08 8:55:00:087 CDT] 0000001d SRTServletReq E SRVE0133E: An error occurred while parsing parameters. java.io.IOException: Async IO operation failed, reason:
    RC: 10054 An existing connection was forcibly closed by the remote host.
         at com.ibm.io.async.AbstractAsyncChannel.multiIO(AbstractAsyncChannel.java:474)
         at com.ibm.io.async.AsyncSocketChannelHelper.read(AsyncSocketChannelHelper.java:217)
         at com.ibm.ws.tcp.channel.impl.AioSocketIOChannel.readAIOSync(AioSocketIOChannel.java:205)
         at com.ibm.ws.tcp.channel.impl.AioTCPReadRequestContextImpl.processSyncReadRequest(AioTCPReadRequestContextImpl.java:150)
         at com.ibm.ws.tcp.channel.impl.TCPReadRequestContextImpl.read(TCPReadRequestContextImpl.java:109)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.fillABuffer(HttpServiceContextImpl.java:4124)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readSingleBlock(HttpServiceContextImpl.java:3368)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readBodyBuffer(HttpServiceContextImpl.java:3473)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundServiceContextImpl.getRequestBodyBuffer(HttpInboundServiceContextImpl.java:1606)
         at com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.bufferIsGood(WCCByteBufferInputStream.java:109)
         at com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.read(WCCByteBufferInputStream.java:79)
         at com.ibm.ws.webcontainer.srt.http.HttpInputStream.read(HttpInputStream.java:294)
         at com.ibm.ws.webcontainer.servlet.RequestUtils.parsePostData(RequestUtils.java:297)
         at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseParameters(SRTServletRequest.java:1476)
         at com.ibm.ws.webcontainer.srt.SRTServletRequest.getParameterMap(SRTServletRequest.java:2006)
         at com.ibm.faces.context.MultipartExternalContextImpl$MultiPartServletRequestWrapper.<init>(MultipartExternalContextImpl.java:454)
         at com.ibm.faces.context.MultipartExternalContextImpl.<init>(MultipartExternalContextImpl.java:98)
         at com.ibm.faces.context.MultipartFacesContextFactoryImpl.getFacesContext(MultipartFacesContextFactoryImpl.java:77)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:192)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    I am not able find the exact reason for this exception, because I couldn't reproduce the same scenario. Can any one tell the exact reason for this exception and how to solve this problem.
    Thank You.
    Edited by: Ramesh_Pappala on May 5, 2008 11:54 AM

    Doing binding configuration on a WCF service to override the default settings is not done the sameway it would be done on the client-side config file.
    A custom bindng must be used on the WCF service-side config to override the defualt binding settings on the WCF service-side.
    http://robbincremers.me/2012/01/01/wcf-custom-binding-by-configuration-and-by-binding-standardbindingelement-and-standardbindingcollectionelement/
    Thee readerQuotas and everything else must be given in the Custom Bindings to override any default setttings on the WCF service side.
    Also, you are posting to the wrong forum.
    http://social.msdn.microsoft.com/Forums/vstudio/en-us/home?forum=wcf

  • Remote host said: 550 5.2.1 Mail from 209.X.X.X refused: spa

    Dear All,
    My Friend is facing a problem he is not able to send mails from outside for e.g yahoo.com his mx is natted on the firewall to my exchange server.
    Sender gets a bounce back mail stating below: -
    <XXX>:
    203.X.X.X does not like recipient.
    Remote host said: 550 5.2.1 Mail from 209.X.X.X refused: spam site.
    Giving up on 203.X.X.X.
    Sorry but i dont know whether this forum should answer my querries which are actually of my friends.
    But if you could it would be really helpful.
    Thanks in advance.
    Regards,
    Ranjit

    Hi Ranjit,
    203.X.X.X does not like recipient.
    Remote host said: 550 5.2.1 Mail from 209.X.X.X refused: spam site.
    Giving up on 203.X.X.X.
    implies that the recipient server is using antispam or blacklist software to refuse connections from certain IP addresses, including the 209.x.x.x address you cited.
    I would consider using an RBL lookup tool such as
    http://www.mxtoolbox.com/blacklists.aspx to check the 209.x.x.x address against different RBLs.
    If it turns out that it is indeed listed, you would need to go to the respective listing site to see how to get off their list.
    ( I am not affiliated with mxtoolbox, they just have a convenient lookup tool on their site )

  • Elom Java Console "Connect to remote host Fail"

    Hi,
    I'm accessing an elom over the https interface, which works fine, however when trying to launch the Java console, the app starts but a dialogue box appears stating "Connect to remote host Fail!", and quits when I click ok. I'm using:
    Kubuntu 9.10
    Firefox 3.5.5
    Java 1.6.0_15
    Elom firmware version 2.70
    I've also tried running against JRE 1.5, and tried saving the jnlp file and running that directly from javaws, all attempts produce the same result. I am able to connect to port 8890 from my machine. An strace seems to suggest that it sends and receives from port 8890 but then gets a Connection reset by peer.
    Furthermore I've also tried running it through localhost using an ssh tunnel to the elom, again, same result.
    I've now run out of ideas of what could be causing this issue, any help would be greatly appreciated.
    TIA
    Regards
    Craig

    SOLVED
    FYI, I downloaded the debian package of libstdc++5 from http://ftp.us.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-18_i386.deb
    After installing that on Kubuntu, the console works fine.

  • Is it possible and how to find out what host, if any, is connected to a remote PXI prior to switching execution target programmatically or in devlopment environment?

    Is it possible and how to find out what host, if any, is connected to a remote PXI prior to switching execution target programmatically or in devlopment environment?

    This functionality is not available in LabVIEW RT. If you attempt to switch execution target to an RT controller already targetted by someone else, it will tell you too many hosts are connected and fail. Of course if it allows you to switch, then no one was connected. By attempting to switch execution target you can use the message above to determine if anyone is targetted or not, but if someone is, there is no way to determine who.
    If you are concerned about this sort of thing, you might check the RT target options in LabVIEW RT to change the IP access list for hosts that are allowed to switch execution target to it.

  • TcpListener not working on Azure: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

    Hi Everybody,
    i'm playing a little bit with Windows Azure and I'm blocked with a really simple issue (or maybe not).
    I've created a Cloud Service containing one simple Worker Role. I've configured an EndPoint in the WorkerRole configuration, which allows Input connections via tcp on port 10100.
    Here the ServiceDefinition.csdef file content:
    <?xml version="1.0" encoding="utf-8"?>
    <ServiceDefinition name="EmacCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-01.2.3">
    <WorkerRole name="TcpListenerWorkerRole" vmsize="Small">
    <Imports>
    <Import moduleName="Diagnostics" />
    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    </Imports>
    <Endpoints>
    <InputEndpoint name="Endpoint1" protocol="tcp" port="10100" />
    </Endpoints>
    </WorkerRole>
    </ServiceDefinition>
    This WorkerRole is just creating a TcpListener object listening to the configured port (using the RoleEnvironment instance) and waits for an incoming connection. It receives a message and returns a hardcoded message (see code snippet below).
    namespace TcpListenerWorkerRole
    using System;
    using System.Net;
    using Microsoft.WindowsAzure.ServiceRuntime;
    using System.Net.Sockets;
    using System.Text;
    using Roche.Emac.Infrastructure;
    using System.IO;
    using System.Threading.Tasks;
    using Microsoft.WindowsAzure.Diagnostics;
    using System.Linq;
    public class WorkerRole : RoleEntryPoint
    public override void Run()
    // This is a sample worker implementation. Replace with your logic.
    LoggingProvider.Logger.Info("TcpListenerWorkerRole entry point called");
    TcpListener listener = null;
    try
    listener = new TcpListener(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    LoggingProvider.Logger.Info(string.Format("TcpListener started at '{0}:{1}'", RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Address, RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Port));
    catch (SocketException ex)
    LoggingProvider.Logger.Exception("Unexpected exception while creating the TcpListener", ex);
    return;
    while (true)
    Task.Run(async () =>
    TcpClient client = await listener.AcceptTcpClientAsync();
    LoggingProvider.Logger.Info(string.Format("Client connected. Address='{0}'", client.Client.RemoteEndPoint.ToString()));
    NetworkStream networkStream = client.GetStream();
    StreamReader reader = new StreamReader(networkStream);
    StreamWriter writer = new StreamWriter(networkStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    while (true)
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    LoggingProvider.Logger.Info("This is what the host sent to you: " + input+". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    break;
    catch (Exception ex)
    LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    break;
    }).Wait();
    public override bool OnStart()
    // Set the maximum number of concurrent connections
    ServicePointManager.DefaultConnectionLimit = 12;
    DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");
    RoleEnvironment.Changing += RoleEnvironment_Changing;
    return base.OnStart();
    private void RoleEnvironment_Changing(object sender, RoleEnvironmentChangingEventArgs e)
    // If a configuration setting is changing
    LoggingProvider.Logger.Info("RoleEnvironment is changing....");
    if (e.Changes.Any(change => change is RoleEnvironmentConfigurationSettingChange))
    // Set e.Cancel to true to restart this role instance
    e.Cancel = true;
    As you can see, nothing special is being done. I've used the RoleEnvironment.CurrentRoleInstance.InstanceEndpoints to retrieve the current IPEndpoint.
    Running the Cloud Service in the Windows Azure Compute Emulator everything works fine, but when I deploy it in Azure, then I receive the following Exception:
    2014-08-06 14:55:23,816 [Role Start Thread] INFO EMAC Log - TcpListenerWorkerRole entry point called
    2014-08-06 14:55:24,145 [Role Start Thread] INFO EMAC Log - TcpListener started at '100.74.10.55:10100'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Client connected. Address='196.3.50.254:51934'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Buffer size: 65536
    2014-08-06 15:06:45,491 [9] FATAL EMAC Log - Unexpected exception while Reading the request
    System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    --- End of inner exception stack trace ---
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
    at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
    at TcpListenerWorkerRole.WorkerRole.<>c__DisplayClass0.<<Run>b__2>d__0.MoveNext() in C:\Work\Own projects\EMAC\AzureCloudEmac\TcpListenerWorkerRole\WorkerRole.cs:line 60
    I've already tried to configure an internal port in the ServiceDefinition.csdef file, but I get the same exception there.
    As you can see, the client can connect to the service (the log shows the message: Client connected with the address) but when it tries to read the bytes from the stream, it throws the exception.
    For me it seems like Azure is preventing the retrieval of the message. I've tried to disable the Firewall in the VM in Azure and the same continues happening.
    I'm using Windows Azure SDK 2.3
    Any help will be very very welcome!
    Thanks in advance!
    Javier
    En caso de que la respuesta te sirva, porfavor, márcala como válida
    Muchas gracias y suerte!
    Javier Jiménez Roda
    Blog: http://jimenezroda.wordpress.com

    hi Javier,
    I changed your code like this:
    private AutoResetEvent connectionWaitHandle = new AutoResetEvent(false);
    public override void Run()
    TcpListener listener = null;
    try
    listener = new TcpListener(
    RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    catch (SocketException se)
    return;
    while (true)
    IAsyncResult result = listener.BeginAcceptTcpClient(HandleAsyncConnection, listener);
    connectionWaitHandle.WaitOne();
    The HandleAsync method is your "While (true)" code:
    private void HandleAsyncConnection(IAsyncResult result)
    TcpListener listener = (TcpListener)result.AsyncState;
    TcpClient client = listener.EndAcceptTcpClient(result);
    connectionWaitHandle.Set();
    NetworkStream netStream = client.GetStream();
    StreamReader reader = new StreamReader(netStream);
    StreamWriter writer = new StreamWriter(netStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    // LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    // LoggingProvider.Logger.Info("This is what the host sent to you: " + input + ". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    // LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    catch (Exception ex)
    //LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    Please try it. For this error message, I suggest you could refer to this thread (http://stackoverflow.com/questions/6173763/using-windows-azure-to-use-as-a-tcp-server
    ) and this post (http://stackoverflow.com/a/5420788).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't see design view after changing connections file from localhost to a remote host & back again

    I was using localhost to test files before changing the connections document over to a remote host, since I couldn't get dreamweaver to connect to the remote host, I changed back to localhot. My files are all .php files. This is a dynamic site. After I changed my connection back to my local host my design view no longer works. It's competly grey with 3 small icons at the top on the left. I can view in live view and I can view in the browser. But no longer in design view after being able to for 6 months. The 3 icons are a hard drive case, a document, and a link symbol . When I click in code view the design view turns grey when I click in design view it turns white. I am using wamp for the localhost, Windows XP home, Dreamweaver CS5. Can someone please tell me how to go back to design view. This happens with any & all files including non dynamic .html files. Also having a problem connecting to my remote host. using godaddy, and they have tried with me for 2 hours to connect, I just keep getting password is incorrect. Thank you for any help, Stacey

    I would also recommend clearing the Site cache, which may help with the connection failure. To do so, choose Site > Advanced > Recreate Site Cache.
    After doing so, be sure to go back into your Site Setup, and make sure the FTP address, user name, and password are all correct. (Click the Test button in there to verify.)
    If that doesn't help with getting connected to your server, you might try an alternate FTP client (e.g. FileZilla) to just make sure you are entering the right connection information. It could be that GoDaddy is having some issue, or maybe you just mistyped something (I know I do this often when I type too fast).
    As for the issue with Design View, try clearing the Dreamweaver cache. Instructions are here: http://forums.adobe.com/thread/494811
    You might also try toggling the location of Design View. That is, when in Split View, choose View > Design View On Left. Then, choose that menu option again to reset the location back to the right.
    Resetting the workspace might also be recommended. Window > Worksapce Layout > Reset 'name of current workspace'

Maybe you are looking for