
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Tomcat 4.1.24, WW-2.0-beat1
|
|
|
Issue 1: Drop webwork-example.war into Tomcat. Go to /webwork-example/. Stack Trace displayed:
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:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
....
Checking the log shows: Session event listener threw exception
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at com.opensymphony.xwork.interceptor.component.ComponentConfiguration.loadClass(ComponentConfiguration.java:133)
at com.opensymphony.xwork.interceptor.component.ComponentConfiguration.configure(ComponentConfiguration.java:64)
at com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(SessionLifecycleListener.java:50)
at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:402)
...
Commenting everthing out of components.xml fixes that issue.
In that configuration, the following links on the example page throw execptions. All threw ServletException (with non-useful stacktraces) unless noted:
/webwork-example/SimpleCounter.action
/webwork-example/VelocityCounter.action
/webwork-example/action.jsp
/webwork-example/bean.jsp
/webwork-example/TagTest.action
/webwork-example/VelocityTagTest.action
/webwork-example/tags.vm (this was an IOException: java.io.IOException: unable to render tag! --
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'findValue' in class com.opensymphony.xwork.util.OgnlValueStack threw exception class java.lang.NullPointerException : null)
/webwork-example/CountryTest.action
/webwork-example/IteratorTest.action
/webwork-example/showForm.action
/webwork-example/exception.action
The link /webwork-example/form2.jsp worked, but pressing the button created another stacktrace.
|
|
Description
|
Issue 1: Drop webwork-example.war into Tomcat. Go to /webwork-example/. Stack Trace displayed:
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:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
....
Checking the log shows: Session event listener threw exception
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at com.opensymphony.xwork.interceptor.component.ComponentConfiguration.loadClass(ComponentConfiguration.java:133)
at com.opensymphony.xwork.interceptor.component.ComponentConfiguration.configure(ComponentConfiguration.java:64)
at com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(SessionLifecycleListener.java:50)
at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:402)
...
Commenting everthing out of components.xml fixes that issue.
In that configuration, the following links on the example page throw execptions. All threw ServletException (with non-useful stacktraces) unless noted:
/webwork-example/SimpleCounter.action
/webwork-example/VelocityCounter.action
/webwork-example/action.jsp
/webwork-example/bean.jsp
/webwork-example/TagTest.action
/webwork-example/VelocityTagTest.action
/webwork-example/tags.vm (this was an IOException: java.io.IOException: unable to render tag! --
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'findValue' in class com.opensymphony.xwork.util.OgnlValueStack threw exception class java.lang.NullPointerException : null)
/webwork-example/CountryTest.action
/webwork-example/IteratorTest.action
/webwork-example/showForm.action
/webwork-example/exception.action
The link /webwork-example/form2.jsp worked, but pressing the button created another stacktrace.
|
Show » |
|
java.lang.NoClassDefFoundError: com/cortexeb/tools/clover/S
at com.opensymphony.webwork.example.ui.SimpleAction.<clinit>(SimpleAction.java:19)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
Is Clover a requirement in the webapp? Why?