geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Commented: (GERONIMO-5761) map the bundle resolved state to configuration load status
Date Wed, 09 Mar 2011 08:07:59 GMT


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(
	at org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(
	at org.apache.geronimo.deployment.Deployer.deploy(
	at org.apache.geronimo.deployment.Deployer.deploy(
Caused by: org.apache.geronimo.kernel.config.LifecycleException: start of default/appclient_dep_ejblink_single_appclient_dep_ejblink_single_client/1-default/car
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(
	at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(
	... 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(
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(
	... 44 more
Caused by: java.lang.NullPointerException
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.addDepthFirstServiceParents(
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.buildAllServiceParents(
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.doStart(
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.start(
	... 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:
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: kernel
>    Affects Versions: 3.0
>            Reporter: Ivan
>            Assignee: Ivan
>         Attachments:,, GERONIMO-5761-02.patch,
> Will provide a proposed patch later.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message