on 10-14-2005 9:45 AM
Hello,
I have configured a QueueConnectionFactory in the
Cluster->Server(Instance)->Services->JMS Provider->default->ConnectionFactories(tab)
The look up name as :
jmsfactory/default/QueueConnectionFactory
I am creating Initial Context using Sun's Factory Implementation (which is getting connected to the J2E instance running on localhost). I guess Sun's factory should be okay since jndi is the interface here and SAP and Sun are implementations only.
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file://localhost:50004/
LookUpName=jmsfactory/default/QueueConnectionFactory
I am getting NameNotFoundException.
Any ideas why this might be happening ?
Thanks
Pawan
Hi,
This error is occuring because you have not included your driver file in the project folder.hence it is unable to set the classpath.
Regards,
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I couldn't understand the reply. Please elaborate. Which driver file do you mention? Where can I find the JAR for that driver?
Can you mention the driver file name too ?
As far as my understanding goes for JNDI, the NamingNotFoundException is thrown when there is no Name bound in the context as the provided name parameter. Please also mention if this understanding is right.
Thanks,
Pawan
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.