You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Quintin Beukes (JIRA)" <ji...@apache.org> on 2009/10/19 15:01:31 UTC

[jira] Created: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
------------------------------------------------------------------------------------

                 Key: GERONIMO-4918
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: OpenEJB
    Affects Versions: 2.2
            Reporter: Quintin Beukes
             Fix For: 2.2, 3.0


The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).

I added the support, recompiled + tested and it's working.

The patch requires creating a new file, so both need to be applied.

The patch was made from the root of the svn checkout of branches/2.2. 
The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Commented: (GERONIMO-4918) EJB 3.1 Singleton Support

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869019#action_12869019 ] 

David Jencks commented on GERONIMO-4918:
----------------------------------------

I think I got all the changes ported to 3.0 (trunk) in rev 946044.

> EJB 3.1 Singleton Support
> -------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>            Assignee: David Jencks
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

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

Quintin Beukes updated GERONIMO-4918:
-------------------------------------

    Attachment: SingletonDeploymentGBean.java
                singleton.patch

Apply "singleton.patch" to branches/2.2.
Commit SingletonDeploymentGBean.java to branches/2.2/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java


> Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>         Attachments: singleton.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Closed: (GERONIMO-4918) EJB 3.1 Singleton Support

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

David Blevins closed GERONIMO-4918.
-----------------------------------

    Resolution: Fixed

> EJB 3.1 Singleton Support
> -------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

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

Quintin Beukes updated GERONIMO-4918:
-------------------------------------

    Attachment:     (was: SingletonDeploymentGBean.java)

> Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Commented: (GERONIMO-4918) EJB 3.1 Singleton Support

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869311#action_12869311 ] 

David Jencks commented on GERONIMO-4918:
----------------------------------------

I think I have everything ported to trunk with rev 946366

> EJB 3.1 Singleton Support
> -------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>            Assignee: David Jencks
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Assigned: (GERONIMO-4918) EJB 3.1 Singleton Support

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

David Jencks reassigned GERONIMO-4918:
--------------------------------------

    Assignee: David Jencks

> EJB 3.1 Singleton Support
> -------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>            Assignee: David Jencks
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) EJB 3.1 Singleton Support

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

Rick McGuire updated GERONIMO-4918:
-----------------------------------

    Fix Version/s: 3.0-M1
                       (was: 2.2)
                       (was: 3.0)

> EJB 3.1 Singleton Support
> -------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>            Assignee: David Jencks
>             Fix For: 3.0-M1
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

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

Quintin Beukes updated GERONIMO-4918:
-------------------------------------

    Attachment:     (was: singleton.patch)

> Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>         Attachments: geronimo-singleton-support-geronimo.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Commented: (GERONIMO-4918) EJB 3.1 Singleton Support

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868870#action_12868870 ] 

David Jencks commented on GERONIMO-4918:
----------------------------------------

None of the singleton support made it into 3.0 leading to some independent reimplementation.

> EJB 3.1 Singleton Support
> -------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>            Assignee: David Jencks
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Commented: (GERONIMO-4918) EJB 3.1 Singleton Support

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869023#action_12869023 ] 

David Jencks commented on GERONIMO-4918:
----------------------------------------

um, rev 946044 only has the plugins/openejb changes.  More is needed.

> EJB 3.1 Singleton Support
> -------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>            Assignee: David Jencks
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

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

Quintin Beukes updated GERONIMO-4918:
-------------------------------------

    Attachment:     (was: geronimo-singleton-support-geronimo.patch)

> Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

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

David Jencks updated GERONIMO-4918:
-----------------------------------

    Attachment: GERONIMO-4918.patch

This patch reverses the dependencies between EjbModuleImpl and EjbDeployment, and also annotates EjbModuleImpl and removes   plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImplGBean.java.  This follows some ideas discussed with david blevins on how to remove the wait() code.

It also updates the geronimo annotation code to deal with wildcards in collection valued references.  I'll probably commit this bit separately.

> Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

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

Quintin Beukes updated GERONIMO-4918:
-------------------------------------

    Attachment: singleton-deploy-type.patch

The commit didn't include the SINGLETON type in plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java

Without it you receive the following when deploying a Singleton EJB:
org.apache.geronimo.common.DeploymentException: Unable to deploy KunyeEAR-ear.ear: Unknown enterprise bean type org.apache.openejb.jee.SingletonBean

There are 2 places to update for a bean type, this one and plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/BasicEjbDeploymentGBeanNameBuilder.java.

It looks like the SingletonDeploymentGBean.java file has been created though, so the patch should do it.

> Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

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

Quintin Beukes updated GERONIMO-4918:
-------------------------------------

    Attachment: geronimo-singleton-support-geronimo.patch

Replaces the previous singleton.patch. This still depends on the SingletonDeploymentGBean.java to be created.

This patch adds the support (same as singleton.patch), but also fixes a deadlock when the @Startup annotation is used on a @Singleton session bean.

This patch also depends on OPENEJB-1092.

> Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>         Attachments: geronimo-singleton-support-geronimo.patch, singleton.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) EJB 3.1 Singleton Support

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

David Blevins updated GERONIMO-4918:
------------------------------------

    Issue Type: New Feature  (was: Bug)
       Summary: EJB 3.1 Singleton Support  (was: Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used)

Relabeling this as a new feature as this is the way it should show up in the release notes.

> EJB 3.1 Singleton Support
> -------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>         Attachments: GERONIMO-4918.patch, geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, singleton-deploy-type.patch, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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


[jira] Updated: (GERONIMO-4918) Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used

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

Quintin Beukes updated GERONIMO-4918:
-------------------------------------

    Attachment: SingletonDeploymentGBean.java
                LoadOnStartupGBean.java
                geronimo-singleton-support-geronimo.patch

Updated the patch and files. These new ones include the following:

1. Support to deploy Singleton beans
2. Fixes a wording error in an exception in plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbDeploymentBuilder.java
3. Fixes a deadlock when an EJB is annotated with @Startup

Now Singleton beans can deploy and startup, with @DependsOn requirements and @PostConstruct methods executed. Beans can also be referenced remotely as well as locally. All necessary EJBs/resources/PU/etc are injected. 

I tested it with simple test EJB jars, as well as our software's relatively complex JARs which contain Singletons. Some jars had @Startup annotations, some didn't. Everything worked the same.

Still depends on OPENEJB-1092

> Incomplete, not working support for singleton EJBs even though OpenEJB 3.1.2 is used
> ------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4918
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2, 3.0
>
>         Attachments: geronimo-singleton-support-geronimo.patch, LoadOnStartupGBean.java, SingletonDeploymentGBean.java
>
>
> The singleton support hasn't been completely implemented, so it's impossible to deploy an singleton session bean (EJB).
> I added the support, recompiled + tested and it's working.
> The patch requires creating a new file, so both need to be applied.
> The patch was made from the root of the svn checkout of branches/2.2. 
> The new files path from the same root is: plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/SingletonDeploymentGBean.java

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