I'm condensing my previous posts..
----------------------------------------------------
getting this error on a flex app..

[FaultEvent fault=[RPC Fault faultString="[MessagingError
message='Unknown destination 'EmployeeServiceRO'.']"
faultCode="InvokeFailed" faultDetail="Couldn't establish a connection
to 'EmployeeServiceRO'"]
messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
type="fault"
bubbles=false
cancelable=true eventPhase=2]

I've checked the remoting-config.xml

    <destination id="EmployeeServiceRO">
        <properties>
            
<source>com.alltel.rapid.aopscheduler.business.EmployeeDelegate</source>
            <scope>application</scope>
        </properties>
        <security>
            <security-constraint>
                <auth-method>Basic</auth-method>
                <roles>
                    <role>AOPScheduler-BASICAM</role>
                    <role>AOPScheduler-BASICINQ</role>

                </roles>
            </security-constraint>
        </security>

    </destination>

I installed log4j and I see this when I log in..
2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
org.apache.catalina.realm.RealmBase - Username e0087890 has role
AOPScheduler-BASICINQ
2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
org.apache.catalina.realm.RealmBase - No role found:
AOPScheduler-BASICINQ

But I have the roles defined:
In the web.xml file
                <auth-constraint>
                <role-name>AOPScheduler-BASICAM</role-name>
                <role-name>AOPScheduler-BASICINQ</role-name>
                </auth-constraint>
        </security-constraint>

and
        <security-role>
          <description>
            The role that is required to log in to the Manager Application
          </description>
          <role-name>AOPScheduler-BASICAM</role-name>
          </security-role>
        <security-role>
          <description>
            The role that is required to log in to the Reader Application
          </description>
          <role-name>AOPScheduler-BASICINQ</role-name>
          </security-role>


So to me everything looks okay, what am I missing?
The odd thing is that we store the code in CVS, I've checked out a
fresh copy of the code and everything looks good. The only thing I can
think of is something not configured right in Tomcat?

Reply via email to