Edit D:\app\Administrator\product\11.2.0\dbhome_1\owb\jrt\applications\META-INF\ejb-jar.xml
<?xml version="1.0"?> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"> <ejb-jar> <description></description> <enterprise-beans> <session> <display-name>EJB remote MbeanServer</display-name> <ejb-name>MBeanServerEjb</ejb-name> <home>oracle.oc4j.admin.jmx.ejb.MBeanServerEjbHome</home> <remote>oracle.oc4j.admin.jmx.ejb.MBeanServerEjbRemote</remote> <ejb-class>oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean</ejb-class> <session-type>Stateful</session-type> <transaction-type>Container</transaction-type> </session> <session> <display-name>Application Level EJB remote MbeanServer</display-name> <ejb-name>MBeanServerUserEjb</ejb-name> <home>oracle.oc4j.admin.jmx.ejb.MBeanServerEjbHome</home> <remote>oracle.oc4j.admin.jmx.ejb.MBeanServerEjbRemote</remote> <ejb-class>oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean</ejb-class> <session-type>Stateful</session-type> <transaction-type>Container</transaction-type> </session> <!-- Commented out this part of the configuration to remove the resource adapter as well as data-source dependency in admin_ejb. Please do not uncomment this code without talking to runtime/infrastructure group manager. <message-driven> <display-name>JMSOc4jDomainMDB</display-name> <ejb-name>JMSOc4jDomainMDB</ejb-name> <ejb-class>oracle.oc4j.admin.jmx.mdb.JMSOc4jDomainMDB</ejb-class> <messaging-type>javax.jms.MessageListener</messaging-type> <transaction-type>Container</transaction-type> <activation-config> <activation-config-property> <activation-config-property-name> DestinationType </activation-config-property-name> <activation-config-property-value> javax.jms.Queue </activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name> DestinationName </activation-config-property-name> <activation-config-property-value> jms/oc4jDomain </activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name> MessageSelector </activation-config-property-name> <activation-config-property-value> OC4JID='-1' </activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name> ConnectionFactoryJndiName </activation-config-property-name> <activation-config-property-value> jms/XAQueueConnectionFactory </activation-config-property-value> </activation-config-property> </activation-config> <resource-ref> <description>Queue Connection Factory</description> <res-ref-name>jms/XAQueueConnectionFactory</res-ref-name> <res-type>javax.jms.XAQueueConnectionFactory</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> <resource-env-ref> <resource-env-ref-name>jms/oc4jDomain</resource-env-ref-name> <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type> </resource-env-ref> </message-driven> --> </enterprise-beans> <assembly-descriptor> <security-role> <description>jmx administrator</description> <role-name>jmxAdministrator</role-name> </security-role> <security-role> <description>jmx application level users</description> <role-name>jmxusers</role-name> </security-role> <method-permission> <role-name>jmxAdministrator</role-name> <method> <ejb-name>MBeanServerEjb</ejb-name> <method-name>*</method-name> </method> </method-permission> <method-permission> <role-name>jmxusers</role-name> <method> <ejb-name>MBeanServerUserEjb</ejb-name> <method-name>*</method-name> </method> </method-permission> <!-- <container-transaction> <method> <ejb-name>JMSiASDomainMDB</ejb-name> <method-name>onMessage</method-name> <method-params> <method-param>javax.jms.Message</method-param> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> <container-transaction> <method> <ejb-name>JMSOc4jDomainMDB</ejb-name> <method-name>onMessage</method-name> <method-params> <method-param>javax.jms.Message</method-param> </method-params> </method> <trans-attribute>Required</trans-attribute> </container-transaction> --> </assembly-descriptor> </ejb-jar>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de