| Summary: | Execution of goal java:exec on shopping-cart quickstart example's client side fail | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Vladimir Rastseluev <vrastsel> |
| Component: | Quickstarts | Assignee: | sgilda |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Vladimir Rastseluev <vrastsel> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | bsutter, jkudrnac, pmuir, pslavice |
| Target Milestone: | ER5 | ||
| Target Release: | EAP 6.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-15 16:22:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in commit: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/62da71be5148e3ef88492cc98ca25ff56389a397 I verified this works in ER5.1 Verified on EAP 6.2.0 ER5.1 |
Description of problem: Following instructions from README file I tried to deploy and execute client on ejb-remote quicktsarts example, execution of goal exec:exec on client side failed. Version-Release number of selected component (if applicable): EAP 6.2.0 ER4 How reproducible: easy Steps to Reproduce: 1. start standalone server 2. cd $QUICKSTARTS_ROOT/shopping-cart 3. mvn clean install jboss-as:deploy 4. mvn exec:java -f client/pom.xml Actual results: Oct 7, 2013 8:22:17 AM org.jboss.ejb.client.EJBClient <clinit> INFO: JBoss EJB Client version 1.0.23.Final-redhat-1 Oct 7, 2013 8:22:17 AM org.xnio.Xnio <clinit> INFO: XNIO Version 3.0.7.GA-redhat-1 Oct 7, 2013 8:22:17 AM org.xnio.nio.NioXnio <clinit> INFO: XNIO NIO Implementation Version 3.0.7.GA-redhat-1 Oct 7, 2013 8:22:17 AM org.jboss.remoting3.EndpointImpl <clinit> INFO: JBoss Remoting version 3.2.16.GA-redhat-1 Oct 7, 2013 8:22:17 AM org.jboss.ejb.client.remoting.VersionReceiver handleMessage INFO: EJBCLIENT000017: Received server version 2 and marshalling strategies [river] Oct 7, 2013 8:22:17 AM org.jboss.ejb.client.remoting.RemotingConnectionEJBReceiver associate INFO: EJBCLIENT000013: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@cdba53, receiver=Remoting connection EJB receiver [connection=org.jboss.ejb.client.remoting.ConnectionPool$PooledConnection@1627c16,channel=jboss.ejb,nodename=war]} on channel Channel ID ccaad80a (outbound) of Remoting connection 01e22c75 to localhost/127.0.0.1:4447 [WARNING] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:662) Caused by: javax.naming.NamingException: Failed to create proxy [Root exception is java.lang.IllegalStateException: EJBCLIENT000024: No EJB receiver available for handling [appName:, moduleName:jboss-as-shoppingcart-server, distinctName:] combination] at org.jboss.ejb.client.naming.ejb.EjbNamingContext.createEjbProxy(EjbNamingContext.java:195) at org.jboss.ejb.client.naming.ejb.EjbNamingContext.lookup(EjbNamingContext.java:176) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.as.quickstarts.client.Client.main(Client.java:73) ... 6 more Caused by: java.lang.IllegalStateException: EJBCLIENT000024: No EJB receiver available for handling [appName:, moduleName:jboss-as-shoppingcart-server, distinctName:] combination at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:793) at org.jboss.ejb.client.EJBClient.createSessionWithPossibleRetries(EJBClient.java:222) at org.jboss.ejb.client.EJBClient.createSession(EJBClient.java:202) at org.jboss.ejb.client.naming.ejb.EjbNamingContext.doCreateProxy(EjbNamingContext.java:216) at org.jboss.ejb.client.naming.ejb.EjbNamingContext.createEjbProxy(EjbNamingContext.java:193) ... 9 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.396s [INFO] Finished at: Mon Oct 07 08:22:17 CEST 2013 [INFO] Final Memory: 7M/91M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project jboss-shopping-cart-client: An exception occured while executing the Java class. null: InvocationTargetException: Failed to create proxy: EJBCLIENT000024: No EJB receiver available for handling [appName:, moduleName:jboss-as-shoppingcart-server, distinctName:] combination -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Expected results: execution is successful Additional info: