How do I configure network setting in eclipse when my company serves proxy through.pac file? - eclipse

Can any one help me how to configure network proxy in eclipse?
I know how to do it with proxy which I find from chrome's LAN settings. But in my organization there is .pac file instead of proxy link and port.

[Solved] - Download the .pac file and searched for proxy URL and port. Used the same to configure network settings in eclipse.

Related

Proxy Configuration for Liferay Portal CE 7

I have a question about the proxy configuration for Liferay Portal 7 CE. I have searched for quite a while, but haven’t found anything really helpful on the subject. There is already a question here on stackoverflow related to Liferay’s proxy configuration in Wildfly, but it has not been answered yet: Proxy Settings Wildfly
We use a squid proxy server for internet access (no authentication, just a proxy port and a host for HTTP and HTTPs). I would like to run Liferay portal on my local machine and therefore need to tell the portal to use the proxy for web access.
How do I do this? Do I make changes to
a) Liferay’s configuration files (i.e., the portal-ext.properties, I guess) or do I change
b) the configuration files of the application server, on which the portal is running on, or
c) change the configuration for the portlets (e.g. for the marketplace portlet)?
What options would I have to set in the respective configuration files?
Best regards,
Felix
Proxy configuration is splitted in two configuration files: system-ext.properties and portal-ext.properties.
In system-ext.properties you have to configure the proxy environment configuration settings that affects to whole JVM process:
http.proxyHost=192.168.0.200
http.proxyPort=4480
You have to create system-ext.properties file inside webapps/ROOT/WEB-INF/classes. (inside Liferay application classloader)
You have more information about system-ext proxy settings in following link: https://docs.liferay.com/portal/7.0/propertiesdoc/system.properties.html#HTTP
In portal-ext.properties you have to configure the proxy environment configuration settings that affects only to Liferay portal:
com.liferay.portal.util.HttpImpl.proxy.username=
com.liferay.portal.util.HttpImpl.proxy.password=
You have more information about portal-ext proxy settings in following link: https://docs.liferay.com/portal/7.0/propertiesdoc/portal.properties.html#HTTP
If your proxy has no authentication, only system-ext.properties settings are necessary

eclipse couldn't connect internet?

I can reach the eclipse marketplace using browser but i couldn't connect through eclipse.
It's not a firewall issue, i've already allow the eclipse.
What could be the reason, i use eclipse luna.
when i check the proxy controlpanel > internet options > connections > lan settings the automaticly detect settings was checked. Could it be the proxy issue, if it is how can i get the proxy settings.
Thanks in advance.
In Eclipse go to
Window -> Preferences -> Network Connections
Direct: No proxy will applicable and always look for direct connection
Manual: You can set your own proxy setting here also you can set username and password for internet login(if applicable)
Native: This will look for system proxy settings
Just go to http://www.whatismyproxy.com/ and you will get your proxy server ip
You can use that IP in configuring the NetworkConnections setting in Eclipse
hope it helps

Showing friend my jsp project

I am using eclipse with tomcat to develop my jsp projects. Is it possible for me to be able to show this to my friend remotely? Without them having tomcat or anything. Without purchasing a web hosting service?
You can do that using Port Forwarding Login to your router and configure a rule for port 8080 (tomcat port).
Go here to find out your external IP. Your friend should be able to access your tomcat context by using your external IP on port 8080.
Also - make sure your firewall/Anti Virus in allowing this connection.
Hope that helps!
Good Luck!
TeamViewer would be my choice, they can remote into your machine and it will be like they are sitting there with you. If things go nasty, just turn off your network.

Problems with Proxy in Eclipse

I have a proxy in my clipse. The settings are all ok, it's the same proxy I have on Chrome.
When I debug my application and try to acess a webservice from my client's application, the proxy should let me through.
The problem is that there's no request being sent to the proxy. I've been monitoring the network traffic with WireShark and I see no request to the proxy when I debug my application.
When I open Chrome and the proxy asks for authentication, the request appears on WireShark.
Anyone has any idea why??
Tks in advance
The Eclipse proxy setting is just for Eclipse itself.
You need to explicitly configure your own applications to use the same proxy settings.

eclipse ide svn network connection using tor

I am working on a project where we use a remote subversion server. The server uses the port 9090. I can access the server from my home PC. However, when I am in school, I don't have access probably due to the firewall used in here. So, I used a proxy server "Tor" and I managed to successfully connect to the server from the Tor browser.
Now Problem is how can I configure Eclipse to connect to the SVN server through the Tor proxy.
Thanks for your help.
You need http proxy for eclipse try FreeGate proxy (with wine if the operating system is Linux)