Failed to use HTTPS connecting to a remote machine (SP3 WLS6.1 )

we are currently having problem with one of our environment. When we
try to use SSL to connect to a remote system, it seems that wls
implementation try to do a dns lookup first before even going out
through the proxy. The problem is that from that system wls will not
be able to do the lookup needed. The dns is available at the proxy
level. Thus when we use ssl in our application we always received
UnknownHostException.
However, the problem does not happen in the other environment running
SP2 (NT 4.0 SP6a). For HTTP either SP2/3 works fine also.
Have anyone experience the same problem? or can this confirm to be a
'bug' from SP3?
FYI: Our application (servlet) perform a request using https to a
remote server to query some information needed (i.e. wls acting as a
client instead of a server). To connect to the remote system, it
needs to go through a proxy first.
Thanks.
Iwan.

Chukii,
take care that you are using the same jdk version on server and client (1.3 or 1.3.1).
prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
prop.put(Context.PROVIDER_URL, "iiop://servername:1051"); works nice. I tested it - but on Windows machines.
Your questions:
1. yes, that's an interesting question. Next one...
2. localhost is a good choice. I didn't change this setting
3. JNDI is a directory service like DNS. The EJBs are registered there and can be found with the lookup(...). If you try to find something like '/home/usr...' you'll get an error message '... not bound' (or something like that). You can find your EJB with the JNDI name you entered in the Deployment Tool.
4. Add your remote servers with 'File|Add Server...' and you'll get deploy your application on any server of your choice.
5. iiop. ldap is for looking up something in a directory service like NIS, ActiveDirectory, etc. rmi looks quite nice, but the communication is defined as RMI over IIOP.
hope it helps
-chris

Similar Messages

  • An HNAP call to the device failed because the HTTP connection was broken - EA3500

     OK - thanks in advance for your help -
    I have a linksys Linksys WMP300 and am able to connect to the EA3500 (shows connected at 270 Mbps) Excellent Connecttion but I can't access the internet or any of the other computers on my network.  The stupid thing is that I can connect to my neighbor's unsecured network which is also a linksys router.
    All of the other computers on the network connected just fine - my son has a laptop running windows Vista, we have a family computer using Vista, my wife's laptop is Windows 7 (we just had a guest that connected just fine).
    Here's the error code I get - any help would be appreciated!
    Error code: 82BD0304
    Error description: An HNAP call to the device failed because the HTTP connection was broken.
    Model name: unknown
    Model number: EA3500
    Serial number: 12C10603215584
    Firmware version: unknown
    Operating system: Windows XP SP 3
    Software version: 1.4.12005.2
    Connection type (WAN): unknown
    IP address (LAN): unknown
    IP address (WAN): unknown
    Computer IP address: 192.168.1.36

    Thank you for the reply - 
    Router is assigning IP address automatically. Although I have been using a static IP address in the past, this is no longer the case.
    The WMP300 is on an Windows XP, SP3 PC.
    Since running into this issue, I have not only disabled all security (to make sure that firewalls and/or virus software was causing problems) I completely uninstalled my McAfee. I have disabled Windows Firewall also. "Flying Naked" as it were.
    I am surprised that Cisco has no solution - others are also having this problem.
    It MUST be the router - I am able to connect to my neighbor's router, able to connect to my old Linksys WRT150N. Anyone else have thoughts?
    This is frustrating.

  • Failed to open HTTP connection to server--OBIEE11g

    Hi,
    Mistakenly my machine got restarted and after that when I tried to start OPMN services,its showing all the processes alive but after that ,while restarting BI services from windows
    its throwing an error of unexpectedly shutting down of services.
    My NQS log says:
    [nQSError: 12010] Communication error connecting to remote end point: address = 192.168.10.209; port = 80.
    [nQSError: 46119] Failed to open HTTP connection to server 192.168.10.209 at port 80.
    I have checked that IP is still same. What is the issue behind it?
    This is very urgent.I have already posted this issues many times but didn't get any response So please help.
    Regards,
    Rajeev khanna

    HI,
    I have checked Repository DB is up and while starting OPMN services from via cmd (command prompt), all components are showing up but still not able to login to EM,console and Analytics. As I have earlier mentioned that NQS server log is throwing the below error:
    [nQSError: 12010] Communication error connecting to remote end point: address = 192.168.10.209; port = 80.
    [nQSError: 46119] Failed to open HTTP connection to server 192.168.10.209 at port 80.
    Please suggest.

  • RFC to send an idoc PEXR2002 using HTTP connection to an external server

    Hi,
      Iam working on RFC to send an idoc PEXR2002 using HTTP connection to an external server. first time iam working on this particular scenario on http connections. please clarify on this and explai me in detail about this.
    Points will be rewarded **
    Thanks & Regards,
    Ravi

    HI Jagruthi,
    Have you loaded the metadata into the XI system by using IDX2?
    If it is done then try to delete once and do once again.
    And also delete the IDoc from IR and reimport the IDoc and activate it once again.
    Regards
    Goli Sridhar

  • When I try to connect to a remote machine using IPSecuritas, am getting the following error

    When am trying to connect to remote machine using IPSecuritas, I am getting the following error and hence not able to establish connection. Imported the security policy and when I start IPSec,  I get this error.
    Info     APP  IKE daemon started
    Info     APP  IPSec started
    Error    IKE  Foreground mode.
    Info     IKE  @(#)ipsec-tools CVS (http://ipsec-tools.sourceforge.net)
    Info     IKE  @(#)This product linked OpenSSL 0.9.7l 28 Sep 2006 (http://www.openssl.org/)
    Info     IKE  Reading configuration from "/Library/Application Support/Lobotomo Software/IPSecuritas/racoon.conf"
    Info     IKE  Resize address pool from 0 to 255
    Error    IKE  failed to bind to address 192.168.1.2[4500] (Address already in use).
    Info     APP  IKE daemon terminated
    Error    IKE  failed to bind to address 192.168.1.2[500] (Address already in use).
    Error    IKE  no address could be bound.
    Info     APP  IPSec terminated
    Please help me in fixing this issue. Thanks in advance!!..
    Thanks,
    RV

    Is this music purchased back in DRM days? I don't actually have any iTunes music so I can't test with my iTunes 7.5, but I know that without iTunes 10 you cannot even connect to the store anymore.  I wouldn't think that would require an active connection to the store all the time, otherwise how could you play music on a computer in the middle of nowhere?  Did you do something to trigger iTunes suddenly wanting to connect and check on machine authorization?

  • SOAP: call failed: java.io.EOFException: Connection closed by remote host

    Hi folks,
    my friday crusher:
    We have a sync RFC-PI-SOAP scenario.
    All is working fine in Dev system.
    After moving into Test following error is displayed as the SOAP response message:
    - <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.engine.interfaces.messaging.api.exception.MessagingException: java.io.EOFException: Connection closed by remote host.</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Also Channel Monitoring says:
    Message-Verarbeitung fehlgeschlagen. Grund: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.EOFException: Connection closed by remote host.
    Couldn´t find any hints in SDN and the web to this issue.
    Does anyone of you has made experiences with that problem?
    Maybe it´s a system parameter for time out SOAP connections....?
    Many thanks for your help
    -and-
    have a great weekend!
    Cheers
    André

    Very strange!
    But I have the solution:
    I have looked into channel monitoring / RWB again.
    There I saw, this PI is using two clusters on two application servers.
    Everytime the SOAP call is executed through the frist cluster, all was fine.
    But no SOAP call was successfully executed by the second cluster.
    Fortuity? No!
    The second cluster node / app server wasn´t registered for internet access in the used proxy server.
    So it wasn´t an PI issue.
    Now, all is fine & I´m happy!
    Thanks @all for helping!
    Cheers,
    André

  • Issues using HTTP Connection Manager to run SSRS reports from SSIS

    In my package, I have a HTTP Connection Manager called "ReportServer". And I have two variables called "ReportURL" and "ReportFile". "ReportURL" is the URL for the report. I won't get into the details of this
    URL because I don't think this is the issue. "ReportFile" is the complete path and name of the output file I want to generate from "ReportURL".
    With these things in place, I have a script component that that looks like this.
    Public Sub Main()
    'Connect to http conn mgr
    Dim httpConn As ConnectionManager = Dts.Connections("ReportServer")
    Dim clientConn As HttpClientConnection = New HttpClientConnection(httpConn.AcquireConnection(Nothing))
    'file name with path
    Dim ReportFile As String = Dts.Variables("ReportFile").Value.ToString
    'report url
    Dim ReportURL As String = Dts.Variables("ReportURL").Value.ToString
    clientConn.ServerURL = ReportURL
    'Download PDFReport
    clientConn.DownloadFile(ReportFile, True)
    Dts.TaskResult = ScriptResults.Success
    End Sub
    I don't know too much about the inner workings of the above script. It's from a template I copied from somewhere and it's been working fine.
    But, today all of a sudden, it started a mysterious behavior. Let me see if I can describe it to see if this sounds familiar to anyone.
    For some reason, a run of this package failed at time T1, running with a certain value of "ReportURL" and "ReportFile". Now everytime I try to fun the package with the same "ReportURL" and "ReportFile", it fails because
    it tries to write out two files with the same name, "ReportFile", one from the current one and another from the failed one at time T1. It looks like somehow, the connection is still open from the failed one in time T1 and it won't go away.... does
    this sound like anything? Can you understand the problem I am describing?

    May it be that this post is NOT SSIS related?
    Arthur My Blog

  • Use HTTP connection over SAPROUTER?

    hallo
    i have 2 saprouters connected so i can access sap with sapgui by using saprouter string
    /H/212.xx.xx.xxx/S/sapdp99/H/212.yy.yy.yyy/S/sapdp99/H/
    so far no problem
    i added entries in saprouttab for port 8000 as well (same es for oss service required)
    how can i now access to bsp application by using this saprouter-tunnel?
    i find a lot of documentation how to setup the saprouttab for http connection but not how to use it
    regards
    joerg

    > I bet the same applies for http.
    yes.
    If the SAP support clicks on an HTTP connection some local scripts on their PCs will act as a proxy, so basically the connect "locally" and internal programs/proxies forward that through the saprouter connections.
    To make an HTTP access from outside the network possible you can install an apache webserver and configure it as a reverse proxy.
    Markus

  • Timeout problem using HTTP connection in MIDP

    Hi,
    I have one thread that does a HTTP connection (StreamConnection)with the server. In some cases, the connection is established to the server and request is sent to server, then connection hangs. I cannot check the response code since the response doesn't return back. In this case, my app also hangs on the progress bar screen. Is there any way to handle timeouts in these circumstances? How do I know if the response object doesn't return back?
    Has anyone faced this problem before? Any help is appreciated.
    Thanks in advance.

    Hi,
    i am getting the same problem. my application hangs when i close the connection when the request has been sent to the server and before the data starts downloading on the client. i mean if i cancel the connection with in that time span it hangs otherwise if i close the connection while the data is being downloaded from the sever then it works fine.
    if you have sloved this problem before please explain how to slove it.
    thanks,
    Omar Rehman

  • Creating Error log files using UTL_FILE package on a remote machine

    Database Version: 10g Release2
    OS Platform: Sun Solaris
    I have been asked to log errors to OS files rather than tables. So, i wanted to use UTL_FILE package. But the client doesn't want to store these files on the same server where the database is running(as specified in UTL_FILE_DIR). Is there a way i could get these files created on a remote machine(client).

    I believe what others are suggesting is that your stored procedure continues to log to a table and a separate process be created that runs on the machine you want the file to be created on which reads the log table and writes to a log file.
    If that is not an option, can you expose the directory on the remote machine you want to write the file to as a file share that can be mounted by the database server? If you can, you could write errors there using UTL_FILE. However, it would probably be a bad idea. If you're logging an error already, that implies that something has gone wrong. Making an error logging process dependent on a remote server being available and properly mounted with appropriate privileges at the instant the error occurs just creates more sources of failure that would prevent you from logging an error, which would prevent you from being able to debug the problem or even know it existed without a report from a user.
    Justin

  • [Solved]Fail to use wired connection, but can still use wireless.

    I had suspected the problem to be related to a recent package update from any time between 6/2 to 6/5, though the problem only started yesterday(6/6 in my time zone). I have already tried downgrading internet related packages that has recent upgrades, but the problem is still there. So I need help. What information do I need to provide to help pin-point what is causing this problem?
    Last edited by enochnotsocool (2012-06-07 14:03:07)

    The problem magically solved itself over the day... : P
    but I'll still post the requested output.
    ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 6c:62:6d:32:b3:fb brd ff:ff:ff:ff:ff:ff
    inet 140.112.196.33/24 brd 140.112.196.255 scope global eth0
    3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether dc:a9:71:0e:d2:1a brd ff:ff:ff:ff:ff:ff
    lspci -nn
    00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
    00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
    00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
    00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
    00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
    00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
    00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
    00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
    00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)
    00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
    00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)
    00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)
    00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev ff)
    02:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 04)
    03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
    04:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 130 [8086:0896] (rev 34)
    But I still hope someone can help me in understanding what to look for when such situations happen again. What data I should gather to help other's get information about my problem.
    By the way, I'm quite sure it is not a cable problem, because the windows in the same machine can link onto the net when arch was still unable to link onto the net. During the entire day, I refreshed the package database, and the only update was vim. So what could have caused the problem to fix itself again?

  • Connecting SqlPlus from Remote Machine

    Does anyone have an idea one how to connect Sqlplus to an Oracle DB on an other machine?
    I really do appreciate your help guys!!
    Thanks,
    Karim Soliman

    On the Client use Net Configuration Assistant (netca command on Linux/Unix) to configure the connection string. Then you can connect as
    sqlplus <username>/<password>@<connection string>
    but... what does this have to do with Application Server ?

  • Sess_sh (via IIOP) cannot connect fr a remote machine!

    hi,
    when i tried
    sess_sh -u scott -p tiger -s sess_iiop://servername:2481:demo
    where servername is the name of the server machine, 2481 the
    listener port for IIOP, & demo is the SID.
    the error "cannot connect to service..." appears.
    the same command executed on the server machine worked
    perfectly. the network has been properly set up, as i could use
    SQL PLUS to interact with the database @ port 1521.
    what can be the prob ?
    thanks to anyone who can help...
    mokkie
    null

    Mokkie,
    Try this connect string:
    sess_sh -u scott -p tiger -s sess_iiop://servername:2481
    I am not sure why this happens but leaving out the service id has
    been suggested as a workaround.
    Hope this helps.
    Regards,
    mokkie (guest) wrote:
    : hi,
    : when i tried
    : sess_sh -u scott -p tiger -s sess_iiop://servername:2481:demo
    : where servername is the name of the server machine, 2481 the
    : listener port for IIOP, & demo is the SID.
    : the error "cannot connect to service..." appears.
    : the same command executed on the server machine worked
    : perfectly. the network has been properly set up, as i could use
    : SQL PLUS to interact with the database @ port 1521.
    : what can be the prob ?
    : thanks to anyone who can help...
    : mokkie
    null

  • Oracle raise ORA-03113 when connect to a remote oracle server using toad

    Hi there,
    when i use the tool toad connect to a remote oracle server which located in a different city,
    when i submit a query in toad,
    if the query returns many rows of data, it will raise the error ORA-03113:end-of-file on communication channel,
    however if the query returns only a few rows, i won't raise such error,
    however, when i use sqlplus connect to that remote server, it won't raise such error,
    what's the reason is, can any one tell me how to tackle this problem if using the tool toad. thanks/

    hi my oracle vsersion is:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    my oracle server is 2 nodes rac server,
    and i've tried two different kind version of toad v9.6 and v10.5, and both have the same problem
    once i query a table, if the result returned more than 30 rows, then it will raise that error, if query returns less than 30 rows, it's ok.
    i assume it is a problem concern with network, but i don't know why no such error raise when using sqlplus ?

  • OSB call to remote Web Service via https proxy and https CONNECT problem

    Hi
    I have a service that calls a web service on another server as a web service. This call is via https and the certificate validation raises no errors.
    I now want this call to go via a squid httpd proxy on port 3128 on some machine. So I would like to use HTTP CONNECT (RFC 2817) proxying,. But when I set up this as a proxy, I am getting "Certificate chain" error messages. The certifcate chains is no different now from when I called without the http proxy, so what am I doing wrong? Does OSB support HTTP CONNECT?
    -Johan

    The exeption we are getting is BEA-380000
    General runtime error: [Security:090477]Certificate chain received from XXX - 123.123.123.123 --> test.salesforce.com was not trusted causing SSL handshake failure.
    This is of course not relevant if the callout were using CONNECT. In the CONNECT scenario, OSB would not care about XXX's certificate.

Maybe you are looking for

  • How do I synchronise ical on my new macbook air?

    I just got a mcbook air and I don't know how to synchornise ical. I have a mobile me account, so I want to synchronise ical from my iphone to my macbook air directly. How to do this. Thank you.

  • Mail Adapter : Receiving a Dat file

    Hi, I am sending an error message to MAIL adapter during a IDOC->XI<->HTTP Receive. I am getting the error message to my email id in the form of .DAT file(an attachment) The "Keep Attachments" is unchecked. Why is that i am not able to get this withi

  • TS3367 hello, can anyone help me about facetime?

    hello, anyone can help me why my iphon4 can't make a call to facetime to any  number?

  • Speed grade not rendering

    So i have tried every file format i could think of to render out my speed grade project and no matter what i try (compressed by h.264 or non compressed, to pro res 422) the video is either corupt or the colour work does not end up in the final movie.

  • Videos on iWeb

    Please excuse my basic question: 1. Can you put videos on the websites on iWeb and if so how large can they be? 2. I have a small business and think a iWeb may be low-maintanence enough to set something up on. Do people use iWeb for this or is it gen