db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Mcminn" <NMcm...@theblragency.com>
Subject RE: ClassNotFoundException
Date Fri, 12 Sep 2003 15:50:08 GMT
Yup, tried that as well.  Recompiled the whole app and restarted Tomcat,
still no luck.

--------------------------------------------
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:nmcminn@NequalsOne.com
http://www.NequalsOne.com 

> -----Original Message-----
> From: Josh Holtzman [mailto:josh@joshholtzman.com] 
> Sent: Friday, September 12, 2003 10:49 AM
> To: 'Apache Torque Users List'
> Subject: RE: ClassNotFoundException
> 
> 
> I've also noticed that, even with Tomcat set to reload 
> modified classes, it won't necessarily _deploy_ new classes 
> without a server (not just
> webapp) restart.
> 
> =============================
> JOSH HOLTZMAN Web Development
> http://joshholtzman.com
> ============================= 
> 
> -----Original Message-----
> From: Russell Simpkins [mailto:RussellSimpkins@funnygarbage.com] 
> Sent: Friday, September 12, 2003 8:41 AM
> To: Apache Torque Users List
> Subject: RE: ClassNotFoundException
> 
> 
> Nathan,
> 
> It all depends.  I've read issues with tomcat's classloaders. 
>  Did you put everything you need is in your apps WEB-INF/lib 
> and not in one of Tomcat's common/lib?
> 
> -----Original Message-----
> From: Nathan Mcminn [mailto:NMcminn@theblragency.com]
> Sent: Friday, September 12, 2003 11:33 AM
> To: torque-user@db.apache.org
> Subject: ClassNotFoundException
> 
> 
> After further investigation, I found the trace below in the 
> log files. I'm quite certain that this is at the root of the 
> problem ;-).  What I'm not so sure of is why it is happening 
> to begin with.  These classes are right in WEB-INF/classes, 
> so there shouldn't be a problem locating them. Torque should 
> just look in the classpath for these, right?
> 
> 2003-09-12 10:04:27,672 [main] ERROR org.apache.torque.Torque 
> - Could not create instance of listener
> java.lang.ClassNotFoundException: 
> com/nequalsone/util/NeoConnectionListener
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:140)
> 	at org.apache.torque.Torque.initListener(Torque.java:264)
> 	at org.apache.torque.Torque.initialize(Torque.java:252)
> 	at 
> org.apache.stratum.component.ComponentLoader.loadComponent(Com
> ponentLoad
> er.java:220)
> 	at 
> org.apache.stratum.component.ComponentLoader.load(ComponentLoa
> der.java:1
> 79)
> 	at 
> org.apache.turbine.services.component.TurbineComponentService.
> init(Turbi
> neComponentService.java:153)
> 	at 
> org.apache.turbine.services.BaseServiceBroker.initService(Base
> ServiceBro
> ker.java:321)
> 	at 
> org.apache.turbine.services.BaseServiceBroker.doInitService(Ba
> seServiceB
> roker.java:401)
> 	at 
> org.apache.turbine.services.BaseServiceBroker.initServices(Bas
> eServiceBr
> oker.java:373)
> 	at 
> org.apache.turbine.services.BaseServiceBroker.init(BaseService
> Broker.jav
> a:190)
> 	at org.apache.turbine.Turbine.configure(Turbine.java:421)
> 	at org.apache.turbine.Turbine.init(Turbine.java:230)
> 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> 	at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardW
> rapper.jav
> a:924)
> 	at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.
> java:813)
> 	at 
> org.apache.catalina.core.StandardContext.loadOnStartup(Standar
> dContext.j
> ava:3341)
> 	at 
> org.apache.catalina.core.StandardContext.start(StandardContext
> .java:3534
> )
> 	at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> 	at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> 	at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> 	at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> 	at
> org.apache.catalina.core.StandardService.start(StandardService
> .java:497)
> 	at
> org.apache.catalina.core.StandardServer.start(StandardServer.j
> ava:2189)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
> 	at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> 	at
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.jav
> a:39)
> 	at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessor
> Impl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 2003-09-12 10:04:28,203 [Thread-2] DEBUG 
> org.apache.torque.oid.IDBroker
> - IDBroker thread was started. 2003-09-12 10:04:28,753 [main] 
> DEBUG org.apache.torque.util.BasePeer - SELECT 
> TURBINE_SCHEDULED_JOB.JOB_ID, TURBINE_SCHEDULED_JOB.SECOND, 
> TURBINE_SCHEDULED_JOB.MINUTE, TURBINE_SCHEDULED_JOB.HOUR, 
> TURBINE_SCHEDULED_JOB.WEEK_DAY, 
> TURBINE_SCHEDULED_JOB.DAY_OF_MONTH, 
> TURBINE_SCHEDULED_JOB.TASK, TURBINE_SCHEDULED_JOB.EMAIL, 
> TURBINE_SCHEDULED_JOB.PROPERTY FROM TURBINE_SCHEDULED_JOB 
> 2003-09-12 10:04:28,884 [main] DEBUG 
> org.apache.torque.util.BasePeer - Elapsed time=131 ms 
> 2003-09-12 10:04:32,999 [Thread-6] ERROR 
> org.apache.torque.util.BasePeer - BasePeer.MapBuilder failed 
> trying to instantiate: 
> com.nequalsone.util.db.map.TurbineMapBuilderAdapter
> java.lang.ClassNotFoundException: 
> com/nequalsone/util/db/map/TurbineMapBuilderAdapter
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:140)
> 	at
> org.apache.torque.util.BasePeer.getMapBuilder(BasePeer.java:2122)
> 	at 
> com.nequalsone.om.TurbineUserPeerAdapter.<clinit>(TurbineUserP
> eerAdapter
> .java:17)
> 	at 
> com.nequalsone.neolisten.servlets.NEOListenServlet.getUser(NEO
> ListenServ
> let.java:231)
> 	at 
> com.nequalsone.neolisten.servlets.NEOListenServlet.doGet(NEOLi
> stenServle
> t.java:105)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at 
> org.apache.catalina.servlets.InvokerServlet.serveRequest(Invok
> erServlet.
> java:458)
> 	at 
> org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServl
> et.java:18
> 0)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Applica
> tionFilterChain.java:247)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilt
> erChain.java:193)
> 	at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValv
> e.java:260)
> 	at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:643)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 80)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValv
> e.java:191)
> 	at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:643)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 80)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:239
> 6)
> 	at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java
> :180)
> 	at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:643)
> 	at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherVa
> lve.java:170)
> 	at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:641)
> 	at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java
> :172)
> 	at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:641)
> 	at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:469
> )
> 	at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:641)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 80)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.
> java:174)
> 	at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:643)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 80)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> java:223)
> 	at 
> org.apache.coyote.http11.Http11Processor.process(Http11Process
> or.java:40
> 5)
> 	at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processC
> onnection(Http11Protocol.java:380)
> 	at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:50
> 8)
> 	at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool
> .java:533)
> 	at java.lang.Thread.run(Thread.java:536)
> 
> --------------------------------------------
> Nathan McMinn
> Application Developer
> NequalsOne - HealthCare marketing tools 
> mailto:nmcminn@NequalsOne.com > http://www.NequalsOne.com 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 
> 

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


Mime
View raw message