struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Newton (JIRA)" <j...@apache.org>
Subject [jira] Closed: (WW-2633) Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor
Date Tue, 06 May 2008 21:28:05 GMT

     [ https://issues.apache.org/struts/browse/WW-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Newton closed WW-2633.
---------------------------

    Resolution: Not A Problem

Please ask questions on the struts-user mailing list.

http://struts.apache.org/mail.html

When you ask your question there please provide more than just a stack trace, like your configuration
files, any of your code relevant to the problem, etc.

Thanks :)

> Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2633
>                 URL: https://issues.apache.org/struts/browse/WW-2633
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.1.2
>         Environment: Websphere 6.1 With EJB 3 feature pack
>            Reporter: Siamack J. Farshi
>            Priority: Blocker
>
> My application runs when I use struts 2.0.11 [ a simple with app with a few pages], however;
when I upgrade to struts 2.1.2, the app crashes and none of the pages load. Below is the stack
trace
> [5/6/08 16:42:19:870 EDT] 00000028 XmlConfigurat I com.opensymphony.xwork2.util.logging.commons.CommonsLogger
info Parsing configuration file [struts-default.xml]
> [5/6/08 16:42:19:880 EDT] 00000028 XmlConfigurat I com.opensymphony.xwork2.util.logging.commons.CommonsLogger
info Parsing configuration file [struts-plugin.xml]
> [5/6/08 16:42:19:920 EDT] 00000028 XmlConfigurat I com.opensymphony.xwork2.util.logging.commons.CommonsLogger
info Parsing configuration file [struts.xml]
> [5/6/08 16:42:20:040 EDT] 00000028 InterceptorBu W com.opensymphony.xwork2.util.logging.commons.CommonsLogger
warn Unable to load config class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor
at interceptor - wsjar:file:/D:/projects/ccol/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/ccol/WEB-INF/lib/struts2-core-2.1.2.jar!/struts-default.xml:143:127
probably due to a missing jar, which might be fine if you never plan to use the validation
interceptor
> [5/6/08 16:42:20:040 EDT] 00000028 InterceptorBu E com.opensymphony.xwork2.util.logging.commons.CommonsLogger
error Actual exception
>                                  Caught Exception while registering Interceptor class
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor -
wsjar:file:/D:/projects/ccol/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/ccol/WEB-INF/lib/struts2-core-2.1.2.jar!/struts-default.xml:143:127
> 	at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:77)
> 	at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:53)
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1081)
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:781)
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:794)
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:817)
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:446)
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:270)
> 	at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:110)
> 	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
> 	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
> 	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)
> 	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
> 	at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:213)
> 	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:468)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:382)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:241)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:299)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:728)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:676)
> 	at com.ibm.ws.webcontainer.servlet.FileServletWrapper.handleRequest(FileServletWrapper.java:346)
> 	at com.ibm.ws.wswebcontainer.servlet.StaticFileServletWrapper.handleRequest(StaticFileServletWrapper.java:93)
> 	at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:702)
> 	at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
> 	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
> 	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
> 	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
> 	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
> 	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
> 	at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
> 	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
> 	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
> 	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
> 	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
> 	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
> 	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
> 	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
> 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
> 	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:290)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:470)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:508)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:507)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:558)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:506)
> 	at com.opensymphony.xwork2.ObjectFactory.injectInternalBeans(ObjectFactory.java:125)
> 	at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:150)
> 	at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:137)
> 	at org.apache.struts2.impl.StrutsObjectFactory.buildInterceptor(StrutsObjectFactory.java:52)
> 	... 41 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:137)
> 	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:447)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:462)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> 	... 50 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:480)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:517)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:565)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:515)
> 	at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> 	at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:135)
> 	... 55 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:290)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:416)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:477)
> 	... 60 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
> 	at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:137)
> 	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:49)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:447)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:462)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:48)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
> 	... 62 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:480)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:517)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:565)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:515)
> 	at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
> 	at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:135)
> 	... 67 more
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> 	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:425)
> 	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:477)
> 	... 72 more
> Caused by: java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
> 	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:404)
> 	... 73 more
> Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
> 	at java.io.File.<init>(File.java:364)
> 	at com.opensymphony.xwork2.validator.DefaultValidatorFactory.parseValidators(DefaultValidatorFactory.java:101)
> 	at com.opensymphony.xwork2.validator.DefaultValidatorFactory.<init>(DefaultValidatorFactory.java:43)
> 	... 78 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message