Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 21671 invoked from network); 9 Mar 2011 08:08:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 08:08:22 -0000 Received: (qmail 19624 invoked by uid 500); 9 Mar 2011 08:08:21 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 19580 invoked by uid 500); 9 Mar 2011 08:08:21 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 19573 invoked by uid 99); 9 Mar 2011 08:08:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 08:08:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 08:08:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7BB003A0679 for ; Wed, 9 Mar 2011 08:07:59 +0000 (UTC) Date: Wed, 9 Mar 2011 08:07:59 +0000 (UTC) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Message-ID: <1220219701.7287.1299658079503.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <4778515.36031295359185278.JavaMail.jira@thor> Subject: [jira] Commented: (GERONIMO-5761) map the bundle resolved state to configuration load status 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/GERONIMO-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004405#comment-13004405 ] David Jencks commented on GERONIMO-5761: ---------------------------------------- I'm still seeing app client problems, however they are not entirely consistent. I see stack traces like this: org.apache.geronimo.common.DeploymentException: Unable to create configuration for deployment: dependencies: null at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:215) at org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:194) at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:626) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138) Caused by: org.apache.geronimo.kernel.config.LifecycleException: start of default/appclient_dep_ejblink_single_appclient_dep_ejblink_single_client/1-default/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:691) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:614) at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:212) ... 42 more Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/appclient_dep_ejblink_single_appclient_dep_ejblink_single_client/1-default/car at org.apache.geronimo.kernel.config.SimpleConfigurationManager.start(SimpleConfigurationManager.java:383) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:661) ... 44 more Caused by: java.lang.NullPointerException at org.apache.geronimo.kernel.config.SimpleConfigurationManager.addDepthFirstServiceParents(SimpleConfigurationManager.java:432) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.buildAllServiceParents(SimpleConfigurationManager.java:412) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.doStart(SimpleConfigurationManager.java:394) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.start(SimpleConfigurationManager.java:381) ... 45 more I'm testing with the smoketest tck subset. If I run some of the failing tests in smaller groups they pass. It looks like sometimes the parents for an app client app such as org.apache.geronimo.configs/client/3.0-SNAPSHOT/car don't show up as already loaded. I'm surprised at this because the client car is listed as a dependency of the client-deployer car so I'd expect it to be loaded all the time. For the future, I'm not sure we will need to track dependencies at all in this way. I doubt we will verify service references at deploy time. We won't need to import server classes into the app bundles. If someone wants to pull in several bundles at once they will have to use something like a karaf feature which will get all the bundles loaded in the framework so they can be started on demand. > map the bundle resolved state to configuration load status > ---------------------------------------------------------- > > Key: GERONIMO-5761 > URL: https://issues.apache.org/jira/browse/GERONIMO-5761 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: kernel > Affects Versions: 3.0 > Reporter: Ivan > Assignee: Ivan > Attachments: ConfigurationExtender.java, DependencyManager.java, GERONIMO-5761-02.patch, GERONIMO-5761.patch > > > http://www.mail-archive.com/dev@geronimo.apache.org/msg83998.html > Will provide a proposed patch later. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira