Hi.. I'm trying to get a test t3 app up and running...but I'm running into a slight problem with the ModuleLoader...I've been going over the code but I can't seem to find out how this is happening...perhaps some fresh eyes can help me out here....;)
Basically when I try to access the homepage via app/servlet/app...only the layout is rendered but it's content is not and I'm getting a NoSuchMethodError. (See below). Apparently...the ModuleLoader is trying to execute a screen module for Index.vm (which doesn't exist), it instantiates it succesfully (which is very suspect) and then tries to execute it..which is when the NoSuchMethodError exception is being thrown... There aren't any other exceptions in any other logs...ie. system out or services, torque.log...etc... I'm using t3, fulcrum, stratum and torque code from cvs head. I would appreciate it if someone could look into this... Thanks... Saimon I've sprinkled the code with debug statements (quite a few in fact, sorry ;). I've added large blocks of blank lines around the interesting part.. [main] DEBUG org.apache.turbine.tool.UIManager - UI Manager scope is global [main] DEBUG org.apache.turbine.Turbine - Using Resolver: org.apache.turbine.pipeline.DefaultResolver [main] DEBUG org.apache.turbine.pipeline.DefaultResolver - In DefaultResolver().init() [main] DEBUG org.apache.turbine.pipeline.DefaultResolver - DefaultResolver: default template /Default.vm [main] DEBUG org.apache.turbine.Turbine - Using Pipeline: org.apache.turbine.pipeline.TurbinePipeline [main] DEBUG org.apache.turbine.Turbine - Using descriptor path: conf/turbine-classic-pipeline.xml [main] DEBUG org.apache.turbine.pipeline.DefaultSessionTimeoutValve - In DefaultSessionTimeoutValve()! [main] DEBUG org.apache.turbine.pipeline.DefaultSessionTimeoutValve - In DefaultSessionTimeoutValve()..cfg is not null! [main] DEBUG org.apache.turbine.pipeline.DefaultSessionTimeoutValve - Leaving... DefaultSessionTimeoutValve()! [main] DEBUG org.apache.turbine.pipeline.DefaultSessionValidationValve - In DefaultSessionValidationValve()! [main] DEBUG org.apache.turbine.pipeline.DefaultSessionValidationValve - In DefaultSessionValidationValve(): get resolver [main] DEBUG org.apache.turbine.pipeline.DefaultSessionValidationValve - In DefaultSessionValidationValve(): r is not null [main] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! type is 'actions' [main] DEBUG org.apache.turbine.modules.ModuleLoader - O!In ModuleLoader: Looking for org.sam.app.modules.actions.TemplateSessionValidator [main] ERROR org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! Exception instantiating moduleClass:org.sam.app.modules.actions.TemplateSessionValidator [main] DEBUG org.apache.turbine.modules.ModuleLoader - O!In ModuleLoader: Looking for org.apache.turbine.modules.actions.TemplateSessionValidator [main] DEBUG org.apache.turbine.modules.ModuleLoader - O!In ModuleLoader: Instantiated : org.apache.turbine.modules.actions.TemplateSessionValidator and Mapped TemplateSessionValidator to org.apache.turbine.modules.actions.TemplateSessionValidator breaking!!! [main] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! module with name TemplateSessionValidator is about to be returned to DefaultResolver! [main] DEBUG org.apache.turbine.pipeline.DefaultSessionValidationValve - Leaving DefaultSessionValidationValve()! [main] DEBUG org.apache.turbine.pipeline.DefaultACLCreationValve - In DefaultACLCreationValve()! [main] DEBUG org.apache.turbine.pipeline.DefaultACLCreationValve - In DefaultACLCreationValve() r is not null! [main] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! type is 'actions' [main] DEBUG org.apache.turbine.modules.ModuleLoader - O!In ModuleLoader: Looking for org.sam.app.modules.actions.AccessController [main] ERROR org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! Exception instantiating moduleClass:org.sam.app.modules.actions.AccessController [main] DEBUG org.apache.turbine.modules.ModuleLoader - O!In ModuleLoader: Looking for org.apache.turbine.modules.actions.AccessController [main] DEBUG org.apache.turbine.modules.ModuleLoader - O!In ModuleLoader: Instantiated : org.apache.turbine.modules.actions.AccessController and Mapped AccessController to org.apache.turbine.modules.actions.AccessController breaking!!! [main] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! module with name AccessController is about to be returned to DefaultResolver! [main] DEBUG org.apache.turbine.pipeline.DefaultACLCreationValve - In DefaultACLCreationValve() retrieved accessController! [main] DEBUG org.apache.turbine.pipeline.DefaultACLCreationValve - Leaving DefaultACLCreationValve()! [main] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve() [main] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve()! got config [main] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve()! config was not null [main] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - Leaving DefaultTargetValve() [main] DEBUG org.apache.turbine.Turbine - Initializing pipeline [main] DEBUG org.apache.turbine.pipeline.RunModulesValve - In RunModulesValve().initialize() [main] DEBUG org.apache.turbine.pipeline.RunModulesValve - Leaving RunModulesValve().initialize() [main] DEBUG org.apache.turbine.Turbine - Getting rundataservice: [main] DEBUG org.apache.turbine.Turbine - RunDataService: org.apache.turbine.services.rundata.TurbineRunDataService@edf730 [main] INFO org.apache.turbine.Turbine - init complete, Ready to Rumble! [main] WARN org.apache.turbine.Turbine - Double initializaton of Turbine was attempted! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DetermineActionValve - No action [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DetermineActionValve - Action is now: [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DetermineTargetValve - Set target using default value [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DetermineTargetValve - Target is now: /Index.vm [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultSessionTimeoutValve - In DefaultSessionTimeoutValve.invoke()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultSessionTimeoutValve - Leaving... DefaultSessionTimeoutValve().invoke()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultLoginValve - In DefaultLoginValve().invoke()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultLoginValve - In DefaultLoginValve().process()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultLoginValve - Leaving DefaultLoginValve().process()!; [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultLoginValve - leaving DefaultLoginValve().invoke()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultSessionValidationValve - In DefaultSessionValidationValve().invoke() ! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.TemplateSessionValidator - In TemplateSessionValidator().perform(data)! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.TemplateSessionValidator - In TemplateSessionValidator().perform(data)! after data.populate(); [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.TemplateSessionValidator - In TemplateSessionValidator().perform(data)! data.getUser() is null! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.TemplateSessionValidator - In TemplateSessionValidator().perform(data)! Setting user!! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.TemplateSessionValidator - In TemplateSessionValidator().perform(data)! and verfied that data.getUser() is not null!! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.TemplateSessionValidator - In TemplateSessionValidator().perform(data)! after data.save(); [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.TemplateSessionValidator - In TemplateSessionValidator().perform(data)! after data.getUser() is null; [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultSessionValidationValve - In DefaultSessionValidationValve()invoke() after sessionValidator.execute(data): ! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultSessionValidationValve - Leaving DefaultSessionValidationValve().invoke() ! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultACLCreationValve - In DefaultACLCreationValve().invoke()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultACLCreationValve - In DefaultACLCreationValve().invoke() about to execute accessController! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.AccessController - In AccessController().doPerform() [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.actions.AccessController - Leaving AccessController().doPerform() [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultACLCreationValve - In DefaultACLCreationValve().invoke() after executing accessController! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultACLCreationValve - In DefaultACLCreationValve().invoke() about to leave! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.invoke()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.invoke() about to start executing! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.preExecuteAction()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.invoke() after preexecuting! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.executeAction()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.executeAction(): data.hasAction() was false! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.invoke() after executing! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.invoke() after postexecuting! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultActionValve - In DefaultActionValve.invoke()!about to leave [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.RunModulesValve - In RunModulesValve().invoke() [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.RunModulesValve - In RunModulesValve().runModules() [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.RunModulesValve - In RunModulesValve().runModules() before loop [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! type is not 'actions' [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! parsed template path:Index.vm to:Index.vm [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! names= FastArrayList[[Index, Default]] [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getAllPossibleModules()! modulePackages = FastArrayList[[org.sam.app.modules, org.apache.turbine.modules]] [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! defaultModules = FastArrayList[[org.sam.app.modules.Module, org.apache.turbine.modules.Module]] [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! modules(+ defaultModules) = FastArrayList[[org.sam.app.modules.screens.Index, org.sam.app.modules.screens.Default, org.apache.turbine.modules.screens.Index, org.apache.turbine.modules.screens.Default, org.sam.app.modules.Module, org.apache.turbine.modules.Module]] NOTE: org.sam.app.modules.screens.Index doesn't exist!!!!???? [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - O!In ModuleLoader: Looking for org.sam.app.modules.screens.Index [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - O!In ModuleLoader: Instantiated : org.sam.app.modules.screens.Index and Mapped Index.vm to org.sam.app.modules.screens.Index breaking!!! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.modules.ModuleLoader - In ModuleLoader().getModule()! module with name Index.vm is about to be returned to DefaultResolver! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.RunModulesValve - Executing module org.sam.app.modules.screens.Index for target: Index.vm [HttpProcessor[8080][4]] ERROR org.apache.turbine.Turbine - handleException: org.apache.turbine.Turbine.getConfiguration()Lorg/apache/stratum/configuration/Configuration; [HttpProcessor[8080][4]] ERROR org.apache.turbine.Turbine - java.lang.NoSuchMethodError: org.apache.turbine.Turbine.getConfiguration()Lorg/apache/stratum/configuration/Configuration; [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve() [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve()! got config [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve()! config was not null [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - Leaving DefaultTargetValve() [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke() [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! about to execute! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().execute()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! got target (is not null)=/Error.vm [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! got context! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! Added template to context! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! got layout [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - O!In DefaultTargetValve().render()!:Rendering target layouts/Default.vm [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().render()! added renderer r to context! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.Renderer - Rendering template layouts/Default.vm [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().render()! Rendered target: layouts/Default.vm [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().render()! Wrote out to outputstream! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! rendered layout: layouts/Default.vm [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! Executed! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().finished()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().finished() got context! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().finished()! executed requestFinished(context) [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().finished()! getAcl== null [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().finished()! removed acl from session [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - Leaving DefaultTargetValve().finished()! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! Finished! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - In DefaultTargetValve().invoke()! about to leave! [HttpProcessor[8080][4]] DEBUG org.apache.turbine.pipeline.DefaultTargetValve - Leaving DefaultTargetValve().invoke()! _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
