WLS with the HttpClusterServlet or Apache with proxy plug-in?

I'm newbie with WebLogic Server cluster.
Please tell me which is better for load balancing for WLS cluster? WLS with the HttpClusterServlet or Apache HTTP Server Plug-In? And which is recommended for production environment?
Many thanks.

Apache with plug-in, as this is easier configurable.
For the HttpClusterServlet all the configuration goes into web.xml which has to be packaged as a war file and deployed to WebLogic.
When any change is needed you have to edit the web.xml file, package it again and redeploy it.
An example of the Apache plug-in set-up can be found here: http://middlewaremagic.com/weblogic/?p=7795 (the load balancing section)
Or if you want to use the Oracle Web-Tier (which includes a precompiled Apache HTTP server): http://middlewaremagic.com/weblogic/?p=7819 (the load balancer section)

Similar Messages

  • Apache 2.0.53 with proxy plug-in adds characters to static files

    When delivering a javascript (.js) file that is packaged within the WAR deployed on the WebLogic 8.1, it will deliver correctly when going directly to the AppServer port. However, when requesting this same file trhough the Apache web server and proxy plug-in, additional characters are appearing.
    The beginnig of the javascript file is a comment header.
    * some coment info
    When transmitted through the proxy-plugin and apache, this file is delivered as:
    /*
    * some comment info
    Thanks in advance for the help.
    -Travis

    Mr. Melhiser -
    shoot me an e-mail if you get a chance - gots a rh quicky.

  • Problem with Apache reverse proxy after applying SP13 NW

    Hello,
    we have a NW04 EP Portal and a Apache reverse proxy in the DMZ. After applying SP 13 for the portal we get the following error from the reverse proxy:
    Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request GET /irj/.
    Reason: Error reading from remote server
    Apache/2.0.52 (Win32) mod_ssl/2.0.52 OpenSSL/0.9.7e Server at servername.company.de Port 443
    Is is it possible, that there is a problem with sp13?
    Best regards
    Daniel Holstein

    Hi Daniel,
    ok I`ll try to find a solution in parallel and keep you up to date.
    In the following my settings in case I missed something:
    <VirtualHost test.firma.de:443>
    SSLEngine on
    SSLProxyEngine on
    SSLCertificateFile /apache/keys/pac_ssl_qep_dmz_server.crt
    SSLCertificateKeyFile /apache/keys/pac_ssl_qep_dmz_server.key
    ServerName test.firma.de:443
    ServerAdmin [email protected]
    LogLevel debug
    ErrorLog logs/ssl_443_error
    CustomLog logs/ssl_443_access_log common
    ProxyVia Off
    ProxyPreserveHost On
    ReWriteEngine on
    ReWriteLogLevel 0
    ReWriteLog logs//ssl_443_rewrite_http.log
    ProxyPass / https://backend.firma.de:50001/
    ProxyPassReverse / https://backend.firma.de:50001/
    </VirtualHost>
    Regards, Jens

  • Apache Reverse proxy with SSL

    Hi,
    I'm trying to install Apache Reverse proxy which will support both HTTP and HTTPS request.
    <b>What do I need to activate to support the HTTPS requests?</b>
    I installed Apache 2.0.53 Released and trying to activate the mod_ssl.
    From Where can I get the mod_ssl.so?
    I saw that there are 2 projects:
    Apache Interface to OpenSSL (mod_ssl)
    Apache-SSL
    Do I need to use them in case I want to use HTTPs?
    Regards,
    Yael

    Get the latest oppenssl compile it. before you compile apache, execute ./configure --help in the apache directory. It will give you the commands that you need to use to activate and deactivate various things in apache.
    mine is as follows:
    ./configure --with-layout=GNU --enable-proxy --enable-ssl --with-ssl=/usr/lo
    cal/src/apachessl/openssl-0.9.7f/ --enable-vhost-alias --enable-rewrite --enable
    -so --enable-proxy-http --enable-proxy-connect --enable- headers
    then make and make install.
    hope it helps.
    Jai

  • Help with Apache Reverse Proxy configuration with SAP Portal and SAP Webgui

    Dear Experts,
    I have an issue configuring Apache to work with SAP Portal and ERP webgui. Accessing Portal through Reverse Proxy is working fine. But the problem arises when we try to open an iView ERP webgui transaction page from Portal with the Reverse Proxy. Have anyone implemented similar requirements and could advice on the configuration required on the Apache side? Thank you

    hi,
    pls check the below links for reference:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/24396589-0a01-0010-3c8c-ab2e3acf6fe2
    searchsap.techtarget.com/searchSAP/downloads/chapter-december.pdf
    1)Learn to implement the reverse proxy filter and portal gateway in SAP Enterprise Portal 6.0 on Web Application Server 6.40.
    https:/.../irj/sdn/nw-portalandcollaboration?rid=/webcontent/uuid/006efe7b-1b73-2910-c4ae-f45aa408da5b
    .2 )Configuring the Portal for Your Reverse Proxy Filter Solution . ... This document describes the reverse proxy filter mechanism in SAP Enterprise ...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/32ad9b90-0201-0010-3c8a-c900cd685f8f
    3)have full reverse proxy functionality. Possibly. filter. requests. Internet ... Reverse proxy (optionally with authentication etc.) ...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c066c390-0201-0010-3cba-cd42dfbcc8be
    Note:please reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • Windows Oracle Proxy Plug-in with Apache

    I've loaded and configured the Oracle Proxy Plug-in for use on an IIS system, but would now like to configure this for Apache (as in an IAS) on a Windows platform.
    I've mimicked the LoadModule and AddModule commands as a best guess, but I haven't been able to deduce the path information for the serverdef.conf file. As a result the HTTPD service fails to start.
    Is anybody able to help?
    Best regards,
    Malcolm

    Hello Malcolm
    I was intrigued to see that you have successfully configured Oracle App Server proxy plugin for IIS. I have been trying to do this for a while but have not been successful. I would be really grateful for any assistance please.
    I'm using Ora App server 10.1.2.0.2 and IIS 6. I've also put the proxy dll from the 10.1.2..0.2 Companion CD. I've even tried to use port 80 in the proxy.txt file.
    All registry keys are setup for the dll and the log entries.
    If I forward all requests - ie have the URLRule for all requests, then just typing the IIS server name (http://iisserver) dies forward to the APp server's welcome page on the Application Server.
    The following are in the oas_proxy.txt file
    oproxy.serverlist=ias1
    # Hostname to use when communicating with a specific server.
    oproxy.ias1.hostname=farswserver1.ads.autodesk.com
    # Port to use when communicating with a specific server.
    oproxy.ias1.port=80
    # Description of URL(s) that will be redirected to this server.
    oproxy.ias1.urlrule=/*
    Much appreciate all help please.
    Many thanks
    Shashi

  • Apache Proxy Plug-in with multiple clusters?

    We are using the Apache Proxy Plug-in , the
              basic question is if we can place multiple cluster
              IP's in the same Location definition or do we have
              to have a different definition for each cluster?
              Currently we have only 1 cluster, but if we decide
              to segment the large cluster into smaller clusters
              this is a critical network,url question.
              For example we have 4 clusters containing 2 IP:PORT pairs each.
              IP1:P1,IP2:P2 <== Cluster 1
              IP3:P3,IP4:P4 <== Cluster 2
              IP5:P5,IP6:P6 <== Cluster 3
              IP7:P7,IP8:P8 <== Cluster 4
              Can we have a single location "application" that services all of these clusters?
              <Location /webapp>
              SetHandler weblogic-handler
              WebLogicCluster IP1:P1,IP2:P2,IP3:P3,IP4:P4,IP5:P5,IP6:P6,IP7:P7,IP8:P8
              </Location>
              Or do we have to have distinct entries?
              <Location /webapp1>
              SetHandler weblogic-handler
              WebLogicCluster IP1:P1,IP2:P2
              </Location>
              <Location /webapp2>
              SetHandler weblogic-handler
              WebLogicCluster IP3:P3,IP4:P4
              </Location>
              <Location /webapp3>
              SetHandler weblogic-handler
              WebLogicCluster IP5:P5,IP6:P6
              </Location>
              <Location /webapp4>
              SetHandler weblogic-handler
              WebLogicCluster IP7:P7,IP8:P8
              </Location>
              Regards.

    you should define location for each cluster.This would be a proper setup.
              The setup with same location definition would work partially, all the requests would be roundrobined across all the servers (all the clusters) and most likely you wouldn't get a proper failover.(cluster1 does not know about cluster2 from weblogic perspective)
              Vijay

  • Apache Proxy Plug-in with WebLogic 8.1 SP5 - Transfer Encoding:Chunked

    Hello All,
    Configuration: Apache 2.0.48
    Plugin - mod_wl128_20.so
    WebLogic Version - 8.1 SP5
    There is no SSL between Apache and WebLogic server.
    Apache seems to have issue when the response from WebLogic has: Hdrs from WLS:[Transfer-Encoding]=[chunked]
    I turned on the debugging on Apache side with DebugAll flag and WLS sends data to Apache plug-in.
    Is is a known issue? Is there any CR to fix it? Please let me know if you need further details.
    Any help is appreciated.
    Thanks,
    Janani

    Hi Vishwas,
    Thank you for the reply. I forgot to mention that Apache and WebLogic are on Solaris 9 platform.
    Accesing a webapp hosted on WebLogic through Apache->plug-in->WebLogic return 500 internal server error, but other webapps hosted on the same WebLogic domain works properly. Looking at the Response Hdrs from WebLogic shows that WLS returns transfer-encoding=chunked. The other webapps which work properly has content-length set and transfer-encoding is not chunked.
    So, the question is does Apache Plug-in for weblogic 8.1 SP5 read the chunked data properly?
    Thanks,
    Janani

  • SRT Framework exception: The WSDL document is not compatible with proxy

    hello,
    I'd like to create a logical port to my web service but when I create this type of error:
    SRT Framework exception: The WSDL document is not compatible with proxy class "YAIRPORT_CO_AIRPORT_SOAP": "Unsupported Operation (s): getAirportInformationByISOCountryCode, getAirportInformationByAirportCode, getAirportInforma
    someone has an idea?
    thank you

    Hi,
    Most probably your class YAIRPORT_CO_AIRPORT_SOAP was't automatically generated by SAP from the .wsdl file. If so, then you have to generate it from this file and then create the logical port. For this purpose, go to se80, display the function group there you want to add the class, right-click it and choose Create -> Web Service. Then on the following screens choose Service Consumer, Local File and specify the .wsdl file for the web service you want to use. Finally specify a Package, Prefix and Transport Request, activate the changes and you're done. Now you can create the Logical Port.
    Hope this helps,
    Greg

  • Installing WLS from the CD ( free CD with Bea book)

    HI, I have not been able to install the wls from the cd I recd with the bok J2EE
    application and BEA Weblogic.
    /// MORE THAN THANKS ///

    David,
    I suspect that you are going to have a lot of problems related to the new book,
    because the procedure I found on the BEA website did not work with the software
    on the CD-ROM.
    What did work was fairly simple:
    1) Set up the PATH and CLASSPATH environment variables to point toward an existing
    instance of jdk1.3 BEFORE installing WLServer6.0, so it can find the jdk.
    2) Install wlserver6.0 from the CD,
    3) Download the license.bea file from the BEA website.
    4) Copy the downloaded file into the c:\bea over the 'license_new.bea' file in
    that directory. The 6.0 server
    seemed (in my experience) to be completely disregarding everything I did to 'license.bea',
    which made the instructions on the website useless to me.
    David Felts <[email protected]> wrote:
    UpdateLicense.cmd should be run from your BEA Home. Make sure you have
    the JDK 1.3 bin
    directory in your path to allow invocation of Java, and you should be
    set. Run
    UpdateLicense <new_license_file>, which will automatically update your
    license.bea file
    (make sure you have a license.bea file in your BEA Home before you run
    this command so
    the <new_license_file> can update the existing license.bea. The license.bea
    file is
    used by the server.
    Donald Stadler wrote:
    I got a copy of UpdateLicense.cmd from a colleague who previously downloadedWL6.0,
    but invoking the command file throws an exception:
    NoClassDefFoundError: com/bea/installer/registry/LicenseMerger
    Either the installation program from the book doesn't work at all orit requires
    some specific level of WIndows permission which I don't have by default.If the
    CD requires admin permission, the CD page of the book (last page) doesn'tmention
    it.
    What do I do? Uninstall and retry?
    Don
    "Donald Stadler" <[email protected]> wrote:
    According to the Web docs the UpdateLicense.cmd file is supposed to
    be
    installed
    into the base Weblogic directory and available for use. The installation
    program
    on the CD didn't do that in my case.
    Now what?
    Don
    "Donald Stadler" <[email protected]> wrote:
    BTW, It's an honor to be dealing with one of the authors! I'm impressed!
    It looks
    a good book. BTW, does WL6.0 run under Windoze98. I'm thinking of
    trying
    it at
    home. My work box runs Windows 2000.
    "Donald Stadler" <[email protected]> wrote:
    "Michael Girdley" <----> wrote:
    What was the problem you found? Did you get the license from the
    download
    site?
    Thanks,
    Michael GirdleyHi, Mike. I'm having the same problem so I will pick this discussion
    up.
    I downloaded the 'license.bea' file and copied it into the base
    directory
    which
    the instructions in the 'J2EE Applications and BEA WebLogic Server'book
    said
    to use, namely 'c:\wlserver6.0'.
    Starting the Weblogic server did not work, so I went looking further.
    I found
    instructions to 'update' the license at:
    http://e-docs.bea.com/wls/docs61/install/instlic.html#1036112
    and renamed the 'license.bea' file to 'license.foo', then ran the
    following commands as specified (I think this is what the instructions
    meant to
    do):
    C:\wlserver6.0> set PATH=.;c:\JBuilder4\jdk1.3;%PATH%
    C:\wlserver6.0> UpdateLicense license.foo
    The error message was:
    'UpdateLicense' is not recognized as an internal or external command,
    operable
    program, or batch file.
    The problem may be in the PATH, as the actual instructions for amending
    the PATH
    were:
    "set PATH=.\jdk1.3;%PATH%"
    Unfortunately this would have pointed my path into a nonexistant
    instance
    of jdk1.3
    located in the Weblogic6.0 directory, so I tried to be intelligentand
    point it
    to the actual instance of jdk1.3.
    It seems to me that this either wasn't tested as a 'bare-box' installation
    or
    that the documentation was not written with the benefit of such
    an
    installation.
    What is UpdateLicense and where is it located? Every day counts
    when
    you are on
    a 30-day evaluation period!.........

  • What are the downsides to working with Proxy Media?

    My iMac is one of the more powerful ones:  i7, 2 internal drives (the main one is a 256 GB flash drive), ATI Radeon HD 5750 w/1 GB VRAM, 16 GB RAM.  But I notice that when I'm trying to apply multiple effects to a compound clip and then use crop to zoom on it, it starts dropping frames all over the place and barely plowing through.
    I'm wondering if I should edit with proxy media.  I know one disadvantage is the amount of space it takes to have both proxy and regular media, but I have plenty of disk space.  I edit AVCHD footage that I optimize upon import.
    I will also be doing a lot of multicam editing.
    So I'm thinking proxy media is the way to go.  But I have to wonder what the disadvantages to using proxy media are.  For instance, since you're editing with a lower-quality version of the video, does that mean that when you do things like color correction you aren't getting a good a final result when you switch back to the regular media?
    I'd appreciate any advice/tips.

    JDLee wrote:
    ....  you aren't getting a good a final result when you switch back to the regular media?
    no, the color correction is done with the 'HDef' material.
    proxies is just a pre-view thing; esp. when doing multicam, the amount of data shoveling from/to harddrive is enormously ... theoretically, even a fw800 connected super-fast Raid can handle only a max. of 10 HDef streams ...
    I'm on consumer/hobbyist level - handling here 4 streams from usb-drives - as proxies, no problem.
    when editing is done, you switch back to original/optimized and export in  shiny 100% ...

  • WLS 8.1, Apache 2.0.49 proxy plug-in problem

    I am trying to set up Apache 2.0.49 proxy plug-in for my WLS 8.1 cluster (2 managed
    servers). I followed instructions at http://edocs.bea.com/wls/docs81/plugins/apache.html.
    My test web application runs on
    192.168.10.142:5001/public/testwebapp
    and
    192.168.10.142:6001/public/testwebapp
    I have tested my cluster using another instance on WLS and HttpClusterServlet
    and it works fine.
    I have added following section to my httpd.conf
    LoadModule weblogic_module modules/mod_wl_20.so
    <IfModule mod_weblogic.c>
    WebLogicCluster 192.168.10.142:6001,192.168.10.142:5001
    </IfModule>
    <Location /public/testwebapp>
    SetHandler weblogic-handler
    PathTrim /public/testwebapp
    ErrorPage http://myerrorpage1.mydomain.com
    </Location>
    I restarted my wls cluster and apache as well and when I specify http://192.168.10.142/public/testwebapp
    (apache web server) I receive Error 404--Not Found (even thou I have tested my
    http://192.168.10.142:5001/public/testwebapp and http://192.168.10.142:6001/public/testwebapp
    - they work correctly).
    There is nothing in apache’s error_log file.
    There is a record in access_log file reading:
    192.168.10.126 - - [08/Jun/2004:16:23:32 -0700] "GET /public/testwebapp HTTP/1.1"
    404 1214
    which gives me an impression that “proxy” – forwarding does not work.
    Where should I look for some errors?
    Thanks,
    Lukas

    Try setting
    Debug ALL
    inside your IfModule. All proxy activity will be written to /tmp/wlproxy.log (on
    unixes). If no info appears in the log, Apache is not invoking the plug-in properly.
    HTH
    "Lukas" <[email protected]> wrote:
    >
    I am trying to set up Apache 2.0.49 proxy plug-in for my WLS 8.1 cluster
    (2 managed
    servers). I followed instructions at http://edocs.bea.com/wls/docs81/plugins/apache.html.
    My test web application runs on
    192.168.10.142:5001/public/testwebapp
    and
    192.168.10.142:6001/public/testwebapp
    I have tested my cluster using another instance on WLS and HttpClusterServlet
    and it works fine.
    I have added following section to my httpd.conf
    LoadModule weblogic_module modules/mod_wl_20.so
    <IfModule mod_weblogic.c>
    WebLogicCluster 192.168.10.142:6001,192.168.10.142:5001
    </IfModule>
    <Location /public/testwebapp>
    SetHandler weblogic-handler
    PathTrim /public/testwebapp
    ErrorPage http://myerrorpage1.mydomain.com
    </Location>
    I restarted my wls cluster and apache as well and when I specify http://192.168.10.142/public/testwebapp
    (apache web server) I receive Error 404--Not Found (even thou I have
    tested my
    http://192.168.10.142:5001/public/testwebapp and http://192.168.10.142:6001/public/testwebapp
    - they work correctly).
    There is nothing in apache’s error_log file.
    There is a record in access_log file reading:
    192.168.10.126 - - [08/Jun/2004:16:23:32 -0700] "GET /public/testwebapp
    HTTP/1.1"
    404 1214
    which gives me an impression that “proxy” – forwarding does not work.
    Where should I look for some errors?
    Thanks,
    Lukas

  • Communication problem with proxy server

    We have establish the configuration of an iPad to access the enterprise net, but when trying to access any webpage we get the next message: Safari can not open the page. Error:"There is a communication problem with proxy web server (HTTP)"
    The access has no problems with other movile devices.
    Ahy help?

    Hi,
    I am not sure whether you have already solved the problem or not....
    Do the following to deploy MobileBIService.war file on tomcat
    1.Stop Tomcat Web application server.
    2.Copy the file, MobileBIService.war from [Install directory]\Mobile 14\Client to the Tomcat's "Webapps" directory.
    In my case, I copied the MobileBIService.war from C:\Program Files (x86)\SAP BusinessObjects\Mobile14\Client to C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps. ( I used BO 4.0 SP02)
    3.     Start Tomcat.
    Restarting Tomcat would automatically deploy war file as a Web App
    One folder u201CMobileBiServiceu201D will appear in webapps folder when MobileBIService.war is deployed successfully.
    Hope it helps.
    Regards,
    Ankur

  • Administration of APEX in SQL Developer with Proxy Authentication impossibl

    Hello!
    We are using latest version of SQL Developer to administer APEX. We are connecting to the database with proxy authentication. The syntax is:
    personal_user[apex_ws_owner]
    e.g.: mdecker[apex_demo]
    When trying to deploy APEX application I go to "Database Object" -> Application Express -> Application1 [100] -> right mouse click: "Deploy Application". Then I select the appropriate database identifier and next, I am presented with a screen showing import options. In second line, it says: "Parsing Schema: MDECKER".
    This is wrong: it has to be Parsing Schema: APEX_DEMO. It seems that managing APEX with SQL Developer does not support Proxy Authentication.
    Could you please confirm?
    Is there a way to formally ask for this enhancement?
    Best regards,
    Martin
    Update:
    I found out that if I check the flag "Proxy Authentication" in the connect details and provide both passwords, the deploy application parsing schema is set to the correct APEX_DEMO account. However, we are using Proxy Authentication in order to avoid having to know the application password.
    Edited by: mdecker on Jan 28, 2013 4:48 PM

    There is a write-up about connecting to APEX here: <a href ="http://www.oracle.com/technology/products/database/application_express/html/sql_dev_integration.html" >SQL Dev Oracle APEX Integration</a>
    <p>You do need to have updated to Oracle APEX 3.0.1.
    <p>Regards <br>
    Sue

  • JAX-WS client - WebLogic - SSL with proxy server

    Good night!
    I'm having trouble communicating with webservices using certificate authentication (weblogic.wsee.jaxws.sslclient.PersistentSSLInfo) through and going through a proxy server (weblogic.wsee.jaxws.proxy.ClientProxyFeature) .
    If communication with the webservice is done directly (no proxy server) everything happens perfectly, but to set the proxy server I get the exception "BAD_CERTIFICATE." it is as if the certificate was not attached in the request.
    The webservice client was generated by JDeveloper.
    Has anyone experienced this problem?
    Sorry for my bad english
    Exception
    javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
         at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
         at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
         at com.sun.xml.ws.client.Stub.process(Stub.java:272)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
         at $Proxy30.cleCadastroLote(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
         at $Proxy31.cleCadastroLote(Unknown Source)
         at br.com.tbl.ws.CleCadastroPortClient.main(CleCadastroPortClient.java:51)
    Webservice client with proxy server (error)
    import weblogic.wsee.jaxws.sslclient.PersistentSSLInfo;
    import javax.xml.ws.BindingProvider;
    import weblogic.wsee.jaxws.JAXWSProperties;
    import weblogic.wsee.jaxws.proxy.ClientProxyFeature;
    import weblogic.wsee.jaxws.sslclient.SSLClientUtil;
    public class CleCadastroPortClient
    public static void main(String [] args)
    try{
    CleCadastro_Service cleCadastro_Service = new CleCadastro_Service();
    CleCadastro cleCadastro = cleCadastro_Service.getCleCadastroPort();
    String clientKeyStore = "C:\\certificados.jks";
    String clientKeyStorePasswd = "xxxxx";
    String clientKeyAlias = "xxxxx";
    String clientKeyPass = "xxxxx";
    String trustKeystore = "C:\\keystore_completo.jks";
    String trustKeystorePasswd = "xxxxx";
    PersistentSSLInfo sslInfo = new PersistentSSLInfo();
    sslInfo.setKeystore(clientKeyStore);
    sslInfo.setKeystorePassword(clientKeyStorePasswd);
    sslInfo.setKeyAlias(clientKeyAlias);
    sslInfo.setKeyPassword(clientKeyPass);
    sslInfo.setTrustKeystore(trustKeystore);
    sslInfo.setTrustKeystorePassword(trustKeystorePasswd);
    ClientProxyFeature clientProxy = new ClientProxyFeature();
    clientProxy.setProxyHost("proxy.com");
    clientProxy.setProxyPort(Integer.parseInt("3128") );
    clientProxy.setProxyUserName("user");
    clientProxy.setProxyPassword("pass");
    clientProxy.attachsPort(cleCadastro);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.CLIENT_PERSISTENT_SSL_INFO, sslInfo);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.SSL_SOCKET_FACTORY, SSLClientUtil.getSSLSocketFactory(sslInfo));
    ((BindingProvider) cleCadastro).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https:/xxxx/ws");
    String retorno = cleCadastro.cleCadastroLote("xml", "xml");
    }catch(Exception ex){
    ex.printStackTrace();
    Webservice client without proxy server (OK)
    import weblogic.wsee.jaxws.sslclient.PersistentSSLInfo;
    import javax.xml.ws.BindingProvider;
    import weblogic.wsee.jaxws.JAXWSProperties;
    import weblogic.wsee.jaxws.proxy.ClientProxyFeature;
    import weblogic.wsee.jaxws.sslclient.SSLClientUtil;
    public class CleCadastroPortClient
    public static void main(String [] args)
    try{
    CleCadastro_Service cleCadastro_Service = new CleCadastro_Service();
    CleCadastro cleCadastro = cleCadastro_Service.getCleCadastroPort();
    String clientKeyStore = "C:\\certificados.jks";
    String clientKeyStorePasswd = "xxxxx";
    String clientKeyAlias = "xxxxx";
    String clientKeyPass = "xxxxx";
    String trustKeystore = "C:\\keystore_completo.jks";
    String trustKeystorePasswd = "xxxxx";
    PersistentSSLInfo sslInfo = new PersistentSSLInfo();
    sslInfo.setKeystore(clientKeyStore);
    sslInfo.setKeystorePassword(clientKeyStorePasswd);
    sslInfo.setKeyAlias(clientKeyAlias);
    sslInfo.setKeyPassword(clientKeyPass);
    sslInfo.setTrustKeystore(trustKeystore);
    sslInfo.setTrustKeystorePassword(trustKeystorePasswd);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.CLIENT_PERSISTENT_SSL_INFO, sslInfo);
    ((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.SSL_SOCKET_FACTORY, SSLClientUtil.getSSLSocketFactory(sslInfo));
    ((BindingProvider) cleCadastro).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https:/xxxx/ws");
    String retorno = cleCadastro.cleCadastroLote("xml", "xml");
    }catch(Exception ex){
    ex.printStackTrace();
    }

    Hi,
    I tried to use the option "-DUseSunHttpHandler=true" and enabled "JSSE SSL", but it did not work, now showing the exception "General SSLEngine problem".
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <javax.xml.ws.WebServiceException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at $Proxy308.cleCadastroLote(Unknown Source)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)>
    <05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.Stub.process(Stub.java:272)>

Maybe you are looking for

  • ISight camera "in use by another application"

    Hello. I'm having trouble using my built-in iSight camera in my brand new MacBook Pro. I can get the thing to work while using iMovie 08, but it won't work with Photo Booth, iChat, or iMovie HD. The very first day I had the computer, it worked with P

  • Report on Daily Status Of Process Chains

    Hi all, I need a report on process chain where daily i can check the status of the Chains executed, failed, logs, start time, end time, log ID, Job Type, Run Time, Last Update ( User name ), Duration, Source System. Is there any Standard Report on th

  • Creating a Business system in the SLD

    I am receiving an error message when trying to create a business system in the SLD. The error is "The selected client has an associated logical system nae that is already  used for another business system. Select a different client." Here is my issue

  • Scheduled CR not changing parameter value in Infoview or CMC

    Hello: I have a crystal reports build with CR 2008 SP2, FP 2.3; that is based on BEx Query with 3 sap bw variables. When refreshing the report in CR Designer, I can change the parameter value and get the right results. When in Infoview or CMC I can r

  • How can i view appointments for a day in the monthly calendar

    how can i view appointments for a singol day in the monthly calendar? Thank you