Skip to Content
avatar image
Former Member

NameNotFoundException when I look up a QueueConnectionFactory

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 14, 2005 at 03:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded