具体日志目录:fmw_12.2.1.4.0_wls\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log下的日志报错如下
There are 1 nested errors:
weblogic.coherence.api.internal.CoherenceException: (Wrapped) null
at weblogic.cacheprovider.coherence.CoherenceClusterManager.processException(CoherenceClusterManager.java:849)
at weblogic.cacheprovider.coherence.CoherenceClusterManager.configureClusterService(CoherenceClusterManager.java:303)
at weblogic.cacheprovider.CacheProviderServerService.initCoherence(CacheProviderServerService.java:116)
at weblogic.cacheprovider.CacheProviderServerService.initialize(CacheProviderServerService.java:80)
at weblogic.cacheprovider.CacheProviderServerService.start(CacheProviderServerService.java:74)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture Q u e u e R u n n e r . o n e J o b ( C u r r e n t T a s k F u t u r e . j a v a : 1237 ) a t o r g . g l a s s f i s h . h k 2. r u n l e v e l . i n t e r n a l . C u r r e n t T a s k F u t u r eQueueRunner.oneJob(CurrentTaskFuture.java:1237) at org.glassfish.hk2.runlevel.internal.CurrentTaskFutureQueueRunner.oneJob(CurrentTaskFuture.java:1237)atorg.glassfish.hk2.runlevel.internal.CurrentTaskFutureQueueRunner.run(CurrentTaskFuture.java:1168)
at weblogic.work.SelfTuningWorkManagerImpl W o r k A d a p t e r I m p l . r u n ( S e l f T u n i n g W o r k M a n a g e r I m p l . j a v a : 681 ) a t w e b l o g i c . i n v o c a t i o n . C o m p o n e n t I n v o c a t i o n C o n t e x t M a n a g e r .ru n A s ( C o m p o n e n t I n v o c a t i o n C o n t e x t M a n a g e r . j a v a : 352 ) a t w e b l o g i c . i n v o c a t i o n . C o m p o n e n t I n v o c a t i o n C o n t e x t M a n a g e r . r u n A s ( C o m p o n e n t I n v o c a t i o n C o n t e x t M a n a g e r . j a v a : 337 ) a t w e b l o g i c . w o r k . L i v e P a r t i t i o n U t i l i t y . d o R u n W o r k U n d e r C o n t e x t ( L i v e P a r t i t i o n U t i l i t y . j a v a : 57 ) a t w e b l o g i c . w o r k . P a r t i t i o n U t i l i t y . r u n W o r k U n d e r C o n t e x t ( P a r t i t i o n U t i l i t y . j a v a : 41 ) a t w e b l o g i c . w o r k . S e l f T u n i n g W o r k M a n a g e r I m p l . r u n W o r k U n d e r C o n t e x t ( S e l f T u n i n g W o r k M a n a g e r I m p l . j a v a : 655 ) a t w e b l o g i c . w o r k . E x e c u t e T h r e a d . e x e c u t e ( E x e c u t e T h r e a d . j a v a : 420 ) a t w e b l o g i c . w o r k . E x e c u t e T h r e a d . r u n ( E x e c u t e T h r e a d . j a v a : 360 ) C a u s e d b y : ( W r a p p e d ) j a v a . l a n g . r e f l e c t . I n v o c a t i o n T a r g e t E x c e p t i o n a t c o m . t a n g o s o l . u t i l . B a s e . e n s u r e R u n t i m e E x c e p t i o n ( B a s e . j a v a : 324 ) a t c o m . t a n g o s o l . u t i l . B a s e . e n s u r e R u n t i m e E x c e p t i o n ( B a s e . j a v a : 305 ) a t c o m . t a n g o s o l . n e t . C a c h e F a c t o r y . s e t S e r v i c e C o n f i g ( C a c h e F a c t o r y . j a v a : 1028 ) a t c o m . t a n g o s o l . n e t . C a c h e F a c t o r y . s e t M a n a g e m e n t C o n f i g ( C a c h e F a c t o r y . j a v a : 969 ) a t w e b l o g i c . c o h e r e n c e . s e r v i c e . i n t e r n a l . W L S C o h e r e n c e C o n f i g u r a t o r . i n j e c t C o n f i g u r a t i o n ( W L S C o h e r e n c e C o n f i g u r a t o r . j a v a : 436 ) a t w e b l o g i c . c o h e r e n c e . s e r v i c e . i n t e r n a l . W L S C o h e r e n c e C o n f i g u r a t o r . c o n f i g u r e ( W L S C o h e r e n c e C o n f i g u r a t o r . j a v a : 370 ) a t w e b l o g i c . c o h e r e n c e . s e r v i c e . i n t e r n a l . W L S C o h e r e n c e C o n f i g u r a t o r . c o n f i g u r e C o h e r e n c e ( W L S C o h e r e n c e C o n f i g u r a t o r . j a v a : 163 ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e 0 ( N a t i v e M e t h o d ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e ( N a t i v e M e t h o d A c c e s s o r I m p l . j a v a : 62 ) a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v o k e ( D e l e g a t i n g M e t h o d A c c e s s o r I m p l . j a v a : 43 ) a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( M e t h o d . j a v a : 498 ) a t w e b l o g i c . c a c h e p r o v i d e r . c o h e r e n c e . C o h e r e n c e C l u s t e r M a n a g e r . c o n f i g u r e C l u s t e r S e r v i c e ( C o h e r e n c e C l u s t e r M a n a g e r . j a v a : 299 ) . . . 26 m o r e C a u s e d b y : j a v a . l a n g . r e f l e c t . I n v o c a t i o n T a r g e t E x c e p t i o n a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e 0 ( N a t i v e M e t h o d ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e ( N a t i v e M e t h o d A c c e s s o r I m p l . j a v a : 62 ) a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v o k e ( D e l e g a t i n g M e t h o d A c c e s s o r I m p l . j a v a : 43 ) a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( M e t h o d . j a v a : 498 ) a t c o m . t a n g o s o l . n e t . C a c h e F a c t o r y . s e t S e r v i c e C o n f i g ( C a c h e F a c t o r y . j a v a : 1024 ) . . . 35 m o r e C a u s e d b y : j a v a . l a n g . I l l e g a l A r g u m e n t E x c e p t i o n : M B e a n t y p e = C l u s t e r , c l u s t e r = d e f a u l t C o h e r e n c e C l u s t e r d o e s n o t e x i s t a t c o m . t a n g o s o l . c o h e r e n c e . c o m p o n e n t . n e t . m a n a g e m e n t . g a t e w a y . R e m o t eWorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681) at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420) at weblogic.work.ExecuteThread.run(ExecuteThread.java:360) Caused by: (Wrapped) java.lang.reflect.InvocationTargetException at com.tangosol.util.Base.ensureRuntimeException(Base.java:324) at com.tangosol.util.Base.ensureRuntimeException(Base.java:305) at com.tangosol.net.CacheFactory.setServiceConfig(CacheFactory.java:1028) at com.tangosol.net.CacheFactory.setManagementConfig(CacheFactory.java:969) at weblogic.coherence.service.internal.WLSCoherenceConfigurator.injectConfiguration(WLSCoherenceConfigurator.java:436) at weblogic.coherence.service.internal.WLSCoherenceConfigurator.configure(WLSCoherenceConfigurator.java:370) at weblogic.coherence.service.internal.WLSCoherenceConfigurator.configureCoherence(WLSCoherenceConfigurator.java:163) 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 weblogic.cacheprovider.coherence.CoherenceClusterManager.configureClusterService(CoherenceClusterManager.java:299) … 26 more Caused by: java.lang.reflect.InvocationTargetException 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.tangosol.net.CacheFactory.setServiceConfig(CacheFactory.java:1024) … 35 more Caused by: java.lang.IllegalArgumentException: MBean type=Cluster,cluster=defaultCoherenceCluster does not exist at com.tangosol.coherence.component.net.management.gateway.RemoteWorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)atweblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:352)atweblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)atweblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)atweblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)atweblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)atweblogic.work.ExecuteThread.execute(ExecuteThread.java:420)atweblogic.work.ExecuteThread.run(ExecuteThread.java:360)Causedby:(Wrapped)java.lang.reflect.InvocationTargetExceptionatcom.tangosol.util.Base.ensureRuntimeException(Base.java:324)atcom.tangosol.util.Base.ensureRuntimeException(Base.java:305)atcom.tangosol.net.CacheFactory.setServiceConfig(CacheFactory.java:1028)atcom.tangosol.net.CacheFactory.setManagementConfig(CacheFactory.java:969)atweblogic.coherence.service.internal.WLSCoherenceConfigurator.injectConfiguration(WLSCoherenceConfigurator.java:436)atweblogic.coherence.service.internal.WLSCoherenceConfigurator.configure(WLSCoherenceConfigurator.java:370)atweblogic.coherence.service.internal.WLSCoherenceConfigurator.configureCoherence(WLSCoherenceConfigurator.java:163)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atweblogic.cacheprovider.coherence.CoherenceClusterManager.configureClusterService(CoherenceClusterManager.java:299)…26moreCausedby:java.lang.reflect.InvocationTargetExceptionatsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atcom.tangosol.net.CacheFactory.setServiceConfig(CacheFactory.java:1024)…35moreCausedby:java.lang.IllegalArgumentException:MBeantype=Cluster,cluster=defaultCoherenceClusterdoesnotexistatcom.tangosol.coherence.component.net.management.gateway.RemoteLocalMBeanServerProxy.getMBeanInfo(Remote.CDB:9)
at com.tangosol.internal.metrics.MetricSupport.registerInternal(MetricSupport.java:196)
at com.tangosol.internal.metrics.MetricSupport.register(MetricSupport.java:139)
at com.tangosol.coherence.component.net.management.Gateway.registerMetrics(Gateway.CDB:1)
at com.tangosol.coherence.component.net.management.gateway.Remote.registerLocalModel(Remote.CDB:10)
at com.tangosol.coherence.component.net.management.Gateway.register(Gateway.CDB:8)
at com.tangosol.coherence.component.net.management.Gateway.makePrimary(Gateway.CDB:6)
at com.tangosol.coherence.component.net.management.Gateway.createGateway(Gateway.CDB:91)
at com.tangosol.coherence.component.application.console.Coherence.setServiceConfig(Coherence.CDB:32)
… 40 more
####
java.lang.IllegalStateException: Service weblogic.server.ServerLifeCycleService was started at level 9 but it has a run level of 10. The full descriptor is SystemDescriptor(
implementation=weblogic.server.ServerLifeCycleService
name=ServerLifeCycleService
contracts={weblogic.server.ServerLifeCycleService,weblogic.server.ServerService}
scope=org.glassfish.hk2.runlevel.RunLevel
qualifiers={javax.inject.Named}
descriptorType=CLASS
descriptorVisibility=NORMAL
metadata=runLevelValue={10}
rank=0
loader=HK2LoaderImpl(weblogic.utils.classloaders.GenericClassLoader@4c583ecf finder: weblogic.utils.classloaders.CodeGenClassFinder@674067db annotation: )
proxiable=null
proxyForSameScope=null
analysisName=null
id=160
locatorId=0
identityHashCode=327574514
reified=true)
.
A MultiException has 1 exceptions. They are:java.lang.IllegalStateException: Service weblogic.server.ServerLifeCycleService was started at level 9 but it has a run level of 10. The full descriptor is SystemDescriptor(
implementation=weblogic.server.ServerLifeCycleService
name=ServerLifeCycleService
contracts={weblogic.server.ServerLifeCycleService,weblogic.server.ServerService}
scope=org.glassfish.hk2.runlevel.RunLevel
qualifiers={javax.inject.Named}
descriptorType=CLASS
descriptorVisibility=NORMAL
metadata=runLevelValue={10}
rank=0
loader=HK2LoaderImpl(weblogic.utils.classloaders.GenericClassLoader@4c583ecf finder: weblogic.utils.classloaders.CodeGenClassFinder@674067db annotation: )
proxiable=null
proxyForSameScope=null
analysisName=null
id=160
locatorId=0
identityHashCode=327574514
reified=true)at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2132)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:777)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getUnqualifiedService(ServiceLocatorImpl.java:789)
at org.jvnet.hk2.internal.IterableProviderImpl.get(IterableProviderImpl.java:111)
at weblogic.management.provider.internal.DomainAccessImpl.lookupServerLifecycleRuntime(DomainAccessImpl.java:117)
at weblogic.management.provider.internal.DomainRuntimeMBeanImpl.lookupServerLifeCycleRuntime(DomainRuntimeMBeanImpl.java:66)
at weblogic.server.RemoteLifeCycleOperationsImpl.setState(RemoteLifeCycleOperationsImpl.java:126)
at weblogic.t3.srvr.ServerRuntime 2. r u n ( S e r v e r R u n t i m e . j a v a : 514 ) a t w e b l o g i c . w o r k . S e l f T u n i n g W o r k M a n a g e r I m p l2.run(ServerRuntime.java:514) at weblogic.work.SelfTuningWorkManagerImpl2.run(ServerRuntime.java:514)atweblogic.work.SelfTuningWorkManagerImplWorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused By: java.lang.IllegalStateException: Service weblogic.server.ServerLifeCycleService was started at level 9 but it has a run level of 10. The full descriptor is SystemDescriptor(
implementation=weblogic.server.ServerLifeCycleService
name=ServerLifeCycleService
contracts={weblogic.server.ServerLifeCycleService,weblogic.server.ServerService}
scope=org.glassfish.hk2.runlevel.RunLevel
qualifiers={javax.inject.Named}
descriptorType=CLASS
descriptorVisibility=NORMAL
metadata=runLevelValue={10}
rank=0
loader=HK2LoaderImpl(weblogic.utils.classloaders.GenericClassLoader@4c583ecf finder: weblogic.utils.classloaders.CodeGenClassFinder@674067db annotation: )
proxiable=null
proxyForSameScope=null
analysisName=null
id=160
locatorId=0
identityHashCode=327574514
reified=true)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.validate(AsyncRunLevelContext.java:446)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:299)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:777)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getUnqualifiedService(ServiceLocatorImpl.java:789)
at org.jvnet.hk2.internal.IterableProviderImpl.get(IterableProviderImpl.java:111)
at weblogic.management.provider.internal.DomainAccessImpl.lookupServerLifecycleRuntime(DomainAccessImpl.java:117)
at weblogic.management.provider.internal.DomainRuntimeMBeanImpl.lookupServerLifeCycleRuntime(DomainRuntimeMBeanImpl.java:66)
at weblogic.server.RemoteLifeCycleOperationsImpl.setState(RemoteLifeCycleOperationsImpl.java:126)
at weblogic.t3.srvr.ServerRuntime 2. r u n ( S e r v e r R u n t i m e . j a v a : 514 ) a t w e b l o g i c . w o r k . S e l f T u n i n g W o r k M a n a g e r I m p l2.run(ServerRuntime.java:514) at weblogic.work.SelfTuningWorkManagerImpl2.run(ServerRuntime.java:514)atweblogic.work.SelfTuningWorkManagerImplWorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
启动weblogic控制台报错截图如下:
解决方案如下:不知道安装的时候什么时候配置了Coherence 集群,将Coherence 集群删掉后启动正常了。