wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Spring+JMS+OC4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Spring+JMS+OC4J" Watch "Spring+JMS+OC4J" New topic
Author

Spring+JMS+OC4J

Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
I am trying to use JMS(1.1) with Spring(2.5) in OC4J(10g). A part of the configuration is as shown:


However it is not able to lookup the Queue throwing an exception :
javax.naming.NameNotFoundException: java:comp/env/jms/demoQueue not found

I have this queue defined in OC4J as shown:


I tried using Spring, JMS and JBoss and it worked fine.

What could be the issue?

Regards,
Joshua

SCJP,SCWCD, Into ATG now!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring+JMS+OC4J