Register Client Java Proxies to Proxy Server

Hi All,
Is it required to register the client java proxies with the proxy server?
Thanks in advance

lol Some people dont know how to give the correct links as well.
Next wiki --> how to give correct links for questions asked on SDN.. will be a huge hit I guess

Similar Messages

  • Sun Java System Web Proxy Server (4.0.2) - manage server will not start

    In short here's the scenario and main problem.   
    a. Proxy admin server start - no problem
    b. Create a new manage server (no proxying - just testing it) using different port. It just won't start. No logs produced either.
    Here's the server.xml for the new manage server.
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
       Copyright (c) 2003 Sun Microsystems, Inc.  All rights reserved.
       Use is subject to license terms.
    -->
    <!DOCTYPE SERVER PUBLIC "-//Sun Microsystems Inc.//DTD Sun Java System Web Proxy Server 4.0//EN" "file:///E:/Sun/ProxyServer40/bin/proxy/dtds/sun-web-proxy-server_4_0.dtd">
    <SERVER>
        <PROPERTY name="accesslog" value="E:/Sun/ProxyServer40/proxy-server3/logs/access"/>
        <LS id="ls1" port="8083" servername="cbaob-b3-csddb1.adp1.cibc.pte"/>
        <MIME id="mime1" file="mime.types"/>
        <ACLFILE id="acl1" file="E:/Sun/ProxyServer40/httpacl/generated.proxy-server3.acl"/>
        <USERDB id="default"/>
        <FILECACHE enabled="true"  maxage="30" mediumfilesizelimit="537600" mediumfilespace="10485760" smallfilesizelimit="2048" smallfilespace="1048576" transmitfile="false" maxfiles="1024" hashinitsize="0"/>
        <CACHE enabled="true" cachecapacity="2000" cachedir="E:/Sun/ProxyServer40/proxy-server3/cache">
            <PARTITION  partitionname="part1" partitiondir="E:/Sun/ProxyServer40/proxy-server3/cache" maxsize="100" minspace="5" enabled="true"/>
    <GC enabled="true" gchimargin="80" gclomargin="70" gcleavefsfull="60" gcextramargin="30"/>
        </CACHE>
        <LOG file="E:/Sun/ProxyServer40/proxy-server3/logs/errors" loglevel="finest"/>
    </SERVER>
    Nothing seems to be wrong with this. The XML format follows the specified DTD.   
    Would appreciate any help.   
    Thanks.

    Thanks for your reply. Yes. This is really odd.
    Anyway to make the whole story short, i uninstall this proxy server 4.0.2 on this server (say server1) and try to reinstall a new proxy 4.0.13 but having odd problem (i have administration rights)
    Here it goes.
    a. CMD java -version is 1.4.2_XX
    b. Double click the proxy 4.0.13 setup.exe - nothing happen.
    c. CMD setup --javahome c:\jdk1.6_XX - nothing happen
    Here retrying.
    a. Login to server2 and map conection to server1
    b. Double click the proxy 4.0.13 setup.exe on server1 (while on server2) - setup.exe runs. This proves the proxy setup.exe on server1 is good.
    c. Make a copy of proxy 4.0.13 on server2
    d. Login to server1 and map connection to server2
    e. Double click the proxy 4.0.13 setup.exe on server2 (while on server1) - setup.exe did not run.
    Both servers are on the same domain and i'm using same ID to access both servers
    Again, no logs on the windows events (security, application, system)
    This is becoming mind a boggling mystery.
    Any idea what's going on?
    Thanks.

  • Finding real Client IP Address under PROXY Server

    Hi friends,
    I have a requirement to find out the Client IP Address that is under a Proxy Server.( Actually I used the getRemoteAddr but this always returns me the Prox-Server IP Address and not the real Client IP Address)
    Can some one guide me how I can do this with JAVA JSPs / Servlets..
    Thanks a lot!!

    Most proxies can be configured to forward the client's ip address in a request
    header to the origin server - check the headers sent to the server and you should
    be able to identify it.

  • 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)>

  • Java mail with proxy server

    Hi I am a novice, working on a mail sender though proxy. I read Java mail FAQ in http://java.sun.com/products/javamail/FAQ.html#proxy.
    And also I found a snippet in below therad.
    http://forums.sun.com/thread.jspa?threadID=615715&start=0&tstart=0
    <QUOTE>here is the solution that you can send mail through a proxy server
    Properties p = System.getProperties();
             p.setProperty("proxySet","true");
             p.setProperty("socksProxyHost","192.168.155.1");
             p.setProperty("socksProxyPort","1080");</QUOTE>
    I installed CCProxy in my machine and gave my own IP address ( 1. LAN IP and 2. IP from whatismyip.com; both works ) and port number. It works. But I gave IP addrss of my friend ( 1. LAN IP and 2. IP from whatismyip.com; both NONE work ) who got CCProxy and in his machine. But doesnt work ( throws Below exception).
    Exception in thread "main" javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
      nested exception is:
            java.net.SocketException: Can't connect to SOCKS proxy:Connection timedout: connect
            at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391)
            at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
            at javax.mail.Service.connect(Service.java:310)
    His IP address is found with whatismyip.com. I guess its a problem with IP address. What am I doing wrong here ?? Could some one help me out please ?
    Edited by: baskark on Mar 8, 2009 6:26 PM
    Edited by: baskark on Mar 8, 2009 6:44 PM

    I believe we can give some other socks proxy ip address too, other than CCproxy machine ip address If I am correct. Is there any specific way to use the socks server ip address ( such as provided in many websites, used for open relay) ? I tried some of them, which I am able to ping. But still I get the same exception like connection request timed out.

  • Client Java Proxy

    Hi,
    I have a Java Proxy to BAPI scenario.
    On the sender side I have "ExchangeRates_Out" Outbound Service Interface. I have created a client java proxy for this and deployed it.
    I dont know how to test this proxy or run the interface end to end.
    Please help.
    Thanks,
    Aravind

    Check some links on proxies.
    Concepts and examples for Proxy, Abap Client Proxy and Abap server Proxy
    JAVA Proxies:
    Asynchronous inbpund java Proxies
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    More on Java Proxy-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
    How to Work with Java Proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    SAP Network Blog: Pre requisites for Client Java Proxies
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies

  • Issue with using Sun Java Proxy Server

    We are trying to access the WebService using the Sun Proxy Server.
    When I access the WebService through proxy ,I find the error message in proxy error log as
    [18/Oct/2005:19:10:40] failure ( 1288): for host 127.0.0.1 trying to POST http://localhost:1080/yodsoap/services/CobrandLogin, service-http reports: HTTP7760: error reading request body (Client closed connection)
    and the access log is as follows:
    POST http://localhost:1080/yodsoap/services/CobrandLogin HTTP/1.1" 400 147
    But when i see the WebServer access log for the same WebService POST /yodsoap/services/CobrandLogin HTTP/1.1" 200 1783 "-" "Axis/1.1RC1"
    This case is happening when the request is compressed for the webservice. and the request headers are as follows:
    POST /yodsoap/services/CobrandLogin HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    User-Agent: Axis/1.1RC1
    Host: 127.0.0.1
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: "loginCobrand"
    Content-Length: 1412
    Connection: close
    Content-Encoding: gzip
    And the response headers are as follows:
    HTTP/1.1 200 OK
    Server: Resin/3.0.8
    Content-Type: text/xml; charset=utf-8
    Transfer-Encoding: chunked
    Date: Tue, 18 Oct 2005 13:41:50 GMT
    So ,we found out that if we dont use the proxy server,then the WebService is working properly,but if we start using the proxy server,we are encountering HTTP400 error.
    Any ideas will help out to solve this problem..???
    Thankz in advance.
    Regards,
    Somendra

    This is what I see in the error message:
    ProxyFactory initialized in SOAP_CLIENT_MODE
    System property : com.yodlee.soap.client.log4j.config not found. Using the default config resource : com.yodlee.util.soap.log4j
    ProxyFactory initialized in SOAP_CLIENT_MODE
    System property : com.yodlee.soap.client.log4j.config not found. Using the default config resource : com.yodlee.util.soap.log4j
    HTTP Header name and value is HTTP/1.1 400 Bad request
    HTTP Header name and value is Server Sun-Java-System-Web-Proxy-Server/4.0
    HTTP Header name and value is Date Tue, 18 Oct 2005 14:56:21 GMT
    HTTP Header name and value is Connection close
    com.yodlee.core.CoreRemoteException: org.xml.sax.SAXException: Bad envelope tag: HTML
         at com.yodlee.soap.core.login.CobrandLoginSoapClientProxy.loginCobrand(CobrandLoginSoapClientProxy.java:132)
         at SoapClient.main(SoapClient.java:45)
    Caused by: org.xml.sax.SAXException: Bad envelope tag: HTML
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:543)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2511)
         at org.apache.axis.client.Call.invoke(Call.java:2481)
         at org.apache.axis.client.Call.invoke(Call.java:2176)
         at org.apache.axis.client.Call.invoke(Call.java:2099)
         at org.apache.axis.client.Call.invoke(Call.java:1622)
         at com.yodlee.soap.core.login.CobrandLoginSoapBindingStub.loginCobrand(CobrandLoginSoapBindingStub.java:225)
         at com.yodlee.soap.core.login.CobrandLoginSoapClientProxy.loginCobrand(CobrandLoginSoapClientProxy.java:119)
         ... 1 more
    Caused by: org.xml.sax.SAXException: Bad envelope tag: HTML
         at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:107)
         at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:934)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1635)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:230)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         ... 9 more

  • Creating a socket behind a proxy server

    How can I create a socket to a server if the client is behind a proxy server? I know java.net's HTTP-related classes have built-in proxy server support but this is not for a HTTP-based application.

    Hi,
    I also need to do this but not found any way yet. Somewhere I read that we can set the socket proxies (because mine was an application which tries to open socket connection over the network) through command line or by setting the system properties "socksProxyHost=<proxy_host_address>" and "socksPoxyPort=<proxy_port>". I tried to solve my proxy issue this way but all invain. While setting these system properties it is required that your proxy server is using the SOCKS service which I think is mostly the case but it still didn't work for me. You people try and c if it works for you. If anyhow you manage to get this issue resolved then please tell me also by posting a message.
    regards

  • Creating Java Proxies

    Hi all,
    We have a scenario for RFC -> Xi -> Java Application. We need to inoke certain functionlities provided by the java application through RFC. As per my understanding, i need to create the relevant interfaces and then invoke the java application by writing Java Proxies.
    Can any body please suggest if:
    1. My approach is correct? if no, then what is the possible solution?
    2. If Its correct then how to create java proxies. Can any body please provide me a link to a blog with sample application?
    Any help will be appriciated.
    Thanks and best regards,
    Kulwant Singh

    Hi Kulwanth,
    Java Proxies are Java Class files to access the R/3. If u create an RFC Model for a BAPI/RFC enabled FM the system will automatically create Java Proxy classes for ur R/3 connection.
    The Java proxies for the message interfaces are generated using the Integration Builder tool (Design) in the menu Tools --> Java Proxy Generation and subsequently by selecting the message interfaces
    Java proxies, the Integration Builder tool is used
    1) The Java proxies for the message interfaces are generated using the Integration Builder tool (Design) in the menu Tools ---> Java Proxy Generation and subsequently by selecting the message interfaces.
    Using the Java Proxy runtime we can Receive messages or Send messages to the Integration Server. The Java proxy runtime supports J2EE applications on the SAP J2EE Engine using Enterprise Java Beans 2.0. Synchronous and Asynchronous Outbound and Inbound communication is possible with Proxy Beans.
    Check some links on proxies.
    Concepts and examples for Proxy, Abap Client Proxy and Abap server Proxy
    JAVA Proxies:
    Asynchronous inbpund java Proxies
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    More on Java Proxy-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
    How to Work with Java Proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    SAP Network Blog: Pre requisites for Client Java Proxies
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies
    good docs on Java Proxy:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    /people/srinivas.gv/blog/2005/09/27/concept-of-proxy-generation
    Regards,
    Vinod.

  • Client connecting through a proxy

    hi
    i'm new to RMI programming, i need to clear some things up
    . is RMI a standalone protocol like http or does it require another protocol so
    it can run over it ?
    . how does an RMI connection get through a proxy server, ie. if the client is behind a proxy server and the server is a known public host, can the client still get to the server, or does this have to be done in the proxy configuration?
    Is there certain types of proxy servers RMI can't go through or ( they won't let it pass through ) .
    i need those infos because i've been stuck with an RMI server deployed on the net and a client behind a web proxy, the same box ( IP ) hosting the RMI server also hosts a WEB server from which javaWS starts the application but this application exits at a certain point sayin it cannot find the RMI server.
    i didn't have the chance to test through a direct connection, but have tested
    in an intranet environment and it was workin great,
    thanks for any help

    . is RMI a standalone protocol like http or does it
    require another protocol so
    it can run over it ?The question doesn't make much sense. HTTP runs over TCP, and so does RMI. RMI also uses the Serialization protocol.
    how does an RMI connection get through a proxy
    server, ie. if the client is behind a proxy server
    and the server is a known public host, can the
    client still get to the server, or does this have to
    be done in the proxy configuration?http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html#firewallOut
    s there certain types of proxy servers RMI can't go
    through or ( they won't let it pass through ) .Java supports SOCKS and HTTP proxies.

  • How can i use Java proxies?

    Hi,
    Q1. Where all can  java proxies be used?  Is it only in scenarios where a java appication(like jsp) is involved?
    I have a IDOC-XI-SFTP scenario.
    I have a java program that creates the SSH session and transfers files. I can use this as a Java Mapping and do the SFTP , but can i do it in java proxies? if yes then how can i create the java proxy as the receiver. Note:  i dont have a java application in the sceanrio.
    pls tell me if its not clear, i can clarify.

    Hi,
    In addition to what michal said i would like to share some good references with you.
    java proxies
    Java Proxies and SAP XI: The Inside
    Story u2013 Part I
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies
    Asynchronous Inbound Java Proxy.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1929. [original link is broken] [original link is broken] [original link is broken]
    advanced search
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Concept of proxy generation
    /people/srinivas.gv/blog/2005/09/27/concept-of-proxy-generation
    An Illustration of Java Server Proxy
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    rgds
    joel

  • Need help on using java proxies

    Hai I have a java application with some fields like former name , address, so on.. if i entered all fields with required information it will be modified in R/3 system through Xi ......... may be it is solved by using java proxies if it is right plz give me good information from basics and how can I use the java proxies to solve my requirement

    Hi,
    Refer
    Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
    How to Work with Java Proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    SAP Network Blog: Pre requisites for Client Java Proxies
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies
    U can work with java proxies,Check some links on proxies.
    Concepts and examples for Proxy, Abap Client Proxy and Abap server Proxy
    Asyn Inbound java proxy
    JAVA Proxies:
    Asynchronous inbpund java Proxies
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    Proxy Generation- For Java proxy, create a Message Interface and then generate a proxy for that message interface.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    More on Java Proxy-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Thanks
    Swarup

  • Proxy Server "freeze" when are not request for a long time

    hi... i have the followin problem that i can't find a solution yet..
    my context are:
    - sun java web proxy server v4.0.5
    - sun java one directory server where i have my users that can use proxy
    - between this servers i use a self signed certificate
    the problem are (history):
    - i start the server and star a browser, they ask for user and pwd; i give them i all ok
    - i can acces www without problems
    - i finish my work i go to home, but the proxy is keep running (but nothing are using
    them)
    - when i come again to work, i start the borwser and the proxy ask for user and pwd;
    i give them, but they keep to give the browser default page without results.
    i can only make the proxy serve works again is restarting them.
    i my acces log i have the following when i can try to connect and don't work:
    100.0.4.145 - [24/Aug/2007:08:11:55 -0300] "GET http://www.google.com/HTTP/1.1" 407 - - - - - - - - - -
    i my directory log i dont have request at this time
    how could be? :(
    thanks in advance

    hi... i cannot resolve this yet, but i can see http headers when this problem happens...
    for example:
    URL:*{color:#000000} http://www.google.com/{color}*
    Request: GET http://www.google.com/ HTTP/1.1
    Host: www.google.com
    User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041215 Firefox/1.0 Red Hat/1.0-12.EL4
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Proxy-Connection: keep-alive
    Cookie: PREF=ID=7ed5b832324f7935:TM=1159373905:LM=1187742924:GM=1:S=xYVfSPR3P8b-qCLa; GTZ=0; rememberme=false
    Response: HTTP/1.x 407 Proxy Authentication Required
    Server: Sun-Java-System-Web-Proxy-Server/4.0
    Date: Tue, 18 Sep 2007 11:13:41 GMT
    Content-Length: 146
    Content-Type: text/html
    Proxy-Authenticate: Basic realm=""
    Connection: close
    so...i look in specification about http 1.1 (rfc2068) (if i not wrong), when the server receive a request that needs authentication of the client he response whit a "request" of these autentication, so the client send them...
    i think that these response about the server needs that the client need autenticate is in the response with http code 407, but in rfc says that the parameter Proxy-Authenticate are like Proxy-Authenticate: Basic realm="string_here" where "string_here" is a id defined by server.
    So.. the string in "realm" &iquest;should not be diferent from empty (null) ? :(
    Thanks in advance :)

  • Proxy server v4.0.9 not caching as expected

    I've 2 Web proxy server configured in reverse mode and in the same proxy array.
    I'm just doing basic testings and noticed a document is not cached by the proxy array, while I think it should.
    The proxy access log is as follows (nothing in the error log):
    192.168.101.245 - - [20/Apr/2009:15:20:23 +0100] "GET /at06_REDESIGN.css HTTP/1.1" p2c_hl:489 p2c_cl:27147 p2c_rc:200 r2p_hl:415 r2p_cl:27147 r2p_rc:200 c2p_hl:596 c2p_cl:- p2r_hl:671 p2r_cl:- DNS_time:5 p2r_cnx_time:0 p2r_init_wait:8 p2r_full_wait:18 Total_time(us):24000 c_fin_status:FIN r_fin_status:FIN cache_status:ABORTED
    I can't figure out why the the final cache status is always ABORTED while for other documents of the same kind (.js files for example), the proxy caches them.
    Here's the full HTTP request and answer, from the browser point of view, when I try to get the document from a non master member of the array:
    http://livecache002.front.dc2.mydomain.com:8080/at06_REDESIGN.css
    GET /at06_REDESIGN.css HTTP/1.1
    Host: livecache002.front.dc2.mydomain.com:8080
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
    Accept: text/css,*/*;q=0.1
    Accept-Language: en-gb
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://livecache002.front.dc2.mydomain.com:8080/QA/siteundermaintenance.html
    Cookie: s_lastvisit=1239889603182; CP=null*; JSESSIONID=864758F37F32BED06B37DD228F795F34; s_cc=true; SC_LINK=%5B%5BB%5D%5D; s_sq=%5B%5BB%5D%5D
    HTTP/1.x 200 OK
    Content-Length: 27147
    Content-Type: text/css
    Date: Mon, 20 Apr 2009 13:42:15 GMT
    Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a mod_jk/1.2.2
    Cache-Control: max-age=3600
    Expires: Mon, 20 Apr 2009 14:42:15 GMT
    Last-Modified: Fri, 03 Apr 2009 15:33:19 GMT
    Etag: "3b57f-6a0b-49d62c3f"
    Accept-Ranges: bytes
    Via: 1.1 proxy-cache2
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0
    Here's what I see if I access through the master proxy of the array, called livecache001 :
    http://livecache001.front.dc2.mydomain.com:8080/at06_REDESIGN.css
    GET /at06_REDESIGN.css HTTP/1.1
    Host: livecache001.front.dc2.mydomain.com:8080
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
    Accept: text/css,*/*;q=0.1
    Accept-Language: en-gb
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://livecache001.front.dc2.mydomain.com:8080/QA/siteundermaintenance.html
    Cookie: CP=null*; s_lastvisit=1239889603182; JSESSIONID=3E4EC776B5BA3ADF54FE05F87623034B; s_cc=true; SC_LINK=%5B%5BB%5D%5D; s_sq=%5B%5BB%5D%5D
    HTTP/1.x 200 OK
    Content-Length: 27147
    Content-Type: text/css
    Date: Mon, 20 Apr 2009 14:20:23 GMT
    Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a mod_jk/1.2.2
    Cache-Control: max-age=3600
    Expires: Mon, 20 Apr 2009 15:20:23 GMT
    Last-Modified: Fri, 03 Apr 2009 15:33:19 GMT
    Etag: "3b57f-6a0b-49d62c3f"
    Accept-Ranges: bytes
    Via: 1.1 proxy-cache2, 1.1 proxy-master
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0, Sun-Java-System-Web-Proxy-Server/4.0
    The master determines the document should be retrieved from the other proxy, but since that proxy doesn't
    cache the document, the master can't help in such a case.
    Here's what I see for a successfully cached document (retrieved from the master proxy in the array, by the non master proxy) :
    http://livecache002.front.dc2.mydomain.com:8080/common/browsing_func.js
    GET /common/browsing_func.js HTTP/1.1
    Host: livecache002.front.dc2.mydomain.com:8080
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
    Accept: */*
    Accept-Language: en-gb
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://livecache002.front.dc2.mydomain.com:8080/QA/siteundermaintenance.html
    Cookie: s_lastvisit=1239889603182; CP=null*; JSESSIONID=864758F37F32BED06B37DD228F795F34; s_cc=true; SC_LINK=%5B%5BB%5D%5D; s_sq=%5B%5BB%5D%5D
    HTTP/1.x 200 OK
    Content-Length: 8875
    Content-Type: application/x-javascript
    Date: Mon, 20 Apr 2009 13:42:15 GMT
    Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a mod_jk/1.2.2
    Cache-Control: max-age=3600
    Expires: Mon, 20 Apr 2009 14:42:15 GMT
    Last-Modified: Wed, 15 Oct 2008 11:00:17 GMT
    Etag: "31ff2-22ab-48f5cd41"
    Accept-Ranges: bytes
    Via: 1.1 proxy-master, 1.1 proxy-cache2
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0, Sun-Java-System-Web-Proxy-Server/4.0
    Basically, both proxies have exactly the same caching configuration: each possible must be cached, if possible, without low size limit.
    Any idea of what could be wrong ?

    Now that I have the error log level set to fine, I think I see the problem, which looks like a bug in the proxy:
    My (reverse) proxy server is in the "GMT+1" timezone. When it gets a document from the backend server,
    the header shows the document is valid for one our, but the proxy erroneously considers, according to its
    error log, that the document is expired, as shown in the following error log extract:
    [21/Apr/2009:14:36:33] fine (25681): CORE7205: document http://himalia.nlw.mydomain/structure_images/footerNavDivider.gif will not be cached, expired on Tue Apr 21 14:36:33 2009
    14h36 is my proxy server local time, so it's 13h36 GMT.
    Here're the headers in the request and answer:
    http://livecache001.front.dc2.mydomain:8080/structure_images/footerNavDivider.gif
    GET /structure_images/footerNavDivider.gif HTTP/1.1
    Host: livecache001.front.dc2.mydomain:8080
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-gb
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Cookie: CP=null*; s_lastvisit=1240319966219; rsi_ct=2009_4_20:1; rsi_segs=; JSESSIONID=13D24F4986FA8E67CC62E10F145103A5; s_sq=%5B%5BB%5D%5D; SC_LINK=%5B%5BB%5D%5D; s_cc=true
    If-Modified-Since: Wed, 18 Mar 2009 12:06:20 GMT
    If-None-Match: "2e551-2c-49c0e3bc"
    Cache-Control: max-age=0
    HTTP/1.x 304 Not Modified
    Date: Tue, 21 Apr 2009 13:36:33 GMT
    Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a mod_jk/1.2.2
    Etag: "2e551-2c-49c0e3bc"
    Expires: Tue, 21 Apr 2009 14:36:33 GMT
    Cache-Control: max-age=3600
    Via: 1.1 proxy-master
    Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0
    The proxy header states the document will expire at 14h36 GMT (so 15h36 local time), but its error log states the document
    won't be cached because it has already expired, while it's 14h36 local time .

  • Does Sun ONE Web Proxy Server have built-in log analysis tools? What kind o

    Sun ONE Web Proxy Server automatically logs all requests using either the common log-file format or an extended log-file format. The extended log-file format includes the referrer field and user agent. You can also create your own log file format by selecting which HTTP fields you would like to log. A built-in log analysis program includes reports such as total number of requests, total bytes transfered, most commmon URLs requested, most common IP addresses making requests, performance during peak periods, cache hit rates, and estimated response time reduction. The items logged and the analysis program are completely configurable using the server manager's HTML form.

    Sun Java System Web Server is a web server; it serves web pages to web clients. Sun Java System Web Proxy Server, on the other hand, is a web proxy server; it routes requests/responses between web servers and web clients.
    You can configure Web Server to act as a simple reverse proxy by installing the Web Server 6.1 Reverse Proxy Plugin. This doesn't provide any of the forward proxy or caching proxy functionality found in Web Proxy Server.
    Both Web Server 6.1 and Web Proxy Server 4.0 are supported on Solaris 10.

Maybe you are looking for

  • Icloud storage jam

    Good afternoon, Please excuse me if this problem was discussed , I'm not very familiar with Apple community. So , I have an iphone 4 for about a year and a half . During this time I've made and deleted a lot of photos . 2 Weeks ago I've recieved a ma

  • Unable to download previous version of Flash Player?

         I am unable to view flash videos on some websites and able to on others.  I have found many possible solutions on here and other websites but have not yet been able to fix the problem.  I have decided to try and revert back to the previous versi

  • Itunes Smart Playlists

    With the recent update of itunes I downloaded, my smart playlists have become less customizable. Before I was able to create criteria and then sub-criteria within the original criteria. However, this new version removed the sub-criteria option. Is th

  • Deliver Reports  Large number of users.

    Hi Experts, We want to deliver set of reports to our customers (1000 customers) with data level security. i.e., A customer can only see their data. How can I achieve this using BI Publisher.? Do we require licenses for these numbers of users.? Can yo

  • List of all User

    Hi All, Can we have a report / list which will show us who are the person not logged in to the sytem in the last 60 days. Thanks