8 Replies Latest reply on Jan 30, 2012 10:47 AM by Tom Eicher

    What is correct location for jbossesb-properties.xml?

    Its Me Newbie

      Running JBoss SOA/ESB 5.0.2.

       

      Documentation always makes reference to jbossesb-properties.xml being in ${JBOSS_HOME}/server/default/deploy/jbossesb.sar.

       

      In the out of box installation, this file does not exist in this directory.

       

      However, I do see this file in the quickstarts and it gets packaged with the application when you run an "ant deploy".

       

      So question is, should the jbossesb-properties.xml be copied to ${JBOSS_HOME}/server/default/deploy/jbossesb.sar

      ( as its referenced in the documentation ) or should it be included in the application?

       

      Thanks.

      Jon

        • 1. What is correct location for jbossesb-properties.xml?
          Its Me Newbie

          Okay .. I see copies of this file as:

           

          ${JBOSS_HOME}/server/default/deployers/esb.deployer/jbossesb-properties.xml

          ${JBOSS_HOME}/server/default//data/jbossesb-properties.xml

           

          so which copy/location of this file should I be updating?

          • 2. What is correct location for jbossesb-properties.xml?
            Tom Cunningham Master

            It depends on what you want to update.     The right place to update may be in your own ESB archive, depending on what you want to update.   

             

            If it is a global change, you would want to update the one in esb.deployer because the one in server/default/data is generated when the appserver starts up, and will be overwritten.

            • 3. What is correct location for jbossesb-properties.xml?
              Its Me Newbie

              Tom, thank you for the response.

               

              Do you know if there a way to verify that the changes have taken effect?

               

              I've updated the file included in my ESB archive and redeploy but I did not see changes in behavior,

              even if I use extreme values ( just trying to see if it makes a difference ).

               

              Thanks

              • 4. What is correct location for jbossesb-properties.xml?
                Tom Cunningham Master

                What changes did you make?

                • 5. What is correct location for jbossesb-properties.xml?
                  Its Me Newbie

                  I've made changes to these settings from the default ( setting them lower and much higher )

                   

                   

                  <property name="org.jboss.soa.esb.jms.connectionPool" value="##"/>

                  <property name="min-pool-size" value="##"/>

                  <property name="max-pool-size" value="##"/>

                  • 6. What is correct location for jbossesb-properties.xml?
                    Tom Cunningham Master

                    Try the one esb.deployer and then check that the version generated in data has changed.

                    • 7. What is correct location for jbossesb-properties.xml?
                      Its Me Newbie

                      Looks like for SOA/ESB, this needs to be included in the ESB.

                      • 8. Re: What is correct location for jbossesb-properties.xml?
                        Tom Eicher Newbie

                        Hmmyes,

                        but what is the one in data generated from !?

                         

                        When I do

                        $ ls -l `find jboss-esb -name "jbossesb-properties.xml" | grep -v samples`

                        -rw-r--r--  1 teicher  staff   7285 30 Jan xx:xx jboss-esb/server/default/data/jbossesb-properties.xml

                        -rw-r--r--  1 teicher  staff  11478  8 Nov xx:xx jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml

                        $ rm jboss-esb/server/default/data/jbossesb-properties.xml

                        $ ./jboss-esb/bin/run.sh

                        --- let it startup --- stop with CTRL-C ---

                        $ ls -l `find jboss-esb -name "jbossesb-properties.xml" | grep -v samples`

                        -rw-r--r--  1 teicher  staff   7285 30 Jan xx:xx jboss-esb/server/default/data/jbossesb-properties.xml

                        -rw-r--r--  1 teicher  staff  11478  8 Nov xx:xx jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml

                         

                        My problem is: the one in data is incomplete / has the old timeout setting:

                         

                        overmax:jboss-soa-p-standalone-5 teicher$ grep ftp.timeout `find jboss-esb -name "jbossesb-properties.xml" | grep -v samples`

                        jboss-esb/server/default/data/jbossesb-properties.xml:          <property name="org.jboss.soa.esb.ftp.timeout" value="0" />

                        jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml:                <!-- Coarse-grained ftp timeout property in milliseconds (0 = infinite). The fine-grained properties below will default to this value if not set. See FtpUtils javadoc for more info. -->

                        jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml:        <property name="org.jboss.soa.esb.ftp.timeout" value="0"/>

                        jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml:                <!-- Fine-grained ftp timeout property which sets the default timeout to use when opening a socket. Not to be confused with timeout.so which operates on the currently opened socket. -->

                        jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml:        <!-- property name="org.jboss.soa.esb.ftp.timeout.default" value="0"/ -->

                        jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml:                <!-- Fine-grained ftp timeout property which sets the timeout to use when reading from the data connection. -->

                        jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml:        <!-- property name="org.jboss.soa.esb.ftp.timeout.data" value="0"/ -->

                        jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml:                <!-- Fine-grained ftp timeout property which sets the timeout of a currently open connection.-->

                        jboss-esb/server/default/deployers/esb.deployer/jbossesb-properties.xml:        <!-- property name="org.jboss.soa.esb.ftp.timeout.so" value="0"/ -->

                         

                        Actually the one in data looks really old, before JBESB-3177, but I cannot find it or it's values in my whole workspace or anywhere else on disk.

                        So, repeat: from what is the jbossesb-properties.xml in data generated !?

                         

                        Thanks, Cheers, Tom.