0 Replies Latest reply on May 10, 2011 9:46 AM by Erik Úlfhéðinn

    security realm problem

    Erik Úlfhéðinn Newbie

      i have to install adobe data services on jboss 5.1.


      this installation docs look like this:





      1. Copy the flex-tomcat-common.jar and flex-tomcat-server.jar files from the install_root/resources/security/tomcat folder to the jboss_root/server/default/lib folder.
      2. Add the TomcatValve to the context.xml under \server\default\deploy\jboss-web.sar:
              <VALVE classname="flex.messaging.security.TomcatValve"></VALVE>
      3. Create a  tomcat-users.xml file in the jboss_root/server/default/conf directory. The following example shows a basic tomcat-users.xml file:
      4.     <xml version='1.0' encoding='utf-8'?>
        <role rolename="tomcat"/>
        <role rolename="role1"/>
        <user username="tomcat" password="tomcat"  roles="tomcat"/>
        <user username="both" password="tomcat"  roles="tomcat,role1"/>
        <user username="role1" password="tomcat"  roles="role1"/>

      5. Replace the current security realm in the server.xml file under \server\default\deploy\jboss-web.sar with the following:
            <Realm className="org.apache.catalina.realm.MemoryRealm" pathname="../server/default/conf/tomcat-users.xml"/>
      6. Restart JBoss


      but when i replace the realm i cant login anymore to jmx-console.


      please help me to configure this.