Thank you for the response. Our code is not using jaxws or jms, here is the
code- just doing a jndi lookup:

/StringBuilder url = new StringBuilder("global/hq_calendarEjb/");
url.append(isLiferaySpecificService?"Liferay":"").append(ejbInterfaceClass.getSimpleName()).append("Bean!").append(ejbInterfaceClass.getName());
Properties jndiProperties = new Properties();
jndiProperties.put(Context.PROVIDER_URL, "http://localhost:8080/tomee/ejb";);
jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY,
"org.apache.openejb.client.RemoteInitialContextFactory");
Context remotingContext = new InitialContext(jndiProperties);
Object resolvedproxy = remotingContext.lookup(url);
/

Fyi, the url string is constructed as something like this:
"global/hq_calendarEjb/LoggingServiceBean!gov.nasa.hq.calendar.ejb.session.LoggingService"

This works in TomEE+ but not WebProfile.



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/EJB-application-works-in-TomEE-Plus-but-not-TomEE-webprofile-tp4679495p4679505.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to