Configure through HTTP Proxy
Hello People,
I programmed a mail client and i deployed it to a jar file
I Then wrapped the jar inside a exe file so that i can run as a native code..
The program is working fine through direct internet connection.
I want to use that application through a proxy server.
Can any one help me out to configure java to use my application through a proxy server.....
Thanks in advance...
[http://java.sun.com/products/javamail/FAQ.html#proxy|http://java.sun.com/products/javamail/FAQ.html#proxy]
Similar Messages
-
Hi,
Currently I have to pass all traffic through a http proxy that only lets ports 25, 80 and 443 through.
I'd like to ssh to a machine in our office outside of the above network and using Putty on Windows I can set the proxy details with username and password and it works fine as I have set my listing machine to use port 443.
How can I achieve the same access through the proxy with ssh on Mac? I have tested that ssh with port 443 works when not using the proxy so it seems the proxy is the issue.You could use Corkscrew
<http://wiki.kartbuilding.net/index.php/Corkscrew-_ssh_overhttps>
You might also look into Hamachi (VPN)
<http://www.macupdate.com/app/mac/36286/logmein-hamachi>
Message was edited by: BobHarris -
How can I make connection to a port of some remote server when I am connected to internet using HTTP Proxy?
If you are going to use the URL object then set your proxy IP and Port in your system properties before you create your URL object.
For example:
System.getProperties().put( "proxyHost", proxyIp );
System.getProperties().put( "proxyPort", proxyPort );
URL url = new URL("http://www.foo.com" ); -
Could'nt configure for http proxy server in weblogic5.1
Hai
we have installed weblogic5.1 in two machines one in NT and the other in windows98.
We want to use one as the webserver and the other as the proxy webserver. When
ever if a particular file is not found in the webserver it should automatically
redirect to the proxy server. we have configured the following set of lines in
the weblogic.properties.
weblogic.httpd.defaultServlet=proxy
weblogic.httpd.register.proxy=weblogic.t3.srvr.HttpProxyServlet
weblogic.httpd.initArgs.proxy=redirectURL=http://192.168.254.183
but still we could'nt get the redirection. If we look for a particular jsp file
which is not in the webserver and located in the proxy webserver it searches only
in the webserver and giving the "404 not found error". What further configuration
we have to do to achieve this. Both systems are in the network.
Anybody's help is more appreciated
Thx and regards
jagan"jaganmohan" <[email protected]> wrote:
>
Hai
we have installed weblogic5.1 in two machines one in NT and the other
in windows98.
We want to use one as the webserver and the other as the proxy webserver.
When
ever if a particular file is not found in the webserver it should automatically
redirect to the proxy server. we have configured the following set of
lines in
the weblogic.properties.
weblogic.httpd.defaultServlet=proxy
weblogic.httpd.register.proxy=weblogic.t3.srvr.HttpProxyServlet
weblogic.httpd.initArgs.proxy=redirectURL=http://192.168.254.183
but still we could'nt get the redirection. If we look for a particular
jsp file
which is not in the webserver and located in the proxy webserver it searches
only
in the webserver and giving the "404 not found error". What further configuration
we have to do to achieve this. Both systems are in the network.
Anybody's help is more appreciated
Thx and regards
jaganThanks for everyone i was able to solve the problem on my own. The problem is
i did'nt commented the following line in the weblogic.properties. After commenting
the line it worked
weblogic.httpd.defaultServlet=file -
EDonkey Activity ID: 11018 "Through HTTP Proxy"
Is there a signature to capture edonkey etc. via the proxy server? Id 11018 seams to only trap the connection from the proxy to the internet address. I would like to be able to be able to identify the internal device connection to the proxy. I have modified he signature to include the port of the proxy but this has not helped.
I have a strange problem here with eDonkey.pdlm
I am using IOS c1700-k9sy7-mz.122-15.T13.bin, eDonkey.pdlm is the latest to download at the time I write these lines.
My configuration is:
class-map match-any P2P
match protocol kazaa2
match protocol bittorrent
match protocol gnutella
match protocol winmx
match protocol edonkey
match protocol http url "\.hash=*"
match protocol http url "/.hash=*"
policy-map QOS-WAN
class P2P
police cir percent 15
conform-action transmit
exceed-action drop
violate-action drop
interface ATM0.1 point-to-point
ip address 10.1.1.1 255.255.255.0
pvc 0/167
service-policy output QOS-WAN
The problem is simple and strange (at least for the momment for me). I can see edonkey/emule traffic if I apply 'ip nbar protocol-discovery' at atm0.1 but the router is unable to match that traffic at the policy-map:
#sh policy-map int atm0.1
Service-policy output: QOS-WAN
Class-map: P2P (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol kazaa2
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol bittorrent
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol gnutella
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol winmx
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol edonkey
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol http url "\.hash=*"
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol http url "/.hash=*"
0 packets, 0 bytes
5 minute rate 0 bps
police:
cir 15 %
cir 19000 bps, bc 1500 bytes, be 1500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps, violate 0 bps
Any suggestions? Any comments?
Thanks in advanced.
Luis Miguel Cruz. -
How to configure https connection using a http proxy in weblogic server
Hi,
I have a proxy in Aqualogic Service Bus that points to a https external service. Our development environment internet access is supported by a http proxy server. The ALSB proxy fails to connect, with the following error message:
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380002</con:errorCode>
<con:reason>
Tried all: *1 addresses, but could not connect over HTTPS to server: sitenet43.serasa.com.br port: 443*
</con:reason>
<con:location>
<con:node>RouteTo_ConsultarSerasa</con:node>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
I've added the following parameters to jvm args:
-Dhttp.proxyHost=10.128.0.50
-Dhttp.proxyPort=3126
-Dhttp.proxyUser=<someUserName>
-Dhttp.proxyPassword=<somePassword>
Accessing the page in Internet Explorer or Firefox is working fine. Somebody knows any additional configuration to this case?
Thanks in advance
Rogério CruzIn osb you can configure a HTTP proxy server. Once this is done all BS http/https requests will be through the configured proxy server.
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/global_resources.html#wp1137225
Manoj -
Hi,
I'm testing out Aqualogic Pages behind a firewall.
Does anyone know how to configure a HTTP proxy?
I'm seeing the following error with external RSS Data Sources (internal ones work fine):
INFO | jvm 1 | 2007/08/16 13:27:58 | Caused by: com.bea.alui.pages.service.record.RSSException: Error accessing RSS feed at URL: http://feeds.feedburner.com/mythtvnews
INFO | jvm 1 | 2007/08/16 13:27:58 | at com.bea.alui.pages.service.record.impl.rss.RSSFeedRecordReader.getRecords(RSSFeedRecordReader.java:152)
INFO | jvm 1 | 2007/08/16 13:27:58 | at com.bea.alui.pages.service.record.impl.rss.repository.RepoRSSRecordSetManager.getRecords(RepoRSSRecordSetManager.java:155)
INFO | jvm 1 | 2007/08/16 13:27:58 | ... 114 more
INFO | jvm 1 | 2007/08/16 13:27:58 | Caused by: java.net.ConnectException: Connection refused: connectI tried adding the following to wrapper.conf and restarted the service, but this didn't seem to work:
wrapper.java.additional.9=-Dhttp.proxyHost=web-proxy.hpl.hp.com
wrapper.java.additional.10=-Dhttp.proxyPort=8088Thanks
DaveI have the same question about ALUI. Older versions of the portal had a proxy setting for WebDownloaderParallel in the Administration applet. But I don't see that same option anywhere in 6.5.
-
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 thianI 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.
-
Hi there
Can someone please tell how to configure a HTTP proxy using Profile Manager to the schools OS X 10.9 iMacs. This would be for Ethernet, not WIFI which I know you can setup/push. There is not any settings in profile manager. I can only see custom settings, which I have no idea how to do.
Many thanks in advanced!You may find this discussion helpful:
ML Server: How do i push my school proxy settings to our ML clients?
i.e. <https://discussions.apple.com/thread/4715399> -
Iphone Safari needs a http-proxy to reach the internet
is it possible to configure a http proxy to reach the internet over the wiFi-Connection connected to an enterprisenetwork?
Yes. Connect to the network (Settings > Wi-Fi), then tap the little blue arrow next to the network name, and scroll down to the Proxy settings area.
-
Configuring the application server to use HTTP proxy server
Hi,
I am trying to configure LiveCycle ES2 to access services over the internet and since my Livecycle server connects to internet through a Proxy server, I have referred to section 5.8.2 of LiveCycle install_weblogic.pdf that states the following:
If the computer that LiveCycle ES2 is running on uses proxy settings to access external web sites, the
application server should be started with the following values set as Java virtual machine (JVM)
arguments:
-Dhttp.proxyHost= [server host]
-Dhttp.proxyPort= [server port]
However, I am getting the below exception while running the LC application as my Proxy server requires User credentials to connect to the internet:
weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required.
I tried providing the below JVM startup argument too, but no luck:
-Dhttp.proxyUser= [proxy user]
-DhttpPassword= [Proxy password]
Can you please suggest how to configure User credentials for the Proxy server in Livecycle.
Thanks in advance.Hi WASIL,
Thank you for your response.
I have followed the above document suggested by yourself and the relevant steps while setting up the Server and the Workbench, and verified the settings too.
The installation guide does highlight the steps to configure a Proxy server. However, the guide does not mention anything about how to handle Proxy server authentication.
Please note that there are Proxy authenication options available in Workbench to configure how the Workbench connects to the LiveCycle server, whereas the problem I am facing here is how to connect the LiveCycle server with internet services through a Proxy server.
I hope that clears the problem statement.
Thankyou for your assistance. -
I want XE to validate DTD references made in XML schema definitions. Metalink note 262708.1 refers to setting HTTP_PROXY environment variable/Registry value to do this through corporate firewalls.
Can I set this in XE? If so, how is it done on Windows XP?OK, for the record I set the HTTP_PROXY value in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_XE to
http://<username>:<password>@<http.proxy.server>:<port>
which seemed to do the trick as far as basic MS HTTP/proxy/authentication is concerned. The proxy software/configuration thereon is another matter... -
Using a HTTP destination through a HTTP proxy
Hi there!
I have written a Web Dynpro application that connects to a web service using a web service model. The request is configured to use a HTTP destination by means of the _setHTTPDestinationName() method. I configured the HTTP destination in the visual administrator and it uses Logon ticket to authenticate.
All this works perfectly in my test environment. Unfortunately in my production environment the web service must be accessed through a HTTP proxy and I could not find where to configure the proxy settings for HTTP destinations.
I found some information about "open a transaction in SICF" an so on which doesn't help me because I have no ABAP client.
I found some information about configuring proxies in the NWA but this does not seem to apply to my NW version, wich is 2004 SP16.
Any clues?
Thanks in advance.Hi Olivier,
thank you for your reply.
Is there really a possiblity to configure a proxy for any given HTTP Destination in ABAP? Because if there is, I cannot believe that there is no equivalent in Java. As there is no such a thing as a HTTP Destination "for ABAP" and a HTTP Destination "for Java", what would happen if I used the HTTP Destination with proxy settings created in ABAP for my Java program?
There is another way to use a proxy which I found by analysing the generated Java classes of my web service model. You can do the following:
SomeServiceImpl service = SomeDMSModel.getServiceImpl();
service.setHTTPProxyResolver(new HTTPProxyResolver() {
HTTPProxy proxy;
public HTTPProxy getHTTPProxyForHost(String host) throws RemoteException {
if (this.proxy == null) {
this.proxy = new HTTPProxy();
this.proxy.setProxyHost("proxy.company.com");
this.proxy.setProxyPort(1234);
return this.proxy;
This is NOT a good way to do it, as it transfers a portal administration task to the programmer, but it shows that the functionality is present in Java.
So I haven't given up on finding where it has to be configured...
Edited by: Robert Rodewald on Jan 18, 2008 11:01 AM -
Just bought ATV. hope http proxy setting will be in UI instead of via apple configurator
i just bought apple TV and loaded latest firmware 5.2.
from the knowledge base, understand that http proxy can be setup via apple configurator after ver 5.1.
it can only be installed in MAC.
i am really hope your developer team could bring the said function out to user interface instead of going through all the hassle.
looking forward for your early replyThanks for the idea. I had already thought about using aliases but that wouldn't stop the Application folder showing a looooooooooong list o applications. As I said, having things clear is just a crazy habit of mine. Now that I know the trick I will just "survive" having FCS applications in their default location. I know I'm the only one here doing things differently. It's just that I have never had that problem with any other application and it was turning me crazy.
By the way, if anyone would like to use aliases, using an underscore as the first characters help having things on top of the list. For instance, the alias "_Multimedia" would appear before "Adobe". -
I'm connected to a customer's network and I have to use a proxy.
I correctly authenticate myself to the proxy and I try to access https://mail.google.com.
I receive a message that the proxy refuses the connection.
I noticed that this happens with all the https sites.
If I connect with my mobile internet key without proxy, I'm able to connect: the combination of proxy and https is failing.
Other computers on the same network with different browsers can connect to https through the proxy.I'm working with the Firefox development team on this one. As far as I can tell, they seem to think that there are 2-3 different problems with the same/very similar symptoms, all involving proxies. They think they've fixed them all for RC1.
Right now, it looks like we just want people to test an early build.
You can get that here:
[http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2011-03-03-12-mozilla-central/firefox-4.0b13pre.en-US.win32.installer.exe]
Install that somewhere (not in your current install directory), quit all open Firefox instances and try it. Let me know if it works.
Maybe you are looking for
-
How do you turn on the do not track feature?
According to an article in USA Today, Firefox has a "do not track" feature that keeps third parties for knowing what sites I visit. How do you turn this on?
-
How to know which sub process(function) transaction codes belong to.
Greetings all, I would like to know transaction codes belong to which sub process on SAP system. For example, MD04 belongs to 'MQ-MRP-R/3-MRP', SE38 belongs to 'IT-PRO-R/3-Programming'..something like that. Is there any way to check the definition on
-
Does EBook-EB720 support a Firefox browser?
purchased the above ebook reader. want to read some items with a browser. Looking through Mozilla I cannot see that there is a browser for the above. Is there?
-
Safari won't start w/ new MacBook Air
Safari won't start on my new MacBook Air. I transferred over my files from my Time Machine. How can I fix this? Thanks
-
Whats your biggest project in terms of VO's and jsp's? :)
Im just curious.. :)