Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8985581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:21:44+00:00 2026-06-15T21:21:44+00:00

In my Play 2 app, I am calling a Scala wrapper around java.net.URL, Bee

  • 0

In my Play 2 app, I am calling a Scala wrapper around java.net.URL, Bee Client. According to the docs, java.net.URL supports proxy but I can’t find the details on how and what to set for environment variables.

I have tried, without success,

export proxySet=true
export proxyHost=my-proxy-server
export proxyPort=1080

Any help will be much appreciated.

UPDATED:
After digging further, they aren’t environment variables but rather JVM command line arguments as also noted by Rick. However, I have tried the following also without success

export JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=my-proxy-server -Dhttp.proxyPort=1080"
sbt -Dhttp.proxyHost=my-proxy-server -Dhttp.proxyPort=1080 test

Note that I am passing the arguments to sbt test.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:21:46+00:00Added an answer on June 15, 2026 at 9:21 pm

    I figured it out, I also need to pass the socks proxy setting, could be specific to my company’s network but here is what works for me

    sbt -Dhttp.proxyHost=my-proxy-server -Dhttp.proxyPort=1080 -DsocksProxyHost=my-socks-proxy-server test
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Following is the Play 2 app, https://github.com/playframework/Play20/tree/master/samples/java/forms Which portrays Dynamic form binding where form
I use play2 to create a default scala app: play new test Then: play
I wrote a server-client app in javascript/HTML5 its supposed to allow clients to communicate/play
Currently Google App Engine supports both Python & Java. Java support is less mature.
I was running my play app on OpenJDK 1.7. All was well and good
How can I make an app play a video walkthrough (only) the first time
I have a JSON template under app/views/Application/movie.json in my Play Framework app. Normally you
i try to off a sound effect on my app play method is '
I'm running play2 on a 512M vps. It can create a new app: play
I have an iPhone/iPad app which play a HTTP Live Stream of a tv

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.