You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Guido Medina <gm...@mercantil.com.do> on 2001/12/20 13:49:23 UTC

RE: Problems executing Conn Pool example that comes with JSQLConn ect

put this file also inside TOMCAT_HOME/common/lib or /lib

-----Original Message-----
From: Rudi Doku [mailto:rudidoku@hotmail.com]
Sent: Wednesday, December 19, 2001 8:28 PM
To: tomcat-user@jakarta.apache.org
Subject: Problems executing Conn Pool example that comes with
JSQLConnect


Greetings,

I'm currently evaluating the JSQLConnect Driver. I downloaded jndi1_2_1.zip 
from the sun site, followed the instructions and installed it in the 
following directory - C:\jdk1.3\jre\lib\ext\jndi.jar; I also added this path

to my classpath.

My problem is that I get the following exception when I run 
ExampleConnectionPool.java from the command line.

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]
Error:Register Datasources  java.lang.NullPointerException
JNDI Error:javax.naming.NoInitialContextException: Cannot instantiate class:

com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.C
lassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory]


Any feedback will be very much appreciated.

Cheers,

Rudi


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>