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 2014/10/28 11:23:33 UTC
[jira] [Commented] (TOMEE-1432) Cant connect to EJB server from
Grails application on another tomcat
[ https://issues.apache.org/jira/browse/TOMEE-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186674#comment-14186674 ]
Romain Manni-Bucau commented on TOMEE-1432:
-------------------------------------------
Hi
are you sure you have your API and openejb-client in the same classloader?
> Cant connect to EJB server from Grails application on another tomcat
> --------------------------------------------------------------------
>
> Key: TOMEE-1432
> URL: https://issues.apache.org/jira/browse/TOMEE-1432
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Arquillian Adapters
> Reporter: Alexey
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)