3 Replies Latest reply on Jul 28, 2008 9:04 AM by jaikiran

    confusion on jboss directory structure

      I'm trying to port an application that uses JBoss4.01 to my machine from my boss's machine using the the directories my boss gave me for the IntelliJ project and the Jboss installation that goes with it. While trying to run it I found a a JMS problem that looks like it is related to SQL. It is described here http://wiki.jboss.org/wiki/IGetXAConnectionFactoryNotBoundHowDoIFixIt

      The problem is when I search for "jdbc-service-state". I find different files under 2 different directories.

      [jboss home]\server\default\deploy\jms - mysql
      [jboss home]\server\all\deploy-hasingleton\jms -hdbsql

      Which should I be concerned with? I know that mysql is the db we are using for our application.

      There is similar confusion when I look for the conf\log4j file as suggested in the JMS forum faq. There are three versions:

      [jboss home]\server\default
      [jboss home]\server\all
      [jboss home]\server\minimal

      My OS is Win XP

      Can somebody give me a clue as to which conf\log4j and jdbc-service-state file I should be looking at?

      Help would be greatly appreciated.





        • 1. Re: confusion on jboss directory structure
          peterj

          The directories under server (server/all, server/default, server/minimal) represent three different configurations of JBossAS. You probably are using only one of those. The one you are using is specified on the command line. For example, if your start JBossAS using:

          run -c all

          then you are using the "all" configuration (directory server/all). If you do not provide any configuration option:

          run

          then you are using the "default" configuration.

          When changing any files, such as log4j.xml, you need only change the one that is in the configuration(s) you are using.

          • 2. Re: confusion on jboss directory structure
            am2605

            If you want to create a new configuration, based on default, is it best to simply copy the default or is there some kind of tool to create a new config?

            Many thanks,
            Andrew.

            • 3. Re: confusion on jboss directory structure
              jaikiran

              There was the JEMS installer which was meant to allow the user create a configuration of his choice. But based on what i have seen in these forums, the JEMS installer has bugs and its recommended that you use the "copy" approach to create a new config.