0 Replies Latest reply on Mar 22, 2017 11:54 PM by Deependra Singh

    IllegalArgumentException: Empty name segment is not allowed for security-domain

    Deependra Singh Newbie

      I am trying to use JBOSS as application server for my application. Error message while deploying the EAR


      23:28:27,461 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.subunit."smcfs.ear"."sma.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."smcfs.ear"."sma.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of subdeployment "sma.war" of deployment "smcfs.ear"


      Caused by: java.lang.IllegalArgumentException: Empty name segment is not allowed for security-domain

              at org.jboss.msc.service.ServiceName.of(ServiceName.java:90)

              at org.jboss.msc.service.ServiceName.append(ServiceName.java:117)


      Solution Tried - Based on Google search


      Update jboss-web.xml file - Both of the below options done work



        <security-domain flushOnSessionInvalidation="false" />







        <security-domain flushOnSessionInvalidation="false">other</security-domain>




      What else can I try?