Bug 1028895 - Cannot mvn exec:exec on ejb-security-interceptors
Summary: Cannot mvn exec:exec on ejb-security-interceptors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Quickstarts
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: EAP 6.2.0
Assignee: sgilda
QA Contact: Jitka Kozana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-11 07:21 UTC by Jitka Kozana
Modified: 2017-10-10 00:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:13:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jitka Kozana 2013-11-11 07:21:46 UTC
EAP 6.2.0.ER7. 

The command mvn exec:exec in quickstart ejb-security-interceptors fails with the following exception:

Exception in thread "main" java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:, moduleName:jboss-as-ejb-security-interceptors, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@12ad972d
	at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:729)
	at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:116)
	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:183)
	at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:253)
	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:198)
	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181)
	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:144)
	at $Proxy0.getSecurityInformation(Unknown Source)
	at org.jboss.as.quickstarts.ejb_security_interceptors.RemoteClient.makeCalls(RemoteClient.java:135)
	at org.jboss.as.quickstarts.ejb_security_interceptors.RemoteClient.performTestingSecurityContext(RemoteClient.java:62)
	at org.jboss.as.quickstarts.ejb_security_interceptors.RemoteClient.main(RemoteClient.java:170)

This is caused by the jar name change (from "jboss-as-ejb-security-interceptors" to "jboss-ejb-security-interceptors"), however the EJB calls in the sources still use the old name. 

The very same issue was also seen in the quickstart cluster-ha-singleton: https://bugzilla.redhat.com/show_bug.cgi?id=1028517.

Comment 2 Jitka Kozana 2013-11-14 13:57:12 UTC
Verified using EAP 6.2.0.CR1 bits.


Note You need to log in before you can comment on or make changes to this bug.