7 Replies Latest reply on Feb 5, 2004 8:37 AM by Adrian Brock

    xml posting test

    jae Master

       

      <?xml version="1.0" encoding="UTF-8"?>
      
      
       <local-tx-datasource>
       <jndi-name>NukesDS1</jndi-name>
       <connection-url>jdbc:mysql://localhost:3306/nukes1</connection-url>
       <driver-class>org.gjt.mm.mysql.Driver</driver-class>
       <user-name>nukes1</user-name>
       nukes
       </local-tx-datasource>
      


        • 1. Re: Delays observed servicing connection requests from pool
          Adrian Brock Master

          What has this got todo with JCA?

          • 2. Re: xml posting test
            Juha Lindfors Master

            <?xml version="1.0"?>
            <!DOCTYPE web-app PUBLIC
            "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
            "http://java.sun.com/dtd/web-app_2_3.dtd">

            <web-app>
            The standard web descriptor for the html adaptor

            <servlet-name>HtmlAdaptor</servlet-name>
            <servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>


            <servlet-name>ClusteredConsoleServlet</servlet-name>
            <servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
            <init-param>
            <param-name>jgProps</param-name>
            <param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=228.1.2.3;mcast_port=45566):
            org.jboss.jmx.adaptor.control.FindView
            </param-value>
            The JGroups protocol stack config
            </init-param>


            <servlet-name>DisplayMBeans</servlet-name>
            <jsp-file>/displayMBeans.jsp</jsp-file>


            <servlet-name>InspectMBean</servlet-name>
            <jsp-file>/inspectMBean.jsp</jsp-file>


            <servlet-name>DisplayOpResult</servlet-name>
            <jsp-file>/displayOpResult.jsp</jsp-file>


            <servlet-name>ClusterView</servlet-name>
            <jsp-file>/cluster/clusterView.jsp</jsp-file>


            <servlet-mapping>
            <servlet-name>HtmlAdaptor</servlet-name>
            <url-pattern>/HtmlAdaptor</url-pattern>
            </servlet-mapping>
            <servlet-mapping>
            <servlet-name>ClusteredConsoleServlet</servlet-name>
            <url-pattern>/cluster/ClusteredConsole</url-pattern>
            </servlet-mapping>
            <servlet-mapping>
            <servlet-name>DisplayMBeans</servlet-name>
            <url-pattern>/DisplayMBeans</url-pattern>
            </servlet-mapping>
            <servlet-mapping>
            <servlet-name>InspectMBean</servlet-name>
            <url-pattern>/InspectMBean</url-pattern>
            </servlet-mapping>
            <servlet-mapping>
            <servlet-name>DisplayOpResult</servlet-name>
            <url-pattern>/DisplayOpResult</url-pattern>
            </servlet-mapping>

            <!-- A security constraint that restricts access to the HTML JMX console
            to users with the role JBossAdmin. Edit the roles to what you want and
            uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
            secured access to the HTML JMX console.
            <security-constraint>
            <web-resource-collection>
            <web-resource-name>HtmlAdaptor</web-resource-name>
            An example security config that only allows users with the
            role JBossAdmin to access the HTML JMX console web application

            <url-pattern>/*</url-pattern>
            <http-method>GET</http-method>
            <http-method>POST</http-method>
            </web-resource-collection>
            <auth-constraint>
            <role-name>JBossAdmin</role-name>
            </auth-constraint>
            </security-constraint>
            -->

            <login-config>
            <auth-method>BASIC</auth-method>
            <realm-name>JBoss JMX Console</realm-name>
            </login-config>

            <security-role>
            <role-name>JBossAdmin</role-name>
            </security-role>
            </web-app>

            • 3. Re: xml posting test
              Juha Lindfors Master


              <?xml version="1.0"?>
              <!DOCTYPE web-app PUBLIC
              "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
              "http://java.sun.com/dtd/web-app_2_3.dtd">

              <web-app>
              The standard web descriptor for the html adaptor

              <servlet-name>HtmlAdaptor</servlet-name>
              <servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>


              <servlet-name>ClusteredConsoleServlet</servlet-name>
              <servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
              <init-param>
              <param-name>jgProps</param-name>
              <param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=228.1.2.3;mcast_port=45566):
              org.jboss.jmx.adaptor.control.FindView
              </param-value>
              The JGroups protocol stack config
              </init-param>


              <servlet-name>DisplayMBeans</servlet-name>
              <jsp-file>/displayMBeans.jsp</jsp-file>


              <servlet-name>InspectMBean</servlet-name>
              <jsp-file>/inspectMBean.jsp</jsp-file>


              <servlet-name>DisplayOpResult</servlet-name>
              <jsp-file>/displayOpResult.jsp</jsp-file>


              <servlet-name>ClusterView</servlet-name>
              <jsp-file>/cluster/clusterView.jsp</jsp-file>


              <servlet-mapping>
              <servlet-name>HtmlAdaptor</servlet-name>
              <url-pattern>/HtmlAdaptor</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusteredConsoleServlet</servlet-name>
              <url-pattern>/cluster/ClusteredConsole</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>DisplayMBeans</servlet-name>
              <url-pattern>/DisplayMBeans</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>InspectMBean</servlet-name>
              <url-pattern>/InspectMBean</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>DisplayOpResult</servlet-name>
              <url-pattern>/DisplayOpResult</url-pattern>
              </servlet-mapping>

              <!-- A security constraint that restricts access to the HTML JMX console
              to users with the role JBossAdmin. Edit the roles to what you want and
              uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
              secured access to the HTML JMX console.
              <security-constraint>
              <web-resource-collection>
              <web-resource-name>HtmlAdaptor</web-resource-name>
              An example security config that only allows users with the
              role JBossAdmin to access the HTML JMX console web application

              <url-pattern>/*</url-pattern>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
              <role-name>JBossAdmin</role-name>
              </auth-constraint>
              </security-constraint>
              -->

              <login-config>
              <auth-method>BASIC</auth-method>
              <realm-name>JBoss JMX Console</realm-name>
              </login-config>

              <security-role>
              <role-name>JBossAdmin</role-name>
              </security-role>
              </web-app>

              • 4. Re: xml posting test
                Juha Lindfors Master


                <?xml version="1.0"?>
                <!DOCTYPE web-app PUBLIC
                "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
                "http://java.sun.com/dtd/web-app_2_3.dtd">

                <web-app>
                The standard web descriptor for the html adaptor

                <servlet-name>HtmlAdaptor</servlet-name>
                <servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>


                <servlet-name>ClusteredConsoleServlet</servlet-name>
                <servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
                <init-param>
                <param-name>jgProps</param-name>
                <param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=228.1.2.3;mcast_port=45566):
                org.jboss.jmx.adaptor.control.FindView
                </param-value>
                The JGroups protocol stack config
                </init-param>


                <servlet-name>DisplayMBeans</servlet-name>
                <jsp-file>/displayMBeans.jsp</jsp-file>


                <servlet-name>InspectMBean</servlet-name>
                <jsp-file>/inspectMBean.jsp</jsp-file>


                <servlet-name>DisplayOpResult</servlet-name>
                <jsp-file>/displayOpResult.jsp</jsp-file>


                <servlet-name>ClusterView</servlet-name>
                <jsp-file>/cluster/clusterView.jsp</jsp-file>


                <servlet-mapping>
                <servlet-name>HtmlAdaptor</servlet-name>
                <url-pattern>/HtmlAdaptor</url-pattern>
                </servlet-mapping>
                <servlet-mapping>
                <servlet-name>ClusteredConsoleServlet</servlet-name>
                <url-pattern>/cluster/ClusteredConsole</url-pattern>
                </servlet-mapping>
                <servlet-mapping>
                <servlet-name>DisplayMBeans</servlet-name>
                <url-pattern>/DisplayMBeans</url-pattern>
                </servlet-mapping>
                <servlet-mapping>
                <servlet-name>InspectMBean</servlet-name>
                <url-pattern>/InspectMBean</url-pattern>
                </servlet-mapping>
                <servlet-mapping>
                <servlet-name>DisplayOpResult</servlet-name>
                <url-pattern>/DisplayOpResult</url-pattern>
                </servlet-mapping>

                <!-- A security constraint that restricts access to the HTML JMX console
                to users with the role JBossAdmin. Edit the roles to what you want and
                uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
                secured access to the HTML JMX console.
                <security-constraint>
                <web-resource-collection>
                <web-resource-name>HtmlAdaptor</web-resource-name>
                An example security config that only allows users with the
                role JBossAdmin to access the HTML JMX console web application

                <url-pattern>/*</url-pattern>
                <http-method>GET</http-method>
                <http-method>POST</http-method>
                </web-resource-collection>
                <auth-constraint>
                <role-name>JBossAdmin</role-name>
                </auth-constraint>
                </security-constraint>
                -->

                <login-config>
                <auth-method>BASIC</auth-method>
                <realm-name>JBoss JMX Console</realm-name>
                </login-config>

                <security-role>
                <role-name>JBossAdmin</role-name>
                </security-role>
                </web-app>

                • 5. Re: xml posting test
                  Juha Lindfors Master

                   

                  <?xml version="1.0"?>
                  <!DOCTYPE web-app PUBLIC
                   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
                   "http://java.sun.com/dtd/web-app_2_3.dtd">
                  
                  <web-app>
                   <description>The standard web descriptor for the html adaptor</description>
                   <servlet>
                   <servlet-name>HtmlAdaptor</servlet-name>
                   <servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>
                   </servlet>
                   <servlet>
                   <servlet-name>ClusteredConsoleServlet</servlet-name>
                   <servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
                   <init-param>
                   <param-name>jgProps</param-name>
                   <param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=228.1.2.3;mcast_port=45566):
                  org.jboss.jmx.adaptor.control.FindView
                   </param-value>
                   <description>The JGroups protocol stack config</description>
                   </init-param>
                   </servlet>
                   <servlet>
                   <servlet-name>DisplayMBeans</servlet-name>
                   <jsp-file>/displayMBeans.jsp</jsp-file>
                   </servlet>
                   <servlet>
                   <servlet-name>InspectMBean</servlet-name>
                   <jsp-file>/inspectMBean.jsp</jsp-file>
                   </servlet>
                   <servlet>
                   <servlet-name>DisplayOpResult</servlet-name>
                   <jsp-file>/displayOpResult.jsp</jsp-file>
                   </servlet>
                   <servlet>
                   <servlet-name>ClusterView</servlet-name>
                   <jsp-file>/cluster/clusterView.jsp</jsp-file>
                   </servlet>
                  
                   <servlet-mapping>
                   <servlet-name>HtmlAdaptor</servlet-name>
                   <url-pattern>/HtmlAdaptor</url-pattern>
                   </servlet-mapping>
                   <servlet-mapping>
                   <servlet-name>ClusteredConsoleServlet</servlet-name>
                   <url-pattern>/cluster/ClusteredConsole</url-pattern>
                   </servlet-mapping>
                   <servlet-mapping>
                   <servlet-name>DisplayMBeans</servlet-name>
                   <url-pattern>/DisplayMBeans</url-pattern>
                   </servlet-mapping>
                   <servlet-mapping>
                   <servlet-name>InspectMBean</servlet-name>
                   <url-pattern>/InspectMBean</url-pattern>
                   </servlet-mapping>
                   <servlet-mapping>
                   <servlet-name>DisplayOpResult</servlet-name>
                   <url-pattern>/DisplayOpResult</url-pattern>
                   </servlet-mapping>
                  
                   <!-- A security constraint that restricts access to the HTML JMX console
                   to users with the role JBossAdmin. Edit the roles to what you want and
                   uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
                   secured access to the HTML JMX console.
                   <security-constraint>
                   <web-resource-collection>
                   <web-resource-name>HtmlAdaptor</web-resource-name>
                   <description>An example security config that only allows users with the
                   role JBossAdmin to access the HTML JMX console web application
                   </description>
                   <url-pattern>/*</url-pattern>
                   <http-method>GET</http-method>
                   <http-method>POST</http-method>
                   </web-resource-collection>
                   <auth-constraint>
                   <role-name>JBossAdmin</role-name>
                   </auth-constraint>
                   </security-constraint>
                   -->
                  
                   <login-config>
                   <auth-method>BASIC</auth-method>
                   <realm-name>JBoss JMX Console</realm-name>
                   </login-config>
                  
                   <security-role>
                   <role-name>JBossAdmin</role-name>
                   </security-role>
                  </web-app>
                  



                  • 6. Re: xml posting test
                    Juha Lindfors Master

                    No work.

                    • 7. Re: xml posting test
                      Adrian Brock Master

                      test