Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-105

NullPointerException in SecureRandom when using IBM JDK 6.0.4.0 due to missing lib/ext dir

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0.M2
    • Fix Version/s: 1.0.0.RC1
    • Component/s: @ CORE
    • Labels:
      None
    • Environment:

      Description

      The roo.sh file overrides the java.ext.dir, and on the IBM jdk, that removes the $JAVA_HOME/jre/lib/ext folder.

      I fixed this on my local machine by making a very minor change to the roo.sh:

      Was:

      java -Djava.ext.dirs="$ROO_HOME/lib:$ROO_HOME/dist" org.springframework.roo.bootstrap.Bootstrap "classpath:/roo-bootstrap.xml"

      Working version:

      java -Djava.ext.dirs="$ROO_HOME/lib:$ROO_HOME/dist:$JAVA_HOME/jre/lib/ext" org.springframework.roo.bootstrap.Bootstrap "classpath:/roo-bootstrap.xml"

      Including patch file created using UNIX diff.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              robdaemon Robert Roland
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: