- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Install SDK 2.3.5 on Virtualbox VM with proxy
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2014 08:56 AM
10-31-2014 08:56 AM
I'm trying to build a dev enviroment in a Virtualbox VM, using Ubuntu 12.04
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
I've installed the HP VAN 2.3.5 controller, JDK 1.6 and maven 3.0.4
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
Based on a number of on-line tutorilas, I have set my proxy info in settings, and in /etc/apt/apt.conf.d/80proxy.
$ sudo pico /etc/apt/apt.conf.d/80proxy
Acquire::http::proxy "http://myproxy.xxx.co.uk:8080/";
Acquire::ftp::proxy "ftp:// http://myproxy.xxx.co.uk:8080/";
Acquire::https::proxy "https://http://myproxy.xxx.co.uk:8080/";
I also copied the setting.xml to ~.m2/ and edited the proxy settings
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>http://myproxy.xxx.co.uk</host>
<port>8080</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
Also
$ chown -R username.username /home/username/.m2/
$ chmod -R 0777 /home/username/.m2/
However when I run the install-sdk command from the HP SDK folder it times out.
~/hp-sdn-sdk-2.3.5$ bin/install-sdk
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.3/maven-clean-plugin-2.3.pom
31-Oct-2014 11:43:00 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
31-Oct-2014 11:43:00 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
$ mvn -X
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-18-generic", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from /home/username/.m2/settings.xml
[DEBUG] Using local repository at /home/username/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /home/username/.m2/repository
I also setup socksify using dante-client, this made no difference.
~/hp-sdn-sdk-2.3.5$ socksify bin/install-sdk
If I use wget, e.g.
The proxy is resolved and downloads the .pom file.
Does anyone know the fix for this problem?
Thanks in advance. Dave.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2014 09:40 AM
10-31-2014 09:40 AM
SolutionHi Dave
Two items
1. You are using Java 1.6 and should use 1.7
2. Here is my settings.xml and I know it works you should be able to adept it;)
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>web-proxy.company.com</host>
<port>8888</port>
</proxy>
</proxies>
</settings>
On a side note your wait might for the duration fix might be over in the near future.
Kind Regards
Gerhard
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 08:28 AM
11-03-2014 08:28 AM
Re: Install SDK 2.3.5 on Virtualbox VM with proxy
Gerhard,
Thansk for the reply.
The problem was extreme stupidity on my part.
I had edited the proxy host name in .m2/settings.xml, but I had not uncommented the sectionat the start and end of the proxy settings.
e.g.
https://developer.atlassian.com/display/DOCS/Explore+the+Installed+SDK+and+the+atlas+Commands
My only excuse is that I don't use xml very often.
Thanks,
Dave.