tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Trouble with jdbc drivers in TC 7
Date Thu, 07 Apr 2011 21:01:40 GMT
The config has changed from

<Resource ...>
<param>


to
<Resource
  driverClassName="...."


that could be your culprit

On 4/7/2011 12:08 PM, David kerber wrote:
> System:  Windows Server 2008 R2 Standard (64-bit)
> JRE:  1.6.0_24 x64
> TC:  7.0.11, installed in c:\Program Files\..., so it detected an x64 installation
> DB:  Sybase ASA 9.0.2.3951, x64 version
>
> DB server and TC are both installed on this same machine.
>
> I'm trying to port my app from tc 5.5.something late, to 7.0, and can't get my app to
find the driver class.  It all works fine under TC 5.5.
>
> All my database pooling is done in the application, so I thought putting the jodbc.jar
in the WEB-INF/lib of the app would work with no 
> need to edit my configuration files, but I'm still getting the class not found error
below.  I have also tried moving jodbc.jar to 
> %catalina_home%/lib, but that didn't help either.
>
> RtData64 is the 64-bit ODBC DSN, which test ok in ODBC admin.  I have opened jodbc.jar
to be sure it has ianywhere.ml.jdbcodbc.IDriver 
> inside it.
>
> Am I missing some configuration requirements?  I can't find anything in the online docs
that would indicate I need to do anything, since 
> I'm not having TC handle the connection pooling.
>
> Dave
>
>
> Thu Apr 07 12:09:56 EDT 2011:  Exception in class: com.wra.websira.WraAdmin, Msg: 'Initialization',
Exception: 
> java.lang.ClassNotFoundException: ianywhere.ml.jdbcodbc.IDriver
> Thu Apr 07 12:09:56 EDT 2011:  Exception in class: com.wra.websira.WraJdbc, Msg: 'Creating
database: RtData64', Exception: 
> java.lang.ClassNotFoundException: ianywhere.ml.jdbcodbc.IDriver
> java.lang.ClassNotFoundException: ianywhere.ml.jdbcodbc.IDriver
>     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
>     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Unknown Source)
>     at com.wra.websira.WraDatabase.open(WraDatabase.java:64)
>     at com.wra.websira.WraJdbc.<init>(WraJdbc.java:46)
>     at com.wra.websira.WraAdmin.init(WraAdmin.java:257)
>     at com.wra.websira.WraAdmin.validateUser(WraAdmin.java:594)
>     at com.wra.websira.WraAdmin.validateUser(WraAdmin.java:451)
>     at eddsrv.LoginBean.verifyUser(LoginBean.java:41)
>     at org.apache.jsp.Login_jsp._jspService(Login_jsp.java:144)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
>     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
>     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
>     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
>     at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:284)
>     at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:322)
>     at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1714)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1209 / Virus Database: 1500/3557 - Release Date: 04/07/11
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message