Http proxy servlet

Hi,
i want to use an open source of http proxy servlet or write one that i can pass all the http request throw this servlet and to get the http response throw it.
if somebody have alink for an open source or write on that can give me direction?

Throw?
Anyway I think you're looking for java.net.URLConnection.

Similar Messages

  • Http proxy servlet using struts

    Hi,
    I have 2 web application "webApp1" which based on struts, and "webApp2".
    I'm trying to http proxy a servlet from "webApp2" to "webApp1" and to redirect the call to an action in "webApp1"
    that's what I wrote in "webApp2"/web.xml, I expect it to arrive GetAction.do in "webApp1":
    <servlet>
    <servlet-name>GetHttp</servlet-name>
    <servlet-class> weblogic.servlet.proxy.HttpProxyServlet </servlet-class>
    <load-on-startup>1</load-on-startup>
    <init-param>
    <param-name>redirectURL</param-name>
    <param-value> http://localhost:7001/GetAction.do </param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>GetHttp</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    but I fail on NullPointerException, any idea what's missing???
    Thanks all...

    Its a NPE related to the http proxy .
    I just try to get into my action via the servlet as I wrote and thats' what I get:
    <Jan 3, 2008 4:17:00 PM IST> <Error> <Kernel> <efrat01> <cscserver> <ExecuteThread: '23' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-000802> <ExecuteRequest failed
    java.lang.NullPointerException.
    java.lang.NullPointerException
         at weblogic.servlet.internal.WebAppServletContext.getEnvironmentContext(WebAppServletContext.java:5569)
         at weblogic.servlet.internal.WebAppServletContext.pushEnvironment(WebAppServletContext.java:6603)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3519)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

  • How does a proxy servlet work and how to set up

    I'm a newbie to Weblogic, using 8.1SP3. I came across documentation about a Proxy Servlet that allow weblogic to proxy requests to another web server. This is the scenerio I'm trying to set up. I want to create a weblogic module that proxies to yahoo.com. The communications between weblogic and yahoo may not be SSL, but from weblogic back to my client is SSL. I created a yahoo directory under user-projects\domains\mydomain. I created a WEB-INF\web.xml with the following based on the documentation:
              <!DOCTYPE web-app PUBLIC
              "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
              <web-app>
              <servlet>
              <servlet-name>ProxyServlet</servlet-name>
              <servlet-class>weblogic.servlet.proxy.HttpProxyServlet
              </servlet-class>
              <init-param>
              <param-name>redirectURL</param-name>
              <param-value>http://www.yahoo.com:80</param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>ProxyServlet</servlet-name>
              <url-pattern>/</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet</servlet-name>
              <url-pattern>*.jsp</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet</servlet-name>
              <url-pattern>*.htm</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ProxyServlet</servlet-name>
              <url-pattern>*.html</url-pattern>
              </servlet-mapping>
              </web-app>
              I deploy the yahoo directory from the admin console and when I go to https://localhost:7002/
              I would expect to see the www.yahoo.com page. Am I missing something. Is this not what the proxy servlet is for, is the above possible? Any help and suggestions appreciated.
              --Sam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hey Anders, it's working....
              Believe it or not, all I did after adding the weblogic.xml was restart the bea server; even though I had redeployed the module.
              So, thank you very much for your patience and suggestions.
              --Sam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error in proxy servlet implementation

    Hi all,
    I have implemented a simple proxy servlet. My requirement is whenever a call is made to the servlet , the servlet must make a http call to the particular site, make a request for the content and then display the same in the browser.
    At present i am able to fetch the html content, but i am facing problem in retrieving the sources such as .js,.css files and also the alignment of the site is totally wrong.
    The code that i use in the servlet is as follows:
    HttpResponse resp = makeCall(request, "www.google.co.in");
    InputStream inReader = resp.getEntity().getContent();
    InputStreamReader stmReader = new InputStreamReader(inReader);
    BufferedReader reader = new BufferedReader(stmReader);
    StringBuilder szResultBuilder = new StringBuilder(1000);
    if (reader != null) {
    String line = reader.readLine();
    while (line != null) {
    szResultBuilder.append(line);
    line = reader.readLine();
    ServletOutputStream out = response.getOutputStream();
    out.write(szResultBuilder.toString().getBytes());
    out.flush();
    out.close();
    public static HttpResponse makeCall(HttpServletRequest request, String szURL) throws Exception {
    HttpResponse response = null;
    if(request.getMethod().equals("POST"))     {
    HttpPost post = new HttpPost(szURL);
    response = httpClient.execute(post);
    } else if(request.getMethod().equals("GET")){
    HttpGet get = new HttpGet(szURL);
    response = httpClient.execute(get);
    return response;
    Kindly help me in retrieving the entire content of the site and in displaying it. How can i retrieve the entire content for all the sites the user requests.
    Regards,
    A.Rajesh

    rajesh.a wrote:
    Hi all,
    I have implemented a simple proxy servlet. My requirement is whenever a call is made to the servlet , the servlet must make a http call to the particular site, make a request for the content and then display the same in the browser.
    At present i am able to fetch the html content, but i am facing problem in retrieving the sources such as .js,.css files and also the alignment of the site is totally wrong. You will have to understand how html works. On first request, the entire html as text is sent to the browser. When the browser begins interpreting the html and comes across a js or css tag, it makes a new request to the browser for these resources (unless it is already cached on the browser).
    The request for this js resource would point back to the server which served the html unless of course the resource url is absolute.
    Knowing that, you see the problem now? Your js (and css and images) would all point back to the server that runs your proxy servlet. However the resources reside on the remote server from where you plucked the html. You have 3 options IMO
    1. Rewrite the original urls in the proxy servlet to point to the proxy servlet which would then proxy these resources back from the remote server back to the browser.
    2. Have absolute urls for all resource urls and expose the remote server to the web.
    3. Take a look at Clipper technology (google for Web Clipper).
    Best,
    ram.

  • About the proxy servlet!!!!!

    Hi there,
              I need to us the proxy servlet to redirect requests that cannot be served by
              my weblogic server to another server. I'm using the following configuration
              parameters in my weblogic.properties file:
              weblogic.httpd.defaultServlet=proxy
              weblogic.httpd.register.proxy=weblogic.t3.srvr.HttpProxyServlet
              weblogic.httpd.initArgs.proxy=redirectURL=http://www.abc.com
              The problem that I'm facing is that instead of redirecting requests that
              cannot be satisfied by my server to www.abc.com, the proxy servlet is
              redirecting all the requests to www.abc.com...
              Any help would be appreciated..
              Thanks
              Gaurav
              

    Gaurav:
              The proxy servlet documentation is wrong.
              If the HttpProxyServlet registration is made the default servlet then, all
              request for servlet aliases that WebLogic cannot resolve it will proxy. This
              does not include files.
              I have filed an issue to:
              1. fix the documentation
              2. provide an enhancement to provide for the feature you desire.
              The only workaround currently is to also register (or maybe instead) whatever
              URI or mime-types you know you want proxied to the HttpProxyServlet.
              Cheers
              Mark G.
              Gaurav wrote:
              > Hi there,
              >
              > I need to us the proxy servlet to redirect requests that cannot be served by
              > my weblogic server to another server. I'm using the following configuration
              > parameters in my weblogic.properties file:
              >
              > weblogic.httpd.defaultServlet=proxy
              > weblogic.httpd.register.proxy=weblogic.t3.srvr.HttpProxyServlet
              > weblogic.httpd.initArgs.proxy=redirectURL=http://www.abc.com
              >
              > The problem that I'm facing is that instead of redirecting requests that
              > cannot be satisfied by my server to www.abc.com, the proxy servlet is
              > redirecting all the requests to www.abc.com...
              >
              > Any help would be appreciated..
              >
              > Thanks
              > Gaurav
              =====================================================
              Reply to the newsgroup. Don't reply to this mail
              alias. This is used only for answering posts on
              WebLogic Newsgroups.
              =====================================================
              [att1.html]
              

  • Proxy servlet with reports

    Has any one used a proxy servlet with reports to hide all the URL parms???
    We are about to try this, so just wanted to see if any one has an comments or suggestions.

    Just in case you do not know the following
    You can also use cgicmd.dat file for mapping key-value pairs and then use the key in url
    The file is in $OH\reports\conf\cgicmd.dat
    you can define key like
    mykey1: report=test.rdf .....<other comd line args>
    and
    use key in url
    http://machine/servlet/rwservlet?mykey1
    More examples in that file itself
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • How do I create a Https Proxy server

    hi,
    I am writing a Proxy server in java. But my pogram do not support https protocol.Could you please tell me how can I implement a https proxy server.some sample code is more helpful.
    This is very URGENT for me.
    Thanks
    Sujith Varghese

    Hi Varghese,
    Reading the thread I am able to make out u r facing the same problem as I do.
    current scenario#1:
    Machine#1 client (using URLConnection("https://...") ----> Machine#2 (Server https port)
    what I want scenario#2
    Machine#3 client (using URLConnection("https://...") ---> Machine#1 (Proxy for https)----> Machine#2 (Server https port)
    In scenario#1
    - I have a Client machine at Location#1 which can connect to on Location#2
    - I only have SSH connection to machine at Location#1
    now this scenario#2 is what I would like to run so that
    - I am able to connect to mc#2 at loc#2 from a machine at loc#3 with mc#3
    - effectively starting a https proxy at location number mc#1 at loc#1.
    Hope that clears the problem domain.
    any help will be greatly appreciated.
    regards-
    _Jagsir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Javax.xml.ws.soap.SOAPFaultException: InvalidSecurity : error in processing the WS-Security security header error while invoking FinancialUtilService using HTTP proxy client

    I am trying to invoke FinancialUtilService using HTTP proxy client. I am getting below error while i am trying to invoke this service. Using FusionServiceTester i am able to invoke service and upload file to UCM. Using oracle.ucm.fa_client_11.1.1.jar also i am able to upload file to UCM without any issue. But using HTTP proxy client i am facing below error. Can anyone please help me. PFA code i am using to invoke this service.
    javax.xml.ws.soap.SOAPFaultException: InvalidSecurity : error in processing the WS-Security security header
      at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
      at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
      at $Proxy43.uploadFileToUcm(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.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
      at $Proxy44.uploadFileToUcm(Unknown Source)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:299)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:273)
    Process exited with exit code 0.
    Message was edited by: Oliver Steinmeier
    Removed attachment

    Hi Jani,
    Thanks for your reply.
    I am new to webservices and we are trying to do a POC on invoking FinancialUtilService using HTTP proxy client. I am following steps mentioned in attached pdf section "Invoking FinancialUtil Service using Web Service Proxy Client". I have imported certificate using below command. 
         keytool -import -trustcacerts -file D:\Retek\Certificate.cer -alias client -keystore D:\Retek\default-keystore.jks -storepass welcome1
    Invoking
        SecurityPolicyFeature[] securityFeature =
        new SecurityPolicyFeature[] { new
        SecurityPolicyFeature("oracle/wss11_saml_token_with_message_protection_client_policy")};
        financialUtilService_Service = new FinancialUtilService_Service();
        FinancialUtilService financialUtilService= financialUtilService_Service.getFinancialUtilServiceSoapHttpPort(securityFeature);
        // Get the request context to set the outgoing addressing properties
        WSBindingProvider wsbp = (WSBindingProvider)financialUtilService;
        WSEndpointReference replyTo =
          new WSEndpointReference("https://efops-rel91-patchtest-external-fin.us.oracle.com/finFunShared/FinancialUtilService", WS_ADDR_VER);
        String uuid = "uuid:" + UUID.randomUUID();
        wsbp.setOutboundHeaders( new StringHeader(WS_ADDR_VER.messageIDTag, uuid), replyTo.createHeader(WS_ADDR_VER.replyToTag));
        wsbp.getRequestContext().put(WSBindingProvider.USERNAME_PROPERTY, "fin_user1");
        wsbp.getRequestContext().put(WSBindingProvider.PASSWORD_PROPERTY,  "Welcome1");
        wsbp.getRequestContext().put(ClientConstants.WSSEC_RECIPIENT_KEY_ALIAS,"service");
        wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_LOCATION, "D:/Retek/default-keystore.jks");
        wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_PASSWORD, "welcome1" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_TYPE, "JKS" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_ALIAS, "client" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_PASSWORD, "password" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_ALIAS, "client" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_PASSWORD, "password" );
    SEVERE: WSM-00057 The certificate, client, is not retrieved.
    SEVERE: WSM-00137 The encryption certificate, client, is not retrieved due to exception oracle.wsm.security.SecurityException: WSM-00057 : The certificate, client, is not retrieved..
    SEVERE: WSM-00161 Client encryption public certificate is not configured for Async web service client
    SEVERE: WSM-00005 Error in sending the request.
    SEVERE: WSM-07607 Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-saml-with-certificates executor class oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.
    SEVERE: WSM-07602 Failure in WS-Policy Execution due to exception.
    SEVERE: WSM-07501 Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.client, application=null, composite=null, modelObj=FinancialUtilService, policy=oracle/wss11_saml_token_with_message_protection_client_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-saml-with-certificates.
    oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
      at oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.sendRequest(Wss11SamlWithCertsScenarioExecutor.java:173)
      at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:545)
      at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
      at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:608)
      at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:335)
      at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:282)
      at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
      at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:915)
      at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:436)
      at oracle.wsm.agent.handler.WSMEngineInvoker.handleRequest(WSMEngineInvoker.java:393)
      at oracle.wsm.agent.handler.wls.WSMAgentHook.handleRequest(WSMAgentHook.java:239)
      at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:220)
      at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:98)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
      at com.sun.xml.ws.client.Stub.process(Stub.java:259)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
      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:135)
      at $Proxy43.uploadFileToUcm(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.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
      at $Proxy44.uploadFileToUcm(Unknown Source)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:111)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:86)
    Caused by: oracle.wsm.security.SecurityException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
      at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.insertClientEncCertToWSAddressingHeader(Wss11X509TokenProcessor.java:979)
      at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.build(Wss11X509TokenProcessor.java:206)
      at oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.sendRequest(Wss11SamlWithCertsScenarioExecutor.java:164)
      ... 30 more
    Caused by: oracle.wsm.security.SecurityException: WSM-00057 : The certificate, client, is not retrieved.
      at oracle.wsm.security.jps.WsmKeyStore.getJavaCertificate(WsmKeyStore.java:534)
      at oracle.wsm.security.jps.WsmKeyStore.getCryptCert(WsmKeyStore.java:570)
      at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.insertClientEncCertToWSAddressingHeader(Wss11X509TokenProcessor.java:977)
      ... 32 more
    SEVERE: WSMAgentHook: An Exception is thrown: WSM-00161 : Client encryption public certificate is not configured for Async web service client
    File upload failed
    javax.xml.ws.WebServiceException: javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
      at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:231)
      at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:98)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
      at com.sun.xml.ws.client.Stub.process(Stub.java:259)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
      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:135)
      at $Proxy43.uploadFileToUcm(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.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
      at $Proxy44.uploadFileToUcm(Unknown Source)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:111)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:86)
    Caused by: javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
      at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
      at oracle.wsm.agent.handler.wls.WSMAgentHook.handleRequest(WSMAgentHook.java:248)
      at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:220)
      ... 19 more

  • After updating to iOS 6, I can no longer connect to my schools wireless network. It uses manual http proxy. Now however a blank pop up comes up and it will not connect you. Thanks

    After updating to iOS 6, I can no longer connect to my schools wireless network. It uses manual http proxy. Now however a blank pop up comes up and it will not connect you. Thanks

    Turn off your firewall and antivirus software.

  • Sending files via File Adapter through FTP having a HTTP proxy as firewall

    Dear  experts,
    I am having a issue trying to send a file via FTP with the File Adapter. My client has a HTTP proxy with authentification required as firewall  in order to send files via FTP.
    I've tried several solutions but I cannot find a way to add the proxy name, user and password in the communication channel.
    Any ideas?
    Thanks in advance.
    Best Regards

    Hi,
    Unfortunately those changes didn't work. The adapter is not able to establish a connection within the FTP server. These are the parameters I added:
    -Dhttp.proxy.user=<usename>
    -Dhttp.proxy.password=<userpassword>
    -Dhttp.proxyHost=<proxy.domain...>
    -Dhttp.proxyPort=80
    -Dhttp.nonProxyHost="*domain1.com domain2com"
    -Dhttps.proxy.user=<usename>
    -Dhttps.proxy.password=<userpassword>
    -Dhttps.proxyHost=<proxy.domain...>
    -Dhttps.proxyPort=80
    -Dhttps.nonProxyHost="*domain1.com domain2com"
    And just in case, we tried with these other parameters at the same time.
    -Dftp.proxy.user=<usename>
    -Dftp.proxy.password=<userpassword>
    -Dftp.proxyHost=<proxy.domain...>
    -Ddftp.proxyPort=80
    -Dftp.nonProxyHost="*domain1.com domain2com"
    The errors in the adapter engine's log are:
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Socket connection timed out: <ftp ip address>
    Error Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Socket connection timed out: <ftp ip address>
    Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Socket connection timed out: <ftp ip address>
    By the way, we are using  PI 7.0.
    Thanks in advance
    Edited by: SAPIMSA . on Apr 20, 2011 4:08 PM

  • HTTP Proxy setting for SOA server

    Hi,
    my intention is to enable SOA Server to connect through HTTP Proxy to external services. This occurred when I am trying to connect to Yahoo Mail Server, via User Messaging Service but it keep throwing connection time out. One of the possible solution is to make the service to connect via the HTTP Proxy server in our network.
    There are no mention of how to setup HTTP Proxy connection for UMS, as well as SOA Server in any documents.
    Please advice or direct me to the relevant solutions.
    Appreciate any help rendered :)
    yee thian

    I have not worked in SoA server, but since it uses weblogic server underlying (I assume), you can try setting the -Dhttp.proxyHost , -Dhttp.proxyPort system properties ( https for secured URL's) to WLS to specify the proxy details. Also the product might not have the capability to pass user credentials for authentication at the proxy. The version of OSB we are using had this problem. To overcome this you might require to add the URL to the proxy free list in your proxy server. This prevents the proxy from prompting for the user name when you access that URL.

  • Http proxy authentication for JDev 10.1.3

    Hi,
    I found the http proxy settings in the "tools->preferences->Web Browser and Proxy" but there are no settings for the username and password. Is there some other way that I can add these.
    The problem is that whenver JDeveloper wants to do some http stuff it (or something else is doing it) asks me for the proxy user name & password - this happens over and over again. If JDev is doing this then surely it should remember the username & password.
    I sometimes get a JDeveloper dialog "waiting for the connection" come up over the proxy auth dialog and I have to cancel the function so I can authenticate, then re-request the function.
    I wish I didn't have the proxy authentication but I have no choice in this dev environment. I do get to choose JDeveloper at least.
    Regards,
    Simon.

    Hi,
    I get it when I 'check for updates' and I get it again when I 'go to JavaDoc' - and this is the one where the "waiting for connection dialog" pops on top of the proxy log in and I have to cancel it to log in. Then all subsequent 'go to JavaDoc' requests go straight through.
    I would prefer it if I could just configure (in proxy preferences) the username and password so it never asks me. I dont care if it less secure storing the password since I think authenticating proxies are a dumb idea anyway. If the password is not supplied then JDev can ask for it like it does now to keep the security-paranoid people happy.
    Also, this morning I got this Exception which appeared at the same time I got a proxy auth window. When JDev finally started all my previously open windows were lost. No real problem but unexpected. Here is the stack dump:
    java.lang.NullPointerException
         at oracle.jdevimpl.webdav.api.DAVAuthenticator.getPasswordAuthentication(DAVAuthenticator.java:79)
         at java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:300)
         at sun.net.www.protocol.http.HttpURLConnection$1.run(HttpURLConnection.java:267)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication(HttpURLConnection.java:263)
         at sun.net.www.protocol.http.HttpURLConnection.getHttpProxyAuthentication(HttpURLConnection.java:1427)
         at sun.net.www.protocol.http.HttpURLConnection.resetProxyAuthentication(HttpURLConnection.java:1246)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:950)
         at oracle.ide.net.HttpURLFileSystemHelper.exists(HttpURLFileSystemHelper.java:191)
         at oracle.jdevimpl.webdav.net.WebDAVURLFileSystemHelper.exists(WebDAVURLFileSystemHelper.java:423)
         at oracle.ide.net.URLFileSystem.exists(URLFileSystem.java:498)
         at oracle.ideimpl.editor.EditorUtil.getNode(EditorUtil.java:126)
         at oracle.ideimpl.editor.EditorUtil.loadContext(EditorUtil.java:91)
         at oracle.ideimpl.editor.TabGroupState.loadStateInfo(TabGroupState.java:950)
         at oracle.ideimpl.editor.TabGroup.loadLayout(TabGroup.java:1758)
         at oracle.ideimpl.editor.TabGroupXMLLayoutPersistence.loadComponent(TabGroupXMLLayoutPersistence.java:31)
         at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
         at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
         at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
         at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
         at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:353)
         at oracle.ideimpl.editor.EditorManagerImpl.init(EditorManagerImpl.java:1824)
         at oracle.ide.layout.Layouts.activate(Layouts.java:758)
         at oracle.ide.layout.Layouts.activateLayout(Layouts.java:179)
         at oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:734)
         at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

  • IronPort C670 AsyncOS Upgrade over http proxy

    Good day.
    I try to upgrade my IronPort C670 AsyncOS over http proxy.
    Proxy is working fine when i try to get featured keys for example. But whe when i try to ugprade AsyncOS i get "Error — Error fetching manifest: Failed to connect to manifest server" message.
    Proxy server is work and ironport have network acess to it. Even for telnet to 80 port.
    Squid proxy log:
    1373973019.051     57 {{IP_ADDRESS}} TCP_IMS_HIT/304 368 GET http://downloads.ironport.com/vtl/vof_history_year.tgz - NONE/- application/x-gzip
    1373973079.194    117 {{IP_ADDRESS}} TCP_IMS_HIT/304 368 GET http://downloads.ironport.com/vtl/vof_history_year.tgz - NONE/- application/x-gzip
    1373973119.168    497 {{IP_ADDRESS}} TCP_MISS/200 715 GET http://downloads.ironport.com/asyncos/fkey? - DIRECT/217.212.252.179 text/plain
    What can be the problem?

    Hi,
    Please take a look to this:
    http://tools.cisco.com/squish/c93bE
    HTH
    Luis Silva
    "If you need PDI (Planning, Design, Implement) assistance feel free to reach"
    http://www.cisco.com/web/partners/tools/pdihd.html

  • Web service client ignores http proxy settings

    I have a web service client using Weblogic's web service client library. I'm trying to instruct it to use a http proxy. I've set all the following system properties:
    -Dhttp.proxyHost=127.0.0.1
    -Dhttp.proxyPort=8080 -Dweblogic.webservice.transport.http.proxy.host=127.0.0.1 -Dweblogic.webservice.transport.http.proxy.port=8080
    No traffic is passing through the proxy.
    When the proxy is down, the application works fine too. I suspect that the proxy settings are completely ignored for some reason.
    I'm using Weblogic 8.1 SP4 on a Windows XP box and JDK 1.4.2 (Sun's bundled JDK with Weblogic).

    Sorry about the delay,
    You just need to use the standard java http proxy properties, take a look at:
    http://download-west.oracle.com/docs/cd/A97329_03/web.902/a95453/useservices.htm
    Does this help?
    Gerard

  • Java Nio and http proxy

    Hello,
    I would send a http request through a http proxy with a Nio Client. So I wrote by hand the
    http request :
    buffer.append("HTTP/1.1\n");
    buffer.append("Content-type: text/xml\n");
    Then I send this request with a Nio Client but the request doesn't pass.
    Can you help me ?

    I use tcp to send my request with a nio Client. The header of my http request :
    StringBuffer buffer = new StringBuffer();
    buffer.append("POST ");
    String path = "/";
    buffer.append(path + " ");
    buffer.append("HTTP/1.1\r\n");
    buffer.append("Content-type: text/xml\r\n");
    buffer.append("Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2\r\n");
    buffer.append("Host: 10.194.55.23:80\r\n");
    buffer.append("Connection: keep-alive\r\n");
    buffer.append("Content-Length: 0\r\n");
    buffer.append("\r\n");

Maybe you are looking for

  • Transfer data from a worksheet to a Flex embedded application

    Hi, I would like to transfer data from an Office 2003 worksheet to a Flex application located on the same worksheet (ie Flash activeX inserted). To pass these data, I use the ExternalInterface API in the Flex framework. All works fine if the Flex fil

  • How do I fix quality of photos in iMovie from iPhoto?

    I am a first time poster here and I'm not very technical with computers but if someone could please explain this to me simply I'd be very appreciative. When trying to make a slideshow from pictures I took, with all the effects and such in iMovie, I'm

  • Selecting records based on user formula

    Post Author: Josh@RTA CA Forum: Formula I'm writing reports for a company that stores all of their dates as 8 digit numerical fields rather than a date or datetime datatype. I want to convert this field to a date type, then compare it to a parameter

  • Power Button is "stuck" or sticky

    How can I get it to operate normally again? I have to push down really hard just to make it work again, I have a gen 2, 32 gig

  • Requirement Tracking Number - Lower Case Letters

    Hi Experts, Generally, Requirement Tracking Number can be saved as Upper case. But i have an issue that in one PR, Requirement Tracking no was saved as lower case. By Prabhu