You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "John Pratt (JIRA)" <ji...@apache.org> on 2015/07/11 15:20:07 UTC
[jira] [Created] (TOMEE-1613) EJB lookup fails on TomEE 1.7.2
John Pratt created TOMEE-1613:
---------------------------------
Summary: EJB lookup fails on TomEE 1.7.2
Key: TOMEE-1613
URL: https://issues.apache.org/jira/browse/TOMEE-1613
Project: TomEE
Issue Type: Bug
Components: TomEE Core Server
Affects Versions: 1.7.2
Reporter: John Pratt
We have a web application that runs on TomEE 1.7.1. But when we run it on TomEE 1.7.2 all of the EJB fails because lookup fails
The lookuo code looks like this
Context context = new InitalContext();
ServiceManager serviceManagerEjb = (ServiceManager) context
.lookup("java:module/ServiceManager");
and the bean
@Stateless(name = "ServiceManager")
@LocalBean
@TransactionManagement(TransactionManagementType.CONTAINER)
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public class ServiceManager implements IServiceManager {
,,,
}
All beans lookups fials but like I said they all work in 1.7,1
How do you do a lookup in 1.7.2? Why doesn;t it work. How do you do a llokup that works in 1.7.1 and 1.7.2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)