File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Spring+JMS+OC4J" Watch "Spring+JMS+OC4J" New topic


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?


It is sorta covered in the JavaRanch Style Guide.
subject: Spring+JMS+OC4J