Communication under a proxy

Hi, I need to read some specific information (like the temperature) from a web page and I'm in a LAN workstation with internet access provided by proxy. How can i do this using a java program?

System.getProperties().put( "proxySet", "true" );
System.getProperties().put( "proxyHost", "myProxyMachineName" );
System.getProperties().put( "proxyPort", "85" ); You can also do this on the command line to java: java -DproxySet=true -DproxyHost=something.proxy.com -DproxyPort=85 Application

Similar Messages

  • 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

  • How to do pacman -Sy under a proxy[SOLVED]

    Hi, I'm under the wireless network on our school...They are using a proxy...I've set up firefox to be under this proxy
    http proxy:20.20.20.20
    port: 8080
    when I ping google on the terminal it says unknown host...:(
    I've already searched both google and the forums...I had no luck
    Thanks in advance
    Last edited by kaola_linux (2009-03-20 08:17:50)

    Xyne wrote:
    Just run "powerpill --gen-conf" to create the config file (~/.config/powerpill/powerpill.conf by default). Look for the ADDITIONAL_ARIA2C_ARGUMENTS line and add whatever aria2c arguments you need to make the proxy work.
    You'll have to check the man page for aria2c to see how to configure it to use your proxy settings.
    An alternative solution is to directly edit aria2c's configuration file to use your proxy. If you do this then you do not need to do anything with powerpill's configuration file. I think I would actually recommend this method instead.
    Thanks alot xyne, I've used the first method you've mentioned and it was working...:D

  • RE: Forté 3.0.M Communication under HP11 &TCP_NODELAY

    Hi Olivier,
    Good news for you. In Release 3.0.N Forte will allow users to configure
    TCP_NODELAY option for Forte sockets. Please see defect report 52766.
    Regards,
    Zenon Adamek
    Purolator
    -----Original Message-----
    From: Olivier Brousseau [SMTP:Olivier.Brousseausema.fr]
    Sent: Tuesday, April 11, 2000 9:28 AM
    To: kamranaminyahoo.com
    Cc: ZAdamekpurolator.com
    Subject: Forté 3.0.M Communication under HP11 & TCP_NODELAY
    Hi,
    does anyone know if Forté uses sockets with or without TCP_NODELAY set ?
    is it something that can be configured ( at installation time ) ?
    thanks.
    olivier
    Nota. Environment is HP11 & Forté 3.0.M
    O. Brousseau
    Architecture & Performance Team
    Sema Group France ( DTS )

    Did you ever resolve this issue, because I am having exactly the same issue!  Thanks!

  • Idoc Communication Configurations and Proxy Runtime Configurations for PI

    We have a fresh PI 7.1 system, fresh ECC6 system, and an existing 4.6C system.
    is there any blog/doc with step-by-step instructioins/screenshots for following tasks:
    1. Configuring Abap proxy runtime between ECC6 and PI 7.1 Systems, for using sproxy from ECC6.
    2. Configuring for IDOC communication between ECC6 and PI 7.1
    3. Configuring for IDOC communication between 4.6C system and PI 7.1
    It involves creating of sm59 rfc destination creations, usage of idoc related transactions on PI system and the other system.. I searched on sdn/forum, but it seems to be addressing specific issues faced.
    Pls suggest any step-by-step instructions docs/blogs available.
    thanks in advance.
    Madhu.

    Madhu,
    Refer the links below:
    1. /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    2& 3 :
    https://wiki.sdn.sap.com/wiki/display/XI/SAPR3%28Idocs%29ToXI--Steps+Summarized
    http://www.riyaz.net/blog/xipi-settings-in-r3-partner-system-to-receive-idocs/
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c&overridelayout=true
    http://www.riyaz.net/blog/beginners-guide-to-ale-and-idocs-a-step-by-step-approach/
    Also, I  think u hv just started learning XI ..so following link might help:
    http://wiki.sdn.sap.com/wiki/display/NWTech/QAforPI-Onestopforall%28Part-1%29

  • Mail Under Squid Proxy

    I'm under a corporate proxy (squid) that only has port 80, and 443 available. However, it seems that mac's mail app cannot connect through only these ports.
    Is there a way to make Mail connect through 80 or 443? I cannot make a ticket for other ports to be opened as they would only say to browse email through browsers.

    If your Squid proxy server is setup only to do ports 80 and 443 it is only doing http and https protocols. If your trying to access an IMAP account you need ports 993 and/or 143 to be proxied. However this will mean you need Squid to be configured to also support that which is via a different type of proxy called a SOCKS proxy. Squid can do both SOCKS and http/https parodying at the same time.
    If your connecting to an Microsoft Exchange Web Services (EWS) server then this as its name suggests it uses standard web i.e. http/https protocols and will work with ports 80/443.
    It sounds therefore that you are trying to connect to an IMAP server, unless SOCKS is setup then you will be blocked.
    If you are trying to access a corporate mail server then the IT department should set things up to enable this e.g. by setting up a SOCKS proxy server. If you are trying to access a personal email account e.g. Google Gmail then you are going to have to use webmail. Personally for personal email I far prefer using a webmail interface as then my personal emails are not stored on the companies computers.
    If you are trying to access a corporate Microsoft Exchange server then it is possible EWS has been disabled as Windows clients do not use this protocol, again the IT department should ensure that they provide the services needed to support Macs if Macs are being supplied to users. If the company is providing Macs to users and the IT department is failing to set things up to allow those Macs to connect then the IT department is failing in their job and the person responsible should be replaced with someone better up to the job.

  • Applet servlet communication under mac os x

    Hi everbody,
    I have an applet that invokes a servlet via url connection and maintain session status using cookies. Everything works fine under linux and windows but I have problems under mac ox 10.2 (with jdk1.4.1):
    I reported an EOFException reading th stream header.
    here is my code
    URLConnection connection = null;
    try{
    connection = getConnection(entity);
    ObjectOutputStream outputToHost = new ObjectOutputStream(connection.getOutputStream());
    outputToHost.writeObject(packet);
    outputToHost.flush();
    outputToHost.close();
    }catch (Exception e) {
    error_tmp = "brokensession";
    e.printStackTrace();
    if (_cookie == null) {
    _cookie = connection.getRequestProperty("set-cookie"); 
    ObjectInputStream inputFromHost = null;
    try {
    inputFromHost = new ObjectInputStream(connection.getInputStream());
    answer = (Hashtable) inputFromHost.readObject();
    if (answer.get("error") != null){
    error_tmp = (String) answer.get("error");
    status.put("nessieStatusApplet" , error_tmp);
    } catch (Exception e) {
    status.put("nessieStatusApplet" , "connection-out");
    e.printStackTrace();
    The first time I execute the servlet call it works ok, the second time the it seems that the headers are lost and I have the excpetion.
    Maybe it is something like sun jdk bug #4325987, now solved in sun jdk.
    Any idea?

    1.4.1 on Mac OS X is under NDA, nobody can discuss this on an open fourm...Some guy was once so much upset by the users' being allowed neither to discuss their experience nor to help each other, that he founded the open source movement. (GCC, Linux are maybe the most prominent fruits.) What is his name?

  • Inclusion of my name in SDN community under the Company

    Hi expert
    I have registered my name under SDN as a individual category. How i will be able to  add my name under the category company where I am presently working.Can anybody please suggest a way out for this.
    Regards.
    Surendra

    Hi Surendra,
    Go to the top right of the screen in the forum, there you have the My Profile/ Update profile, where you can edit your current mail id to company official email Id, name of the company etc., which are related to your company.,
    If, You have SAP Marketplace id, you can login on the same id in the sdn, so that all will accounted to your company account..
    Thanks and regards,
    Sri

  • Firefox in Windows 7 under a proxy do not show many icons and images in Google applications. Reinstall it does not solve the issue.

    Google applications (spreadsheet, ...) does not show the icons properly.
    Only when hovering over the buttons, the tip appear and you can see what does the button.
    Best regards

    Hello all
    Thank you very much!.
    I have tried the solution and it worked perfectly, both for Google search "Images" tab and for Google Docs icons. The problem was in the Google images and icons permissions.
    Other person in my company had the same problem and now it is solved. You have killed two birds with one stone (^_^).
    Thank you
    Koldo

  • Forté 3.0.M Communication under HP11 &TCP_NODELAY

    Hi,
    does anyone know if Forté uses sockets with or without TCP_NODELAY set ?
    is it something that can be configured ( at installation time ) ?
    thanks.
    olivier
    Nota. Environment is HP11 & Forté 3.0.M
    O. Brousseau
    Architecture & Performance Team
    Sema Group France ( DTS )

    All these ports (below) are open on the VPN server but still can't transfer files via drag and drop to client Macs. It gets stuck at 0% while it tries and then fails. But I'm able to observe and control.
    5900 tcp/udp
    5988 tcp
    3283 tcp/udp
    Hmm, I found this in the Apple knowledge database:
    When using VPN, you may need to set your router to allow a larger MTU and/or to disallow fragmented packets.
    Maybe the above is worth a try. Anybody on the same boat?

  • Why applications do not work under wifi with proxy?

    Hello:
    In my village there is a wifi installed that runs under a proxy with autentication: every user has his router at home and connects to the "general" wifi through a proxy with an username and password. I configure the wifi as follows: Wi-Fi --> Select the wifi --> I select Manual Proxy HTTP --> I type the server and port, enable authentication and type the username and password. Now, when I open Safari, I can navigate without problem. However, Safari is the only application that works: I cannot read my mail through the generic Mail application, nor enter in Facebook application, Twitter, Skype and so on. However, I can enter, for example, into Facebook through Safari.
    We are some friends with the same problem, some of use have iPhone 3, others have iPhone 4 and I have iPod 2nd generation.
    I guess that not all the applications of the device run using the proxy enabled in the Wi-Fi options but the should, shouldn't them? Does anybody know if there is any solution to this problem?
    I hope I have explained clearly enough.
    Thanks,
    Maria

    Ah, a wee bit of google later and it seems that iOS 5 has an issue with Http proxes,
    in so far as it does not allow https (secure connections) which Facebook app appears to use.
    https://discussions.apple.com/thread/3457661?start=0&tstart=0
    Some say that iOS5.1 fixes this, or at least prompts for your password when it needs it.

  • UDP communication through proxy

    Hello,
    I've been struggling for hours now trying to work out how to use UDP communication through a proxy. It took me quite a bit of work to get it working for HTTP, but it's working fine now.
    I'm trying to use the DatagramSocket class and there's no option to use a proxy anywhere. I tried setting the proxy globally by doing:
    properties.put("proxyHost", "proxyAddress");
    properties.put("proxyPort", "proxyPOrt");
    properties.put("proxySet", "true");
    but it doesn't work. I get errors on name resolution when I try to connect.
    I'm looking for a global (programmatical) way to set up the proxy, so that I can use the InetAddress too to get IP addresses and such.
    Cheers.

    properties.put("proxyHost", "proxyAddress");
    properties.put("proxyPort", "proxyPort");Those two properties are just equivalents for http.proxyHost/proxyPort. They come from the defunct HotJavaBean (1997-8) and somehow leaked into the JDK, maybe because books of the era mistakenly documented them as part of the JDK, or maybe because part of the HJB implementation leaked into Java.
    properties.put("proxySet", "true");That property has never done anything in the JDK. It did something in the HJB which is no longer with us ...
    There is no support for UDP proxying in Java.
    but it doesn't work. I get errors on name resolution
    when I try to connect.That's a DNS topology issue, nothing to do with proxying really.

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

  • Can a Directory server be registered under 2 Directory proxy?

    Hi,
    Is it possible to register a directory server under 2 proxy servers?
    ===========================================
    Proxy Server 1 Proxy server 2
    | |
    |---------------------->DS 1<-----------------------|
    |---------------------->DS 2<-----------------------|
    There will be just one DSCC application that will control this set up...
    Thanks.

    Usually this is required for proper fail over between two DPS so that if one fails the other can still serve the traffic. Typically, in this kind of setup, a hardware load balancer would be in charge of doing this one layer up the chain, like:
    HLB1  -----> DPS1 -----> DS1
            X           X
    HLB2  -----> DPS2 -----> DS2each directory server needs to be added as an ldap-data-source in an ldap-data-source-pool in both DPS1 and DPS2
    cheers.

  • WSUS Sync is not working Sync failed: UssCommunicationError: WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. --- System.Security.Authentication.AuthenticationException: The remote

    I know there are loads of posts with same issue and most of them were related to proxy and connectivity .
    This was case for me as well (few months back). Now the same error is back. But I've confirmed that FW ports and proxy are fine this time around.
    server is configured on http port 80 
    ERROR
    Sync failed: UssCommunicationError: WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid
    according to the validation procedure.~~at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request). Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WSyncAction.WSyncAction.SyncWSUS
    I've checked proxy server connectivity. I'm able browse following site from WSUS server
    http://catalog.update.microsoft.com/v7/site/Home.aspx?sku=wsus&version=3.2.7600.226&protocol=1.8
    I did telnet proxy server on the particular port (8080) and that is also fine.
    I've doubt on certificates, any idea which are the certificates which we need to look? And if certificate is expired then (my guess) we won't be able open the above mentioned windows update catalog site?
    Any tips appreciated !
    Anoop C Nair (My Blog www.AnoopCNair.com)
    - Twitter @anoopmannur -
    FaceBook Forum For SCCM

    Hi Lawrence ! - Many thanks for looking into this thread and replying. Appreciate your help.
    Your reply  ("SSL is enabled/configured, and the certificate being used is invalid
    (or the cert does not exist or cannot be obtained), or the SSL connection could not be established.") is very helpful.
    I've already tested CONTENT DOWNLOAD and it's working fine. WSUS Sync was also working fine for years with proxy server configured on port (8080) and WSUS server on port 80.
    My Guess (this is my best guess ;)) is this something to do with Firewall or Proxy side configuration rather than WSUS. However, I'm not finding a way to prove this to proxy/firewall team. From their perspective all the required port communication open and
    proxy server is also reachable. More over we're able to access internet (Microsoft Update Catalog site) over same port (8080).
    Any other hints where I can prove them it's a sure shot problem from their side.
    Thanks again !!
    Anoop C Nair (My Blog www.AnoopCNair.com)
    - Twitter @anoopmannur -
    FaceBook Forum For SCCM

Maybe you are looking for

  • Suddenly, Facebook is not appearing correctly. It's OK on Safari but no on Firefox. Any ideas?

    The page does not load correctly. Things that are supposed to be on the right or left side of the screen appear at the top of the screen in the same column as the posts.

  • EEWB fields not showing up in the ET_FIELD_ATTRIBUTE structure of READ meth

    Hi there, I have created some EEWB fields, and tried to display them on the screen. While I managed to display them using the READ method, however,I  could not get any field attribute from the exporting parameters (ET_FIELD_ATTRIBUTE)! Has anyone enc

  • Where  are iPhoto jpg's?

    Where on the hard drive is the default location of the pictures stored in iPhoto. I'm looking for all the jpg's in one place outside of iPhoto. Thank you, Gary

  • IPhoto library not loading since lion upgrade

    Hi, Since upgrading to lion, iphoto will not load the iphoto library anymore. iPhoto starts with the error message "your iphoto library is either in use by another application or you don't have permissions...". iPhoto was perfectly running on 10.6 (a

  • Issues converting mp4 to mpeg2

    I am having difficulty converting client-provided mp4 files into mpeg-2's for use in DVDSP. Here are the mp4 file attributes: 1280x720 23.98 H.264 square pixels AAC audio 48kHz My approach was to send these through Compressor 2, creating a 16X9, "bes