11 Replies Latest reply on May 15, 2013 1:40 AM by georgesg

    jboss AS 7.1.3 Reading system property file using Expression in Deployment descriptors

    georgesg

      I am migrating the Web & EJB applications from Jboss 4.3 to Jboss 7.1.3. Final.

       

      In the web application descriptor jboss-web.xml and the ear application descriptor application.xml, we are reading the property file keys. Property file is placed under /export/home/provider/u01/app/mmtxprv_mmx11_dev/config/Config-System.properties  .  I  used the below jboss commandline to include the property file in the classpath

       

      ./standalone.sh -c standalone-full.xml -P /export/home/provider/u01/app/mmtxprv_mmx11_dev/config/Config-System.properties

       

      Attached are my application.xml and jboss-web.xml

       

       

      Problem here is that, though during deployment time , the expression is resolving and no errors, when i try to access the web application using the below url, i am not able to access.

       

      http://10.65.9.240:8080/mmtxprv/mmadmin

       

       

      Pls note that the value of ${web.root.context} = mmtxprv in the property file

       

      Hi Stephen, Detailed Server log in DEBUG Mode attached . Attachment name is "server_Detailed.zip". I also noticed the below snippets, 14:56:18,784 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /${web.root.context}/mmadmin Message was edited by: ANAND KUMAR GEORGE PREM KUMAR