freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Jim Urban" <jim.urban AT netsteps.net>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: help : JDBC vs SQL Server version 7.0
- Date: Wed, 2 May 2001 07:32:50 -0500
> I don't think you should put the jar file to any JDKs directory, but to
> someplace tomcat has access to it
Place the jar file in your WEB-INF/lib directory then restart Tomcat.
Tomcat will automatically find the jar file and will have no problem
accessing the driver. There is no need to add it to your classpath either.
Jim
-----Original Message-----
From: bounce-freetds-130378 AT franklin.oit.unc.edu
[mailto:bounce-freetds-130378 AT franklin.oit.unc.edu]On Behalf Of Stefanos
Karasavvidis
Sent: Wednesday, May 02, 2001 4:52 AM
To: TDS Development Group
Subject: [freetds] Re: help : JDBC vs SQL Server version 7.0
I don't think you should put the jar file to any JDKs directory, but to
someplace tomcat has access to it.... the easiest way would be to to
extract the files to the same directory where your servlet resides......
Stefanos Karasavvidis
Joyce Tsang wrote:
>Hi,
>
>I had download the freetds_jdbc-0.2.zip into my Win 2000 Professional
>machine, and I also download the freetds_jdbc.jar and put it into my jdk
>1.3, under jre>lib>ext, and I use tomcat for my servlet.
>
>When I compile my program, and output my servlet on the browser, then
>return Code 500 to me and there's all the error I've got from tomcat:
>
>
>2001-05-02 03:54:16 - Ctx( /SQL ): Exception in init SQLServerApplication
>- java.lang.IllegalAccessException: SQLServerApplication
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:237)
> at
>org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
> at
>org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:7
97)
>
> at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
>n(HttpConnectionHandler.java:210)
> at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>
>***************************************************************************
>
>
>those error display from the browser !!
>
>2001-05-02 03:54:16 - Ctx( /SQL ): Exception in: R( /SQL + /cool + null) -
>java.
>lang.IllegalAccessException: SQLServerApplication
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:237)
> at
>org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
> at
>org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
> at org.apache.tomcat.core.Handler.service(Handler.java:254)
> at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:7
97)
>
> at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
>n(HttpConnectionHandler.java:210)
> at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>***************************************************************************
>
>
>Is this JDBC_TDS only work for unix, not in window machine ? can somebody
>give me some suggestion or other way to try the JDBC_TDS again ?
>
>Thanks Heaps
>
>Cheers,
>Joyce
>
>---
>You are currently subscribed to freetds as: [stefos AT multimedia-sa.gr]
>To unsubscribe, forward this message to
$subst('Email.Unsub')
>
>
--
======================================================================
Stefanos Karasavvidis
Electronics & Computer Engineer
e-mail : stefos AT multimedia-sa.gr
Multimedia Systems Center S.A.
Kissamou 178
73100 Chania - Crete - Hellas
http://www.multimedia-sa.gr
Tel : +30 821 88447
Fax : +30 821 88427
---
You are currently subscribed to freetds as: [jim.urban AT netsteps.net]
To unsubscribe, forward this message to
$subst('Email.Unsub')
-
help : JDBC vs SQL Server version 7.0,
Joyce Tsang, 05/01/2001
- <Possible follow-up(s)>
- Re: help : JDBC vs SQL Server version 7.0, Stefanos Karasavvidis, 05/02/2001
- Re: help : JDBC vs SQL Server version 7.0, Jim Urban, 05/02/2001
Archive powered by MHonArc 2.6.24.