Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8FBFB200B99 for ; Wed, 5 Oct 2016 20:54:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8E7FA160AC9; Wed, 5 Oct 2016 18:54:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D9E47160AEA for ; Wed, 5 Oct 2016 20:54:21 +0200 (CEST) Received: (qmail 15294 invoked by uid 500); 5 Oct 2016 18:54:20 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 15263 invoked by uid 99); 5 Oct 2016 18:54:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2016 18:54:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B8BB02C2A65 for ; Wed, 5 Oct 2016 18:54:20 +0000 (UTC) Date: Wed, 5 Oct 2016 18:54:20 +0000 (UTC) From: "Jacques Le Roux (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-8337) Refactor and simplify the startup sequence in OFBiz MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Oct 2016 18:54:22 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-8337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549641#comment-15549641 ] Jacques Le Roux commented on OFBIZ-8337: ---------------------------------------- Was http://svn.apache.org/viewvc?rev=1076529&view=rev on HipChat > Refactor and simplify the startup sequence in OFBiz > --------------------------------------------------- > > Key: OFBIZ-8337 > URL: https://issues.apache.org/jira/browse/OFBIZ-8337 > Project: OFBiz > Issue Type: Improvement > Components: base, start > Affects Versions: Upcoming Branch > Reporter: Taher Alkhateeb > Assignee: Taher Alkhateeb > Priority: Minor > > The startup sequence in OFBiz is highly complex and requires improvements on multiple levels including: > - The entire classpath buildup logic and org.apache.ofbiz.base.start.Classpath needs to be removed. The original idea of classpath isolation between the components created many more problems than it solved, and right now the classpath construction is the responsibility of the build system. > - The custom classloader needs to be removed as well together with the classpath mentioned above. > - The StartupLoader interface should remove the start() method and just have two methods, load and unload. > - The startup sequence should have only one StartupLoader, not an array of startup loaders. This StartupLoader (implemented as ContainerLoader) is the only class responsible for bootstrapping OFBiz > - The ContainerLoader needs to be completely refactored, not only to remove the start() method but also to cleanup the very messy logic currently residing there. -- This message was sent by Atlassian JIRA (v6.3.4#6332)