geronimo-dev mailing list archives

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

    [ 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)
<snip>
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

Mime
View raw message