错误调度程序调度程序初始化失败

时间:2019-09-12 11:15:56

标签: configuration struts

我的配置中有struts2.5.17.jar,并且当我启动WebLogic受管服务器时,该应用程序已部署在WebLogic 12.2.1中

  

05:49:22,521信息[com.workpoint.server.ServerProperties]没有事件配置服务器属性中指定了文件,因此将不配置事件订阅者。   错误调度程序调度程序初始化失败    无法加载配置。 -类别:com.opensymphony.xwork2.util.fs.StrutsJarURLConnection   文件:StrutsJarURLConnection.java   方法:getInputStream   行:170-com / opensymphony / xwork2 / util / fs / StrutsJarURLConnection.java:170:-1           在com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)           在org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957)           在org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463)           在org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496)           在org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73)           在org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)           在weblogic.servlet.internal.FilterManager $ FilterInitAction.run(FilterManager.java:400)           在weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328)           在weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)           在weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)           在weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)           在weblogic.servlet.internal.FilterManager.initFilter(FilterManager.java:130)           在weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:92)           在weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:72)           在weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1928)           在weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3106)           在weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1843)           在weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:884)           在weblogic.application.internal.ExtensibleModuleWrapper $ StartStateChange.next(ExtensibleModuleWrapper.java:360)           在weblogic.application.internal.ExtensibleModuleWrapper $ StartStateChange.next(ExtensibleModuleWrapper.java:356)           在weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)           在weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)           在weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)           在weblogic.application.internal.flow.ModuleStateDriver $ 3.next(ModuleStateDriver.java:233)           在weblogic.application.internal.flow.ModuleStateDriver $ 3.next(ModuleStateDriver.java:228)           在weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)           在weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:78)           在weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52)           在weblogic.application.internal.BaseDeployment $ 2.next(BaseDeployment.java:752)           在weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)           在weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:262)           在weblogic.application.internal.EarDeployment.activate(EarDeployment.java:66)           在weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)           在weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:90)           在weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:274)           在weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:507)           在weblogic.management.deploy.internal.DeploymentAdapter $ 1.doActivate(DeploymentAdapter.java:53)           在weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:202)           在weblogic.management.deploy.internal.AppTransition $ 2.transitionApp(AppTransition.java:52)           在weblogic.management.deploy.internal.ConfiguredDeployments $ 2.doItem(ConfiguredDeployments.java:741)           在weblogic.management.deploy.internal.parallel.BucketInvoker $ 2.run(BucketInvoker.java:95)           在weblogic.work.ContextWrap.run(ContextWrap.java:46)           在weblogic.work.SelfTuningWorkManagerImpl $ WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:678)           在weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)           在weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)           在weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)           在weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)           在weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)           在weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)           在weblogic.work.ExecuteThread.run(ExecuteThread.java:360)   原因:加载文件struts-default.xml时捕获异常-类:com.opensymphony.xwork2.util.fs.StrutsJarURLConnection   文件:StrutsJarURLConnection.java   方法:getInputStream   行:170-com / opensymphony / xwork2 / util / fs / StrutsJarURLConnection.java:170:-1           在com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1069)           在com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:198)           在com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:165)           在com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:166)           在com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)           ...还有49个   造成原因:java.lang.NullPointerException           在com.opensymphony.xwork2.util.fs.StrutsJarURLConnection.getInputStream(StrutsJarURLConnection.java:170)           在com.opensymphony.xwork2.util.fs.JarEntryRevision.build(JarEntryRevision.java:57)           在com.opensymphony.xwork2.util.fs.DefaultFileManager.monitorFile(DefaultFileManager.java:94)           在com.opensymphony.xwork2.util.fs.DefaultFileManager.loadFile(DefaultFileManager.java:73)           在com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1054)           ...还有53个

试图将struts2-core-2.5.17.jar添加到类路径仍然无法解决

0 个答案:

没有答案