[jboss-jira] [JBoss JIRA] (WFLY-7045) domain-elytron.xml, missing singelton subsystem, different ejb cache type

Darran Lofthouse (JIRA) issues at jboss.org
Mon Sep 5 10:09:00 EDT 2016


    [ https://issues.jboss.org/browse/WFLY-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288719#comment-13288719 ] 

Darran Lofthouse commented on WFLY-7045:
----------------------------------------

>From what I can see the latter appears to be a bug in feature pack assembly.

The EJB3 Subsystem is defined as: -

{code:xml}
      <subsystem supplement="ha-elytron">ejb3.xml</subsystem>
{code}

In the subsystem this is defined as: -

{code:xml}
   <supplement name="ha-elytron" includes="ha elytron"/>
{code}

These in turn are defined as : -

{code:xml}
   <supplement name="ha">
      <replacement placeholder="STATEFUL-BEAN">
         <stateful default-access-timeout="5000" cache-ref="distributable" passivation-disabled-cache-ref="simple"/>
      </replacement>
   </supplement>
   <supplement name="elytron" includes="default">
      <replacement placeholder="ELYTRON">
         <application-security-domains>
             <application-security-domain name="other" security-domain="ApplicationDomain"/>
         </application-security-domains>
       </replacement>
   </supplement>
{code}

But default is defines as: -

{code:xml}
   <supplement name="default">
      <replacement placeholder="STATEFUL-BEAN">
         <stateful default-access-timeout="5000" cache-ref="simple" passivation-disabled-cache-ref="simple"/>
      </replacement>
   </supplement>
{code}

So somehow the replacement defined in default is used instead of the one defined in ha.

> domain-elytron.xml, missing singelton subsystem, different ejb cache type
> -------------------------------------------------------------------------
>
>                 Key: WFLY-7045
>                 URL: https://issues.jboss.org/browse/WFLY-7045
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 11.0.0.Alpha1
>            Reporter: Martin Choma
>            Assignee: Darran Lofthouse
>             Fix For: 11.0.0.Alpha1
>
>
> When I compare domain-elytron.xml to domain.xml, 
> 1) There is missing org.wildfly.extension.clustering.singleton extension installed.
> 2) There is changed ejb cache configuration
> 1254c1129
> <                     <stateful default-access-timeout="5000" cache-ref="simple" passivation-disabled-cache-ref="simple"/>
> ---
> >                     <stateful default-access-timeout="5000" cache-ref="distributable" passivation-disabled-cache-ref="simple"/>



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list