You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Tina Li (JIRA)" <ji...@apache.org> on 2012/05/08 04:25:50 UTC

[jira] [Closed] (GERONIMO-6238) ejb jar can't be started successfully if choose "Start application after installation" in the process of deploy and happened problem "WebBeansConfigurationException"

     [ https://issues.apache.org/jira/browse/GERONIMO-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tina Li closed GERONIMO-6238.
-----------------------------

    Resolution: Invalid
      Assignee: Tina Li

won't fix and close it.
                
> ejb jar can't be started successfully if choose "Start application after installation" in the process of deploy and happened problem "WebBeansConfigurationException" 
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6238
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6238
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment, OpenWebBeans
>         Environment: JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled)
>            Reporter: Tina Li
>            Assignee: Tina Li
>            Priority: Minor
>         Attachments: ejb-sample-sources.jar
>
>
> 1.Download geronimo server:
>  http://mirror.bjtu.edu.cn/apache//geronimo/3.0-beta-1/geronimo-tomcat7-javaee6-3.0-beta-1-bin.tar.gz
> 2.Unzip and started server successfully
> 3.Try to deploy ejb-sample application downloaded from openwebbeans site:
>  http://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.1.2/samples
> 4.First deploy resource: ejb-sample-sources.jar and choose "Start application after installation"before deploy.
> 5.But happened problem:
> The application was not successfully started.
> start of default/ejb-sample-sources/1324288851182/car failed
> org.apache.geronimo.kernel.config.LifecycleException: start of default/ejb-sample-sources/1324288851182/car failed
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
> at java.lang.Thread.run(Thread.java:736)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:523)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
> ... 3 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration default/ejb-sample-sources/1324288851182/car failed to start due to the following reasons:
> The service EJBModule=default/ejb-sample-sources/1324288851182/car,J2EEApplication=null,j2eeType=appInfoGBean,name=appInfoGBean did not start because Creating application failed: /home/tina/workTina/Test/3.0Beta1/geronimo-tomcat7-javaee6-3.0-beta-1/bin/default/ejb-sample-sources/1324288851182/car: org.apache.webbeans.exception.WebBeansConfigurationException: Could not load interceptor class: org.apache.webbeans.sample.ejb.LogInterceptor
> org.apache.openejb.OpenEJBException: Creating application failed: /home/tina/workTina/Test/3.0Beta1/geronimo-tomcat7-javaee6-3.0-beta-1/bin/default/ejb-sample-sources/1324288851182/car: org.apache.webbeans.exception.WebBeansConfigurationException: Could not load interceptor class: org.apache.webbeans.sample.ejb.LogInterceptor
> at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:835)
> at org.apache.geronimo.openejb.OpenEjbSystemGBean.createApplication(OpenEjbSystemGBean.java:460)
> at org.apache.geronimo.openejb.AppInfoGBean.(AppInfoGBean.java:66)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
> at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
> at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
> at java.lang.Thread.run(Thread.java:736)
> Caused by: java.lang.RuntimeException: org.apache.webbeans.exception.WebBeansConfigurationException: Could not load interceptor class: org.apache.webbeans.sample.ejb.LogInterceptor
> at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:311)
> at org.apache.geronimo.openejb.cdi.OpenWebBeansWebInitializer.newWebBeansContext(OpenWebBeansWebInitializer.java:111)
> at org.apache.geronimo.openejb.cdi.ThreadSingletonServiceAdapter.initialize(ThreadSingletonServiceAdapter.java:48)
> at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:50)
> at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:728)
> ... 22 more
> Caused by: org.apache.webbeans.exception.WebBeansConfigurationException: Could not load interceptor class: org.apache.webbeans.sample.ejb.LogInterceptor
> at org.apache.openejb.cdi.CdiScanner.init(CdiScanner.java:101)
> at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:201)
> ... 26 more
> The service J2EEApplication=null,j2eeType=EJBModule,name=default/ejb-sample-sources/1324288851182/car did not start because default/ejb-sample-sources/1324288851182/car?EJBModule=default/ejb-sample-sources/1324288851182/car,J2EEApplication=null,j2eeType=appInfoGBean,name=appInfoGBean did not start.
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:489)
> ... 5 more
> 6.Then check component name under EJB-JARs of User Assets porlet: default/ejb-sample-sources/1324288851182/car, click "start", but can be started successfully.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira