A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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!
It is sorta covered in the
JavaRanch Style Guide
MDB deployed in WebLogic and Queues in IBM MQ
Spring configuration for Testing JMS using Junit
Spring JMS with IBM Websphere MQ5.3.1
can't create connection to JBoss MQ using Spring JMS
Error : Spring + Jms Application deployed on Oc4j
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014