db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3187) SimpleApp (demo) does not work in a client setting
Date Sat, 10 Nov 2007 19:01:50 GMT

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

John H. Embretsen commented on DERBY-3187:

Absolutely, I agree that we should have some kind of demo with support for J2ME in 10.3 as
well. I have a variant of SimpleApp for J2ME in my sandbox, and expect to attach it as a patch
to DERBY-3190 soon. Would it be acceptable to get the new J2ME-demo into both trunk and 10.3,
and then apply the modification to SimpleApp (this Jira issue) to 10.3 as well? No need to
answer until the patch is posted... ;) Thanks for committing!

> SimpleApp (demo) does not work in a client setting
> --------------------------------------------------
>                 Key: DERBY-3187
>                 URL: https://issues.apache.org/jira/browse/DERBY-3187
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Demos/Scripts
>    Affects Versions:
>         Environment: derbyclient (no derby.jar in the classpath)
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>         Attachments: d3187-v01.diff
> Since J2ME support was added to the simple demo (bin-releases: demo/programs/simple/SimpleApp.java)
in DERBY-2216 (first available in, the demo has not worked in a pure client setting
as described in the documentation (bin-releases: demo/programs/simple/example.html). This
is a regression from
> $ export CLASSPATH=.:$DERBY_INSTALL/lib/derbyclient.jar
> $ cd $DERBY_INSTALL/demo/programs/simple
> $ java SimpleApp derbyclient
> SimpleApp starting in derbyclient mode.
> Loaded the appropriate driver.
> Connected to and created database derbyDB
> Created table derbyDB
> Inserted 1956 Webster
> Inserted 1910 Union
> Updated 1956 Webster to 180 Grand
> Updated 180 Grand to 300 Lakeshore
> Verified the rows
> Dropped table derbyDB
> Closed result set and statement
> Committed transaction and closed connection
> SimpleApp finished
> $ java SimpleApp derbyclient
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/jdbc/EmbeddedSimpleDataSource

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

View raw message