No I haven't but I found some more stuff out in debugging.  I 
noticed that making calls to my remote objects wasn't working 
anymore and use to before I started messing with messaging.  I 
narrowed it down to messaging-config.xml file.  When I take out the 
<jms> node from my destination node the remoteing works again.  Even 
if remove everything between the <jms></jms> tags the remoteing 
calls don't work.  Don't know if this is same issue why i can't 
connect to this topic.  Any ideas of what is going on????  here is a 
copy of my messaging-config.xml file for fds.

<?xml version="1.0" encoding="UTF-8"?>
<service id="message-service" 
    class="flex.messaging.services.MessageService" 
    messageTypes="flex.messaging.messages.AsyncMessage">

    <adapters>
        <adapter-definition id="actionscript" 
class="flex.messaging.services.messaging.adapters.ActionScriptAdapter
" default="true" />
        <adapter-definition id="jms" 
class="flex.messaging.services.messaging.adapters.JMSAdapter"/>
    </adapters>
        
    <destination id="ticker-topic-jms">
        <properties>
           <server>
             <durable>false</durable>
             <durable-store-
manager>flex.messaging.durability.FileStoreManager</durable-store-
manager>
           </server>
           <jms>
            <destination-type>Topic</destination-type>
             <message-type>javax.jms.ObjectMessage</message-type>
             <connection-factory>topicConnectionFactory</connection-
factory>
            <destination-jndi-name>ticker</destination-jndi-name>
            <destination-name>Ticker</destination-name>
            <durable-consumers>false</durable-consumers>
            <delivery-mode>NON_PERSISTENT</delivery-mode>
            <message-priority>DEFAULT_PRIORITY</message-priority>
            <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
            <transacted-sessions>false</transacted-sessions>
            <initial-context-environment>
                <property>
                  <name>java.naming.factory.initial</name>
               
<value>org.apache.activemq.jndi.ActiveMQInitialContextFactory</value>
                </property>
                <property>
                  <name>java.naming.provider.url</name>
                  <value>tcp://localhost:61616</value>
                </property>
                  </initial-context-environment>
           </jms>
          </properties>
                
                <channels>
                        <channel ref="my-rtmp"/>
                        <channel ref="my-polling-amf"/>
                </channels>
                
                <adapter ref="jms" />
                
        </destination>
        

</service>


Thanks,

Chris

--- In [email protected], "andrewkaretas" <[EMAIL PROTECTED]> 
wrote:
>
> I'm having the same issue. any luck in resolving it?
> --- In [email protected], "ave8879" <ave8879@> wrote:
> >
> > Hi, I'm new to flex and to Java but am trying to learn both 
because I
> > wanted to try to make a chat application that uses message 
subscribing
> > and publishing. Anyways I bought theriabook and am going through
> > chapter 5 "a complete application with RPC Communications and 
JMS" I
> > have a Tomcat server running and am able to grab remote objects 
from
> > flex but when it comes to jms im having difficulty. Since I'm 
new to
> > this i'm not looking for anyone to re explain everything to me 
but if
> > there is someone who has gone through the book and knows where i 
might
> > start debugging to find out why from the java
> > application "tickerfeed.java" I am unable to reconigze the topic
> > named "topic". If attaching my code would help let me know. I 
have
> > succesffully started ActiveMQ from a class that gets called in a
> > listener inside the servers web.xml. Again I can provide more 
info if
> > needed but thought I'd keep this condensed for someone who has 
gone
> > through the book. Thanks for any help.
> >
>


Reply via email to