Hello... I'm trying to specify a SecurityManager using JAAS Authentication, but 
I'm having problems whily deploying. Here is my appmq-service.xml (I've put 
everything together in the same file, and preffixed services name with 
different string from 'jboss.mq:') :


  | <server>
  |   <!-- A Statemanager that stores state in the database -->
  |   <mbean code="org.jboss.mq.sm.jdbc.JDBCStateManager"
  |          name="acstool.mq:service=StateManager">
  |     <depends 
optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=OracleDS</depends>
  |     <attribute name="SqlProperties">
  |       CREATE_TABLES_ON_STARTUP = TRUE
  |       CREATE_USER_TABLE = CREATE TABLE ACSTOOL_USERS (USERID VARCHAR(32) 
NOT NULL, PASSWD VARCHAR(32) NOT NULL, \
  |                                                  CLIENTID VARCHAR(128), 
PRIMARY KEY(USERID))
  |       CREATE_SUBSCRIPTION_TABLE = CREATE TABLE ACSTOOL_SUBSCRIPTIONS 
(CLIENTID VARCHAR(128) NOT NULL, \
  |                                                  SUBNAME VARCHAR(128) NOT 
NULL, TOPIC VARCHAR(255) NOT NULL, \
  |                                                  SELECTOR VARCHAR(255), 
PRIMARY KEY(CLIENTID, SUBNAME))
  |       GET_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM ACSTOOL_SUBSCRIPTIONS 
WHERE CLIENTID=? AND SUBNAME=?
  |       LOCK_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM ACSTOOL_SUBSCRIPTIONS 
WHERE CLIENTID=? AND SUBNAME=?
  |       GET_SUBSCRIPTIONS_FOR_TOPIC = SELECT CLIENTID, SUBNAME, SELECTOR FROM 
ACSTOOL_SUBSCRIPTIONS WHERE TOPIC=?
  |       INSERT_SUBSCRIPTION = INSERT INTO ACSTOOL_SUBSCRIPTIONS (CLIENTID, 
SUBNAME, TOPIC, SELECTOR) VALUES(?,?,?,?)
  |       UPDATE_SUBSCRIPTION = UPDATE ACSTOOL_SUBSCRIPTIONS SET TOPIC=?, 
SELECTOR=? WHERE CLIENTID=? AND SUBNAME=?
  |       REMOVE_SUBSCRIPTION = DELETE FROM ACSTOOL_SUBSCRIPTIONS WHERE 
CLIENTID=? AND SUBNAME=?
  |     </attribute>
  |   </mbean>
  |   
  |     <!--
  |      | The MessageCache decides where to put JBossMQ message that
  |      | are sitting around waiting to be consumed by a client.
  |    -->
  |   <mbean code="org.jboss.mq.server.MessageCache"
  |      name="acstool.mq:service=MessageCache">
  |     <attribute name="HighMemoryMark">20</attribute>
  |     <attribute name="MaxMemoryMark">25</attribute>
  |     <attribute 
name="CacheStore">acstool.mq:service=PersistenceManager</attribute>
  |   </mbean>
  |   
  |     <!-- 
  |      | The jdbc2 PersistenceManager is the new improved JDBC implementation.
  |    -->
  |   <mbean code="org.jboss.mq.pm.jdbc3.PersistenceManager"
  |      name="acstool.mq:service=PersistenceManager">
  |     <depends 
optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=OracleDS</depends>
  |     <attribute name="SqlProperties">
  |       ... hidded sql commands ...
    
  

  <!--
 | The destination manager is the core service within JBossMQ
  -->
  
    <depends 
optional-attribute-name="MessageCache">acstool.mq:service=MessageCache
    <depends 
optional-attribute-name="PersistenceManager">acstool.mq:service=PersistenceManager
    <depends 
optional-attribute-name="StateManager">acstool.mq:service=StateManager
  
  
        
                
                        
                                
                        
                
                java:/jaas/chaodefabrica
                <depends optional-attribute-name="NextInterceptor">
                        acstool.mq:service=DestinationManager
        
  
        <!-- 
==================================================================== -->
        <!-- JBossMQ Interceptor chain configuration                            
  -->
        <!-- 
==================================================================== -->
        <!-- To tune performance, you can have the Invoker skip over the 
TracingInterceptor -->
        <!-- and/or the SecurityManager, but then you loose the ability to 
trace and/or enforce security. -->
        
                <depends optional-attribute-name="NextInterceptor">
                        acstool.mq:service=TracingInterceptor
        
        
        
                
                        org.jboss.mq.server.TracingInterceptor
                <depends optional-attribute-name="NextInterceptor">
                        acstool.mq:service=SecurityManager
        
  
        <!-- =========================== -->
        <!-- ACS Tool Destination Config -->
        <!-- =========================== -->
        
                <depends 
optional-attribute-name="DestinationManager">acstool.mq:service=DestinationManager
                <depends 
optional-attribute-name="SecurityManager">acstool:service=SecurityManager
                
                        
                                
                        
                
        



And I'm getting this error when I try to deploy this file:

  | 14:59:23,234 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | MBeans waiting for other MBeans:
  | ObjectName: acstool.mq.destination:service=Topic,name=acsTopic
  |  state: CONFIGURED
  |  I Depend On:  acstool.mq:service=DestinationManager
  |  acstool:service=SecurityManager
  | 
  |  Depends On Me: 
  | 
  | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
  | ObjectName: acstool:service=SecurityManager
  |  state: NOTYETINSTALLED
  |  I Depend On: 
  |  Depends On Me:  acstool.mq.destination:service=Topic,name=acsTopic
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872075#3872075

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872075


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to