-
1. Re: net.sourceforge.jtds.jdbc.driver class file
lvdberg Aug 28, 2009 12:42 PM (in response to sathish0707)Put the driver in you Lib-subdirectories of the server, or include them in you war/WEB-INF/lib directory.
-
2. Re: net.sourceforge.jtds.jdbc.driver class file
sathish0707 Aug 28, 2009 1:09 PM (in response to sathish0707)i have added it into the server lib subdirectoryat seam generate it shows the error BUILD FAILED jboss seam-2.1.1.GA seam gen build.xml:1164:org.hibernate.HibernateException : JDBC Driver class not found: com.microsoft.sqlserver.jdbc.SQLServerDriver
-
3. Re: net.sourceforge.jtds.jdbc.driver class file
sathish0707 Aug 28, 2009 1:10 PM (in response to sathish0707)
Leo van den Berg wrote on Aug 28, 2009 12:42:
Put the driver in you Lib-subdirectories of the server, or include them in you war/WEB-INF/lib directory.i have added it into the server lib subdirectoryat seam generate it shows the error BUILD FAILED jboss seam-2.1.1.GA seam gen build.xml:1164:org.hibernate.HibernateException : JDBC Driver class not found: com.microsoft.sqlserver.jdbc.SQLServerDriver
-
4. Re: net.sourceforge.jtds.jdbc.driver class file
kukeltje.ronald.jbpm.org Aug 28, 2009 1:33 PM (in response to sathish0707)Uhhhmmm.... a com.microsoft.... driver in the jtds jar? Aren't you mixing two things? The driver class in jtds is called net.sourceforge.jtds.jdbc.Driver
-
5. Re: net.sourceforge.jtds.jdbc.driver class file
lvdberg Aug 28, 2009 1:37 PM (in response to sathish0707)Ok my fault, you're using seam-gen. The driver canot be found by seamgen, which has nothing to do with the server. It should be on your classpath.The simplest way is to add it to your JAVAHOME/lib directory.
You can see which JRE is used by eclipse under the java-settings.
There is certainly a Eclipse guro on-line who can tell you how to do that as-it-should-be-done with Eclipse/tools.