Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3176

J2ME support for phoneME platform disabled in 10.3

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.2.1
    • JDBC
    • None
    • Patch Available
    • Regression

    Description

      Derby 10.2 runs on the phoneME small device platform. However, on that platform Derby 10.3 fails to boot databases, complaining that Derby cannot find an appropriate implementation of DataValueFactory.

      For details on how to install and run the phoneME platform, please see http://blogs.sun.com/wittyman/entry/javadb_on_sun_javame_cdc These are great instructions but I needed to adjust them as follows:

      1) I had to use 10.2 because 10.3 and the development mainline would not run on this platform

      2) I needed to to set LD_LIBRARY_PATH so that the vm could find the necessary shared libraries.

      Here is the phoneME startup script which worked for me:

      #! /bin/bash
      #

      1. Run an ij script in the phoneME vm
        #
      2. $1 is the script to run

      export LD_LIBRARY_PATH=$CDC_HOME/lib

      cd ~/demo/tearoffToPhone/data

      $CDC_HOME/bin/cvm -Xbootclasspath/a:$JSR169_HOME/lib/jsr169.jar \
      -cp $DERBYJARS/derby.jar:$DERBYJARS/derbytools.jar \
      -Dij.dataSource=org.apache.derby.jdbc.EmbeddedSimpleDataSource \
      -Dij.dataSource.databaseName=sample \
      -Dij.dataSource.createDatabase=create \
      org.apache.derby.tools.ij $1

      Attachments

        1. MobileSanityTest.java
          1 kB
          John Embretsen
        2. derby-3176-01-phoneME-ad.diff
          4 kB
          Richard N. Hillegas
        3. derby-3176-01-phoneME-ac.diff
          3 kB
          Richard N. Hillegas
        4. derby-3176-01-phoneME-ab.diff
          2 kB
          Richard N. Hillegas
        5. derby-3176-01-phoneME-aa.diff
          1 kB
          Richard N. Hillegas

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rhillegas Richard N. Hillegas
            rhillegas Richard N. Hillegas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment