You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shenghao Fang (JIRA)" <ji...@apache.org> on 2011/01/05 04:06:45 UTC
[jira] Created: (GERONIMO-5748) Defects in
ThreadSingletonServiceAdapter
Defects in ThreadSingletonServiceAdapter
----------------------------------------
Key: GERONIMO-5748
URL: https://issues.apache.org/jira/browse/GERONIMO-5748
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: OpenEJB
Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Reporter: Shenghao Fang
Assignee: Shenghao Fang
2 defects found in ThreadSingletonServiceAdapter:
1. ClassCastException on ThreadSingletonServiceAdapter: 69
startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
Here the type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
95 public void contextExited(Object oldContext) {
96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
98 }
Here the type of oldContext is expected to be WebBeansContext instead of Map.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Jetty mail list
Posted by nileader开发 <ni...@gmail.com>.
Hi, have any mail list for Jetty dev??
-----邮件原件-----
发件人: Shenghao Fang (JIRA) [mailto:jira@apache.org]
发送时间: 2011年1月19日 14:10
收件人: dev@geronimo.apache.org
主题: [jira] Closed: (GERONIMO-5748) Defects in ThreadSingletonServiceAdapter
[ https://issues.apache.org/jira/browse/GERONIMO-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shenghao Fang closed GERONIMO-5748.
-----------------------------------
> Defects in ThreadSingletonServiceAdapter
> ----------------------------------------
>
> Key: GERONIMO-5748
> URL: https://issues.apache.org/jira/browse/GERONIMO-5748
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Reporter: Shenghao Fang
> Assignee: Shenghao Fang
> Fix For: 3.0
>
> Attachments: GERONIMO-5748.patch
>
>
> 2 defects found in ThreadSingletonServiceAdapter:
> 1. ClassCastException on ThreadSingletonServiceAdapter: 69
> {code:borderStyle=solid}
> // The type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
> startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
> {code}
> 2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
> {code:borderStyle=solid}
> // The type of oldContext is expected to be WebBeansContext instead of Map.
> 95 public void contextExited(Object oldContext) {
> 96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
> 97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
> 98 }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (GERONIMO-5748) Defects in
ThreadSingletonServiceAdapter
Posted by "Shenghao Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shenghao Fang closed GERONIMO-5748.
-----------------------------------
> Defects in ThreadSingletonServiceAdapter
> ----------------------------------------
>
> Key: GERONIMO-5748
> URL: https://issues.apache.org/jira/browse/GERONIMO-5748
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Reporter: Shenghao Fang
> Assignee: Shenghao Fang
> Fix For: 3.0
>
> Attachments: GERONIMO-5748.patch
>
>
> 2 defects found in ThreadSingletonServiceAdapter:
> 1. ClassCastException on ThreadSingletonServiceAdapter: 69
> {code:borderStyle=solid}
> // The type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
> startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
> {code}
> 2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
> {code:borderStyle=solid}
> // The type of oldContext is expected to be WebBeansContext instead of Map.
> 95 public void contextExited(Object oldContext) {
> 96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
> 97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
> 98 }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMO-5748) Defects in
ThreadSingletonServiceAdapter
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan resolved GERONIMO-5748.
----------------------------
Resolution: Fixed
Fix Version/s: 3.0
Commit changes to trunk At revision: 1055346, thanks, Fang Shenhao,
> Defects in ThreadSingletonServiceAdapter
> ----------------------------------------
>
> Key: GERONIMO-5748
> URL: https://issues.apache.org/jira/browse/GERONIMO-5748
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Reporter: Shenghao Fang
> Assignee: Shenghao Fang
> Fix For: 3.0
>
> Attachments: GERONIMO-5748.patch
>
>
> 2 defects found in ThreadSingletonServiceAdapter:
> 1. ClassCastException on ThreadSingletonServiceAdapter: 69
> {code:borderStyle=solid}
> // The type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
> startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
> {code}
> 2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
> {code:borderStyle=solid}
> // The type of oldContext is expected to be WebBeansContext instead of Map.
> 95 public void contextExited(Object oldContext) {
> 96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
> 97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
> 98 }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5748) Defects in
ThreadSingletonServiceAdapter
Posted by "Shenghao Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shenghao Fang updated GERONIMO-5748:
------------------------------------
Attachment: GERONIMO-5748.patch
> Defects in ThreadSingletonServiceAdapter
> ----------------------------------------
>
> Key: GERONIMO-5748
> URL: https://issues.apache.org/jira/browse/GERONIMO-5748
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Reporter: Shenghao Fang
> Assignee: Shenghao Fang
> Attachments: GERONIMO-5748.patch
>
>
> 2 defects found in ThreadSingletonServiceAdapter:
> 1. ClassCastException on ThreadSingletonServiceAdapter: 69
> startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
> Here the type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
> 2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
> 95 public void contextExited(Object oldContext) {
> 96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
> 97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
> 98 }
> Here the type of oldContext is expected to be WebBeansContext instead of Map.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5748) Defects in
ThreadSingletonServiceAdapter
Posted by "Shenghao Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shenghao Fang updated GERONIMO-5748:
------------------------------------
Description:
2 defects found in ThreadSingletonServiceAdapter:
1. ClassCastException on ThreadSingletonServiceAdapter: 69
{code:borderStyle=solid}
// The type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
{code}
2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
{code:borderStyle=solid}
// The type of oldContext is expected to be WebBeansContext instead of Map.
95 public void contextExited(Object oldContext) {
96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
98 }
{code}
was:
2 defects found in ThreadSingletonServiceAdapter:
1. ClassCastException on ThreadSingletonServiceAdapter: 69
startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
Here the type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
95 public void contextExited(Object oldContext) {
96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
98 }
Here the type of oldContext is expected to be WebBeansContext instead of Map.
> Defects in ThreadSingletonServiceAdapter
> ----------------------------------------
>
> Key: GERONIMO-5748
> URL: https://issues.apache.org/jira/browse/GERONIMO-5748
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Reporter: Shenghao Fang
> Assignee: Shenghao Fang
> Attachments: GERONIMO-5748.patch
>
>
> 2 defects found in ThreadSingletonServiceAdapter:
> 1. ClassCastException on ThreadSingletonServiceAdapter: 69
> {code:borderStyle=solid}
> // The type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
> startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
> {code}
> 2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
> {code:borderStyle=solid}
> // The type of oldContext is expected to be WebBeansContext instead of Map.
> 95 public void contextExited(Object oldContext) {
> 96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
> 97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
> 98 }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.