tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LINGALA, AMARESHWAR G \(SBCSI\)" <al3...@sbc.com>
Subject RE: Problems with tomcat on UNIX
Date Tue, 28 Sep 2004 17:44:13 GMT

Thanks Carlos it works now !!! 

-----Original Message-----
From: Carlos Bracho [mailto:carlos.bracho@gmail.com] 
Sent: Tuesday, September 28, 2004 12:28 PM
To: Tomcat Users List
Subject: Re: Problems with tomcat on UNIX


don't forget to copy the JDBC Driver's jar into
$CATALINA_HOME/common/lib


On Tue, 28 Sep 2004 13:16:35 -0400, Ben Souther <bsouther@fwdco.com>
wrote:
> What JDBC driver are you using?
> Is it a type 4 driver?
> 
> 
> On Tue, 2004-09-28 at 11:10, LINGALA, AMARESHWAR G (SBCSI) wrote:
> >  I have recently Implemented Connection Pooling for my Struts web
> > application. Everything seemed to have worked correctly until last
weekend.
> > All of a sudden I get the following error whenever I try to access
the
> > database. Also just so that you know everything works fine on my
local
> > machine. I get this problem only when I try to use the one on UNIX
box.
> >
> >  org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver
class
> > 'oracle.jdbc.driver.OracleDriver', cause:
> > java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
> >         at
> >
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader
> > .java:891)
> >         at
> >
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader
> > .java:756)
> >         at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:140)
> >         at
> >
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource
.jav
> > a:730)
> >         at
> >
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja
va:5
> > 18)
> >         at
> >
com.sbc.ssbilling.database.DBConnectionImpl.makeDBConnection(DBConnectio
nImp
> > l.java:57)
> >         at
> >
com.sbc.ssbilling.calculation.action.CalculationsReportAction.execute(Ca
lcul
> > ationsReportAction.java:51)
> >         at
> >
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
oces
> > sor.java:484)
> >         at
> >
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
274)
> >         at
> >
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> >         at
> >
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
> >         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> >         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >         at
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
> > FilterChain.java:284)
> >         at
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh
> > ain.java:204)
> >         at
> >
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja
> > va:257)
> >         at
> >
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntex
> > t.java:151)
> >         at
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
64)
> >         at
> >
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
text
> > Valve.java:245)
> >         at
> >
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja
> > va:199)
> >         at
> >
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntex
> > t.java:151)
> >         at
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
64)
> >         at
> >
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:195
> > )
> >         at
> >
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntex
> > t.java:151)
> >         at
> >
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:164
> > )
> >         at
> >
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntex
> > t.java:149)
> >         at
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
64)
> >         at
> >
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java
> > :156)
> >         at
> >
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntex
> > t.java:151)
> >         at
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
64)
> >         at
> >
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
> >         at
> >
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
> >         at
> >
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:82
8)
> >         at
> >
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onne
> > ction(Http11Protocol.java:700)
> >         at
> >
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
4)
> >         at
> >
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.jav
> > a:683)
> >         at java.lang.Thread.run(Thread.java:536)
> >
> > Any help is greatly appreciated !!
> >
> > Thanks
> >   Amar
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 



-- 
------------------------------------------------------------------
 Carlos J, Bracho M.                                  
 "The significant problems we face cannot    
  be solved at the same level of thinking      
  we were at when we created them."          
  Albert Einstein                           
------------------------------------------------------------------
 e-mail:  carlos.bracho@gmail.com
             carlos_bracho_1@ucab.edu.ve      
 MSN:    cbrachomi@hotmail.com                      
------------------------------------------------------------------

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


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


Mime
View raw message