Sorry I was so slow responding to your questions.  I didn't have access to the 
machine running CVM over the holiday.  Thanks for taking an interest in my 
issues. 
 
I haven't been able to locate the foundation profile jars on Sun's website.  So 
when I build the project, I build it without the two jar files mentioned in the 
building.txt file.   I have only been able to find what looks to be some source 
code that could be built and used as one of the the jars.  Do you happen to 
have the foundation profile jars from Sun already built?  I noticed a post you 
made quite a while back indicating that you were using IBM's WCTME 5.7.  When I 
investigated that as an option, it looked like I would have to sign up and 
purchase it.  So that eliminated it as an option. 
 
Anyhow, that's why I asked if the prebuilt version available for download 
should be able to run on my embedded environment.  I was really hoping that the 
problem would have been with my CVM's configuration, and that I wouldn't have 
to find these jars and build the project from scratch.  Since I am changing the 
source code around now, I should get my hands on those jars.
 
I ran sysinfo with the binary version of derby that I downloaded off the 
website. (The version that gives a null pointer exception at 
BaseMonitor.getDefaultModuleProperties() when I try to run simpleAppJSR169)  
This is what I got:
 
 /mnt/newjava/bin/cvm 
-Xbootclasspath:/mnt/newjava/lib/cdc_jdbc_classes:/usr/local/java/lib/cdc.jar:/mnt/Luksha/db-derby-10.1.2.1-binold/lib/derby.jar
 org.apache.derby.tools.sysinfo
------------------ Java Information ------------------
Java Version:    J2ME CDC_jdbc 1.0.1
Java Vendor:     Sun Microsystems Inc.
Java home:       /mnt/newjava
Java classpath:  .
OS name:         Linux
OS architecture: x86
OS version:      2.4.20
Java user name:  root
Java user home:  /
Java user dir:   /mnt/Luksha/db-derby-10.1.2.1-binold/demo/simple
java.specification.name: J2ME CDC_jdbc API Specification
java.specification.version: 1.0a
--------- Derby Information --------
JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
[/org/apache/derby/info/DBMS.properties] 10.1.2.1 - (330608)
------------------------------------------------------
----------------- Locale Information -----------------
------------------------------------------------------

 
Thanks,
 
Tim

________________________________

From: Daniel John Debrunner [mailto:[EMAIL PROTECTED]
Sent: Tue 12/27/2005 1:15 PM
To: Derby Discussion
Subject: Re: apache derby with CDC/JSR 169



Timothy Luksha (RIT Student) wrote:

> Hi,
> I have been working on setting up a derby database in an embedded
> environment. We have CVM as our java virtual machine and have the
> optional JDBC package installed. I created a little program that uses
> EmbeddedSimpleDataSources to create a database and insert a few entries.
> I am able to run this on my pc with the 1.3 jvm with the JDBC package.
> When I attempt to run the same program on the CVM, I get a null pointer
> error. Is the 10.1.2.1 binary that is available for download built to be
> used with the cdc and jsr 169? The error I receive is below. Any
> insights would be helpful.


Dumb question, do you have the foundation profile included?

And if you could run sysinfo that would be great.

java -classpath derby.jar org.apache.derby.tools.sysinfo

This command not only shows the version of Derby, but also shows what
Derby thinks the VM is, (e.g. jdk13,14,142,15 or J2ME/CDC/Foundation).

Dan.





<<winmail.dat>>

Reply via email to