You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2015/07/11 16:10:04 UTC
[jira] [Commented] (TOMEE-1613) EJB lookup fails on TomEE 1.7.2
[ https://issues.apache.org/jira/browse/TOMEE-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623409#comment-14623409 ]
Romain Manni-Bucau commented on TOMEE-1613:
-------------------------------------------
Hi
Please provide us a sample to reproduce this issue (sources on github are appreciated)
> 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
> Environment: windows 7 with jdk 1.8.0_40
> Reporter: John Pratt
> Priority: Blocker
>
> 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 EJBs fail because lookup fails with NamingException
> 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 fail but like I said they all work in 1.7,1
> How do you do a lookup in 1.7.2? . How do you do a lookup that works in 1.7.1 and 1.7.2 ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)