EAS Cloud 实例1启动报错“ERROR [apusic.web.EAS./ormrpc-Thread 1] Error occurred when invoke event listener”
1、问题描述
EAS Cloud 实例1启动报错如下:
2023-04-19 18:23:21 INFO [apusic.web.EAS./ormrpc-Thread 1] No Spring WebApplicationInitializer types detected on classpath
2023-04-19 18:23:21 ERROR [apusic.web.EAS./ormrpc-Thread 1] Error occurred when invoke event listener.
java.lang.IllegalArgumentException: InputStream cannot be null
at javax.xml.parsers.SAXParser.parse(SAXParser.java:191)
at org.operamasks.faces.config.FacesConfigLoader.parseWebXml(FacesConfigLoader.java:151)
at org.operamasks.faces.config.FacesConfigLoader.loadFacesConfig(FacesConfigLoader.java:60)
at org.operamasks.faces.config.FacesConfigLoader.contextInitialized(FacesConfigLoader.java:115)
at com.apusic.web.container.EventBroadcaster.fireContextInitializedEvent(EventBroadcaster.java:222)
at com.apusic.web.container.WebContainer.finishContextInitialization(WebContainer.java:1181)
at com.apusic.web.container.WebContainer.start(WebContainer.java:316)
at com.apusic.web.http.VirtualHost.addContext(VirtualHost.java:106)
at com.apusic.web.http.HttpServer.loadWebModule(HttpServer.java:217)
at com.apusic.web.WebService.loadWebModule(WebService.java:500)
at com.apusic.deploy.runtime.WebModule.load(WebModule.java:1945)
at com.apusic.deploy.runtime.J2EEApplication.loadModules(J2EEApplication.java:1152)
at com.apusic.deploy.runtime.J2EEApplication.startApplication(J2EEApplication.java:1058)
at com.apusic.deploy.runtime.J2EEApplication.startService(J2EEApplication.java:918)
at com.apusic.service.Service.start(Service.java:205)
at com.apusic.deploy.runtime.J2EEDeployer.startUserApplications(J2EEDeployer.java:167)
at com.apusic.deploy.runtime.J2EEDeployer.startService(J2EEDeployer.java:135)
at com.apusic.service.Service.start(Service.java:205)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apusic.jmx.MBeanDescriptor.invoke(MBeanDescriptor.java:552)
at com.apusic.jmx.DynamicMBeanSupport.invoke(DynamicMBeanSupport.java:62)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at com.apusic.server.J2EEServer.start(J2EEServer.java:610)
at com.apusic.server.J2EEServer.startup(J2EEServer.java:356)
at com.apusic.server.Main.main(Main.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.kingdee.eas.tools.launcher.Start.main(Start.java:213)
2023-04-19 18:23:21 INFO [apusic.web.EAS./ormrpc-Thread 1] Context Root [/ormrpc]
2023-04-19 18:23:21 INFO [apusic.web.EAS./redirect2easportal-Thread 1] Context Root [/redirect2easportal]
2、原因分析
现场部署私包eas\server\deploy\eas.ear\web.war操作不当导致,正常情况下这个web.war用压缩软件打开直接就是META-INF目录和WEB-INF目录
而现场的这个web.war文件多了一层web目录
3、解决方法
去掉多余的这层web目录,用jar工具重新打包web.war
4、注意
私包部署时建议在部署前写好部署文档,包括修改了什么东西,放到哪个目录下等等,建议严格按照部署文档操作。以便出现异常时回退私包
EAS Cloud 实例1启动报错“ERROR [apusic.web.EAS./ormrpc-Thread 1] Error occurred when invoke event listener”
本文2024-09-22 20:27:45发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-113780.html