1 Reply Latest reply on Dec 5, 2006 4:45 PM by mazz

    tomcat server.xml not supporting custom default prop values

    mazz

      I did a search on this and couldn't find anything on it.

      In jboss-service.xml, you can define values via properties like this:

      ${my.prop:123}

      where the value will be 123 iff my.prop property is not explictly set.

      However, this syntax does not seem to work on JBossAS 4.0.5 within the jbossweb-tomcat55.sar's server.xml.

      If I use ${my.prop} in server.xml, it works fine. But if I define a default value like ${my.prop:123}, it doesn't work - the value becomes literally ${my.prop).

      Wondering if its just me or if its a known issue.

        • 1. Re: tomcat server.xml not supporting custom default prop val
          mazz

          wth? don't know what happened to that post. resubmitting

          I did a search on this and couldn't find anything on it.

          In jboss-service.xml, you can define values via properties like this:

          ${my.prop:123}

          where the value will be 123 iff my.prop property is not explictly set.

          However, this syntax does not seem to work on JBossAS 4.0.5 within the jbossweb-tomcat55.sar's server.xml.

          If I use ${my.prop} in server.xml, it works fine. But if I define a default value like ${my.prop:123}, it doesn't work - the value becomes literally ${my.prop}.

          Wondering if its just me or if its a known issue.