[jbosstools-issues] [JBoss JIRA] (JBIDE-21822) Remote invocation problem when deploying and running EAP apps from JBDS

Michal Jurc (JIRA) issues at jboss.org
Fri Mar 11 03:13:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175258#comment-13175258 ] 

Michal Jurc edited comment on JBIDE-21822 at 3/11/16 3:12 AM:
--------------------------------------------------------------

I have discovered that I have been importing the {{ejb-remote}} quickstart in a wrong way. Quickstarts will not import correctly if they are located in JBDS workspace. Also, importing the quickstart projects by {{File -> Import Projects from Folder}} instead of using {{File -> Import -> Existing Maven Projects}} will result in the error mentioned in the issue. Importing the {{ejb-remote}} quickstart by {{File -> Import Projects from Folder}} will load projects called {{ejb-remote}}, {{ejb-remote-client}} and {{ejb-remote-server-side}} in Project Explorer while importing the quickstart by {{File -> Import Projects from Folder}} will load projects called {{jboss-ejb-remote}}, {{jboss-ejb-remote-client}} and {{jboss-ejb-remote-server-side}}.


was (Author: mjurc):
I have discovered that I have been importing the {{ejb-remote}} quickstart in a wrong way. Quickstarts will not import correctly if they are located in JBDS workspace. Also, importing the quickstart projects by {{File -> Import Projects from Folder}} instead of using {{File -> Import -> Existing Maven Projects}} will result in the same error. Importing the {{ejb-remote}} quickstart by {{File -> Import Projects from Folder}} will load projects called {{ejb-remote}}, {{ejb-remote-client}} and {{ejb-remote-server-side}} in Project Explorer while importing the quickstart by {{File -> Import Projects from Folder}} will load projects called {{jboss-ejb-remote}}, {{jboss-ejb-remote-client}} and {{jboss-ejb-remote-server-side}}.

> Remote invocation problem when deploying and running EAP apps from JBDS
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-21822
>                 URL: https://issues.jboss.org/browse/JBIDE-21822
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.3.0.Final
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Maven home: /opt/apache-maven-3.3.9
> Java version: 1.8.0_74, vendor: Oracle Corporation
> Java home: /usr/java/jdk1.8.0_74/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.4.3-300.fc23.x86_64+debug", arch: "amd64", family: "unix"
> Fedora 23
>            Reporter: Michal Jurc
>            Assignee: Rob Stryker
>
> When attempting to follow the steps in ejb-remote quickstart for EAP 6.4.6.GA and 7.0.0.ER6, after deploying the server-side application, the client application has problem with remote invocation of the application deployed:
> {code}
> Exception in thread "main" java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:, moduleName:jboss-ejb-remote-server-side, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext at 731a74c
>  at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:798)
>  at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:128)
>  at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)
>  at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)
>  at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:255)
>  at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:200)
>  at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183)
>  at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146)
>  at com.sun.proxy.$Proxy0.add(Unknown Source)
>  at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.invokeStatelessBean(RemoteEJBClient.java:57)
>  at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.main(RemoteEJBClient.java:38)
> {code}
> The same quickstart can be completed when ran from terminal on standalone EAP (EAP not launched and managed by JBDS).
> I was so far unable to reproduce the issue on other machines.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list