Search within EJB and other Jakarta /Java EE Technologies
Register / Login
Win a copy of
Getting started with Java on the Raspberry Pi
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
EJB and other Jakarta /Java EE Technologies
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
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!
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
can't create connection to JBoss MQ using Spring JMS
Spring JMS with IBM Websphere MQ5.3.1
MDB deployed in WebLogic and Queues in IBM MQ
Error : Spring + Jms Application deployed on Oc4j
Spring configuration for Testing JMS using Junit