[jboss-jira] [JBoss JIRA] (WFLY-696) Log message too cryptic when deployment references a non-existent configuration in profile config
Rafael Vanderlei de Souza (JIRA)
jira-events at lists.jboss.org
Mon Aug 19 09:01:27 EDT 2013
[ https://issues.jboss.org/browse/WFLY-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797599#comment-12797599 ]
Rafael Vanderlei de Souza commented on WFLY-696:
------------------------------------------------
I have the same issue running on EAP 6.0.0 and it would be really nice if a more readable message was displayed for this error.
> Log message too cryptic when deployment references a non-existent configuration in profile config
> -------------------------------------------------------------------------------------------------
>
> Key: WFLY-696
> URL: https://issues.jboss.org/browse/WFLY-696
> Project: WildFly
> Issue Type: Enhancement
> Components: Server
> Reporter: Brad Maxwell
> Assignee: Brad Maxwell
> Fix For: Awaiting Volunteers
>
> Attachments: helloWorld.ear, helloWorld.ear-source.zip
>
>
> When a jboss-ejb-client.xml inside of a deployment that references an outbound-socket that does not exist in the standalone.xml, it logs a cryptic message and does not explain where the issue is. Note when a deployment contains more sub deployements, the log message is much larger and the issue if you know what to look for is hidden in the middle.
> 15:41:01,189 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.ejb3.dd-based-ejb-client-context.\"helloWorld.ear\" Missing[jboss.remoting.endpoint.subsystem.outbound-connection.part101node01-connection]","jboss.deployment.subunit.\"helloWorld.ear\".\"helloWorld.war\".INSTALL Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"helloWorld.ear\".INSTALL Missing[JBAS014861: <one or more transitive dependencies>]"]}}}
> The error message should be translated to say something to the extent of
> "Your deployment helloWorld.ear contains a jboss-ejb-client.xml which references an outbound-socket named part101node01 which is not defined in your JBoss profile's remoting subsystem configuration"
> jboss.ejb3.dd-based-ejb-client-context.\"helloWorld.ear - this shows that helloWorld.ear is the deployment, jboss.ejb3.dd-based-ejb-client-context seems to the jboss-ejb-client.xml
> jboss.remoting.endpoint.subsystem.outbound-connection.part101node01-connection - this shows that the subsystem that is missing the outbound-configuration is the remoting subsystem and that the reference name missing is part101node01
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list