Hostname verifier does not get invoked

Hi All,
I am new to weblogic and currently facing an issue with SSL. I checked this forum but none of the solutions really worked for me, so seeking advice starting a new thread. Kindly help.
Problem 1
I have a REST webservice running in one weblogic server and another weblogic server contains a client which is based on the code from the following link -
http://wiki.open-esb.java.net/attach/RestBCEchoSSL/SslClient.java
One way handshaking is enabled in both the weblogic and the KeyStore and Truststore are read from configurable directory in the client java code. I specify a directory which resides outside weblogic home.
Even though there is an HostnameVerifier implemented in the code to return true always, it does not get invoked and I get a certificate exception as below -
<Warning> <Security> <BEA-090542> <Certificate chain received from xx.yy.zz.rrr - xx.yy.zz.rrr was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.>
But when I run the java client from Eclipse I am able to invoke the webservice methods using HTTPs.
So is not it possible to add a default hostname verifier as in the java code when the application is deployed in weblogic?
Problem 2
I another attempt to solve the above issue I turned off the hostname verification from weblogic admin console in the client weblogic side. In the console for the server Configuration > SSL->Hostname Verification field is set to "None". But that did not help.
Then I added the '-Dweblogic.security.SSL.ignoreHostnameVerification=true' flag into the <domain>/bin/startWebLogic.sh file and restarted the weblogic. No luck again.
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy -Dweblogic.security.SSL.ignoreHostnameVerification=true ${PROXY_SETTINGS} ${SERVER_CLASS}
I tried recreating the certificate using the' hostname' instead of the ip address ( also added an entry into the /etc/hosts file putting the ip and hostname so that I can do ping <hostname> from the client and get response returned from the server side). Again no luck :(. I keep getting the same handshake failure as mentioned above.
The weblogic version is 10.x.
Thanks,
Amrit

I did some more research for the issue mentioned which I yet to get rid of.
1) I wrote a REST web service which makes a call to another REST service deployed on another weblogic using HTTPs (same code as mentioned above is used). I delpoyed the war and made a http call to the first webservice, the other REST service was invoked successfully using HTTPs. So this confirmed that there is no problem with the certificates or keystore or hostname verifictaion.
2) My actual application still throws the handshake exception as below -
<Warning> <Security> <BEA-090542> <Certificate chain received from xx.yy.zz.rrr - xx.yy.zz.rrr was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.>
So I think the problem is something else but weblogic is priniting the exception message wrong.
The process hierarchy ( in UNIX ) is as shown below -
bea 31914 31913 0 14:29 ? 00:00:00 /bin/sh <DOMAIN HOME>//bin/startWebLogic.sh
bea 31989 31914 0 14:29 ? 00:01:25 /opt/bea/jdk160_24/bin/java <The weblogic start server process> started by startWebLogic.sh
bea 32107 31989 0 14:29 ? 00:00:09 /opt/bea/jdk160_24/bin/java <One of custom process>
bea 2038 32107 0 18:38 ? 00:00:15 /opt/bea/jdk160_24/bin/java <Another custom process which contains my java classes containing the REST client>
The problem is there in both Weblogic 11 and 10.3 version.
I will be grateful if someone gives any clue about the problem.

Similar Messages

  • LOV does not get invoked the second time

    Hi
    I'm using JSF-ADF-BC with JDeveloper 10.1.3.1
    I've been following the Hands-on Practices from Oracle JDeveloper 10g for Forms and PL/SQL Developers.
    I have an edit page which invokes a LOV page. The first time I click on the flashlight (af:SelectInputText) it invokes the LOV and returns the value I've selected
    correctly. Thereafter if I click on the flashlight, there is no server activity. It seems like i've disabled this component somewhere after the first invocation.
    I have 2 LOV's that I invoke and both work the first time only.
    Please Help!
    Regards
    Kes

    Hi All
    This problem is now resolved.
    It would seem like there a spyware which was resident in my registry might have been the cause of the problem.
    Regards
    Kes

  • Javascript method for clientListener not getting invoked

    Hi, I am trying to use a clientListener to call a javascript method when an image that's linked gets clicked on, but the javascript method is not getting invoked. I'm using Jdev 11g. E.g.
    <af:resource type="javascript">
    function sayhello(event) {
      event.cancel();
      alert("hello");
    </af:resource>
    <af:goLink id="gl1"> 
      <af:clientListener type="click" method="sayhello"/>
      <af:image id="i1" source="/image/test.gif"/>
    </af:goLink>The sayhello javascript method does not get invoked when clicking the linked image. What I found though is that if I change the <af:goLink> to the following, then the javascript method gets invoked:
    <af:goLink id="gl1" text="click me"> 
      <af:clientListener type="click" method="sayhello"/>
    </af:goLink>I want to have a linked image though instead of linked text. Any suggestions to make this work? In Jdev 10g, the following worked fine for me:
    <af:goLink onclick="sayhello">
      <af:objectImage source="/image/test.gif">
    </af:goLink>I did try using <af:goImageLink> (with <af:clientListener>) and specify the image using the icon attribute. This worked fine in terms of being able to call the javascript method. However, the problem with using this is that it somehow shifts the image down and this doesn't look good in my UI because I basically have a row of <af:goLink> components that use images and using this <af:goImageLink> shows the image mis-aligned compared to the rest of the linked images.

    HI All,
    Iin my case, clientLinstene is not working if i use more than one goLink , any body can you help me.
    <af:goLink text="Forgot Password?" id="gl1">
                                                        <af:clientListener type="click" method="showPopupFromAction"/>
                                                    </af:goLink>
                                                </af:panelFormLayout>
                                            </af:panelGroupLayout>
                                            <af:panelGroupLayout id="pgl4">
                                                <af:spacer width="150" id="s3"/>
                                                <af:outputText value="Choose Language:     " id="ot2"/>
                                                <af:goLink text="Arabic" id="cl1">
                                          <af:clientListener type="click" method="testMethod"/>
                                                </af:goLink>
    one popup will call popup and anther will in call bean method that's my requirement. script is
    <af:resource type="javascript">
                                                       * Shows a popup from an "action" type event.
                                                       * @param {AdfActionEvent} actionEvent the event being handled
                                                      function showPopupFromAction(actionEvent) {
                                                          actionEvent.cancel();
                                                          var eventSource = actionEvent.getSource();
                                                          var popup = eventSource.findComponent("popupForgetPassword");
                                                          popup.show( {
                                                              align : AdfRichPopup.ALIGN_OVERLAP, alignId : eventSource.getClientId()
                                                    </af:resource>
    <af:resource type="javascript">
       function testMethod(actionEvent) {
    // my stuff here.... I will call server listener method.
    </af:resource>
    thanks
    Palanivel

  • My MacBook Pro pwers up but does not get past the the Apple logo.

    I have a MacBook Pro with Mountain Lion.  It powers up but does not get past the Apple logo.  The hardware test did not reveal any problems.  It will also not get any further when I try to start up in Safe Mode.  The last thing I was trying to do was connect to it from my desktop which I have done before.  Any ideas.

    I was able to get into the Repair utility and resolved some Permissions problems.  It verified the disk and found no problems.  However, it did not resolve the issue.  I was also not able to get into Safe Mode.

  • Job not getting invoked on a logical standby instance

    Hello,
    We have created a job(through dbms_scheduler API). The job is enabled and shows up in the SCHEDULERJOBS view also.
    However the job does not get executed. I looked into the following tables there was no relevant entry found for the aforesaid job:
    select * from all_scheduler_job_log
    select * from dba_scheduler_running_jobs
    select * from DBA_SCHEDULER_JOB_RUN_DETAILS order by log_date desc
    Is there any limitation that we cannot execute scheduled jobs on a logical standby database. If i execute the relevant program (that is configured to be run as job in this scenario) as an individual procedure from SQL plus, it gets executed successfully implying there is no errors/problem in the subprogram that the job is going to invoke.
    Appreciate your thoughts in this regard.
    Thanks.

    I think then we need to think about an alternate way to tackle the problem.
    Anyways thanks for your timely help Ravi.
    Just one query, can we invoke remote stored procedures(i.e. using datalinks) from dbms_scheduler jobs on another db.
    i.e. something like this:
    DB0(primary db instance); DB1(is a logical standby db); DB2(centralized repository db)
    DB1 contains certain packaged application procedures that need to be invoked as a scheduled activity.
    Previously we had the scheduled jobs residing on the logical standby db itself but because of this known issue we cannot proceed with that design.
    So can we have jobs,programs(mapping to DB1s stored procedure) scheduled on DB2?
    Thanks.

  • Callback activity not getting invoked in Async BPEL

    Hi
    I have an Async BPEL process which uses correlations.I have a receive activity in the middle using the correlation.
    When executed the BPEL gets invoked and waits during the receive activity and proceeds further when the service is hit with the required correlated data also but the problem is the process does not get into completed state.When viewed from the BPEL console it shows all the activites upto Call back client but not the call back activity.The other activities get executed properly without any error.
    One more point i would like to mention here is another Sync BPEL is invoking this process [The Sync BPEL just invokes and proceeds further without waiting for any result from the Async process.]
    Need Urgent help on this plss.
    Vamsi

    Hi Peter,
    Thanx for your reply. Actually i tried putting Java embedding activity [with checkpoint()] before and after the call back activity. When i execute the same it comes upto the java embedding which is before the call back and just hnags there. The status of the bpel is also shown as Active.
    Any more help pls..
    Vamsi

  • [ADF] Focus does not get set on a second level dialog/popup

    Hi,
    While working on a related bug, I've discovered that for every second level dialog/popup(a popup that is invoked from another popup), the focus does not get set to the second level dialog if the first component in that popup is an inputText, unless a user explicitly clicks on it. By focus I mean that on pressing tab, the fields on the previous popup still get selected/highlighted.
    This does not happen if the first UI Component is any other; everything else kept the same. I suspect this is an ADF bug; does anyone know of a workaround?
    Thanks,
    Ravikiran Sastry
    Edited by: 911228 on Jan 30, 2012 11:59 PM

    Hello,
    we are having the same issue using JDeveloper 11.1.1.4 and Internet Explorer 8.
    The code is really simple: just a regular popup with an inputListOfValues component inside. Open the popup, open the inputListOfValue's "Search and Select" popup and if you press the Esc key, the first one will be closed, while the "Search and select" popup will remain there.
    Jordi

  • RBA GATP check is not getting invoked for Sales Order

    Hi Everyone,
    RBA GATP check is not getting invoked for Sales order.
    I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
    However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
    I would expect that system would propose the same material in an alternate location where we have stock through RBA.
    Request you to share ideas on this.
    Regards,
    Avijit Dutta

    Hi Avijit,
    You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
    What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
    Thanks,
    Bala.

  • G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11

    Hi,
    G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11
    I am creating an independent AP Invoice, there are two issues:
    1. On line level G/L Account field is not open for selection
    2. I have then selected and updated the account on Form Settings. Same account gets updated on line level.
         In Journal Entry selected G/L account on line level shall be hitted. But it does not put any effect on JE. Accounting is set by Warehouse. It picks up accounts from warehouse only.
    Need help its urgent.
    Thanks in advance.

    Invoice is Item Type.
    G/L Accounts are set by Warehouse. But if explicitly we are want to change the account on line level in that case, it is not getting reflected in Journal entry. On AR Invoice same scenario works perfectly. On line level I can change the accounts explicitly and have the effect on Journal entries.
    Issue seems to be on AP side only.
    As required please find attached the screen shots.
    JEwith mapped GL Account on Warehouse
    JEwith different GL Account on line Level via Form Settings
    Thanks & Regards
    Sonil

  • I am part of a family sharing setup.  Can I have my own payment method so the organizer does not get charged for my purchases?

    I am part of a family sharing setup.  Can I have my own payment method so the organizer does not get charged for my purchases?  If so, how do I set this up?

    Yes.  Just redeem gift cards so that your own account always has a sufficient credit balance.  Here is how it works:
    Family purchases and payments
    After you set up your family, any time a family member initiates a new purchase it will be billed directly to your account unless that family member has gift or store credit. First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer's card.

  • Iphone 3GS no battery charging icon, does not show charging, does not get recognized by computer or Itunes.

    Iphone 3GS no battery charging icon, does not show charging, does not get recognized by computer or Itunes, have tried restore mode & DFU mode. Bad battery or port?

    iPhone not appearing in iTunes

  • I can no longer get to Facebook Via firefox It comes up loading in the tab but does not get any further one minute it was working the next it was,nt should I try uninstalling firefox then reinstall or does anyone know what could of happened thanks

    # Question
    I can no longer get to Facebook Via firefox It comes up loading in the tab but does not get any further one minute it was working the next it was,nt should I try uninstalling firefox then reinstall or does anyone know what could of happened thanks

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Audigy 4 Pro - I/O Hub does not get any po

    Hello all,
    I purchased an Audigy 4 Pro a few days ago and I cannot get the external hub to power on.
    This somewhat sumarizes what I tried so far:
    . Uninstalled all drivers and software of my old Soundblaster Li've 5. Platinum
    2. Also removed all entries of the old soundcard from Device Manager
    3. Powered down the PC fully, took out the Li've 5. and powered it back on and logged on to my Windows XP (SP2).
    4. Just to be sure before installing the drivers for the Audigy 4 Pro I cleaned out the cookies, temporary internet files, all other Temp folders, the Prefetch folder and also ran a program to clean the registry.
    5. De-activated my Norton AntiVirus Corporate Edition's Real-time protection, it's services and also my ZoneAlarm Pro from starting up the next time I reboot Windows.
    6. Powered down the PC again, took the power cable out, made sure there was no power whatsoever left and carefull inserted the Audigy 4 Pro card in an empty PCI slot.
    7. Connected the larger AD_Link to the card, then to the hub
    8. Connected the smaller AD_Link to the card, then to the hub
    9. Finally connected the power convertor cable to a free systems power unit
    0. Double-checked the entire hardware setup a few times and power the PC back on
    . Windows XP detected and installed the OHCI Compliant IEEE 394 Host Controller and the 394 Net Adapter
    2. Canceled to proceed looking for a driver when it found the Audigy 4 Pro card
    3. Installed the drivers and applications that came with the Audigy 4 Pro. Everything went smooth - no error messages during the installation.
    4. Rebooted PC after prompting to do so.
    5. With ZoneAlarm and my Norton Antivirus de-activated, all drivers and programs installed properly the external I/O hub does NOT get any power. I also made sure to check this with the remote control.
    I have ofcourse no sound coming out that hub when plugging in my headphone and also cannot use my microphone.
    6. I ran the Diagnostics program that was installed automatically with the other Creative applications: It claims there aren't any problems.
    7. Powered down the PC again, checked all connectors, powered the PC up again: Same problem... no power.
    8. Installed the latest 4-in- drivers found on viaarena.com: Same problem
    9. Uninstalled and reinstalled the drivers and applications: Same problem
    20. Uninstalled and reinstalled the drivers and applications after taking out all other PCI cards and placing the Audigy 4 Pro card into an other PCI slot: Same problem
    2. Set my BIOS to factory defaults: Same problem
    22. Formatted the PC and reinstalled Windows XP (SP) with every update thinkable... Same problem
    23. Formatted the PC AGAIN ( ! ) and reinstalled Windows (SP2) with updates .... Same problem
    Another problem: Sent a detailed e-mail to Creative Support Europe.... Still NO respons after 48+ hours.
    Anyone else should have a solution I would appreciate trying out, or if all fails I'll go for a Terratec model.
    Thanks in advance!
    PC Stats: Asus A7V266 - VIA KT266 Chipset (VT8366 North Bridge with VT8233 South Bridge) / BIOS version: 0 / AMD Athlon .4GHz / 52Mb
    Message Edited by HilTek on 07-05-2005 :04 PM

    Amazing, I got mine about 3 days ago and have been pulling my hair out trying to resolve the same problem. I have checked power connections, reinstalled drivers. I think something is wrong with the box. I tried to call support yesterday, which was a Saturday, but they aren't available til Monday. I guess I will call them Monday. Let me know if you find anything out in the mean time.
    Thanks
    John
    AMD Athlon(tm) 64 FX-57 Processor
    A8N-SLI Premium
    NVIDIA GeForce 7800 GTX
    GB RAM
    WIN Pro x64

  • Solution Manager does not get service definitions from SAP in self diagnosi

    Hi,
    In our production solution manager transaction solution_manager, self diagnosis we are getting a warning message on our development solution manager. 
    Solution Manager XXX does not get service definitions from SAP.
    The production Solution Manager is the master in SDCCN for the test Solution Manager.  In the test Solution Manager, the scheduled task REFRESH SERVICE DEFINITIONS has task System ID of O01.  It is pointed to RFC destination SDCC_OSS, not the production Solution Manager system.
    It gives the same warning if I point the task to the production Solution Manager system.
    Has anyone seen this before?  Any ideas?
    Best regards,
    Russ

    Hi,
      i guess have you activated SDCCN from your solution manager system too?
    if not please activate. since that setup helps solman retrive the service definitions used in SDCCN from SAP (SAPOSS).so this ultimately allows you to set solution manager system as Master, so all the satellite system get the service definition from solman and do not need a direct SAPOSS connection.
    and Please check this Note 1143775 - SAP service content update
    the wiki for trouble shoot ["EarlyWatch Alert is Red Flagged - how to resolve" |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=228262728]
    please check.
    Thanks,
    Jansi

  • When I send a text message to my husbands iPhone he does not get it

    When I send a text to my husbands iPhone he does not get it.  It worked before the new update.

    Either one of you needs to uncheck the other's phone number under settings&lt;messages&lt;send &amp; receive or one of you needs to sign out of the apple ID in iMessage settings altogether by pressing the apple id on the page and choosing 'sign out'

Maybe you are looking for

  • Form field to open a external URL passing  the value typed by user in URL

    I am trying to build a text field with a "Go" button beside it so that when a user types in a value (e.g. a bug number) in this text field, it opens up a external URL (e.g. bugdb URL) with the parameter being passed in the URL. e.g: P1_SEARCH (Text f

  • How many UI components are available in UWL?

    Hi Gurus, As far i Know there are two UI components available to launch the work items in UWL . which is SAP GUI for HTML(Default)               Webdynopro                Weppages(Not sure ,Please confirm this as well). And give me the list of other

  • Read data from maintenance view

    hi all, could anyone please tell me if there is any special way to read data from a maintenance view (if at all it is possible). i wrote a simple select on it but it gave me a syntax error that the view is not defined in the dictionary. (i am able to

  • Mac error - can anyone help?

    My computer unexpectedly restarted. And this error came up. i have no idea what it means, can anyone help: Interval Since Last Panic Report:  96189 sec Panics Since Last Report:          1 Anonymous UUID:                    561356BA-3115-44D5-A504-94

  • CC doesn't recognize my team membership

    I rec'd an email inviting me to "Join your team on Creative Cloud". I accepted the invitation. I logged in with my pre-existing Adobe account. It asked me to verify. I did so, and as far as I can tell it accepted it. However... when I log in to the C