Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.naming.Communication exception :SerialContextProvider not found

 
mohit shrivastava
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Developers,
I am using j2ee server . I am making a client JMs server from corba object which is running through VBJ of visibroker.it's giving exception javax.naming.Communication exception :SerialContextProvider not found.....
However the same code is running fine when i run using java ..
Hope that will give a clue to all gurus out there
Regards
Mohit
 
Dave Coombes
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From what I remember of using Visibroker and the VBJ script, it sets up some system properties used by the InitialContext factory which probably reference Visibroker/Borland specific factory classes/urls.
See if it is setting the java.naming.provider.url property as it looks like this is what your app is falling over on.
Hope this is of some help
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic