A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
EJB and other Java EE Technologies
Joined: Jun 05, 2006
Jan 15, 2009 01:16:29
I am trying to use JMS(1.1) with Spring(2.5) in OC4J(10g). A part of the configuration is as shown:
<!-- JMS Destination --> <bean id="destination" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiTemplate"> <ref bean="jndiTemplate"/> </property> <property name="jndiName"> <value>java:comp/env/jms/demoQueue</value> </property> </bean>
However it is not able to lookup the Queue throwing an exception :
:comp/env/jms/demoQueue not found
I have this queue defined in OC4J as shown:
<queue name="Demo Queue" location="java:comp/env/jms/demoQueue"> <description>A dummy queue</description> </queue> <queue-connection-factory location="java:comp/env/jms/QueueConnectionFactory"> </queue-connection-factory>
I tried using Spring, JMS and
and it worked fine.
What could be the issue?
SCJP,SCWCD, Into ATG now!
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
Spring configuration for Testing JMS using Junit
Error : Spring + Jms Application deployed on Oc4j
can't create connection to JBoss MQ using Spring JMS
MDB deployed in WebLogic and Queues in IBM MQ
Spring JMS with IBM Websphere MQ5.3.1
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014