Thanks for the quick response
Please find the attached demo maven project to reproduce the issue.

This demo is showing difference in JNDI lookup results for the same jndi
name in Tomee1.6 and 1.7
To build ear file please use "mvn clean package"
Use result demo-ear.ear for installing in tomcat/apps folder
simple-ear\target\demo-ear.ear 
Use method com.demo.workflow.web.WorkFlowBrokerBean#methodCall to see the
result
You can call using soap request SoapRequestExample.xml 

Tomee 1.6  prints "Successful found" in System.out. Means the
initialContext.lookup("java:comp/env/ejb/MovieBean") successfully found the
ejb 
Tomee 1.7.1 throws NameNotFoundException

I'm using tomee-plus-webapp-1.7.1.war and tomcat/apps folder for deploy ear
file

Is it a tomee bug o Tomee17JndiLookUpIssueDemo.zip
<http://tomee-openejb.979440.n4.nabble.com/file/n4672756/Tomee17JndiLookUpIssueDemo.zip>
 
r smth wrong in the demo project?
Ivan



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Tomee-1-7-1-JNDI-lookup-failed-for-cmp2-ejb-tp4672752p4672756.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to