[jboss-jira] [JBoss JIRA] (AS7-4709) Duplicate keys in model -- Host controller complains
Stefan Negrea (JIRA)
jira-events at lists.jboss.org
Fri May 18 13:53:17 EDT 2012
[ https://issues.jboss.org/browse/AS7-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694084#comment-12694084 ]
Stefan Negrea edited comment on AS7-4709 at 5/18/12 1:53 PM:
-------------------------------------------------------------
Tomaz,
Here is a simple test case:
1) Start the EAP6 ER6/ER7 in domain mode.
2) Using the CLI, note the following errors:
[domain at localhost:9999 /] cd host=master/server=server-one/subsystem=mail/mail-session=java\:jboss\/mail\/Default/server=smtp
[domain at localhost:9999 server=smtp] pwd
/host=master/server=server-one/subsystem=mail/mail-session=java:jboss/mail/Default/server=smtp
[domain at localhost:9999 server=smtp] :read-resource()
{
"outcome" => "failed",
*"failure-description" => "org.jboss.as.controller.OperationFailedRuntimeException:JBAS014662: Duplicate path element 'server' found"*
}
[domain at localhost:9999 server=smtp]
[domain at localhost:9999 server=smtp] :read-resource-description()
{
"outcome" => "failed",
*"failure-description" => "org.jboss.as.controller.OperationFailedRuntimeException:JBAS014662: Duplicate path element 'server' found"*
}
was (Author: nstefan):
Tomaz,
Here is a simple test case:
1) Start the EAP6 ER8 in domain mode.
2) Using the CLI, note the following errors:
[domain at localhost:9999 /] cd host=master/server=server-one/subsystem=mail/mail-session=java\:jboss\/mail\/Default/server=smtp
[domain at localhost:9999 server=smtp] pwd
/host=master/server=server-one/subsystem=mail/mail-session=java:jboss/mail/Default/server=smtp
[domain at localhost:9999 server=smtp] :read-resource()
{
"outcome" => "failed",
*"failure-description" => "org.jboss.as.controller.OperationFailedRuntimeException:JBAS014662: Duplicate path element 'server' found"*
}
[domain at localhost:9999 server=smtp]
[domain at localhost:9999 server=smtp] :read-resource-description()
{
"outcome" => "failed",
*"failure-description" => "org.jboss.as.controller.OperationFailedRuntimeException:JBAS014662: Duplicate path element 'server' found"*
}
> Duplicate keys in model -- Host controller complains
> ----------------------------------------------------
>
> Key: AS7-4709
> URL: https://issues.jboss.org/browse/AS7-4709
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.1.1.Final
> Reporter: Heiko Rupp
> Assignee: Kabir Khan
> Priority: Critical
> Labels: rhq
> Fix For: 7.1.2.Final (EAP)
>
>
> Host controller complains sometimes
> [Host Controller] 14:38:03,748 ERROR [org.jboss.as.domain.http.api] (HttpManagementService-threads - 2) JBAS015100: Unexpected error executing model request: org.jboss.as.controller.OperationFailedRuntimeException: JBAS014662: Duplicate path element 'server' found [ "JBAS014662: Duplicate path element 'server' found" ]
> Enabling check for dups in RHQ shows that one culprit is the runtime info on mail
> [domain at localhost:9999 mail-session=java:jboss/mail/Default] :read-children-types
> {
> "outcome" => "success",
> "result" => ["server"]
> }
> [domain at localhost:9999 mail-session=java:jboss/mail/Default] pwd
> /host=master/server=server-one/subsystem=mail/mail-session=java:jboss/mail/Default
> [10:51:50] <pilhuhn> [domain at localhost:9999 mail-session=java:jboss/mail/Default] pwd
> [10:52:23] <pilhuhn> here the child-type from a mail-session is named "server", which collides with the /host=x/server=y key
--
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
More information about the jboss-jira
mailing list