The following comment has been added to this issue:

     Author: Jim Krygowski
    Created: Fri, 22 Aug 2003 1:04 PM
       Body:
Hey just noticed one more thing.

It looks like the SessionLifecycleListener (which the RequestLifecycleListener depend 
upon to set the DefaultComponentManager into the session) is bombing out without 
throwing an exception.  

The exception happens in ComponentConfiguration.configure() when it tris to execute 
the line:

Class resource = loadClass(componentDefinition.className);


Because this happens before session.setAttribute(DefaultComponentManager ) is called, 
we return to the calling context having never set the DefaultComponentManager.  The 
value of componentDefinition.className when the exception occurs is: 

com.opensymphony.webwork.example.counter.Counter

The following exception appears in the tomcat logs:

ava.lang.NoClassDefFoundError: com/cortexeb/tools/clover/S
        at com.opensymphony.webwork.example.counter.Counter.<clinit>(Counter.java:14)
        at java.lang.Class.forName0(Native Method)


Which indicates to me that the clover.jar is required by the example app but not 
provided anywhere on the classpath.  Once I dropped clover-1.2.jar into lib the 
application started.





---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-263


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-263
    Summary: webwork-example not working with Tomcat 5.0.7
       Type: Bug

     Status: Assigned
   Priority: Major

    Project: WebWork
 Components: 
             Component Management
   Fix Fors:
             2.0
   Versions:
             2.0

   Assignee: Patrick Lightbody
   Reporter: Marc Lehmann

    Created: Tue, 19 Aug 2003 8:32 AM
    Updated: Thu, 21 Aug 2003 9:46 PM
Environment: Windows 2000, J2SDK 1.4.2, Tomcat 5.0.7, webwork-2.0-beta

Description:
The following exception is thrown on first start-up: (Looks like ww-166 and xw-37. 
However, this is no restart issue.)

java.lang.RuntimeException: Fallback must be an instance of DefaultConfigurationManager
        at 
com.opensymphony.xwork.interceptor.component.DefaultComponentManager.setFallback(DefaultComponentManager.java:50)
        at 
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:54)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:254)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:256)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:210)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:190)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:647)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:489)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:649)
        at java.lang.Thread.run(Unknown Source)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to