Is it the only destination not being found? Can you create another
destination,  and debug in something like this:

mb = MessageBroker.getMessageBroker(null);
srv = (RemotingService)mb.getServiceByType("
flex.messaging.services.RemotingService");
RemotingDestination remotingDestination =
(RemotingDestination)srv.getDestination(destinationName);// debug in

Regards,
Anatole


On 10/16/07, Dimitrios Gianninas <[EMAIL PROTECTED]>
wrote:
>
>    Hmm not sure if this is the problem but dont create roles names with
> any special characters, dashes ( - ) in your case. I know Weblogic has a
> problem with this when we named our roles with underscores in them. In WL we
> also need to define them in the WEB-NF/weblogic.xml, not sure if this is the
> case for Tomcat.
>
> As for not being able to connect, hmmm..is there any more errors before
> this one?
>
> *Dimitrios Gianninas*
> *Development Team Lead*
> *Optimal Payments Inc.*
>
>
>  ------------------------------
> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Greg Morphis
> *Sent:* Tuesday, October 16, 2007 9:53 AM
> *To:* [email protected]
> *Subject:* [flexcoders] Re: Unknown destination 'EmployeeServiceRO
>
>
>
> Anyone? Has no one seen this error before? Does everything look correct?
> This is with Flex 2 / LCDS on Tomcat with Java middleware.
>
> Thanks
>
> On 10/15/07, Greg Morphis <[EMAIL PROTECTED] <gmorphis%40gmail.com>>
> wrote:
> > 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?
> >
>
> *AVIS IMPORTANT*
>
> *WARNING*
>
> Ce message électronique et ses pièces jointes peuvent contenir des
> renseignements confidentiels, exclusifs ou légalement privilégiés destinés
> au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
> privilège ou à aucun autre droit si le présent message a été transmis
> involontairement ou s'il est retransmis sans son autorisation. Si vous
> n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
> par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
> que toutes ses pièces jointes, de votre système. La lecture, la
> distribution, la copie ou tout autre usage du présent message ou de ses
> pièces jointes par des personnes autres que le destinataire visé ne sont pas
> autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
> électronique par erreur, veuillez en aviser l'expéditeur.
>
> This electronic message and its attachments may contain confidential,
> proprietary or legally privileged information, which is solely for the use
> of the intended recipient. No privilege or other rights are waived by any
> unintended transmission or unauthorized retransmission of this message. If
> you are not the intended recipient of this message, or if you have received
> it in error, you should immediately stop reading this message and delete it
> and all attachments from your system. The reading, distribution, copying or
> other use of this message or its attachments by unintended recipients is
> unauthorized and may be unlawful. If you have received this e-mail in error,
> please notify the sender.
>
> 
>

Reply via email to