Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: Please help - NoInitialContextException


Message #1 by "Rudi Doku" <rudidoku@h...> on Thu, 3 Jan 2002 03:01:33
Hello Julio,

I tried your suggestion but didn't have any luck running the application. 
This is what my classpath looks like:-

;C:\wlserver6.0\wlserver6.0\lib\weblogic_sp.jar;

C:\wlserver6.0\wlserver6.0\lib\ejb.jar;

C:\wlserver6.0\wlserver6.0\lib\weblogic.jar;

C:\wlserver6.0\wlserver6.0\samples\eval\cloudscape\lib\cloudscape.jar;

C:\weblogic\oci\classes;

c:\jdk1.3\bin;

C:\jdk1.3\lib;

C:\jdk1.3\jre\lib\ext\fscontext.jar;

C:\jdk1.3\jre\lib\ext\jndi.jar;

C:\jdk1.3\jre\lib\ext\providerutil.jar;

C:\jdk1.3\jre\lib\ext\ldap.jar;

C:\jdk1.3\lib\dt.jar;

c:\jdk1.3\lib\tools.jar;

c:\jdk1.3\bin\javac.exe;

c:\jdk1.3\lib\classes12.zip;

c:\jdk1.3\lib\dt.jar;

c:\mywebapps;

C:\jakarta-tomcat-4.0-2\jakarta-tomcat-4.0\common\lib\servlet.jar;

C:\jakarta-tomcat-4.0\webapps\ROOT\WEB-INF\classes\com\doku\rudi;

C:\Downloads\Database Drivers\TaveConn30C.jar;

C:\connPool\JSQLConnect.jar;C:\imWeb;

Are you able to tell me what could possible be wrong?

Kind Regards,

Rudi
> --0-716306610-1010057230=:48889
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
> 
> 
> Hi 
> Try to put all this at \jre\lib\ext where is the servlet.jar also. 
> 
> julio oliveira 
> buenos aires - argentina 
> 
> 
> --- Rudi Doku <rudidoku@h...> escribió: > Greetings, 
> > 
> > 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 
> > instantiate class: 
> > com.sun.jndi.fscontext.RefFSContextFactory [Root 
> > exception is java.lang.ClassNotFoundException: 
> > com.sun.jndi.fscontext.RefFSContextFactory] 
> > 
> > 
> > Kindest Regards, 
> > 
> > Rudi 
> > --- 
> > Do you need true END-TO-END (e2e) Java Messaging 
> > (JMS)? Softwired 
> > offers industry's ONLY complete 100% JMS messaging 
> > solutions for your 
> > needs TODAY. 
> > Visit 
> > http://adtracking.wrox.com/track.asp?x=p2p%2Fe%2Fjava%
2Dsoftwired&url=www.softwired-inc.com 
> > NOW and find 
> > out more! 
> > Our unique product range includes: iBus//Mobile 
> > (wireless data), 
> > iBus//MessageBus (IP Multicast), iBus//MessageServer 
> > (store and forward) 
> > and much more! 
> > 
> > --- 
> 
> 
> Julio Oliveira
> Oliveira_julio@y...
> 
> Club de Usuarios de Java de Argentina
> Subscribite en :
> 
> mailto:AUBA-JBuilder-subscribe@y...
> 
> 
> ---------------------------------
> ¿Querés Internet GRATIS? Usá Yahoo! Conexión
> --0-716306610-1010057230=:48889
> Content-Type: text/html; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
> 
> <P>Hi <IMG 
src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/1.gif"><BR>Try to 
put all this at \jre\lib\ext where is the servlet.jar also. <BR><BR>julio 
oliveira <BR>buenos aires - argentina </P>
> <P><IMG 
src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys/c.gif"><BR>--- Rudi 
Doku &lt;rudidoku@h...&gt; escribió: &gt; Greetings, <BR>&gt; 
<BR>&gt; Can anyone help me resolve the following problem? <BR>&gt; 
<BR>&gt; I have the following lines in my classpath :- <BR>&gt; <BR>&gt; 
C:\jdk1.3\lib\jndi.jar; <BR>&gt; <BR>&gt; C:\jdk1.3\lib\fscontext.jar; 
<BR>&gt; <BR>&gt; C:\jdk1.3\lib\providerutil.jar; <BR>&gt; <BR>&gt; 
<BR>&gt; however my program keeps raising this exception <BR>&gt; <BR>&gt; 
Error:init JNDI <BR>&gt; javax.naming.NoInitialContextException: Cannot 
<BR>&gt; instantiate class: <BR>&gt; 
com.sun.jndi.fscontext.RefFSContextFactory [Root <BR>&gt; exception is 
java.lang.ClassNotFoundException: <BR>&gt; 
com.sun.jndi.fscontext.RefFSContextFactory] <BR>&gt; <BR>&gt; <BR>&gt; 
Kindest Regards, <BR>&gt; <BR>&gt; Rudi <BR>&gt; --- <BR>&gt; Do you need 
true END-TO-END (e2e) Java Messaging <BR>&gt; (JMS)? Softwired <BR>&gt; 
offers industry's ONLY complete 100% JMS messaging <BR>&gt; solutions for 
your <BR>&gt; needs TODAY. <BR>&gt; Visit <BR>&gt; 
http://adtracking.wrox.com/track.asp?x=p2p%2Fe%2Fjava%
2Dsoftwired&amp;url=www.softwired-inc.com <BR>&gt; NOW and find <BR>&gt; 
out more! <BR>&gt; Our unique product range includes: iBus//Mobile 
<BR>&gt; (wireless data), <BR>&gt; iBus//MessageBus (IP Multicast), 
iBus//MessageServer <BR>&gt; (store and forward) <BR>&gt; and much more! 
<BR>&gt; <BR>&gt; --- <BR>&gt; Change your mail options at <BR>&gt; 
http://p2p.wrox.com/manager.asp or <BR>&gt; to unsubscribe send a blank 
email to $subst('Email.Unsub'). </P><BR><BR>Julio 
Oliveira<br>Oliveira_julio@y...<br><br>Club de Usuarios de Java de 
Argentina<br>Subscribite en :<br><br>mailto:AUBA-JBuilder-
subscribe@y...<p><br><hr size=1><b>¿Querés Internet GRATIS? Usá 
<a href="http://ar.rd.yahoo.com/reg/tagline/?
ar.docs.yahoo.com/conexion/">Yahoo! Conexión</a></b>
> --0-716306610-1010057230=:48889--

  Return to Index