6 Replies Latest reply on Mar 15, 2014 6:56 AM by jjakub

    configuration and administration issues

    jjakub

      I have several rudimentary questions about jboss 7.x/eap6.2:

       

      1) is there possibility to configure web application outside of application war,

      not in WEB-INF/jboss-web.xml in war, but somewhere in jboss, in place external to war?

      Eg. tomcat makes it possible to configure app i conf/catalina/localhost/appNameContext.xml .

       

      2)I can’t see thread pool for web.

      I can see thread pool with default 10 threads for ejb.

      Is there also possibility to configure thread pool for web?

      What is default size of thread pool for web ?

      Is there a possibility to configure a separate thread pool for deployed application ?


      3)Are there no statistics/status of ejb beans ? I can see statistics of jpa and web, but not of stateless/statefull sesson beans or message driven beans.

       

      BR

      Jakub

        • 1. Re: configuration and administration issues
          ctomc

          Moved to appropriate forum.

           

          and to answer your questions in short, so you can look up bit more about them.

           

          1) look at deployment overlays

          2) see JBoss Web - Documentation Index you are looking for executor configuration.

          3) you need to enable them, you need to add <statistics enabled="true" /> to ejb3 subsystem.

          1 of 1 people found this helpful
          • 2. Re: configuration and administration issues
            jjakub

            Great thanks,

             

            1) OK Deployment Overlays - it is tricky

            2) OK JBoss Web Configuration Reference - The Executor (thread pool)

            Profile->Subsystems->Core->Threads

             

            3) FAIL Where can I find documentation about it ?

            I can't see it here: EJB3 subsystem configuration guide

            neither here: https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.2/html-single/Administration_…

            I stopped jboss7, added  <statistics enabled="true"/> at end of  <subsystem xmlns="urn:jboss:domain:ejb3:1.4"> in standalone-full.xml, started jboss7, deployed ejb-in-ear: Deployment of an EAR Containing a JSF WAR and an EJB JAR , called Greet button over 10 times and can't see anything in admin console, I can't even see ejb3 subsystem in runtime->status->subsystems.

            Where can I find this stats about ejb ?

            Where ic documentation containing <statistics enabled="true"/> ?

             

            BR

            Jakub

            eap62.png

            • 3. Re: configuration and administration issues
              whitingjr

              Where ic documentation containing <statistics enabled="true"/> ?

              Your first port of call is to look at the XML schema for the subsystem. It shows you the structure of the configuration file and describes the elements and attributes. You were helpfully told by Tomaz it is the ejb3 subsystem. Try looking in the file

              docs/schema/jboss-as-ejb3_1_4.xsd

               

              Where can I find this stats about ejb ?

              Try using the CLI.

              /deployment=acme.ear/subdeployment=acme.jar/subsystem=ejb3/stateless-session-bean=MyBean:read-resource(recursive=true)

              • 4. Re: configuration and administration issues
                jjakub

                Jeremy, thx for hint

                in eap 6.2 run in domain mode with only one node,

                I deployed ejb-remote

                I try

                 

                [domain@localhost:9999 /] /deployment=jboss-ejb-remote-server-side.jar/subsystem=ejb3/stateless-session-bean=CalculatorBean:read-resource(recursive=true)
                Failed to get the list of the operation properties: "JBAS014883: No resource definition is registered for address [
                    ("deployment" => "jboss-ejb-remote-server-side.jar"),
                    ("subsystem" => "ejb3"),
                    ("stateless-session-bean" => "CalculatorBean")
                ]"

                 

                [domain@localhost:9999 /] /server-group=main-server-group/deployment=jboss-ejb-remote-server-side.jar/subsystem=ejb3/stateless-session-bean=CalculatorBean:read-resource(recursive=true)
                Failed to get the list of the operation properties: "JBAS014883: No resource definition is registered for address [
                    ("server-group" => "main-server-group"),
                    ("deployment" => "jboss-ejb-remote-server-side.jar"),
                    ("subsystem" => "ejb3"),
                    ("stateless-session-bean" => "CalculatorBean")
                ]"

                 

                I even get no hint for my deployment

                [domain@localhost:9999 /] /deployment=jboss-ejb-remote-server-side.jar

                :  / 

                [domain@localhost:9999 /] /deployment=jboss-ejb-remote-server-side.jar/no_hint_from_console_in_this_place

                 

                what can I be doing wrong ?

                 

                BR

                J.

                • 5. Re: configuration and administration issues
                  whitingjr

                  I even get no hint for my deployment

                   

                  try using the ls command

                  [domain@localhost:9999 /] ls /deployment=jboss-ejb-remote-server-side.jar

                  • 6. Re: configuration and administration issues
                    jjakub

                    [domain@localhost:9999 /] ls deployment=jboss-ejb-remote-server-side.jar

                    content=[{"hash" => bytes { 0x5c, 0x67, 0x76, 0xf2, 0xb5, 0xfb, 0x22, 0x58, 0x2e, 0x1b, 0xed, 0xdf, 0xc5, 0x11, 0x4d, 0x0d, 0x53, 0xbc, 0x2a, 0x87 }}] 

                    name=jboss-ejb-remote-server-side.jar                                                                                                                  

                    runtime-name=jboss-ejb-remote-server-side.jar                                                                                                          

                    [domain@localhost:9999 /]