You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Jan-Kees van Andel (JIRA)" <ji...@apache.org> on 2010/03/05 22:29:27 UTC

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

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


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.


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

Posted by "Jan-Kees van Andel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan-Kees van Andel updated OWB-319:
-----------------------------------

    Attachment: beandeployer_toString.patch

Perhaps the simplest patch ever :-)

> 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.


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

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gurkan Erdogdu updated OWB-319:
-------------------------------

    Fix Version/s: 1.0.0

> 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
>             Fix For: 1.0.0
>
>         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.


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

Posted by "Matthias Weßendorf (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gurkan Erdogdu closed OWB-319.
------------------------------

    Resolution: Fixed

thanks, done 

> 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
>             Fix For: 1.0.0
>
>         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.