You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2011/03/21 06:51:05 UTC

[jira] [Resolved] (GERONIMO-5862) mail/MaiSession is bound to a wrong jca global context

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

viola.lu resolved GERONIMO-5862.
--------------------------------

    Resolution: Fixed

Commit change @ #1083678. Add ger:MailSession jndi bound.

> mail/MaiSession is bound to a wrong jca global context
> ------------------------------------------------------
>
>                 Key: GERONIMO-5862
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5862
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 3.0
>         Environment: OS: win 
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 3.0
>
>
> MailGBean is already registered as osgi service, but its jndi name is bound to a wrong jca context, so get no inital context exception if set its jndi name ger;session;
> 2011-03-17 15:06:31,453 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/javamail/3.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/javamail/3.0-SNAPSHOT/car,j2eeType=JavaMailResource,name=mail/MailSession"
> javax.naming.NoInitialContextException
> 	at org.apache.aries.jndi.DelegateContext.getDefaultContext(DelegateContext.java:228)
> 	at org.apache.aries.jndi.DelegateContext.findContext(DelegateContext.java:203)
> 	at org.apache.aries.jndi.DelegateContext.getNameParser(DelegateContext.java:124)
> 	at javax.naming.InitialContext.getNameParser(InitialContext.java:480)
> 	at org.apache.geronimo.resource.mail.MailGBean.doStart(MailGBean.java:380)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
> 	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:560)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
> 	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.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:211)
> 	at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:91)
> 	at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
> 	at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
> 2011-03-17 15:06:31,500 INFO  [KernelContextGBean] unbound gbean 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira