struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manohar <ilumann2...@yahoo.co.in>
Subject Re: Antwort: RE: Running Struts 2 Project in WebSphere Application Serve 7.0.0.19
Date Mon, 24 Mar 2014 22:23:16 GMT
Hi,

Thanks for your response. I changed the class loader settings but now I am
getting different error:

[3/24/14 16:20:39:455 MDT] 00000017 webapp E
com.ibm.ws.webcontainer.webapp.WebApp logError SRVE0293E: [Servlet
Error]-[Attribute "class" must be declared for element type "validator".]:
Unable to load configuration. - interceptor -
wsjar:file:/C:/IBM/WebSphere/AppServer/profiles/AppSrvHSCS/installedApps/IBM-7eee9b3778eNode02Cell/acys-hscs.ear/acys-hscs-web.war/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:146:127
 at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
 at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
 at
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
 at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:44)
 at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:548)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:462)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:319)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:379)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:860)
 at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:997)
 at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:1078)
 at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:775)
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3954)
 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
 at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:942)
 at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
 at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)
 at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
 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:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)
Caused by: Caught Exception while registering Interceptor class
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor -
interceptor -
wsjar:file:/C:/IBM/WebSphere/AppServer/profiles/AppSrvHSCS/installedApps/IBM-7eee9b3778eNode02Cell/acys-hscs.ear/acys-hscs-web.war/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:146:127
 at
com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:202)
 at
com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructParameterizedInterceptorReferences(InterceptorBuilder.java:170)
 at
com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:72)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1092)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:798)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:811)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:834)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:441)
 at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:265)
 at
org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)
 at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:189)
 at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
 ... 30 more
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:295)
 at
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:485)
 at
com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:523)
 at
com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:522)
 at
com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)
 at
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:521)
 at
com.opensymphony.xwork2.ObjectFactory.injectInternalBeans(ObjectFactory.java:127)
 at
com.opensymphony.xwork2.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:181)
 at
com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:158)
 at
com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:129)
 at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:139)
 at
com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:180)
 ... 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:132)
 at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)
 at
com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:462)
 at
com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:477)
 at
com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:34)
 at
com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:293)
 ... 52 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:495)
 at
com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:532)
 at
com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:581)
 at
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:530)
 at
com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
 at
com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)
 ... 57 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:295)
 at
com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:431)
 at
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:492)
 ... 62 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:132)
 at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)
 at
com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:462)
 at
com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:477)
 at
com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:34)
 at
com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:293)
 ... 64 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
 at
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:495)
 at
com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:532)
 at
com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:581)
 at
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:530)
 at
com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
 at
com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)
 ... 69 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
 at
com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:440)
 at
com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:492)
 ... 74 more
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:45)
 at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
 at
com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:419)
 ... 75 more
Caused by: Attribute "class" must be declared for element type "validator".
-
file:///C:/IBM/WebSphere/AppServer/profiles/AppSrvHSCS/com/opensymphony/xwork2/validator/validators/default.xml:8:125
 at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)



--
View this message in context: http://struts.1045723.n5.nabble.com/Running-Struts-2-Project-in-WebSphere-Application-Serve-7-0-0-19-tp5612359p5715575.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message