You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Matthias Weßendorf (JIRA)" <ji...@apache.org> on 2010/03/06 13:32:27 UTC

[jira] Commented: (OWB-319) Strange logging when writing non-Serializable SessionScoped bean

    [ https://issues.apache.org/jira/browse/OWB-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842250#action_12842250 ] 

Matthias Weßendorf commented on OWB-319:
----------------------------------------

I noticed that too :-)

> Strange logging when writing non-Serializable SessionScoped bean
> ----------------------------------------------------------------
>
>                 Key: OWB-319
>                 URL: https://issues.apache.org/jira/browse/OWB-319
>             Project: OpenWebBeans
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: M4
>         Environment: *
>            Reporter: Jan-Kees van Andel
>            Assignee: Gurkan Erdogdu
>            Priority: Minor
>         Attachments: beandeployer_toString.patch
>
>
> When I write a SessionScoped bean, without implementing Serializable, I get the following error in my log.
> 2010-03-05 22:26:38.021:WARN::Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@e73236{/ebanking,D:\dev\work\idea9\jsf2-example-ebanking\target\myfaces-example-ebanking-1.0-SNAPSHOT}
> org.apache.webbeans.exception.WebBeansConfigurationException: Passivation scoped defined bean must be passivation capable, but bean : org.apache.webbeans.config.BeansDeployer@120a9d6 is not passivation capable
> It's caused by a call to the wrong toString in BeansDeployer.checkPassivationScope().
>                     throw new WebBeansConfigurationException("Passivation scoped defined bean must be passivation capable, " +
>                             "but bean : " + toString() + " is not passivation capable");                    
> And should be:
>                     throw new WebBeansConfigurationException("Passivation scoped defined bean must be passivation capable, " +
>                             "but bean : " + beanObj.toString() + " is not passivation capable");                    

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.