Skip to Content.
Sympa Menu

freetds - Re: help : JDBC vs SQL Server version 7.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Stefanos Karasavvidis <stefos AT multimedia-sa.gr>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: help : JDBC vs SQL Server version 7.0
  • Date: Wed, 02 May 2001 12:51:55 +0300


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:797)

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:797)

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







Archive powered by MHonArc 2.6.24.

Top of Page