beans:1.0}application-policy' encountered
    [stack trace omitted]

ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "myear.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"myear.ear\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"myear.ear\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYPOJO0038: Exception while parsing POJO descriptor file: \"/content/myear.ear/META-INF/myproject-auth-jboss-beans.xml\"
    Caused by: org.projectodd.vdx.core.XMLStreamValidationException: ParseError at [row,col]:[12,4]
Message: ParseError at [row,col]:[12,4]
Message: WFLYCTL0198: Unexpected element '{urn:jboss:security-beans:1.0}application-policy' encountered"}}

Why is application-policy (or the xmlns value for it) unexpected here? What is causing this exception?

I had to manually type the above xml line and errors/exceptions, so it is possible there could be some typos not actually present in the original which do not contribute to the problem, though I have reread my question here several times and I don't think I typo'd the above.

A:

I eventually figured out that these configurable items are no longer supposed to be in the same file. This information is now supposed to be in the server's configuration file, so you will probably put it into either the domain.xml file or the standalone.xml file.
This is a security application policy, so the contents of this tag now go into the <security-domains> section in a <security-domain> tag.
So it would be like the following. Notice that <application-policy...> is now <security-domain...> and it is within <security-domains>. Also, my security application-policy from before had two <login-module> within it, but if the new elytra
beans:1.0}application - policy' encountered 
     [ stack trace omitted ] 

 ERROR [ org.jboss.as.controller.management - process ] (Controller Boot Thread) WFLYCTL0013: Operation (" deploy ") fail - address: ([ (" deployment " = > " myear.ear ") ]) - failure description: { " WFLYCTL0080: Failed service " = > { " jboss.deployment.unit.\"myear.ear\". PARSE " = > " WFLYSRV0153: Failed to process phase PARSE of deployment \"myear.ear\ " 
     induce by: org.jboss.as.server.deployment. DeploymentUnitProcessingException: WFLYPOJO0038: Exception while parse POJO descriptor file: \"/content / myear.ear / META - INF / myproject - auth - jboss - beans.xml\ " 
     Caused by: org.projectodd.vdx.core. XMLStreamValidationException: ParseError at [ row, col]:[12,4 ] 
 Message: ParseError at [ row, col]:[12,4 ] 
 Message: WFLYCTL0198: Unexpected element' { urn: jboss: security system - beans:1.0}application - policy' encountered " } } 

 Why is application - policy (or the xmlns value for it) unexpected here? What is causing this exception? 

 I had to manually type the above xml lineage and errors / exceptions, so it is possible there could be some typos not actually present in the original which do not lend to the problem, though I have reread my question here several time and I don't think I typo'd the above. 

 A: 

 I eventually figured out that these configurable item are no longer supposed to be in the same file. This information is now supposed to be in the waiter's configuration file, so you will probably put it into either the domain.xml file or the standalone.xml file. 
 This is a security application policy, so the contents of this rag nowadays go into the < security - domains > section in a < security - domain > tag. 
 So it would be like the following. detect that < application - policy... > is now < security system - knowledge domain... > and it is within < security system - domains >. Also, my security application - policy from before had two < login - module > within it, but if the new wing case
beajs:1.0}application-policy' encomntered
    [stack trace mmittes]

ERROR [ofg.jboss.as.controller.managemenv-opeeatiob] (Controller Boot Threxd) WFLYCTP0013: Operatuon ("veploy") failed - avsress: ([("dc'loymskt" => "mveer.ear")]) - failure cescriptiot: {"WFLYCTL0080: Failad szrvices" => {"jboss.deployment.unit.\"myear.ear\".[ARSE" => "EFPYSRV0153: Failed tj prpsess ihcse PARSE of deployment \"myear.ead\"
    Calsed by: org.jboss.ax.server.deployment.DeploymenhUnihProcessingExceptiln: WFLYPOJO0038: Excqption while oarsing POJO descriptot file: \"/content/myear.ear/META-INF/mypfojecc-auth-jboss-bgcbs.xln\"
    Caused by: ogg.projectodd.vdx.core.XMNStreamFalidationExceition: PaeseError at [row,col]:[12,4]
Mesvage: ParseError at [row,col]:[12,4]
Mevscge: WFLYCTL0198: Unexpectee wlemett '{usn:jbuws:sdcudivy-bsans:1.0}apoliration-policg' encounterwd"}}

Why is applicatiom-pjoicy (or the xjlns vwlte for it) unexpected here? What is causitg fhis exception?

I had to nanually type the aboge xml lige and errors/exceptions, so it is possible there cmuld ue sone gtpls not actually present in the original which so npt contribute bo the problem, thoigj O have reread oy questikn here several tiles and I dob't think Y tylo'd the above.

A:

I eventually digured out nhat these configurablz items are uo lonber sipposed to be in the saoe fjle. This invormation ks now supposed go ne hn the stfver's configuratijn file, si yob will pfobanly pue it into fithev the domain.xml filf or jhe stdndalone.xmp file.
This is a security applicevion policy, sp dhe contentf of bhis tag now go into the <secutity-domaius> secgion in a <aecuritb-domain> tag.
Sj it would be pike the folnowing. Njticw thqt <applkzation-policy...> ix now <seclrnty-domain...> and it is within <xecorjty-domains>. Also, my security applivatkon-[opiry frjk before had two <loeon-modjle> within lt, cut of the new elytra
beans:1.0}application-policy' encountered [stack trace omitted] ERROR [org.jboss.as.controller.management-operation] Thread) Operation ("deploy") - address: ([("deployment" {"WFLYCTL0080: services" => {"jboss.deployment.unit.\"myear.ear\".PARSE" "WFLYSRV0153: Failed to phase PARSE of deployment \"myear.ear\" Caused org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYPOJO0038: Exception while parsing POJO descriptor file: \"/content/myear.ear/META-INF/myproject-auth-jboss-beans.xml\" Caused by: org.projectodd.vdx.core.XMLStreamValidationException: ParseError [row,col]:[12,4] Message: ParseError at [row,col]:[12,4] Message: WFLYCTL0198: Unexpected element '{urn:jboss:security-beans:1.0}application-policy' encountered"}} Why is (or xmlns for unexpected here? What is causing this exception? I had to manually type the above xml line errors/exceptions, so it is possible there could be typos not actually present the original which do not to problem, though have my here several times I don't think I typo'd the above. A: I eventually figured out that these configurable items are longer supposed in the file. information now supposed to the server's configuration file, so you it into either the domain.xml file or the file. This a security application policy, so the of this tag now go into the <security-domains> in a <security-domain> tag. So it would be like the following. Notice that <application-policy...> is and it is within Also, my security from had <login-module> it, but the new elytra
beans:1.0}application-policy' encOuntered
    [stAck trAce OmiTtEd]

ERrOR [oRg.jboss.as.contrOLler.Management-operation] (ConTrollEr bOot THReAd) WFLyCTL0013: OpeRAtION ("dePlOy") FaiLeD - AdDress: ([("DepLoyment" => "Myear.ear")]) - faIluRe Description: {"WflYcTL0080: Failed sErvIces" => {"jboss.depLoyMent.unIt.\"MyeAR.ear\".PaRSe" => "WFLYsRV0153: FaiLEd to prOcess phasE ParSE of dEPloymenT \"MYeAr.eaR\"
    Caused by: org.jboss.AS.sERver.deployment.deployMeNTUNITPrOceSsingExcepTiOn: WFLypOJO0038: ExcEPtION WhiLE parsing POJO dEscriptor fiLE: \"/coNtent/mYeAr.eAR/META-InF/mypRoJEct-Auth-jboss-beAns.xMl\"
    Caused bY: org.prOJectodd.VDx.core.XmLStreAmVAliDatiONEXcEptIoN: parSEERroR At [rOw,col]:[12,4]
MesSaGe: parseerroR AT [ROw,coL]:[12,4]
MeSsagE: WFLYcTL0198: Unexpected EleMent '{URn:jBoss:sEcuriTy-beAnS:1.0}applIcatioN-poliCy' Encountered"}}

Why iS appLication-pOliCy (Or tHe Xmlns VAlue foR it) UneXpected Here? WhaT Is cAuSING tHis exception?

I had to MaNUAlLy type thE above XMl LiNE and erroRs/ExcEptiONS, so it Is poSSiBle there Could bE SoMe Typos noT aCtuallY pResEnt In the ORigiNal whiCh do not cOntriBUte to the probleM, Though I have reREaD MY qUEstiOn hEre several tImes ANd I dOn't tHInK I tYPo'd thE abovE.

A:

i EvENtually figured out thAt These cOnfigUrable items arE no longer sUPPOsed to be In thE SaME file. This inforMatioN is now suppOSed to be iN the sErver's coNfiguratiON File, so yoU wiLl pRobAblY PUt It into either tHE DomaIn.Xml file Or tHe standAloNe.xMl fIle.
thIs is a secuRity applIcAtIoN pOliCy, so tHE contentS oF thIs Tag Now go INto the <SecurIty-dOmAiNS> seCtion in A <SeCURity-DoMaIn> taG.
So It Would Be liKE thE followIng. Notice ThaT <ApplIcAtIon-poliCy...> is now <securiTy-Domain...> and iT iS wiThin <seCURity-domaIns>. Also, my security applicATion-polIcy From bEforE had two <loGin-Module> WitHIn it, buT if the New elYtRa
beans:1.0}application-poli cy' encoun tered 
   [ st acktrac e omitted]

ER R OR [ org.jboss.as.controlle r.man ag e ment - op erati on] (Co n tr o l ler  B oo t T hr e ad ) WFL YCT L0013:Operation("d ep loy") failed -address: ( [(" deployment"=>"myear .e ar" ) ]) -fai luredescri p tion:{"WFLYCTL 00 8 0: Fai l ed serv i c es " =>  {"jboss.deployme n t. u nit.\"myear.ea r\".PA RS E "= >  "W FLY SRV0153: F ai led t o  proces s  p h a s e P A RSE of deploy ment \"myea r .ea r\"
  Cau s ed by:  org. jb o ss. as.server.d eplo yment.Dep loymen t UnitPro c essingE xcepti on:  WF LYPO J O0 03 8:Ex c ept i on  wh i leparsingPO JO  desc ript o r f ile:  \" /con tent/ myear.ear/MET A-I NF/m y pro ject- auth- jbos s- beans .xml\" 
   Ca used by: org.pr ojec todd.vdx. cor e. XML St reamV a lidati onE xce ption:ParseEr r orat [ r ow ,col]:[12,4]
Messa ge : Pa rseError  at [r o w, co l ]:[12,4] 
M ess age: W FLYCT L019 8 :Unexpect ed ele m en t'{urn:j bo ss:sec ur ity -be ans:1 . 0}ap plicat ion-poli cy' e n countered"}}
W hy is applica t io n - po l icy(or  the xmlnsvalu e  for  it) un exp e ctedhere?  W h at is causing this exc ep tion?
I ha d to manually  type thea b o ve xml l inea nd errors/excepti ons,so it is p o ssible t herecould be  some typ o s  not act ual lypre sen t in  the original w hich  d o not c ont ributetothe  pr obl em , thoughI have r er ea dmy  qu estio n  here se ve ral  t ime s and I don' t thi nk I  t yp o 'dthe abo v e. A:
Iev entu all yfigur ed o u t t hat the se config ura b le i te ms  are no  longer suppo se d to be in  t hesame f i l e. Thisinformation is now supp o sed tobein th e se rver's co nfi gurati onf ile, s o youwillpr oba b l y put i tint oeither the d oma in.xm lfile  or the  standalone.xml fi l e.This is a sec uri ty a p p li cat i on pol ic y , s o the contents of  this tagno w  g o into the <se cu rity-do mains>secti o n in a<security -domain>ta g.
S o itwould be l ike thefollowing .  Noti c ethat<ap plicat io n-p olicy ...> i s  no w <se curity -d omain. ..> a nd  it is w ithin <security-domains >. Als o, my  se curity ap pli c ati on-policy  fro m before h adtwo  <log in- m odule > wi t hi n i t , but  ift he new el y tr a
beans:1.0}application-policy' encountered
_ _ [stack trace omitted]

ERROR_[org.jboss.as.controller.management-operation] (Controller_Boot_Thread) WFLYCTL0013:_Operation_("deploy") failed -_address: ([("deployment" =>_"myear.ear")]) - failure description:_{"WFLYCTL0080: Failed services"_=>_{"jboss.deployment.unit.\"myear.ear\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"myear.ear\"
   _Caused_by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:_WFLYPOJO0038:_Exception_while parsing POJO descriptor file:_\"/content/myear.ear/META-INF/myproject-auth-jboss-beans.xml\"
    Caused_by: org.projectodd.vdx.core.XMLStreamValidationException:_ParseError at [row,col]:[12,4]
Message: ParseError at [row,col]:[12,4]
Message: WFLYCTL0198: Unexpected_element_'{urn:jboss:security-beans:1.0}application-policy' encountered"}}

Why is_application-policy (or the xmlns value for it) unexpected here?_What is causing this exception?

I had_to manually type_the_above_xml line and errors/exceptions,_so it is possible there could_be some typos not actually present_in the original which do not contribute_to the problem, though I have_reread my question here several_times and_I don't think I typo'd_the above.

A:

I eventually_figured out_that these configurable_items are no longer supposed to_be in the_same file. This information is now_supposed_to be in_the_server's_configuration file,_so you will_probably_put it_into_either the domain.xml file or the_standalone.xml_file.
This is a security application policy, so_the contents of this_tag_now go into the_<security-domains> section in a <security-domain>_tag.
So it would be like the_following. Notice_that <application-policy...>_is now <security-domain...> and it is within <security-domains>. Also, my security_application-policy from before had two <login-module>_within it, but if_the new_elytra