I've managed to configure the proxy settings in Eclipse and Maven, but when I run my application, the application itself can't get through the proxy. Is there a way I can configure the application proxy details as well?
Thanks.
Related
I run my Eclipse on a Linux computer behind a company proxy. This proxy does not need authentication, it simply needs to be set. But in Eclipse some functionalities can't connect to the Internet. When I check the same URL with e.f. curl and the same proxy settings everything works fine.
I defined the proxy:
in /etc/environment, both http_proxy and https_proxy
in Eclipse in Window / Preferences / Network connection / Manual. For http and https, not for socks
in settings.xml, I can see from the preferences that this file gets applied
Eclipse can connect to the Internet:
in the Marketplace
for update checks and Installation
Eclipse is unable to reach the Internet:
in the "Web Browser" view
in m2e
Any ideas where I missed a special setting ? I do all of this in STS 3.9, which has Eclipse 4.7
I am not sure about the browser view, but m2e/Maven uses proxy settings that are defined in the settings.xml file for Maven.
In Eclipse/STS, you can specify which settings.xml file m2e should use in the preferences for the Maven support.
Is there a best approach to debug maven GWT application at Eclipse Che?
Whenever I run gwt:run-codeserver it maps to a random external port on docker in order to serve multiple users, and the client is expecting to use the port, specified at pom configuration.
I have many projects setup in eclipse. One of these projects is a Web Service Client Project. When I start tomcat using the Start Tomcat plugin in eclipse Juno, my Web Service project is not running. I get a 404 http error. However, using the Server tab in eclipse (on creating my web services project, a Server project is also created), if I start Server, my Web Service Projects runs corectly.
I am of the view therefore that Web Services projects must be started using the Server->Start option and not Start Tomcat using the plugin.
I am new to Web services. Can anyone share some information on this, and how perhaps I can get the Web Services project to run using the Tomcat plugin.
Regards
Fyzal
did you add the Web Service project on the Server ? Right Click on Webservice Project and Run on Server OR Right Click on the Server and "Add or Remove" Resource
I am trying to debug a GWT application on Tomcat, but I don't know how to run/debug my application on Tomcat in Eclipse. I have so many links but I can't get a proper result.
I'm using -noserver -port 8080 and war file configuration but every time I get an error 404 while I run the application.
Here are some links that I follow but I can't configure:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/7511aca28b5f683c
https://developers.google.com/eclipse/docs/faq#gwt_in_eclipse_for_java_ee
http://jxpang.blogspot.in/2010/11/configure-external-tomcat-7-server-in.html
update
I am having same url but i think i am doing wrong configuration. is any body has proper solution for configure gwt web application with apche tomcat with debugging.
I want step by step configuration and running tutorial
please help me.
So you connect to the local server, but it can't resolve your URL?
If you stick with all the defaults, then in dev-mode you would use the following URL:
http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997
But when configured on an external server you would need:
http://localhost:8080/MyApplication/index.html?gwt.codesvr=127.0.0.1:9997
Also make sure that in the 'Server' tab of your Debug configuration the option Run built in server is unchecked.
Hope this helps!
In Eclipse: right-click on your GWT project, and choose "Run As web Application (running on an external server)"
Then you can fill the field External root server (dns/ip and webapps folder for tomcat)
I am trying to run m2eclipse on a workstation behind a proxy. I have configured Eclipse and Meven's settings.xml to recognize the proxy.
Yet I still get the following message every time I try and update something:
Unable to update index for central|http://repo1.maven.org/maven2
Configure your eclipse network settings to support the proxy and try.