You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Manu T George (JIRA)" <ji...@apache.org> on 2006/12/16 16:19:21 UTC
[jira] Updated: (OPENEJB-409) NullPointer Exception on trying to
deploy MessageDrivenBean
[ http://issues.apache.org/jira/browse/OPENEJB-409?page=all ]
Manu T George updated OPENEJB-409:
----------------------------------
Attachment: ejb-jar.patch
mdb.patch
This patch is just for replicating the issue
> NullPointer Exception on trying to deploy MessageDrivenBean
> -----------------------------------------------------------
>
> Key: OPENEJB-409
> URL: http://issues.apache.org/jira/browse/OPENEJB-409
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb3 simplified
> Affects Versions: 3.0
> Environment: All
> Reporter: Manu T George
> Attachments: ejb-jar.patch, mdb.patch
>
>
> I am getting a NullPointerException on trying to deploy an MDB. The error occurs due to a ClassCastException in EjbJarUtils.
> This is because in the code a MessageDrivenBean is tried to be cast as a SessionBean. Fixing this reveals a lot of other errors because I guess the MDB container impl is incomplete . I am attaching two patches. mdb.patch is from <openejb3 home>\itests\openejb-itests-beans\src\main\java\org\apache\openejb\test directory while ejb-jar.patch is from
> <openejb3 home>\itests\openejb-itests-beans\src\main\resources\META-INF directory. Deploying this bean causes these errors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira