Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Separate *-ds.xml in EAP 6?

    Posted on

    As it is stands in JBoss AS 7, community edition, which will feed EAP 6, datasource configuration files, *.-ds.xml, are part of the single configuration file.

     

    I am wonding what our customers think about this? Would you prefer to separate your *-ds.xml files from the single configuration file, or is it ok to keep them part of this single configuration file.

     

    Here is a example of the configuration file in EAP 5:

     


      

         


         


          ExampleDS


          jdbc:h2:mem:test;DB_CLOSE_DELAY=-1

         


          org.hsqldb.jdbcDriver

         


          sa
         
    sa


         


          0

         


          20

          0


         


         


         


          HsqlDbRealm


         


         

    32



         


         
             Hypersonic SQL
         


         


          jboss:service=Hypersonic,database=localDB
      

      


      
         name="jboss:service=Hypersonic,database=localDB">
         localDB
         true
      

       

     

    And the equivilent in AS7, in context of complete config file.

     


       
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           
           
       

       
           
               
                   
                       

                   

               

           

           
               
               
           

       

       

           
               
                   
                   

                       

                   

               

               

                   
                   

                       

                   

                   
                   
               

               
                   
               

               
                   
               

               
                   
               

               
                   
                   
                       
                       
                   

               

           

           
               
                   
                       
                            jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
                       

                       
                            h2
                       

                       

                           


                                false
                           


                           
                                false
                           

                           
                                FailingConnectionOnly
                           

                       
                       
                           
                                sa
                           

                           

                                sa
                           

                       

                       
                           
                                false
                           

                           
                                false
                           

                           
                                false
                           

                       

                   
                   
                       
                           
                                org.h2.jdbcx.JdbcDataSource
                           

                       

                   

               
           
           
               
           

            ...

      

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat