[
https://issues.jboss.org/browse/AS7-5067?page=com.atlassian.jira.plugin.s...
]
Alexey Loubyansky updated AS7-5067:
-----------------------------------
Component/s: Domain Management
(was: CLI)
It's the runtime-name issue.
This
deploy simpleejb3.ear --name=b --runtime-name=simpleejb3.ear
will work. But if the runtime-name doesn't match the filename, happens what's
described in the summary.
CLONE - CLI deploy with --name fails to deploy subdeployments
-------------------------------------------------------------
Key: AS7-5067
URL:
https://issues.jboss.org/browse/AS7-5067
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.2.Final (EAP)
Reporter: Tom Fonteyne
Assignee: Alexey Loubyansky
Priority: Minor
Attachments: simpleejb3.ear
I have an ear file with inside a jar file with an ejb.
Use the CLI to deploy with:
> deploy simpleejb3.ear
In the console log:
12:22:42,130 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876:
Starting deployment of "simpleejb3.ear"
12:22:42,174 INFO [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015876:
Starting deployment of "simpleejb3-ejb.jar"
12:22:42,293 INFO
[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC
service thread 1-5) JNDI bindings for session bean named sbean in deployment unit
subdeployment "simpleejb3-ejb.jar" of deployment "simpleejb3.ear" are
as follows:
java:global/simpleejb3/simpleejb3-ejb/sbean!tf.sbeanLocal
java:app/simpleejb3-ejb/sbean!tf.sbeanLocal
java:module/sbean!tf.sbeanLocal
java:global/simpleejb3/simpleejb3-ejb/sbean!tf.sbeanRemote
java:app/simpleejb3-ejb/sbean!tf.sbeanRemote
java:module/sbean!tf.sbeanRemote
java:jboss/exported/simpleejb3/simpleejb3-ejb/sbean!tf.sbeanRemote
and the bean will work.
Now undeploy fully (+ restarted) and deploy again with:
> deploy simpleejb3.ear --name=b
and the log :
12:23:41,300 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876:
Starting deployment of "b"
12:23:41,431 INFO [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011907: Register
module: Module "deployment.b:main" from Service Module Loader
12:23:41,598 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018559:
Deployed "b"
A test showed that the EJB was indeed not deployed/accessible.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira