Results 1 to 3 of 3

Thread: Using Roo behind a proxy

  1. #1
    Join Date
    Aug 2011
    Posts
    12

    Default Using Roo behind a proxy

    Hi all ,

    When I'm tring to reverse engineer using Roo
    roo> database reverse engineer --package ~.domain --schema PUBLIC
    I'm getting a message from roo saying
    "Spring Roo automatic add-on discovery service currently unavailable"


    Please see my Roo Console log below for details
    roo> database reverse engineer --package ~.domain --schema PUBLIC
    Spring Roo automatic add-on discovery service currently unavailableJDBC driver not available for 'com.mysql.jdbc.Driver'
    Spring Roo automatic add-on discovery service currently unavailable
    roo> addon list
    No add-ons known. Are you online? Try the 'download status' command
    roo> download status

    **** DOWNLOAD CONSENT GRANTED ****

    You have previously accepted the Spring User Agent Analysis (UAA) Terms of Use
    as displayed at http://www.springsource.org/uaa/terms_of_use. There is also a
    FAQ available at http://www.springsource.org/uaa/faq.

    This means that all Spring Roo download functions are enabled. All applicable
    add-on discovery and installation commands are fully enabled.

    If you'd like to change your mind and revoke your acceptance of the UAA Terms
    of Use (and in turn disable Spring Roo features such as add-on support), you
    may do so by typing 'download reject terms of use' and pressing ENTER.

    If you'd like to keep UAA enabled (and thus all Spring Roo features enabled)
    but look at the exact data Spring UAA is sending, please type 'download view'
    and press ENTER. You can also fine-tune the level of data that Spring UAA is
    sending using the 'download privacy level' command.

    Questions on Spring UAA? Please ask us on the Spring Roo Community Forum at
    http://forum.springsource.org/forumdisplay.php?f=67. We're happy to help.

    roo> addon info
    Command 'addon info' not found (for assistance press CTRL+SPACE or type "hint" then hit ENTER)
    Spring Roo automatic add-on discovery service currently unavailable

    roo> database reverse engineer --package ~.domain --schema PUBLIC
    Spring Roo automatic add-on discovery service currently unavailable
    JDBC driver not available for 'com.mysql.jdbc.Driver'

    roo> addon list
    No add-ons known. Are you online? Try the 'download status' command
    roo>

    1. I have used STS(2.6.8/ roo 1.1.5) and command prompt to fire these commands, and got same results.
    2. Configured proxy in STS
    3. Configured proxy in "net.properties" (jre/lib/net.properties)

    Please help me to resolve the issue...

    Kallada

  2. #2
    Join Date
    Dec 2011
    Posts
    2

    Default

    Run the roo command "proxy configuration" and follow the instructions.

    You'll need to edit the file $JRE_HOME/lib/net.properties

    To find out what $JRE_HOME is, try (in Fedora, maybe in other distros as well):

    alternatives --display java

    That should give you $JRE_HOME/bin/java

  3. #3
    Join Date
    Jun 2012
    Posts
    20

    Default

    Were you ever able to resolve this issue? I have run into the same exact thing and can not figure it out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •