activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Selva020781 <selvakumar.marimu...@yahoo.co.in>
Subject Not able to configure the created queue for communication. Even I dont know how to do that?
Date Tue, 08 Jul 2008 05:40:50 GMT

Hi All,

I created a queue mentioning the same in the activemqconfig.xml. Now I am
able to see the queue when I open the ACTIVEMQ web console. but I dont know
how to use this queue in my application for communication.

I mention the initial context factory as
"org.apache.activemq.ActiveMQConnectionFactory" and I mentioned the queue
name as TestQ1 which I created earlier. I have mentioned all the details in
the configuration file of our application.

When I run the Agent Server(local application) it is not recognizing the
queue. it is throwing the following exception. Could anyone tell me why I am
getting the exception???

<Errors>
    <Error ErrorCode="JMSProducer1"
        ErrorDescription="Error_description_not_available"
ErrorRelatedMoreInfo="">
        <Attribute Name="ErrorCode" Value="JMSProducer1"/>
        <Attribute Name="ErrorDescription"
Value="Error_description_not_available"/>
        <Error ErrorCode="javax.naming.NameNotFoundException"
            ErrorDescription="" ErrorRelatedMoreInfo="TestQ1">
            <Stack>javax.naming.NameNotFoundException: TestQ1&#xd;
        at
org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:225)&#xd;
        at javax.naming.InitialContext.lookup(InitialContext.java:351)&#xd;
        at
com.yantra.interop.services.jms.JMSProducer.&lt;init&gt;(JMSProducer.java:216)&#xd;
        at
com.yantra.interop.services.jms.JMSContext.configure(JMSContext.java:185)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.initConfig(IntegrationAdapter.java:150)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:477)&#xd;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#xd;
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#xd;
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#xd;
        at java.lang.reflect.Method.invoke(Method.java:585)&#xd;
        at
com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:78)&#xd;
</Stack>
        </Error>
        <Stack>com.yantra.interop.services.MessagingException&#xd;
        at
com.yantra.interop.services.jms.JMSProducer.&lt;init&gt;(JMSProducer.java:222)&#xd;
        at
com.yantra.interop.services.jms.JMSContext.configure(JMSContext.java:185)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.initConfig(IntegrationAdapter.java:150)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:477)&#xd;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#xd;
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#xd;
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#xd;
        at java.lang.reflect.Method.invoke(Method.java:585)&#xd;
        at
com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:78)&#xd;
</Stack>
    </Error>
    <Error ErrorCode="JMSContext2"
        ErrorDescription="Error_description_not_available"
ErrorRelatedMoreInfo="">
        <Attribute Name="ErrorCode" Value="JMSContext2"/>
        <Attribute Name="ErrorDescription"
Value="Error_description_not_available"/>
       
<Stack>com.yantra.interop.services.ServiceConfigurationException&#xd;
        at
com.yantra.interop.services.jms.JMSContext.configure(JMSContext.java:198)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.initConfig(IntegrationAdapter.java:150)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)&#xd;
        at
com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:477)&#xd;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#xd;
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#xd;
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#xd;
        at java.lang.reflect.Method.invoke(Method.java:585)&#xd;
        at
com.sterlingcommerce.woodstock.noapp.NoAppLoader.main(NoAppLoader.java:78)&#xd;
</Stack>

It would be helpful If someone give me the document of reference for
configuring the queues and implemention of communication with some
application.

With regards
Selva.
-- 
View this message in context: http://www.nabble.com/Not-able-to-configure-the-created-queue-for-communication.-Even-I-dont-know-how-to-do-that--tp18332245p18332245.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message