问题描述
请教各位大侠,那位大侠有遇到这种问题,指点一下,谢谢环境:AIX、WAS6.1.0.29、Stuts1.1启动was时,加载validation出错,错误如下:[6/11/1111:56:15:435CDT]000000cbValidatorPlugIorg.apache.struts.validator.ValidatorPlugIninitResourcesLoadingvalidationrulesfilefrom'/WEB-INF/validator-rules.xml'[6/11/1111:56:15:548CDT]000000cbValidatorPlugIorg.apache.struts.validator.ValidatorPlugIninitResourcesLoadingvalidationrulesfilefrom'/WEB-INF/validation.xml'[6/11/1111:56:15:866CDT]000000cbValidatorPlugEorg.apache.struts.validator.ValidatorPlugIninitnulljava.lang.NullPointerExceptionatorg.apache.commons.validator.ValidatorResources.processForms(ValidatorResources.java:364)atorg.apache.commons.validator.ValidatorResources.process(ValidatorResources.java:327)atorg.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)atorg.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:161)atorg.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)atorg.apache.struts.action.ActionServlet.init(ActionServlet.java:473)atjavax.servlet.GenericServlet.init(GenericServlet.java:256)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:227)atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:341)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1308)atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:174)atcom.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:99)atcom.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:902)atcom.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:824)atcom.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:542)atcom.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:379)atcom.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:293)atcom.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:93)atcom.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:162)atcom.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:673)atcom.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:626)atcom.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)atcom.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1250)atcom.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1140)atcom.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)atcom.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:819)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:921)atcom.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1437)atcom.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4157)atcom.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4254)atcom.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1442)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:615)atsun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)atsun.reflect.GeneratedMethodAccessor633.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:615)atsun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)atjavax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089)atjavax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971)atcom.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)atcom.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)atcom.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1139)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)atcom.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1032)atcom.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)atcom.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)atcom.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:544)atorg.apache.struts.action.RequestProcessor.processActionPerform(UnknownSource)atorg.apache.struts.action.RequestProcessor.process(UnknownSource)atorg.apache.struts.action.ActionServlet.process(UnknownSource)atorg.apache.struts.action.ActionServlet.doPost(UnknownSource)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:763)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:856)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)atcom.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)atorg.apache.struts.action.RequestProcessor.doForward(UnknownSource)atorg.apache.struts.tiles.TilesRequestProcessor.doForward(UnknownSource)atorg.apache.struts.action.RequestProcessor.processForwardConfig(UnknownSource)atorg.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(UnknownSource)atcom.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:214)atorg.apache.struts.action.RequestProcessor.process(UnknownSource)atorg.apache.struts.action.ActionServlet.process(UnknownSource)atorg.apache.struts.action.ActionServlet.doPost(UnknownSource)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:763)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:856)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)atcom.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:792)atcom.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:363)atcom.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)atcom.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)atcom.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)atcom.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)atcom.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:126)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)atcom.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)atcom.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)atcom.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)atcom.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)atcom.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)atcom.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)atcom.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)atcom.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)atcom.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)