控制台启动报错NamingContextPackage
报错信息:
Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at com.apusic.naming.ins.TransientNamingContext.local_resolve(TransientNamingContext.java:485)
at com.apusic.naming.ins.TransientNamingContext.local_resolve(TransientNamingContext.java:496)
at com.apusic.naming.jndi.NamingContextWrapper$TransientNamingContextWrapper.resolve(NamingContextWrapper.java:145)
at com.apusic.naming.jndi.CNContext.resolveWithFailover(CNContext.java:631)
at com.apusic.naming.jndi.CNContext.doResolve(CNContext.java:581)
以及
ERROR [apusic.application.EAS-Thread 1] Starting failed.
javax.management.InstanceAlreadyExistsException: j2ee:J2EEServer=eas-test21,name=mbos_eas.war,J2EEApplication=EAS,j2eeType=WebModule
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:450)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1911)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:979)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:913)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:535)
at com.apusic.deploy.runtime.J2EEApplication.startApplication(J2EEApplication.java:1034)
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.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.apusic.jmx.MBeanDescriptor.invoke(MBeanDescriptor.java:546)
at com.apusic.jmx.DynamicMBeanSupport.invoke(DynamicMBeanSupport.java:62)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:832)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:814)
at com.apusic.server.J2EEServer.start(J2EEServer.java:606)
at com.apusic.server.J2EEServer.startup(J2EEServer.java:354)
at com.apusic.server.Main.main(Main.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.kingdee.eas.tools.launcher.Start.main(Start.java:213)
解决办法:
可以看出是名称为mbos_eas.war的组件问题
查看以下文件
eas\server\deploy\eas.ear\META-INF\application.xml
eas\server\deploy\apusic\eas.ear\META-INF\application.xml
与正常文件相比是否一致,不一致的话,从备份环境还原一下。
控制台启动报错NamingContextPackage
本文2024-09-22 20:28:53发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-113902.html