1 Reply Latest reply on Sep 18, 2012 1:42 PM by kalidas

    security-domain problem in jboss as 7

    kalidas Newbie

      Hi,

       

      Following is the exception i am getting after deploying my war file in jboss as 7 deployments folder :

       

      "java.lang.IllegalArgumentException: Empty name segment is not allowed for security-domain??"

       

      Even i have not configured any security-domain ??

        • 1. Re: security-domain problem in jboss as 7
          kalidas Newbie

          Earlier my jboss-web.xml file in jboss 5 looks like

           

          <jboss-web>

            <security-domain flushOnSessionInvalidation="false" />

            <context-root>/</context-root>

          </jboss-web>

           

          After making following change in jboss-web.xml:

           

          <jboss-web>

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

            <context-root>/</context-root>

          </jboss-web>

           

          My application got deployed successfully on jboss-as 7.

           

          Here, other is the default security-domain in standalone mode.