Hi JeanLuc,
My application started to work after I mounted the required jar files in
forte.
Thanks for your help.
Kind Regards,
Rudi
> Hello Rudi,
>
> Well I can't tell. Could you send me the peace of code that raises the
> error
> ?
>
> Cheers
>
> JeanLuc
>
> -----Message d'origine-----
> De: Rudi Doku [mailto:rudidoku@h...]
> Date: vendredi 4 janvier 2002 00:11
> =C0: Java 2 Enterprise Edition
> Objet: [j2ee] RE: Help javax.naming.NoInitialContextException
>
>
> Hello JeanLuc,
>
> Thanks for you suggestions. I mounted the jar files in forte and was
> able
> to progress further. I am now getting the following error message :-
>
> JNDI Error: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
> .
>
> Any ideas on how I can resolve this problem?
>
> Cheers,
>
> Rudi
>
> > Hello rudi
> >
> > Have you imported the right packages in your code ???
> >
> > I can't see any
> >
> > Cheers=3D20
> >
> > JeanLuc
> >
> > -----Message d'origine-----
> > De: Rudi Doku [mailto:rudidoku@h...]
> > Date: jeudi 3 janvier 2002 03:58
> > =3DC0: Java 2 Enterprise Edition
> > Objet: [j2ee] Help javax.naming.NoInitialContextException
> >
> >
> > Hello,
> >
> > Can anyone help me resolve the following problem?
> >
> > I have the following lines in my classpath :-
> >
> > C:\jdk1.3\lib\jndi.jar;
> >
> > C:\jdk1.3\lib\fscontext.jar;
> >
> > C:\jdk1.3\lib\providerutil.jar;
> >
> >
> > however my program keeps raising this exception
> >
> > Error:init JNDI javax.naming.NoInitialContextException: Cannot=3D20
> > instantiate class: com.sun.jndi.fscontext.RefFSContextFactory
> [Root=3D20
> > exception is java.lang.ClassNotFoundException:=3D20
> > com.sun.jndi.fscontext.RefFSContextFactory]
> >
> >
> > Cheers,
> >
> > Rudi
> > ---
> > Change your mail options at http://p2p.wrox.com/manager.asp or=3D20
>