The queue configuration is as follows: (I've got this in the deploy directory as a file called pulse-queues-service.xml as per the doco)
| | <?xml version="1.0" encoding="UTF-8"?> | <server> | <loader-repository>jboss.messaging:loader=ScopedLoaderRepository | <loader-repository-config>java2ParentDelegation=false</loader-repository-config> | </loader-repository> | <mbean code="org.jboss.jms.server.destination.Queue" | name="jboss.messaging.destination:service=Queue,name=pulseMailQueue" | xmbean-dd="xmdesc/Queue-xmbean.xml"> | <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> | <attribute name="SecurityConfig"> | <security> | <role name="Customer" read="true" write="true" create="true"/> | <role name="Supplier" read="true" write="true" create="true"/> | <role name="PulseAdmin" read="true" write="false" create="true"/> | </security> | </attribute> | <attribute name="FullSize">75000</attribute> | <attribute name="PageSize">2000</attribute> | <attribute name="DownCacheSize">2000</attribute> | </mbean> | </server> | The service deployment directory: | <?xml version="1.0" encoding="UTF-8"?> | | <!-- | The JBoss Messaging service deployment descriptor. | | $Id: messaging-service.xml,v 1.1 2006/05/02 02:45:10 ovidiu Exp $ | --> | | <server> | | <mbean code="org.jboss.jms.server.ServerPeer" | name="jboss.messaging:service=ServerPeer" | xmbean-dd="xmdesc/ServerPeer-xmbean.xml"> | | <constructor> | <!-- ServerPeerID --> | <arg type="java.lang.String" value="server.0" /> | <!-- DefaultQueueJNDIContext --> | <arg type="java.lang.String" value="/queue" /> | <!-- DefaultTopicJNDIContext --> | <arg type="java.lang.String" value="/topic" /> | </constructor> | | <depends optional-attribute-name="ThreadPool">jboss.messaging:service=ThreadPool</depends> | <depends optional-attribute-name="PersistenceManager">jboss.messaging:service=PersistenceManager</depends> | <depends optional-attribute-name="MessageStore">jboss.messaging:service=MessageStore</depends> | <depends optional-attribute-name="ChannelMapper">jboss.messaging:service=ChannelMapper</depends> | | <!-- Set to -1 to completely disable client leasing --> | <attribute name="SecurityDomain">java:/jaas/pulse-domain</attribute> | <attribute name="DefaultSecurityConfig"> | <security> | <role name="guest" read="true" write="true" create="true"/> | </security> | </attribute> | </mbean> | | <!-- Plug-ins --> | | <mbean code="org.jboss.jms.server.plugin.DefaultThreadPool" | name="jboss.messaging:service=ThreadPool" | xmbean-dd="xmdesc/DefaultThreadPool-xmbean.xml"> | <constructor> | <!-- the default pool size --> | <arg type="int" value="40" /> | </constructor> | </mbean> | | <mbean code="org.jboss.messaging.core.plugin.SimpleMessageStore" | name="jboss.messaging:service=MessageStore" | xmbean-dd="xmdesc/SimpleMessageStore-xmbean.xml"> | <constructor> | <!-- StoreID --> | <arg type="java.lang.String" value="store.0" /> | </constructor> | </mbean> | | </server> | The security domain is configured as follows: | <application-policy name = "pulse-domain"> | <authentication> | <login-module | code="au.com.pulse.common.providers.jaas.LoggableDatabaseServerLoginModule" | flag="required"> | <module-option name="dsJndiName">java:/jdbc/ScorpionJAAS</module-option> | <module-option name = "unauthenticatedIdentity">anonymous</module-option> | <module-option name="principalsQuery"> | <![CDATA[ | SELECT PASSWORD | FROM P_USER | WHERE LOGIN=? | AND ACTIVE=1 | AND EFFECTIVE <= NOW() | AND (EXPIRES IS NULL OR EXPIRES >= NOW()) ]]> | </module-option> | <module-option name="rolesQuery"> | <![CDATA[ | SELECT NAME, 'Roles' | FROM VW_USER_ROLES | WHERE login = ? ]]> | </module-option> | <!--module-option name="hashAlgorithm">SHA-1</module-option> | <module-option name="hashEncoding">hex</module-option--> | <module-option name="enableLogging">true</module-option> | </login-module> | <login-module code="org.jboss.security.ClientLoginModule" flag="required" /> | </authentication> | </application-policy> | Hope this helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943385#3943385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943385 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
