Re: Anybody knows how to configure to run JDBC[tm] API Test Suite 1.3.1

2010-04-16 Thread John Embretsen
Kathey Marsden wrote: On 4/14/2010 7:09 AM, Bryan Pendleton wrote: What is RmiJdbc? I hadn't heard of that before. I think that might have been a Cloudscape-specific functionality, and probably we can't test that with Derby. RmiJdbc was an ancient client/server solution that was never

Re: Anybody knows how to configure to run JDBC[tm] API Test Suite 1.3.1

2010-04-09 Thread John Embretsen
Eranda Sooriyabandara wrote: Hi, I try to test Derby JDBC using JDBC API Test Suit 1.3.1. But I don't know how to configure it so that we can run it against Derby. If anybody knows how to do configuration please help me to figure it out. (It doesn't need not to be Derby. Also documents at

Re: [VOTE] Ole Solberg as a committer

2009-05-29 Thread John Embretsen
Rick Hillegas wrote: Please vote on whether we should make Ole Solberg a committer. The vote closes at 5:00 pm San Francisco time on Thursday June 4. +1 -- John

Re: Interested in GSOC

2009-03-30 Thread John Embretsen
Kathey Marsden wrote: yunho lee wrote: 2. Downloaded db-derby-10.4.2.0-bin.zip, covered the Derby tutorial, did some sql test on ij, and found a bugger in it, which I will mention below. Many students and developers shy away from website and doc updates, so it is good to see you in there

Re: [VOTE] 10.4.2.0 release

2008-09-05 Thread John Embretsen
Rick Hillegas wrote: Please test-drive the 10.4.2.0 candidate, then vote on whether to accept it as a Derby release. The candidate lives at: http://people.apache.org/~rhillegas/10.4.2.0/ +1 -- John

Re: need new 10.4 release number in JIRA...

2008-09-04 Thread John Embretsen
Rick Hillegas wrote: Myrna van Lunteren wrote: Hi, Jira gives as highest unreleased version for 10.4: 10.4.2.0. But that's the current RC, I think we need a 10.4.2.1, can someone with sufficient karma take care of this? Thx, Myrna Done. What about the 10.4 code branch? Shouldn't

Re: Problem verifying the release

2008-09-04 Thread John Embretsen
Kathey Marsden wrote: I attempted to verify the release with gpg and get: [C:/kmarsden/projects/10.4.2.0] gpg --verify db-derby-10.4.2.0-bin.zip.asc gpg: Signature made 08/26/08 06:59:54 using DSA key ID 98E21827 gpg: Good signature from Rick Hillegas [EMAIL PROTECTED] gpg: WARNING:

Re: Derby at mobile phones

2008-09-01 Thread John Embretsen
Vall Noire wrote: Hello, just want to ask? Is there any way I can use Derby as a database for a mobile phone? The database is embed in the phone so it has to be very small and how about the classes? Is there classes that worked with J2ME? thanks Depends on the phone. Derby can run on devices

Re: MBeans errors on 10.4 head

2008-05-29 Thread John Embretsen
Dag H. Wanvik wrote: On trunk of 10.4 I see these (all MBEans related) There was 1 failure: 1) testStartStopManagementFromApplication(org.apache.derbyTesting.functionTests.tests.management.ManagementMBeanTest)junit.framework.AssertionFailedError: expected:2 but was:5 at

Re: MBeans errors on 10.4 head

2008-05-29 Thread John Embretsen
John Embretsen wrote: I have not seen these before. I'm not able to reproduce on JDK 1.5.0_13, will try JDK 6 later. By the way, on 10.4 with JDK 1.5.0_13 (Solaris) I currently get: FAILURES!!! Tests run: 7365, Failures: 2, Errors: 46 where mostly XA-related tests are failing. Not sure

Re: [VOTE] 10.3.3.0 release

2008-05-08 Thread John Embretsen
Based on some sanity checks I have run, as well as the excellent test results posted by Ole, I cast my vote: +1 -- John Andrew McIntyre wrote: Hi all, I have posted a release candidate for 10.3.3.0 here: http://people.apache.org/~fuzzylogic/10.3.3.0/ The driving force for this

Re: Record cannot be updated or inserted due to lack of space on the page

2008-05-08 Thread John Embretsen
Bryan Pendleton wrote: Limitation: Record cannot be updated or inserted due to lack of space on the page. Use the parameters derby.storage.pageSize and/or derby.storage.pageReservedSpace to work around this limitation. I have not seen this. Does it cause a test to fail or just show up in the

Re: [Proposal for Review] The fix for DERBY-3347 is important enough for the Development Community to issue a recommendation the User Community to upgrade.

2008-04-29 Thread John Embretsen
Stanley Bradbury wrote: I would like to follow up on the suggestion made by Kathey Marsden that an announcement be posted to derby-user recommending that version 10.3 users upgrade to a Derby version that contains the fix for DERBY-3347. The email from Binoy Thomas this morning could be an

Re: Problem with MBean user/ password example on Wiki page (non-JRMP server at remote endpoint)

2008-04-25 Thread John Embretsen
John Embretsen wrote: Kathey Marsden wrote: John H. Embretsen wrote: Hmm, I don't see anything obviously wrong. If it works with JConsole and the exact same server configuration, it is certainly strange. Perhaps some of the troubleshooting tips (JMX logging, security debug traces) described

Re: Problem with MBean user/ password example on Wiki page (non-JRMP server at remote endpoint)

2008-04-24 Thread John Embretsen
Kathey Marsden wrote: John H. Embretsen wrote: Hmm, I don't see anything obviously wrong. If it works with JConsole and the exact same server configuration, it is certainly strange. Perhaps some of the troubleshooting tips (JMX logging, security debug traces) described on the wiki might

Re: [VOTE] 10.4.1.3 release candidate

2008-04-23 Thread John Embretsen
[EMAIL PROTECTED] wrote: Please test and vote on the 10.4.1.3 release candidate, available at: http://people.apache.org/~dyre/derby-10.4.1.3-RC/ Note that the vote determines if this release candidate should be promoted to a proper Apache Derby release. +1 I have run some sanity tests of

Re: acceptsURL operation for JDBC MBean

2008-04-23 Thread John Embretsen
Kathey Marsden wrote: The acceptsURL operation for the JDBC MBean accepts embedded url's, but not client. I think that is correct but a little counter intuitive since I ran it against network server. I just want to check that that's the expected behavior. Yes it is. The server is using the

Re: running unit tests on IBM Java 6 on Ubuntu 7

2008-04-16 Thread John Embretsen
Rick Hillegas wrote: I am trying to run unit tests on the IBM Java 6 platform on Ubuntu 7. I notice that this combination is not recorded in our list of known good platforms: http://wiki.apache.org/db-derby/PlatformTestsDerby However, I suspect that that page is not kept up-to-date and someone

Re: [VOTE] V. Narayanan as a committer

2008-04-04 Thread John Embretsen
Rick Hillegas wrote: Please vote on whether we should make V. Narayanan a Derby committer. +1 -- John

Re: [VOTE] Jørgen Løland as a committ er

2008-04-04 Thread John Embretsen
Rick Hillegas wrote: Please vote on whether we should make Jørgen Løland a Derby committer. +1 -- John

Re: Feature description in release notes

2008-03-25 Thread John Embretsen
[EMAIL PROTECTED] wrote: The release notes should include a brief description of new features. This is what I currently have for 10.4, (based on descriptions from the 10.4 Wiki (http://wiki.apache.org/db-derby/DerbyTenFourRelease#head-7b1576a303d753868f1f62423ac5cbbd8bc78dcc)): snip liJMX

Re: Test Fix Derby For GSoC

2008-03-14 Thread John Embretsen
Vemund Ostgaard wrote: Narayanan wrote: Suran Jayathilaka wrote: My goal will be to contribute towards both converting Derby tests to JUnit and fixing as many bugs as possible. Welcome to Derby :) The following web pages may help you get started: - Top level community page:

Re: ant javadoc on trunk?

2008-03-07 Thread John Embretsen
Army wrote: Narayanan wrote: I just let it stay and went to make my cup of coffee and on returning I found this (about half an hour I guess) [javadoc] java.lang.OutOfMemoryError: Java heap space [snip] It just keeps going, I am continuously getting java.lang.OutOfMemoryError: Java heap

Re: ant javadoc on trunk?

2008-03-07 Thread John Embretsen
John Embretsen wrote: A quick look with JConsole indicates that the testing-javadoc JVM needs about 86 MB of heap space (on many systems the default is 64 MB). Note that this is the JVM running the javadoc tool, not Ant itself (Ant's javadoc task always forks the VM). So setting e.g

Re: fail install Derby

2008-03-06 Thread John Embretsen
Joisten, Andreas (GE Infra, Energy) wrote: [snip] we now want to make available for PocketPcs, therefore we are keen to test CrEme 4.12 as the JVM. We normally use the Cloudscape database and here I decided for Derby 10.2.20, as this Version supports J2ME. [snipped more details] I get this

Re: 10.4 Feature Freeze

2008-02-26 Thread John Embretsen
[EMAIL PROTECTED] wrote: ... is fast approaching (2008-02-29) Is this still a reasonable date, or should we consider delaying it? Here is the current status (based on what I know): JMX On track JMX is on track per se, as it has not been defined what exactly will be

JMX Access Control Proposal

2008-02-21 Thread John Embretsen
Related to DERBY-1387, there is an access control proposal on the wiki at http://wiki.apache.org/db-derby/JMXSecurityExpectations#head-0e3b575bde6a9f7dce809605aa153ccff9daa7e7 The proposal is also related to a previous E-mail thread with the subject JMX meeting system authorization (DERBY-2109

Re: JMX Access Control Proposal

2008-02-21 Thread John Embretsen
Daniel John Debrunner wrote: If a JMX action does not require obtaining a JDBC connection to the database then I would say db-authr is not applicable (which appears similar to being ignored). db-authr defines the state of a user's JDBC connection into the database (it's now called connection

Re: Schema Creation

2008-02-13 Thread John Embretsen
Jazarine Jamal wrote: Hi, I just wanted to know this. In the embedded ij tool, is a schema created when the user is created, or at some later point of time? With Derby, the schema can either be created explicitly by a CREATE SCHEMA statement or implicitly by creating an object (table etc.)

Re: [Db-derby Wiki] Update of JMXSecurityExpectations by JohnHEmbretsen

2008-02-08 Thread John Embretsen
Daniel John Debrunner wrote: JohnHEmbretsen wrote: * Let's simplify things by saying that MBeans have essentially two states: ''enabled'' or ''disabled'' * An '''enabled''' (registered) MBean is visible/accessible to any valid JMX user. === SystemMBean === * May be enabled only

Protecting system properties (was: Re: [jira] Commented: (DERBY-1387) Add JMX extensions to Derby)

2008-02-07 Thread John Embretsen
Daniel John Debrunner wrote: Rick Hillegas wrote: Thanks for those experiments, John. When I boot the network server, it installs the default Derby server policy. Even then I can still click through the system properties via the Runtime MBean. This surprises me because the default policy

Re: [jira] Commented: (DERBY-1387) Add JMX extensions to Derby

2008-02-06 Thread John Embretsen
Daniel John Debrunner wrote: What would be the issue with getting access to those mbeans without authentication? Just trying to understand the concern. Dan. As currently implemented, via JConsole these MBeans allow anyone with a valid account on the server machine any valid account on the

Re: Are SimpleApp.java and SimpleMobileApp.java missing package statements?

2008-01-31 Thread John Embretsen
Bryan Pendleton wrote: What do you think about the following build.xml tweak? In my environment, it fixes things so that SimpleApp.java and SimpleMobileApp.java are no longer routinely re-compiled. Index: java/demo/build.xml snipped build.xml tweaks Do you think this would be a reasonable

Re: Patch available checkbox on the attach file page?

2008-01-31 Thread John Embretsen
Kristian Waagan wrote: Hello, When I upload new files to Jira issues, I'm often a bit annoyed by the fact that I have to first upload the file(s) and then go edit the issue to tic the patch available checkbox. It also generates two mails. Would it make sense to include the patch available

Re: Are SimpleApp.java and SimpleMobileApp.java missing package statements?

2008-01-29 Thread John Embretsen
Bryan Pendleton wrote: If I run ant all twice in a row in my environment, SimpleApp.java and SimpleMobileApp.java are always re-compiled. It seems like this may be because the directory structure of the source code indicates that SimpleApp.java should be in package 'simple', and

Re: [jira] Commented: (DERBY-3117) Adjust master build script to require the Java 5 compiler to build Derby

2008-01-18 Thread John Embretsen
I ran into an issue with the property setter in relation to DERBY-1387 (JMX), see below... Rick Hillegas wrote: The property setter yields the output I have attached at the bottom. If I had very custom jar files (spread around in multipe dirs, not in j1Xlib), and maybe a VM vender the

Re: Customizing the Network Server's security policy (docs vs. reality)

2008-01-16 Thread John Embretsen
Rick Hillegas wrote: I found that my custom policy worked (starting server, connecting, creating database, writing and reading data, shutting down...) even if I did not set derby.system.home (explicitly) and did not replace ${derby.system.home} in my policy file. Does this mean that we may

Re: PermGen space: OutOfMemoryError

2008-01-15 Thread John Embretsen
Kathey Marsden wrote: I know JUnit holds on to references to all the test classes so I am wondering if we are just starting to hit the point where we have too many classes loaded. I can't quite see how my small change for DERBY-3316 could cause this. I am running without my change to see if

Re: Compatibility issue for 10.4

2008-01-15 Thread John Embretsen
Kathey Marsden wrote: Rick Hillegas wrote: The system privileges work (DERBY-2109) will introduce a compatibility issue for 10.4. Thank you Rick for bringing up this issue. 1) If the customer has written their own security policy file (the usual and recommended situation), then the

Customizing the Network Server's security policy (docs vs. reality)

2008-01-15 Thread John Embretsen
In relation to DERBY-2109 (System privileges) I decided to apply the principle of learning by doing, and started to experiment with a customized version of the template policy file for the network server. This is described in the Server and Administration guide at

Re: Searching the Derby Documentation

2008-01-02 Thread John Embretsen
conclusion from the blogosphere: Derby has a great feature list but I wonder how many users are ignorant of what it can do because of the poor documentation? http://rrees.wordpress.com/2007/12/31/setting-up-a-derby-database/ -- John John Embretsen wrote: I know navigating the Derby manuals

Re: Change to Derby build soon

2007-12-17 Thread John Embretsen
Rick Hillegas wrote: After making this change, the Derby build will behave this way: 1) If ant.properties is empty, then the build will try to set the compiler properties based on your platform and vm vendor. 2) If this breaks the build for you, then you can get the old behavior by setting

Re: Can Derby authentication be used securely?

2007-12-12 Thread John Embretsen
Rick Hillegas wrote: I am trying to figure out how Derby BUILTIN and LDAP authentication can be used without storing a master password in plaintext. I would appreciate the community's advice. 1) With BUILTIN authentication, there is no encrypted storage for server-wide credentials. E.g., the

Re: Can Derby authentication be used securely?

2007-12-12 Thread John Embretsen
I see there is some discussion around this in http://issues.apache.org/jira/browse/DERBY-866 Rick Hillegas wrote: I am trying to figure out how Derby BUILTIN and LDAP authentication can be used without storing a master password in plaintext. I would appreciate the community's advice. -- John

Re: [VOTE] 10.3.2.1 release candidate

2007-12-10 Thread John Embretsen
Manjula Kutty wrote: Based on the SVT and platform tests results on AIX, Z/OS and Windows. Results can be found at http://wiki.apache.org/db-derby/TenThreeTwoPlatformTesting Quick question: What exactly is SVT an abbreviation for in this context? Out of curiosity: The wiki says SVT,

Re: [VOTE] 10.3.2.1 release candidate

2007-12-06 Thread John Embretsen
Kathey Marsden wrote: Please test and vote on the 10.3.2.1 release candidate, available at: http://people.apache.org/~kmarsden/derby10.3.2.1.599110/ +1, based on the testing reported on the wiki + some ad-hoc manual demo and docs inspection. -- John

Re: Hello

2007-11-29 Thread John Embretsen
徐伟 wrote: Hello I would like to read the source code of derby core, but I found it was too difficult for me. Will anybody give me some advice? I'm not sure what you mean by derby core, but the database engine code is structured as various layers and components, so you could probably start

Re: Please take a look at the release notes for 10.3.2.0

2007-11-29 Thread John Embretsen
Daniel John Debrunner wrote: Kathey Marsden wrote: For the next round of release notes I was thinking of this wording. Let me know if something else would be better: JSR 169 - Java ME support was built using Java ME CDC/Foundation Specification 1.1 libraries from IBM WebSphere Everyplace

Re: feature or bug?

2007-11-29 Thread John Embretsen
Rick Hillegas wrote: Dag H. Wanvik wrote: Isn't this a bug? Or?... I could not find a JIRA for it. (unqualified schema in a view definition fails in view used by another user) http://www.jroller.com/gmazza/entry/apache_derby_sql_state_42y07 Dag In the trunk, the table reference is

Re: Please take a look at the release notes for 10.3.2.0

2007-11-27 Thread John Embretsen
Kathey Marsden wrote: I just checked in the release notes and changes files for the 10.3.2.0. One thing I noticed is that none of the issues have release notes. Please let me know right away if any issues are missing, release notes are needed or you see any other problems with the release

Re: Please take a look at the release notes for 10.3.2.0

2007-11-27 Thread John Embretsen
Rick Hillegas wrote: This is largely the wording which was used in the last 3 releases. You are right that it would be more clear if it said something like J2ME support was built using libraries from IBM J9 ... We should sand this down in 10.4. Largely the same, but not quite: J2ME support

Re: [jira] Created: (DERBY-3204) Regression tests for demos included in releases

2007-11-16 Thread John Embretsen
Dag H. Wanvik wrote: John H. Embretsen (JIRA) [EMAIL PROTECTED] writes: Several demos are included in Derby's -bin distributions, but there are almost no tests in place to verify that these demos still work as expected, or that they work at all. There should be (JUnit?) tests in place testing

Searching the Derby Documentation

2007-11-14 Thread John Embretsen
I know navigating the Derby manuals and finding what you are looking for can be a gruesome experience for both users and developers. Various tricks can be used to make this easier, e.g. searching all manuals combined into one PDF (such as those found here:

Re: [jira] Updated: (DERBY-3176) J2ME support for phoneME platform disabled in 10.3

2007-11-13 Thread John Embretsen
Rick Hillegas wrote: I reinitialized my subversion client so that it was a copy of the mainline and I re-ran the experiment. It works fine for me. Then I commented out the setting of jsr169compile.classpath in my ant.properties so that the small device support was not built. Running against

Re: Creating User Types in Derby

2007-11-09 Thread John Embretsen
Dag H. Wanvik wrote: Rick Hillegas [EMAIL PROTECTED] writes: Samuel Morgan wrote: Right now you can't declare custom types in Derby. This feature has been requested before and is tracked by DERBY-651. So far no-one has volunteered to work on this issue. You can vote for it, or even

Testing C.R.A.P. in Derby

2007-11-02 Thread John Embretsen
Did you know there is a new tool in town that can detect CRAPpy Java code? Are you interested in knowing more about Derby's code quality? Test coverage? Code complexity? Well, I don't know if crap4j will help you much, but I just couldn't resist trying it against the Derby code base... C.R.A.P.

Re: What is the command to check out the 10.3 branch?

2007-10-22 Thread John Embretsen
It is probably worth noting that you can find out the exact URL to a particular part of the repository by browsing to it, for example by starting at https://svn.apache.org/repos/asf/db/derby/ in a web browser. This is also a useful way to get to know the structure of our repository (the same

Re: Question - NULL value returned from SYSCS_UTIL.SYSCS_GET_USER_ACCESS system procedure

2007-10-17 Thread John Embretsen
Laura Stewart wrote: I am trying to wrap up Derby-2914. Does anyone know when NULL is returned for SYSCS_UTIL.SYSCS_GET_USER_ACCESS system procedure ? I guess you've seen the answer from Dan in that Jira issue, that NULL is never returned. Then it seems that the description for DERBY-2735

Re: [jira] Commented: (DERBY-3091) NullPointerException executing SYSCS_UTIL.SYSCS_IMPORT_TABLE when derby.language.logQueryPlan=true

2007-10-02 Thread John Embretsen
Chip Hartney (JIRA) wrote: [ https://issues.apache.org/jira/browse/DERBY-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531649 ] Chip Hartney commented on DERBY-3091: - Turns out this still fails in v10.2.2.0, but is

Re: Trouble: Connecting Derby with cdc.

2007-09-25 Thread John Embretsen
Renan Meneses de Andrade Franca wrote: Derby onli suporte DataSource method to get connect with a cdc program. But Hoe can i use the DataSource to get connection with a local database? please... i really need HELP! Did you take a look at the SimpleApp demo included with Derby? It's

Re: [VOTE] Dyre Tjeldvoll as a committer

2007-09-11 Thread John Embretsen
Rick Hillegas wrote: Please vote on whether we should make Dyre Tjeldvoll a committer. +1 -- John

Re: [VOTE] Øystein Grøvlen as a commi tter

2007-08-21 Thread John Embretsen
Rick Hillegas wrote: Please vote on whether we should make Øystein Grøvlen a committer. The vote will close at 5:00 pm San Francisco time on Tuesday August 28. +1 -- John

Re: [ANNOUNCE] Apache Derby 10.3.1.4 released

2007-08-13 Thread John Embretsen
Rick Hillegas wrote: The Apache Derby project is pleased to announce a new feature release of Derby, 10.3.1.4. It would be nice if someone could update the News section on the web site's front page as well... http://db.apache.org/derby/index.html#News Thanks, -- John

Re: derby papers on apache web site

2007-08-07 Thread John Embretsen
Julius Stroffek wrote: Hi All, I think there used to be a papers section somewhere on Apache Derby website. However, I am not able to find it now. Have the location changed? Where can I find those papers? Are they still available? There is a Papers section on the left-hand menu if you go to

Re: Do I need to provide extra memory flags when using ant junitreport?

2007-08-02 Thread John Embretsen
Bryan Pendleton wrote: I too get a few OutOfMemoryErrors when I run ant junitreport with default settings. They disappear if I tell ant to increase the max heap memory to some high value. So far I have not been able to do that from the command line, so I edited the junit-core target in

Re: Do I need to provide extra memory flags when using ant junitreport?

2007-08-02 Thread John Embretsen
Kathey Marsden wrote: John Embretsen wrote: Although I would like to know more about why some of the junit suites require extra memory, I think it would save developers lots of hassle in the mean while if we check in this change. It may be related to DERBY-2344, statements staying

Re: [jira] Commented: (DERBY-2962) Change functional tests to use casts for System table queries to avoid conversion errors when run with TERRITORY_BASED collation

2007-08-02 Thread John Embretsen
Bryan Pendleton wrote: ij select SQL_TEXT from syscs_diag.statement_cache where CAST(SQL_TEXT AS LONG VARCHAR) LIKE '%932432%'; ... Kathey, was it intentional to include an extra space in the above mentioned statement (between TEXT and AS)? I think if the second space is removed, the

Re: Do I need to provide extra memory flags when using ant junitreport?

2007-08-01 Thread John Embretsen
Bryan Pendleton wrote: I've been running JUnit tests directly by running java -Xmx1024m junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All But recently I've been trying to switch over to ant junitreport because I like the nice report I get. But do I need to pass

Re: How to run exist junit tests after build the trunk

2007-06-29 Thread John Embretsen
Daniel John Debrunner wrote: John Embretsen wrote: (Thu, 21 Jun 2007 07:50:19 GMT) Sean Qiu wrote: Btw, can ${j14lib} points to jdk whose version is higher? like jdk1.5. No, the build will most likely fail if it does. I'm able to build using IBM's 1.5 SDK with no problems. Then perhaps

Re: How to run exist junit tests after build the trunk

2007-06-21 Thread John Embretsen
Sean Qiu wrote: Btw, can ${j14lib} points to jdk whose version is higher? like jdk1.5. No, the build will most likely fail if it does. -- John

Re: How to run exist junit tests after build the trunk

2007-06-21 Thread John Embretsen
Sean Qiu wrote: Do you mean build or test? Sorry, I meant build. I don't think the j14lib property is used when you run 'ant junit-all', so I guess it doesn't matter. 2007/6/21, John Embretsen [EMAIL PROTECTED]: Sean Qiu wrote: Btw, can ${j14lib} points to jdk whose version is higher

Re: lock a table

2007-06-20 Thread John Embretsen
ludoW23 wrote: Hi, I'm studying Apache Derby and I'd like to lock a table during a select for example. Is it possible? Yes, there is a LOCK TABLE statement you can use. Take a look at the manual Derby Developer's Guide, specifically this page:

Re: What are 'Optimized jarfiles' ?

2007-06-15 Thread John Embretsen
Laura Stewart wrote: From what I understand form John, what are in the BIN and LIB distributions are the same. I am not sure what was meant by optimized. Well, as I wrote in a comment to DERBY-2390, the so-called optimized jars (i.e. the non-debug jars, without extra line number

Re: Just how more secure is (will be) 10.3 than 10.2?

2007-06-06 Thread John Embretsen
Daniel John Debrunner wrote: John Embretsen wrote: Daniel John Debrunner wrote: If this reasoning is not valid, would it also be wrong to say that Derby 10.3 is safer than 10.0? I hadn't thought about that much, I don't remember much improvement from 10.0 to 10.2, so I would guess 10.3

Re: Just how more secure is (will be) 10.3 than 10.2?

2007-06-05 Thread John Embretsen
Daniel John Debrunner wrote: Rick Hillegas wrote on derby-user http://mail-archives.apache.org/mod_mbox/db-derby-user/200706.mbox/[EMAIL PROTECTED] The upcoming release of Derby 10.3 will make networked configurations safer by installing a Java security manager if the user forgets to

Re: !!!...Using Eclipse to build Derby...!!!

2007-06-04 Thread John Embretsen
Myrna van Lunteren wrote: On 6/2/07, Life Challenge [EMAIL PROTECTED] wrote: On 6/1/07, Jean T. Anderson [EMAIL PROTECTED] wrote: Life Challenge wrote: hello all. I am new to Derby and using the Eclipse IDE to build the derby using the link

Re: getting lots of errors failures in junit

2007-05-31 Thread John Embretsen
Julius Stroffek wrote: Thanks Rick, that's probably also my case. What exactly does it mean to sync client to mainline? Which client? Hi Julo, I think that by syncing Rick means running 'svn update' (client meaning your subversion client, that is your working copy of the mainline), and by

Re: [jira] Commented: (DERBY-2520) Document new restrictions of database shutdown, encryption and hard upgrade powers

2007-05-29 Thread John Embretsen
Laura Stewart (JIRA) wrote: [ https://issues.apache.org/jira/browse/DERBY-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499247 ] Laura Stewart commented on DERBY-2520: -- I work on Windows, is there a way to unzip

Re: Test Results

2007-05-11 Thread John Embretsen
Kristian Waagan wrote: What happened to the embedded tests and derbynetclientmats? I believe Kathey was dead-on in the first response: Missing jakarta-oro-2.0.8.jar in the classpath. I tried running a legacy suite (derbytools, short duration) with the same classpath as Ramin and got 0

Re: build error -- derby 10.2.2.0

2007-05-07 Thread John Embretsen
Ramin Moazeni wrote: Hello, While trying to build derby 10.2.2.0 http://10.2.2.0, I got the following errors. I followed the instructions in DUILDING.txt file. -ant.properties j13lib=/usr/java/jdk1.3.1_20/jre/lib/ j14lib=/usr/java/j2sdk1.4.2_14/jre/lib/ build.compiler=jikes

Re: limit # rows

2007-05-04 Thread John Embretsen
Paulo Jesus wrote: Executing a select i get a number of lines.I pretend the firs line returned. No matter if sorted or not. My question come to developers because looks like that the functionality isn't implemented. As the most strait implementation would be by SQL syntax. Or i´m wrong? Did

Re: Question using SYSCS_UTIL.SYS_GET_DATABASE_PROPERTY(..) on IJ

2007-04-27 Thread John Embretsen
Paulo Jesus wrote: I´m trying to use SYSCS_UTIL.SYS_GET_DATABASE_PROPERTY funtion on ij against a Network Server but i'm not getting any results(only some garbage). By the reference manual i´m using e.g. VALUES SYSCS_UTIL.SYS_GET_DATABASE_PROPERTY('derby.locks.deadlockTimeout'); I'm no

Re: Question using SYSCS_UTIL.SYS_GET_DATABASE_PROPERTY(..) on IJ

2007-04-27 Thread John Embretsen
Paulo Jesus wrote: I wrote the command manually here... the system warns when the command it´s wrong. But the resul on correct property is the same than in a random property. What's the output it should be? I have some blank lines, some dots, again blank lines and at the end '1 row selected'.

Re: [jira] Commented: (DERBY-2480) DriverManager.getConnection leaks memory using EmbeddedDriver on non-existent database

2007-03-28 Thread John Embretsen
Jeffrey Clary wrote: Thanks for the review. This is the first time I have contributed any code (one line ;-) to Derby. At this point will the fix be picked up by a submitter or is there something else I need to do to make sure it gets into the next release? I see that you have set the

Re: What java compiler does the build default to?

2007-03-22 Thread John Embretsen
Andrew McIntyre wrote: On 3/16/07, John H. Embretsen [EMAIL PROTECTED] wrote: When I have my PATH set to JDK 1.5, and don't set JAVA_HOME, it reports the path to the JDK 1.5 jre/ directory. However, when I set JAVA_HOME to JDK 1.4, it reports the path to the JDK 1.4 jre/ directory instead. In

Re: Change of base compile level to JDK 1.4 (revision 516518)

2007-03-12 Thread John Embretsen
Daniel John Debrunner wrote: Daniel John Debrunner wrote: Revision 516518 changes the default base compile level to JDK 1.4 (for DERBY-1983). and with revision 516554 you can fully remove any dependency on jdk 1.3 Apart from removing your setting of j13lib from your ant.properties you can

Re: How can I look the connection count of a derby database

2007-03-06 Thread John Embretsen
FireElement wrote: In a running derby database, how can I look the connection number? Please help me! These kinds of questions should be posted to the Apache Derby Users mailing list (derby-user@db.apache.org); you will likely get a faster response there. Also, I am not sure what you are

Re: Building Derby in NetBeans

2007-03-01 Thread John Embretsen
Ravinder Reddy wrote: I followed the instruction in the Article But I got the following error when I try to build derby in Netbeans.!!! Error.!!! Fatal Error: Unable to find package java.lang in classpath or bootclasspath plzz look into this and reply.. Thank You

Re: Building Derby in NetBeans

2007-03-01 Thread John Embretsen
Ravinder Reddy wrote: No , I never tried to build Derby outside of Netbeans..!!. And I installed jdk1.5 2 months back and I downloaded the Derby Source from the latest Official Release..!! OK, that may explain it... For building Derby, you need to have both JDK 1.3.1 and JDK 1.4.2 installed

Building Derby in NetBeans

2007-02-28 Thread John Embretsen
I just added a section on the BuildingDerby wiki page on how to checkout (from svn) and build Derby using NetBeans (version 5.5, primarily): http://wiki.apache.org/db-derby/BuildingDerby#UsingNetBeansToBuildDerby Feel free to try it out and fix or report errors/omissions. Thanks, -- John

Re: Multiple simultaneous test runs on the same machine

2007-02-27 Thread John Embretsen
Andrew McIntyre wrote: On 2/26/07, Bernt M. Johnsen [EMAIL PROTECTED] wrote: In the old test harness with the old tests this was impossible due to hardcoded use of port numbers (1527 etc). Is this taken into consideration when tests are moved to JUnit so that the port number(s) may be

Re: [VOTE] Accept NetworkServer system tests contributed by IBM

2007-02-20 Thread John Embretsen
Jean T. Anderson wrote: As required by the ASF ip-clearance process in the Incubator [1], please vote to accept the NetworkServer system tests contributed by IBM that are attached to the following Jira issue: https://issues.apache.org/jira/browse/DERBY-2248 I'll close this vote on February

Re: [jira] Commented: (DERBY-2196) Run standalone network server with security manager by default

2007-01-19 Thread John Embretsen
Daniel John Debrunner wrote: John H. Embretsen commented on DERBY-2196: -- e) I think it is good to have a relatively easy way to disable automatic security manager installation. Does using this policy file as a custom policy count as relatively

Re: [jira] Commented: (DERBY-2255) ij should indicate that it is waiting for more input in a multi-line interactive statement.

2007-01-19 Thread John Embretsen
Anders Morken wrote: John H. Embretsen (JIRA): I tried the patch on Windows XP. I get two continuation prompts instead of one: I feared as much. Well, let's see if adding the following after each of the calls to utilMain.doPrompt() in StatementFinder helps: /* If this looks like a CRLF

Re: Graphic Alt text (for accessibility) does not appear in Firefox (does appear in IE) - Derby-1842

2007-01-17 Thread John Embretsen
Bernt M. Johnsen wrote: Laura Stewart wrote (2007-01-16 13:55:22): For Derby-1842, I updated the alternate text (aka Alt text). The Alt text appears when you hover your mouse pointer over a graphic image in Internet Explorer but not in Firefox. [snip] Firefox is a graphical browser and as

Re: Unit-tests in Junit?

2007-01-10 Thread John Embretsen
[EMAIL PROTECTED] wrote: (Personally I'm less sure that it that important to map the various classifications onto the package/directory structure. I would prefer a simpler/flatter package structure that could accomodate a variety of tests without modification to the structure.

Re: Unit-tests in Junit?

2007-01-09 Thread John Embretsen
Kristian Waagan wrote: Myrna van Lunteren wrote: It seems to me that unit tests are not functionTests, and because of that, I'd say to add a junit framework to the unit test area... However, we obviously run the existing 'unit' tests as part of our functionTests, so it really is one big pot at

Re: Testing implementation of private classes

2007-01-04 Thread John Embretsen
Julius Stroffek wrote: Hi All, I deal with a problem of testing a functionality of private classes. snip Bryan pointed me at the discussion at http://www.nabble.com/Re%3A-JUnit-unit-tests---parallel-test-three--p5711307.html where Kristian discussed this couple months ago. I talked to

Re: [VOTE] 10.2.2.0 release

2006-12-18 Thread John Embretsen
Rick Hillegas wrote: Please download and test-drive the 10.2.2.0 candidate, then vote on whether to accept it as a Derby release. The candidate lives at: http://people.apache.org/~rhillegas/10.2.2.0/ The polls close at 5:00 pm San Francisco time next Monday, December 18. I have verified

Perl script for detecting potential JUnit issues

2006-11-13 Thread John Embretsen
I know that many Derby developers are relatively new to JUnit, and that it is not always easy to spot potential issues in the test code, such as arguments to assertEquals being in the wrong order. I noticed that someone on the Apache Harmony project (http://incubator.apache.org/harmony/) has

  1   2   >