You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/07/25 15:16:00 UTC
[jira] [Work logged] (TOMEE-2934) EJBContainer.createEJBContainer Fails to find public inner classes
[ https://issues.apache.org/jira/browse/TOMEE-2934?focusedWorklogId=927427&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-927427 ]
ASF GitHub Bot logged work on TOMEE-2934:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jul/24 15:15
Start Date: 25/Jul/24 15:15
Worklog Time Spent: 10m
Work Description: giangianoulas opened a new pull request, #1327:
URL: https://github.com/apache/tomee/pull/1327
if loading a class that is a parameter to an Async method fails with java.lang.ClassNotFoundException replace last '.' with '$' and retry in hope that it is an inner class, else throw original exception.
The method params comes with '.' for inner classes from here
`
org.apache.openejb.jee.AsyncMethod(final java.lang.reflect.Method method)
`
Issue Time Tracking
-------------------
Worklog Id: (was: 927427)
Remaining Estimate: 0h
Time Spent: 10m
> EJBContainer.createEJBContainer Fails to find public inner classes
> ------------------------------------------------------------------
>
> Key: TOMEE-2934
> URL: https://issues.apache.org/jira/browse/TOMEE-2934
> Project: TomEE
> Issue Type: Bug
> Reporter: Ioannis Giannoulas
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When trying to start up the ejbContainer
> {code:java}
> EJBContainer.createEJBContainer{code}
> If a bean contains an inner class, used like this:
> {code:java}
> @Asynchronous
> @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
> public Future<Contract> processAsynchronously(Contract r)
> {code}
> Then you get an Exception stating that:
> {code:java}Cannot locate the class {0} from the codebase [{1}]{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)