I checked the WEB-INF/web.xml and have the roles defined there
        <auth-constraint>
            <role-name>AOPScheduler-BASICAM</role-name>
            <role-name>AOPScheduler-BASICINQ</role-name>
          </auth-constraint>


    <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>




I'm not sure where else I should be checking.. Anyone have any ideas?

Thanks




On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
>
> I think it has to do with Tomcat...
> I installed the log4j logger and watching the stuff in the Eclipse IDE..
> In the flex-remoting file I have :
>
>     <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>
>
> Which looks good.. but in the debugger I'm seeing..
>
> 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
>
> The "no role found" look wierd.. I'm thinking Tomcat is the problem
>
>
>
>
>
>
>
> On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> >
> >     <mx:RemoteObject id="employeeService"
> >         destination="EmployeeServiceRO"
> >         result="event.token.resultHandler( event )"
> >         fault="event.token.faultHandler ( event )"
> >         showBusyCursor="true" />
> >
> >
> > Where? I havent looked at this code since March? And even then it wasnt
> > me who set this up.
> > Where can I check the configuration? Thanks
> >
> >
> >
> > On 10/15/07, Anatole Tartakovsky <[EMAIL PROTECTED] > wrote:
> > >
> > >  'Unknown destination 'EmployeeServiceRO' - please check you remoting
> > > configurations
> > >
> > >
> > >
> > > On 10/15/07, Greg Morphis < [EMAIL PROTECTED]> wrote:
> > >
> > > >   So I've inherited a flex app. It's been months since I've looked
> > > > at
> > > > Flex and Cairngorm.
> > > > The time change coming up is starting to rear it's ugly head and I'm
> > > > trying to get this going and fixed before Nov 4th.
> > > > I've got the app all set up, checked it out through CVS and there's
> > > > an
> > > > error, right on login..
> > > >
> > > > I Alert the event in the onFault function and it states
> > > >
> > > > [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]
> > > >
> > > > Not sure where to go next for this error. Any help would be
> > > > appreciated.
> > > > Thanks
> > > >
> > >
> > > 
> > >
> >
> >
>

Reply via email to