Rework logger API (OWB-674) breaks failover/serialization

2012-08-31 Thread Thomas Andraschko
Hi, AFAICS the old WebBeansLogger was serializable and JUL isn't. This breaks again the failover because OWB has some or many non-static loggers. It's really annoying because since 1.1.3, every version destroyed the failover mechanism. Is there any reason for non-static loggers? The non-static

Re: Rework logger API (OWB-674) breaks failover/serialization

2012-08-31 Thread Thomas Andraschko
This loggers could be static: PluginLoader AbstractMetaDataDiscovery OsgiMetaDataScannerService FailOverBag FailOverBagWrapper There are 2 other classes where it can't be static without changes. Should we set them as transient? WebContainerLifecycle AbstractLifeCycle 2012/8/31 Thomas

Re: Rework logger API (OWB-674) breaks failover/serialization

2012-08-31 Thread Romain Manni-Bucau
IMO all could be static, there is no good reason to keep them not static Le 31 août 2012 14:30, Thomas Andraschko zoi...@gmail.com a écrit : This loggers could be static: PluginLoader AbstractMetaDataDiscovery OsgiMetaDataScannerService FailOverBag FailOverBagWrapper There are 2 other

[jira] [Created] (OWB-698) InjectableBeanManager not serializable

2012-08-31 Thread Thomas Andraschko (JIRA)
Thomas Andraschko created OWB-698: - Summary: InjectableBeanManager not serializable Key: OWB-698 URL: https://issues.apache.org/jira/browse/OWB-698 Project: OpenWebBeans Issue Type: Bug

[jira] [Updated] (OWB-699) Passivation leads to NPE

2012-08-31 Thread Thomas Andraschko (JIRA)
[ https://issues.apache.org/jira/browse/OWB-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko updated OWB-699: -- Description: Somehow ContextsService is null on every request. SCHWERWIEGEND: Session attribute

[jira] [Created] (OWB-699) Passivation leads to NPE

2012-08-31 Thread Thomas Andraschko (JIRA)
Thomas Andraschko created OWB-699: - Summary: Passivation leads to NPE Key: OWB-699 URL: https://issues.apache.org/jira/browse/OWB-699 Project: OpenWebBeans Issue Type: Bug

[jira] [Updated] (OWB-699) Passivation leads to NPE

2012-08-31 Thread Thomas Andraschko (JIRA)
[ https://issues.apache.org/jira/browse/OWB-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko updated OWB-699: -- Description: Somehow ContextsService is null. SCHWERWIEGEND: Session attribute event listener