SSL connection refused: errno=61

I'm trying to follow this guide to import OD servers SSL certificate for my client server: http://support.apple.com/kb/ht4183
my os version is 10.6, so the guide states that I need to import the certificate manually.
But when I try to run the command, that the guide states:
openssl s_client -connect myServerName:636
I get:
connect: Connection refused
connect:errno=61
Any ideas of what might cause this, and how to fix it?

That error implies that Open Directory either isn't configured or isn't running or isn't set for secure access, or possibly that DNS isn't set up or isn't resolving the target of the openssl command correctly.
From the errno.h file:
#define ECONNREFUSED 61 /* Connection refused */
Check the settings and maybe then the logs on the Open Directory server. 
I get that exact error when the Open Directory server isn't enabled for SSL with a certificate selected, too.

Similar Messages

  • Receiver SOAP Adapter : Error Connection Refused (errno: 239)

    Hello
    I am testing a simple scenario using SOAP Adapter. I am getting the following error.
    com.sap.aii.af.ra.ms.api.DeliveryException: Connection refused (errno:239)
      <?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: Connection refused (errno:239)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can you please tell me what could be the error for the following scenario.
    Best Regards,
    Kiran

    Hi Venkat,
    We are actually not using the sender comm channel
    http://<server>:<port>/ sap/xi/engine?type=entry&version=3.0&Sender.Party=<party name>&Sender.Service=<>&Interface=<namespace>^<interface>
    This stated endpoint is fine there is no error with it.
    Thanks.
    Kiran

  • SSL connection refused

    Hi
    I am trying to connect from sap portal through web dynpro to PI but I get the following exception:
    "Cannot find resource for bundle Java.Util.PropertyResourceBundle key could not create SSL socket... Connection refused."
    Any idea how this could be fixed?
    regards
    Yuval

    That error implies that Open Directory either isn't configured or isn't running or isn't set for secure access, or possibly that DNS isn't set up or isn't resolving the target of the openssl command correctly.
    From the errno.h file:
    #define ECONNREFUSED 61 /* Connection refused */
    Check the settings and maybe then the logs on the Open Directory server. 
    I get that exact error when the Open Directory server isn't enabled for SSL with a certificate selected, too.

  • Cisco Email IronPort is not sneding email to outside [Errno 61] Connection refused

    Dears,
    I have deployed new ESA C170. for incoming emails it works normally. But when we send email to most of domains like yahoo, hotmail, gmail...etc, the email get stuck and tracking shows ( queued for delivery). Mail logs show the following error:
    Sat Nov 22 16:18:43 2014 Info: Connection Error: DCID 20515 domain: hotmail.com IP: 65.55.92.152 port: 25 details: [Errno 61] Connection refused interface: 172.20.1.20 reason: network error
    And when I navigate to "monitor" -> " Delivery Status" it shows all the mentioned domains "Down".
    After long monitoring, I discovered that emails going to mail servers inside Saudi Arabia are not affected they are delivered successfully.
    But when comes to global mail servers like hotmail it fails. using Macafee threat intelligence tool, it shows the global IP of ironport as "High risk".
    Notice that the IP is not blacklisted anywhere else.
    Is this service provider related issue? And how can I make sure that it is problem in the IP...
    Thanks,,,

    Thx for ur response..
    actually I have single-homed box with one connected interface.
    I can ping gmail server but i cannot telnet it on port 25..after deep investigation i discovered that Macafee classifies the IP as "high-risk" although it is not black-listed in all reputation servers.
    the issue is not resolved yet.
    i don't know how can I unblock it in Macafee

  • WSX access Sahred VMs [Errno 111] Connection refused

    Hi,
    I've installed WSX on a fresh Fedora install in a VM just for fun. I installed my copy of VMware Workstation in the VM and then installed WSX.
    I can access WSX through port 8888 in my browser. I can login with root. When I click on Shared VMs(localhost), another login is prompted. I try to login with root and I get [Errno 111] Connection refused error message in the login prompt.
    I tried deleting the cookies and then login with root, I get 'NoneType' object has no attribute 'id' which seems to be a Python related error. I have Python 2.7 installed on this Fedora vm.
    Did I do something wrong ?
    Thank you !
    Pierre-Luc

    Seth Steinberg1 wrote:
    It looks like I'm stuck. Yet another great technology is gone. Luckily, there are lots of other ways to do backups, at least until something changes. Biologists call it the Red Queen Hypothesis. I'm on the case.
    Yep, that's the way technology is: you have to keep running as fast as you can just to stay in the same place!
    Your profile says you have a MacBook Pro and "a couple of others." If any of the "others" is a desktop Mac, it might be just as convenient to connect the hard drive to that computer and use file sharing to share the disk over the network. Then you could continue to use it for TM backups—just a thought.

  • ERRNO TEXT WSAECONNREFUSED: Connection refused

    Hi,
    I am facing a problem with sap gui 6.4.  I cant connect to sap server with sap gui it return a error connection refused and partner  not reached. It just suddenly show this error today but before this it work fine. The server is working fine.

    Hi,
    First ping ypur server and see if it is possible.
    in run type ping <ip>of your server> -t.
    If this works
    Put the IP of the server instead of server name in the  Application server tab of the logon settings.
    If the ping do not works pl check out for network problems.
    Hv a look at Note 545177 - FAQ: Preliminary steps in analyzing RFC connections
    Pl revert if unresolved or award suitably if resolved.
    Regards

  • Connection refused when trying to getOutputStream from https connection

    Hi all !
    I want to make an https connection with a server to send/get the request/response
    What can be the cause of the following error in the following code testHttps.java?
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    at Test.testHttps.main(testHttps.java:46)
    Exception in thread "main" java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at Test.testHttps.main(testHttps.java:51)
    testHttps.java
    package Test;
    import java.io.;
    import java.net.;
    import javax.net.ssl.*;
    public class testHttps {
    public static void main(String args[]) throws Exception {
    //System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    // Create a trust manager that does not validate certificate chains
    TrustManager[] trustAllCerts = new TrustManager[]{
    new X509TrustManager() {
    public java.security.cert.X509Certificate[] getAcceptedIssuers() {
    return null;
    public void checkClientTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    public void checkServerTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    // Install the all-trusting trust manager
    try {
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null, trustAllCerts, new java.security.SecureRandom());
    HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
    } catch (Exception e) {
    System.out.println("Error" e);
    // Now you can access an https URL without having the certificate in the truststore
    try {
    URL url = new URL("https://..............");-->//address of the server given here
    URLConnection conn = url.openConnection();
    HttpsURLConnection urlConn = (HttpsURLConnection) conn;
    urlConn.setDoOutput(true);
    OutputStreamWriter wr = null;
    try{
    wr = new OutputStreamWriter(conn.getOutputStream());
    catch(Exception e){
    e.printStackTrace();
    BufferedReader in = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
    String str;
    while( (str=in.readLine()) != null) {
    System.out.println(str);
    } catch (MalformedURLException e) {
    System.out.println("Error in SLL Connetion" +e);
    HostnameVerifier hv = new HostnameVerifier()
    public boolean verify(String urlHostName, SSLSession session)
    System.out.println("Warning: URL Host: " urlHostName " vs. "
    session.getPeerHost());
    return true;
    want to ignore certificate validation.
    plese help me..
    hi brucechapman, as you suggested me, i posted in Core API- networking forum, now please gimme a solution
    Thanks in advance.

    hi brucechapman,
    ran the NetTest program, got the following exception:
    trigger seeding of SecureRandom
    done seeding SecureRandom
    Exception in thread "main" java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at Test.NetTest.main(NetTest.java:40)
    NetTest.java:40 -- InputStream is = url.openStream(); at this ling throwing exception.
    For the following program, i have added the argument -Djavax.net.ssl.trustStore=cacerts
    i have exported the certificate from IE and added to the keystore.
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.security.Security;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    public class Communicator {
    public static void main(String[] args) {
    try {
    int port = 34443;
         String strReq = "xml content ";
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    SSLSocketFactory factory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) factory.createSocket("jyoti-win2k8-32", port);
    //Writer out = new OutputStreamWriter(socket.getOutputStream());
    //out.write("GET http://" + "hostname" + "/ HTTP 1.1\r\n");
    // out.write("\r\n");
    //out.write(strReq);
    //out.flush();
    OutputStreamWriter wr = null;
    try{
         wr = new OutputStreamWriter(socket.getOutputStream());
         catch(Exception e){
              e.printStackTrace();
         System.out.println("got output stream");
         try{
         wr.write(strReq);
         //System.out.println("response code : "+conn.getResponseCode());
         System.out.println("written");
         wr.flush();
         catch(IOException e){
              e.printStackTrace();
    InputStreamReader is = new InputStreamReader(socket.getInputStream(),"UTF8") ;
         BufferedReader rd = new BufferedReader(is);
         String line;int count=0;
         System.out.println("rd "+rd);
         while ((line = rd.readLine()) != null) {
              System.out.println("line "+line );
              System.out.println(count++);
              // Process line...
         System.out.println(count);
    rd.close();
    BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    int c;
    while ((c = in.read()) != -1) {
    System.out.write(c);
    //out.close();
    in.close();
    socket.close();
    } catch(IOException ex) {
    ex.printStackTrace();
    Exception :
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
         at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
         at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
         at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
         at sun.nio.cs.StreamEncoder.flush(Unknown Source)
         at java.io.OutputStreamWriter.flush(Unknown Source)
         at Test.Communicator.main(Communicator.java:55)
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at sun.security.validator.PKIXValidator.<init>(Unknown Source)
         at sun.security.validator.Validator.getInstance(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
         ... 7 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
         at java.security.cert.PKIXParameters.<init>(Unknown Source)
         at java.security.cert.PKIXBuilderParameters.<init>(Unknown Source)
         ... 19 more
    java.net.SocketException: Socket is closed
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getInputStream(Unknown Source)
         at Test.Communicator.main(Communicator.java:66)
    please help me and provide me suggestion/solution. how to get rid off this trustanchor paramater exception
    what is it actualy?
    Thanks in advance.

  • Connection Refused Error while running AS ABAP Initial Load

    All,
    I've never connected SAP NW IdM to an actual SAP system before, and I feel like I'm missing some obvious step of configuration, but I can't figure out what.
    We are in the process of trying provision user accounts to our SAP ABAP systems. My first step was to try to read all of the existing accounts from the ABAP system:
    Our Basis team created me a Communication user with the proper authorizations (I ensured that the authorizations included in SAP_BC_SEC_IDM_COMMUNICATION)
    I created a repository using the SAP NewWeaver AS ABAP (Specific Application Server) Repository Template (No CUA, No SNC) using that user's credentials
    I then used the Job Wizard and used the job template AS ABAP - Initial Load, specifying my repository above.
    When I run the job I get the following:
    Initializing SAP connection with parameters:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server failed Connect_PM MSHOST=<IPADDRESS>, R3NAME=<SID>, GROUP=PUBLIC LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host <IPADDRESS>, service sapms<SID>) TIME Wed Jun 01 13:54:36 201 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8840 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1
    Error Init failed
    I'm running SAP NW IdM 7.1 SP5 on Windows Server 2003 with MSSQL 2005. The ABAP server is on a UNIX box with an Oracle 10.2 dB.
    Is there additional configuration that needs to take place on the ABAP side to accept the connection?
    I've tried to find documentation on this, but have been unsuccessful. If someone could point me to the correct documents, or at least point me in the right direction for troubleshooting, it would be greatly appreciated.

    Ankur,
    Looks like the endpoint URL of the webservice is not updated and still pointing to the localhost. Try changing it to http://<ip_addres_of_your_server>:7101..... and see if it works fine then.
    -Arun

  • Decision Service calls failing with connection refused

    Hi All,
    Breifing of the bpel process - Async bpel process XX_BPEL_ASYNC_002 calls decision services and a sync bpel process XX_BPEL_SYNC_001.
    We have moved to cluster 10.1.3.5.0 from 10.1.3.3.0 and the deployement of the bpel process and the decision service done on two nodes i.e., node51 and node55.
    But the bpel process is able to call the decision service only when the node 51 is UP and running, but if node 51 is down and node 55 is up and running it is failing with connection refused error. It is also working when 55 is DOWN and 051 is UP.
    the exact error is:
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused.
    We are using file based repository.
    It is failing when it tries to call particular url:
    http://loadbalancerurl:7777/orabpel/domain001/XX_BPEL_ASYNC_002/1.0/decisionservices.decs
    Can anyone please help me or advice me for finding some solution.
    Thanks
    Sreejit

    Hi Fatsah,
    It has been a while since we resolved this problem. But these were  the basic steps that we had taken.
    The receiver was configured a File adatpter with FTP:
    Port: 10021
    Connection security : FTPS (FTP using SSL/TLS) for Control and Data Connection
    Command Order: AUTH TLS,USER,PASS,PBSZ,PROT
    Problem: The message was blocked in our firewall.
    FTPS in this case used 10021 as the control port and the firewall allowed to pass the control request.
    Once the connection was accepted at the control level, it generated a random port number  to pass data on the channel.
    This random port number was blocked in the firewall.
    We monitored the data port numbers generated at firewall. Then we configured the firewall to open any port number  between the specific IP addresses of the sender and the receiver. That resolved the problem.
    Hope this helps!
    Please give points if this is helpful.
    Thank you.
    Dharmasiri Amith

  • OEM IOException in sending Request :: Connection refused

    Hi,
    When I want to connect to OEM, I recieve an "java.lang.Exception: IOException in sending Request :: Connection refused".
    In emdb.nohup there is "----- Fri Apr 25 12:11:57 2008::The agentTZRegion value in /oracle/10.2.0/SUNAPART_ARTED08/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
    If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----"
    But when I want to stop or start or resetTZ anget It xon't work.
    emctl stop agent -->
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    Killed
    Agent is not running.
    Ok agent is not running, but when I do
    emctl resetTZ agent -->
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved
    Killed
    Agent is running. Stop the agent and rerun the command.
    ???? why ????
    I wonder what the Killed is ?
    It appears allready when I do emctl start dbconsole -->
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://SUNAPART:1158/em/console/aboutApplication
    Killed
    Starting Oracle Enterprise Manager 10g Database Control ....Killed
    started.
    Logs are generated in directory /oracle/10.2.0/SUNAPART_ARTED08/sysman/log
    and emctl stop dbconsole -->
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://SUNAPART:1158/em/console/aboutApplication
    Stopping Oracle Enterprise Manager 10g Database Control ...
    ... Killed
    Failed.
    but the dbconsole isn't longer availlable so it has work.
    Wan you help me solve my problem tks.

    The dbconsole is stopped, (I'va killed it, because stop doesn't work)
    When I do ps -ef | grep dbconsole I have nothing. (the same with agent) but I still have the message "Agent is running" when i want to resetTZ agent.
    In emoms.log, I've
    2008-04-25 13:59:50,178 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ias.ias.IASIntegration
    2008-04-25 13:59:50,583 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.eml.target.slb.common.SLBIntegration
    2008-04-25 13:59:50,720 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.eml.ssl.intg.SSLIntegration
    2008-04-25 13:59:50,871 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.tip.oem.central.domain.ProcessConnectDomainIntg
    2008-04-25 13:59:50,875 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
    2008-04-25 13:59:50,877 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
    2008-04-25 13:59:50,880 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
    2008-04-25 13:59:50,887 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.reports.em.RepIntg
    2008-04-25 13:59:50,890 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
    2008-04-25 13:59:50,893 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
    2008-04-25 13:59:50,896 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
    2008-04-25 13:59:50,898 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
    2008-04-25 13:59:50,901 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
    2008-04-25 13:59:50,904 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration

  • Javax.mail.MessagingException: Connection refused: connect on localhost

    Hello,
    I am using Tomcat5.0.28 for a javamail servlet program. I am giving the hostname as localhost. After entering the input details in my html file, i get the error- "javax.mail.MessagingException: Connection refused: connect; nested exception is: java.net.ConnectException: Connection refused: connect " .
    can anybody help me regarding in solving error.
    Thanks.

    First, you're using a very old version of JavaMail.  Please upgrade.  Some of the properties you're setting aren't supported in that old version.
    Second, you don't need the socket factory properties, get rid of them.
    Finally, it looks like you're trying to connect on port 143 using SSL.  Port 143 is the non-SSL port.  That's probably not going to work.  Still, it looks like something is refusing to let you connect at all.  If you really can telnet from the same machine your program is running on to the same server machine on port 143, then you probably have some sort of firewall that's preventing your program from connecting.  Please post the entire debug output if it still fails after correcting the problems above.  (Move the setDebug call to before the getStore call.)

  • Connection Refused: Connect

    Hello again,
    we installed our Portal with:
    Windows 2003 + SQL Server
    SAP J2EE PL23
    EP6.0 and Patch 2 (us told in docs)
    our problem is that when we tried to logon to our portal with sap* user nothing appears !!!!
    The inicialization of our system seems to be ok....In the log appears: Portal initialization done.
    After that msg appers many with the folow errors:
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    What is this problem ?
    Can someone help us ?
    Thanks in advanced.

    but i am not send to the client when i accept the client connection immediately ,It doesn't matter when you send to the client. The answer is still the same. You send to a client via the socket you accepted from that client. That's what it's for.
    for example :
    first client_A connect to Server (port 2222) , than Client_B connect to Server (port 2222) , finally Client_C connect to Server (port 2222)You don't need to keep telling me the port number. If the ServerSocket is listening at port 2222 they will all connect via port 2222. They don't have any choice about that.
    and all not close the connection, but if I want to send some msg to Client_B from Server, how can i send the msg to client_B ?Via the socket you accepted from client B. I've already answered that.
    it's just like you said "you don't have to do anything about that. " ?Is that a question?
    You don't seem to have much idea about client-server socket programming. Have you read the Custom Networking tutorial?

  • Bi Server Connection Refused

    Hi, i've installed BI Server EE on a virtual machine.
    I press "Start OC4J" and the batch file starts as i think. When i try to start "BI publisher" i see a Java Exception "Connection Refused" Some idea?

    Hi MIcheal, i'm working on the same VM, i've got as the db as publisher on this VM, and i try connect to localhost.
    The error log is :
    <TIMESTAMP> NOTIFICATION connect to NQSSECONDARYCCS=;PORT=;SSLKEYSTOREPASSWORD=***;PRIMARYCCS=;TRUSTANYSERVER=;LOGFILEPATH=<PATH>;SECONDARYCCSPORT=;TRUSTSTOREPASSWORD=***;LOGLEVEL=;SSL=;HOST=VM_ODI;CATALOG=;PASSWORD=***;
    <timestamp> WARNING java.net.ConnectException: Connect Refused: connect
    java.sql.SQLException: java.net.ConnectException:Connection Refused: connect
    at oracle.bi.jdbc.AnaJdbcDriver.conncetToNQSNode<AnaJdbcDriver.java:413>

  • Connection refused from Java in Windows to remote postgresql Linux server

    I fail to connect from windows to a remote postgresql linux server. The SQLEexception received is same as the SQLException that happen to the localhost connection to postgresql where the condition of postgresql not started or not start with -i option to allow tcp/ip connection. The SQLException is SQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
    Please help..
    Java class file with the following codes:
    String url = "jdbc:postgresql://servername:5432/databasename";
    Connection con = DriverManager.getConnection(url,"username","password");
    The /var/lib/pgsql/data/pg_hba.conf have the following configuration:
    # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
    local all all trust
    host all all 127.0.0.1 255.255.255.255 trust
    hostssl all all 219.94.117.8 255.255.255.255 trust
    hostssl all all 0.0.0.0. 0.0.0.0 trust
    host all all 219.94.117.8 255.255.255.255 trust
    host all all 0.0.0.0 0.0.0.0 trust
    The /var/lib/pgsql/data/postgresql.conf have the following configuration:
    # Connection Parameters
    tcpip_socket = true
    #ssl = false
    #max_connections = 32
    #superuser_reserved_connections = 2
    #port = 5432
    #hostname_lookup = false
    #show_source_port = false
    The postgresql start in the /etc/init.d directory with the command ./postgresql start
    postgres 16923 0.1 0.3 9556 1956 pts/0 S 01:58 0:00 /usr/bin/postmaster -p 5432 -i
    postgres 16925 0.0 0.3 10548 1948 pts/0 S 01:58 0:00 postgres: stats buffer process
    postgres 16926 0.0 0.3 9580 1968 pts/0 S 01:58 0:00 postgres: stats collector process
    root 16931 0.0 0.1 2664 716 pts/0 R 01:58 0:00 ps aux

    On my machine (OS X ) I had trouble with postgresql refusing to notice the -i option in the configuration file. Instead I manually had to specifiy postmaster -i ...
    Also check your firewall settings. I also could not get localhost to work, I had to use the actual IP address of the machine, ie not 127.0.0.1. Use telnet hostip 5432 to check if you can get a connection. For my situation once telnet would connect, then JDBC started working too. Then localhost started working too.

  • SAP Router connection  refused

    Hi SAPRouter-experts!
    <b>I have a problem to establish OSS1-connection, to ping sapserv3 (147.204.2.5) --> time out error, and to configure saprouter.</b>
    Here the developer trace from ST11
    RSTR0006 - Anzeige der Entwickler-Traces                                                                            
    1
    trc file: "dev_lg", trc level: 1, release: "700"
    [Thr 7656] Sun Jun 17 13:58:57 2007
    [Thr 7656] ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED:
    Connection refused) [nixxi.cpp 2764]
    [Thr 7656] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 /
    sock 1876
         (SI_ECONN_REFUSE; I4; ST; 192.168.177.10:3299) [nixxi.cpp    2764]
    [Thr 7656] *** ERROR => MsIAttachEx: NiBufConnect to
    /H/192.168.177.10/S/sapdp99/H/192.168.147.101/S/sapdp99/H/147.204.2.5/S/sapdp99/H/oss001/S/sapmsO01/x
    failed (rc=NIECONN_REFUSED) [msxxi.c      6
    [Thr 7656] *** ERROR => LgIAttach: MsAttach (rc=NIECONN_REFUSED)
    [lgxx.c       3980]
    [Thr 7656] *** ERROR => LgApplSrvInfo: LgIAttach(rc=LGEMSLAYER) [lgxx.c      
    1272]
    [Thr 7656]
    [Thr 7656] *  ERROR       partner '192.168.177.10:sapdp99' not reached
    [Thr 7656] *
    TIME        Sun Jun 17 13:58:57 2007
    [Thr 7656] *  RELEASE     700
    [Thr 7656] *  COMPONENT   NI (network interface)
    [Thr 7656] *  VERSION     38
    [Thr 7656] *  RC          -10
    [Thr 7656] *  MODULE      nixxi.cpp
    [Thr 7656] *  LINE        2764
    [Thr 7656] *  DETAIL      NiPConnect2
    [Thr 7656] *  SYSTEM CALL connect
    [Thr 7656] *  ERRNO       10061
    [Thr 7656] *  ERRNO TEXT  WSAECONNREFUSED: Connection refused
    [Thr 7656] *  COUNTER     1
    [Thr 7656] *
    [Thr 7656]
    <b>Can you tell the procedure to fix all the prooblems?</b> Tnak you very much!
    regards

    Hi!
    Thank you!
    BUT, I am talking about the OSS1-issue in SOLMAN.
    Unfortunetaly I can not ping to sapserv3 or open ftp with sapserv3..
    I completly installed the latest version of Saprouter, installed the service in Windows, have run ltgt.exe...
    <b>How can I establish the connection with SAPRouter? Is there some Network limitations? </b>
    Thank you!

Maybe you are looking for