• Post Reply Bookmark Topic Watch Topic
  • New Topic

Context.PROVIDER_URL

 
ved gunjan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! ALL
I'm using file system service provider in my JNDI client code.can any body make it clear,what values i should give for Context.PROVIDER_URL.
Many thanks in advance for any help.
Regards
ved
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is App Server specific, wich one you're using?
 
ved gunjan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Thnx for the reply.Im not using any App server.Im trying to run the JNDI client programme as a standalone application.I'm using jsdk1.4.I have kept jndi.jar,fscontext.jar,providerutil.jar inthe <JJ@SDK_HOME>\jre\lib\ext.
I'm now getting the following arror
Problem looking up : javax.naming.OperationNotSupportedException: Can only bind References or Referenceable objects

Any idea whts going on
Regards
ved
 
ved gunjan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Thnx for the reply.Im not using any App server.Im trying to run the JNDI client programme as a standalone application.I'm using jsdk1.4.I have kept jndi.jar,fscontext.jar,providerutil.jar inthe <JJ@SDK_HOME>\jre\lib\ext.
I'm now getting the following arror
Problem looking up : javax.naming.OperationNotSupportedException: Can only bind References or Referenceable objects

Any idea whts going on
Regards
ved
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!