2 Replies Latest reply on May 27, 2014 6:42 AM by Saravanesh S

    JBOSS EAP 6.1 start up issues

    Saravanesh S Newbie

      I am using JBOSS EAP 6.1 Runtime Server for my application deployment. I added a system property called spring.profiles.active as environment variable. Whenever i add this and try deploying my application, my server hangs up in this point,

      ServerService Thread Pool -- 58  SpringApplicationContext entered setApplicationContext(): Spring app context: Root WebApplicationContext: startup date [Tue May 27 12:34:09 IST 2014]; root of context hierarchy

       

       

       

      and is not proceeding beyond this. If i remove this the server startup is fine.

      Please help me out in resolving this

        • 1. Re: JBOSS EAP 6.1 start up issues
          Tomaz Cerar Master

          This looks like spring issue, and you don't give us much to go on by.

          • 2. Re: JBOSS EAP 6.1 start up issues
            Saravanesh S Newbie

            I have 3 web projects in my application, and i have application context xml's in each of these, in which i have entries to choose my properties file based on the above said environment variable configured in the server. when i deploy my application without this System property spring.profiles.active, the server starts up fine with no lags/ hangs. But when i configure the above said seystem property in my Server it gets stucked up, and the last line getting printed in my console is

            ServerService Thread Pool -- 58  SpringApplicationContext entered setApplicationContext(): Spring app context: Root WebApplicationContext: startup date [Tue May 27 12:34:09 IST 2014]; root of context hierarchy

             

            Let me know if you need any other info.