Hi did you use java:global names? If you maybe try internal ones (something like MyEjbRemote). In tomcat java: can be handled by tomcat and our factory can be ignored in some cases Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014-10-27 18:02 GMT+01:00 sapozal <sapo...@gmail.com>: > hello all. > > I have > 1.One EJB running under Tomee > 2.One Grails app running usual Tomcat which is actually an EJB client > > when trying to invoke the server method from EJB I got > INFO: > RemoteInitialContextCreated{providerUri=http://127.0.0.1:8080/tomee/ejb} > 2014-10-27 19:00:41,064 [http-apr-8081-exec-6] ERROR > errors.GrailsExceptionResol > ver - IllegalArgumentException occurred when processing request: [GET] > /TestEJB > /Test/GetAnswer > interface org.apache.openejb.client.EJBObjectProxy is not visible from class > loa > der. Stacktrace follows: > java.lang.IllegalArgumentException: interface > org.apache.openejb.client.EJBObjec > tProxy is not visible from class loader > > Important note- from regular Ejb client which is simple java application the > invocation works fine. > Please help me to solve this > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Invocation-of-EJB-method-of-Tomee-from-grails-app-tp4672644.html > Sent from the TomEE Dev mailing list archive at Nabble.com.