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