You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Charlie Wingate <cw...@valco-data.com> on 2007/09/14 15:58:57 UTC
Rookie Question Please help
Hi,
Thanks in advance for an insight you can give me.
I am trying to convert my web app to use SQL05 from SQL2K. I have almost got it, I have one error left! I keep getting the error "no suitable driver found" even though I have verified multiple times that I have sqljdbc.jar in WEB-INF\lib of the web app. I could not find a META-INF file that points to this or the older SQL2k driver(s) either. (I have pasted the tomcat window below) Anyone have a clue?
SEVERE: A FATAL ERROR has occurred which should not have happened under any circ
umstance. Please notify the Torque developers <turbine-torque-dev@jakarta.apach
e.org> and give as many details as possible (including the error stack trace).
java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): No suitable dr
iver found for jbc:sqlserver://172.17.20.81:1433;DatabaseName=DGDJSEC_TEST
at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:274)
at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:249)
at org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(Unkn
own Source)
at org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(Unkn
own Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass
(Unknown Source)
at org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(
Unknown Source)
at org.apache.jetspeed.services.security.turbine.TurbineUserManagement.g
etUser(Unknown Source)
at org.apache.jetspeed.services.JetspeedUserManagement.getUser(Unknown S
ource)
at org.apache.jetspeed.services.security.turbine.TurbineAuthentication.g
etAnonymousUser(Unknown Source)
at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(
Unknown Source)
at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(Unknow
n Source)
at org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerfor
m(Unknown Source)
at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerfor
m(Unknown Source)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:301)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.j
ava:688)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
a:658)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:45)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcesso
r.java:833)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.pr
ocess(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:12
85)
at java.lang.Thread.run(Unknown Source)
~Charlie
Charlie Wingate
Systems Engineer
cwingate@valco-data.com
Valco Data Systems
10 Manor Parkway
Salem, NH 03087
Main: 603-898-2288
Fax: 603-898-2188
The significant problems we have cannot be solved at the same level of thinking with which we created them.
- Albert Einstein
-----------------------------------------------------------
This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you.
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Rookie Question Please help
Posted by Charlie Wingate <cw...@valco-data.com>.
I got it. This was a real rookie mistake, it is JDBC not JBC on the url string.
~Charlie
The significant problems we have cannot be solved at the same level of thinking with which we created them.
- Albert Einstein
-----Original Message-----
From: Charlie Wingate [mailto:cwingate@valco-data.com]
Sent: Friday, September 14, 2007 9:59 AM
To: users@tomcat.apache.org
Subject: Rookie Question Please help
Hi,
Thanks in advance for an insight you can give me.
I am trying to convert my web app to use SQL05 from SQL2K. I have almost got it, I have one error left! I keep getting the error "no suitable driver found" even though I have verified multiple times that I have sqljdbc.jar in WEB-INF\lib of the web app. I could not find a META-INF file that points to this or the older SQL2k driver(s) either. (I have pasted the tomcat window below) Anyone have a clue?
SEVERE: A FATAL ERROR has occurred which should not have happened under any circ
umstance. Please notify the Torque developers <turbine-torque-dev@jakarta.apach
e.org> and give as many details as possible (including the error stack trace).
java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): No suitable dr
iver found for jbc:sqlserver://172.17.20.81:1433;DatabaseName=DGDJSEC_TEST
at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:274)
at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:249)
at org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(Unkn
own Source)
at org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(Unkn
own Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass
(Unknown Source)
at org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(
Unknown Source)
at org.apache.jetspeed.services.security.turbine.TurbineUserManagement.g
etUser(Unknown Source)
at org.apache.jetspeed.services.JetspeedUserManagement.getUser(Unknown S
ource)
at org.apache.jetspeed.services.security.turbine.TurbineAuthentication.g
etAnonymousUser(Unknown Source)
at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(
Unknown Source)
at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(Unknow
n Source)
at org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerfor
m(Unknown Source)
at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerfor
m(Unknown Source)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:301)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.j
ava:688)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
a:658)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:45)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcesso
r.java:833)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.pr
ocess(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:12
85)
at java.lang.Thread.run(Unknown Source)
~Charlie
Charlie Wingate
Systems Engineer
cwingate@valco-data.com
Valco Data Systems
10 Manor Parkway
Salem, NH 03087
Main: 603-898-2288
Fax: 603-898-2188
The significant problems we have cannot be solved at the same level of thinking with which we created them.
- Albert Einstein
-----------------------------------------------------------
This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you.
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************
-----------------------------------------------------------
This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you.
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org