A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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!
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015