tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject [t4] classloader doesn't work
Date Fri, 22 Jun 2001 01:04:02 GMT
#1. Remy, for the life of me, I can't use your new classloader. It just
isn't happening. It doesn't start up at all because the settings in the file
still seem to be ignored. I'm also having problems with the
StandardClassLoader which is what seems to be used regardless of what I have
in my server.xml file.

#2. The new problem is that now, when I force a classloader reload by
touching some files in scarab/WEB-INF/classes, I get this exception below.
This causes Catalina to essentially crash and it leaves around a
work/localhost/scarab/SESSION.ser file. If I restart Catalina, I cannot get
Scarab to work again until I remove that file because it causes an exception
like the one below to happen no matter what...

So, something that you have done recently really messed up the class
reloading to the point of not working at all.

thanks,

-jon

java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at 
org.apache.turbine.services.intake.TurbineIntakeService.initializeBeanProp(T
urbineIntakeService.java:224)
    at 
org.apache.turbine.services.intake.TurbineIntakeService.getFieldGetter(Turbi
neIntakeService.java:581)
    at 
org.apache.turbine.services.intake.TurbineIntake.getFieldGetter(TurbineIntak
e.java:235)
    at org.apache.turbine.services.intake.model.Field.<init>(Field.java:180)
    at 
org.apache.turbine.services.intake.model.BooleanField.<init>(BooleanField.ja
va:73)
    at 
org.apache.turbine.services.intake.model.FieldFactory$2.getInstance(FieldFac
tory.java:90)
    at 
org.apache.turbine.services.intake.model.FieldFactory.getInstance(FieldFacto
ry.java:154)
    at org.apache.turbine.services.intake.model.Group.<init>(Group.java:154)
    at 
org.apache.turbine.services.intake.TurbineIntakeService.getGroup(TurbineInta
keService.java:363)
    at 
org.apache.turbine.services.intake.TurbineIntake.getGroup(TurbineIntake.java
:85)
    at 
org.apache.turbine.services.intake.IntakeTool.init(IntakeTool.java:131)
    at 
org.apache.turbine.services.pull.TurbinePullService.populateWithRequestTools
(TurbinePullService.java:463)
    at 
org.apache.turbine.services.pull.TurbinePullService.populateContext(TurbineP
ullService.java:391)
    at 
org.apache.turbine.services.pull.TurbinePull.populateContext(TurbinePull.jav
a:145)
    at 
org.apache.turbine.services.velocity.TurbineVelocityService.getContext(Turbi
neVelocityService.java:221)
    at 
org.apache.turbine.services.velocity.TurbineVelocity.getContext(TurbineVeloc
ity.java:140)
    at 
org.apache.turbine.modules.pages.VelocityPage.doBuildBeforeAction(VelocityPa
ge.java:84)
    at 
org.tigris.scarab.pages.ScarabPage.doBuildBeforeAction(ScarabPage.java:74)
    at 
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:137)
    at org.apache.turbine.modules.Page.build(Page.java:90)
    at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
    at org.apache.turbine.Turbine.doGet(Turbine.java:502)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:255)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:219)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
    at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:472)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2253)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
    at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
888)
    at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:980)
    at java.lang.Thread.run(Thread.java:496)


Mime
View raw message