db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3176) J2ME support for phoneME platform disabled in 10.3
Date Tue, 13 Nov 2007 07:22:50 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542055

Myrna van Lunteren commented on DERBY-3176:

I was fairly certain there are no masters that log the info from sysinfo in that much detail.
But, just to be on the safe side, I did run derbyall, and suitesall with ibm's weme6.1, but
saw only failures related to the new errorStream test.

The only relevant junit test I could think of is tests.tools.SysinfoAPITest which doesn't
run in the nightlies. I did verify that your change made no difference in the behavior of
that test.

> J2ME support for phoneME platform disabled in 10.3
> --------------------------------------------------
>                 Key: DERBY-3176
>                 URL: https://issues.apache.org/jira/browse/DERBY-3176
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions:
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-3176-01-phoneME-aa.diff, derby-3176-01-phoneME-ab.diff, derby-3176-01-phoneME-ac.diff,
> 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
> 2) I needed to to set LD_LIBRARY_PATH so that the vm could find the necessary shared
> Here is the phoneME startup script which worked for me:
> #! /bin/bash
> #
> # Run an ij script in the phoneME vm
> #
> # $1 is the script to run
> 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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message