Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JNDI API look up failes

87754May 7 2003
I downloaded JMS tutorial from sun and it works fine ,I am using a Simple Queue example.but when I try to run from Jdeveloper it gives m e the following error:-

JNDI API lookup failed: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

Process exited with exit code 1.

I tried setting up the application.xml as follows :-
<orion-application autocreate-tables="true" default-data-source="jdbc/OracleDS">
<resource-provider
class="jms/QueueConnectionFactory"
name="JMS">
</resource-provider>
.....
.....

I also have a standalone OC4J 903 installed ..i even tried to make changes to the application file there..but still the same error...

can some please help me..stating what I am missing what are the steps required etc..

thanks in advance
Rajesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2003
Added on May 7 2003
0 comments
144 views