Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: STS 2.7.1 - ROO shell not starting or showing null

  1. #1
    Join Date
    Jul 2011
    Posts
    3

    Default STS 2.7.1 - ROO shell not starting or showing null

    I am trying to create a ROO project on STS 2.7.1. If I use the menu Create new roo project, a project is created with nothing but a single dependency to JRE System library.No other folders, files.

    If I try using Roo Shell, I get a null..

  2. #2
    Join Date
    Jul 2011
    Posts
    3

    Default probably Windows 7 security

    In Window 7, when ROO starts up for the first time, it creates a cache folder and the user under which STS runs did not have permissions to create or write a file.I moved the ROO folder to the root folder and changed the folder permissions to Full Control for Authenticated Users. It works now.

    Droidment

  3. #3
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Thanks for sharing your solution with us!!! And glad to hear that you solved the problem!!!
    But I think the tooling should at least tell you that it failed to write that cache files. I will put that on our backlog.

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  4. #4
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Default An Alternate solution

    Quote Originally Posted by droidment View Post
    In Window 7, when ROO starts up for the first time, it creates a cache folder and the user under which STS runs did not have permissions to create or write a file.I moved the ROO folder to the root folder and changed the folder permissions to Full Control for Authenticated Users. It works now.

    Droidment
    Even an adminsitrator will have trouble installing in the default location under "Program Files" I installed the whole thing in another location outside the Program Files folder and all works great. You can even reinstall into another folder and your workspace will be retained, simple easy.

  5. #5
    Join Date
    Sep 2011
    Posts
    3

    Unhappy ubuntu 11.04

    I have the same problem in ubuntu. what should i do to fix it?
    i can start roo with "roo.sh" script, but not in the sts roo shell.

  6. #6
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    investigate the permissions set for the roo directory an related directories within the springsource directory.

  7. #7
    Join Date
    Sep 2011
    Posts
    3

    Unhappy ubuntu 11.04

    unfortunately it didn't help at all.
    I gave springsource folder and all subfolders and files (including roo folder, workspace) all permissions.
    Tried to install sts in root folder and start it from root (with all permissions to folder and subfolders/files),
    Nothing helps.

  8. #8
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    OK, Have you checked your logs for what happens when you try and startup Roo from within STS?

  9. #9
    Join Date
    Sep 2011
    Posts
    3

    Default

    The problem was in jdk 7.
    I'd reinstalled sts with jdk 6, and roo shell started correctly!

  10. #10
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    This is a know problem with Spring Roo and got fixed for STS 2.8.0. So running STS 2.8.0.M1 or M2 will allow you to use Spring Roo from within STS when running JDK 7.

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Tags for this Thread

Posting Permissions

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