Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E4B217310 for ; Sun, 7 Feb 2016 23:25:40 +0000 (UTC) Received: (qmail 90989 invoked by uid 500); 7 Feb 2016 23:25:40 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 90957 invoked by uid 500); 7 Feb 2016 23:25:39 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 90947 invoked by uid 99); 7 Feb 2016 23:25:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2016 23:25:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C38062C14F6 for ; Sun, 7 Feb 2016 23:25:39 +0000 (UTC) Date: Sun, 7 Feb 2016 23:25:39 +0000 (UTC) From: "Trejkaz (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-289) Enable code sharing between Derby client and engine MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136517#comment-15136517 ] Trejkaz commented on DERBY-289: ------------------------------- We tried to use Elasticsearch in an application which happens to also have both derby.jar and derbyclient.jar on the classpath. Elasticsearch fires up its "JarHell" utility when you start up a node, which basically scans the entire classpath looking for jars which contain the same class files, and then bombs out when it notices that derby.jar and derbyclient.jar contain class files with the same path. So even though this is just an "improvement"... it is kind of a pain for us now. > Enable code sharing between Derby client and engine > --------------------------------------------------- > > Key: DERBY-289 > URL: https://issues.apache.org/jira/browse/DERBY-289 > Project: Derby > Issue Type: Improvement > Components: Network Client > Affects Versions: 10.0.2.0, 10.0.2.1, 10.0.2.2, 10.1.1.0 > Environment: N/A > Reporter: David Van Couvering > Priority: Minor > Attachments: DERBY-289.diff > > > Right now, there is no way for the Derby network client to share code with the Derby engine. We should have a separate jar file, e.g. derby_common.jar, that contains shared code and is used by both the client and the engine. -- This message was sent by Atlassian JIRA (v6.3.4#6332)