Weblogic 12C外部属性文件未加载

时间:2019-09-10 05:07:53

标签: weblogic12c

我在weblogic 12c中找不到用于外部文件配置的解决方案。 log4j.xml,products.properties和其他属性文件位于一个目录中,我需要加载所有这些目录文件。如果创建一个jar文件并将其保存在lib文件夹中,则可以正常工作。

1。我试图通过将所有属性和log4j.xml文件保留在域目录中进行配置。

  1. 将目录保留在domain / config文件夹中,并更改setDomainEnv.sh例如:EXT_POST_CLASSPATH="${EXT_POST_CLASSPATH};${DOMAIN_HOME}/config/" export EXT_POST_CLASSPATH

3。尝试更改CLASSPATH CLASSPATH="${CLASSPATH}/home/weblogic/weblogic122130/middleware/domain/"

4。JAVA_OPTIONS="${JAVA_OPTIONS}-DpropFileLocation =/home/weblogic/weblogic122130/middleware/domain/config/"

没有一个解决了weblogic 12c的配置问题。

<[ACTIVE] ExecuteThread:队列的'0':'weblogic.kernel.Default(自调整)'> <> <> <9d65409c-86b2-4355-81a4-6aee55503056-00000008> <1568091067885> <[严重性值:8] [rid:0] [partition-id:0] [partition-name:DOMAIN]>(Logger.java:24)     在com.iexceed.appzillon.logging.LoggerFactory.getRestServicesLogger(LoggerFactory.java:61)     在com.iexceed.appzillon.startup.AppzillonRestWSStartup。(AppzillonRestWSStartup.java:17)     在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本机方法)处     在sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)     在sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     在java.lang.reflect.Constructor.newInstance(Constructor.java:423)     在java.lang.Class.newInstance(Class.java:442)     在weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:252)     在weblogic.servlet.internal.WebComponentContributor.createInstance(WebComponentContributor.java:297)     在weblogic.servlet.internal.WebAppServletContext.createInstance(WebAppServletContext.java:4256)     在weblogic.servlet.internal.WebAppServletContext.createInstance(WebAppServletContext.java:4244)     在weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:518)     在weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:154)     在weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:97)     在weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1919)     在weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3101)     在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.SingleModuleDeployment.activate(SingleModuleDeployment.java:52)     在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.invoke(BucketInvoker.java:138)     在weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:749)上     在weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:702)     在weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:381)     在weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:233)     在weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:219)     在weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:133)     在weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)     在sun.reflect.GeneratedMethodAccessor5.invoke(未知来源)     在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     在java.lang.reflect.Method.invoke(Method.java:498)     在org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)     在org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)     在org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)     在org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)     在org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)     在org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)     在org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)     在org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)     在org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)     在org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)     在org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:212)     在org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:235)     在org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)     在org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)     在org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)     在org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)     在org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)     在org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)     在org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)     在org.glassfish.hk2.runlevel.internal.CurrentTaskFuture $ QueueRunner.oneJob(CurrentTaskFuture.java:1237)     在org.glassfish.hk2.runlevel.internal.CurrentTaskFuture $ QueueRunner.run(CurrentTaskFuture.java:1168)     在org.glassfish.hk2.runlevel.internal.CurrentTaskFuture $ UpOneLevel.run(CurrentTaskFuture.java:786)     在weblogic.work.SelfTuningWorkManagerImpl $ WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670)     在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:644)     在weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)     在weblogic.work.ExecuteThread.run(ExecuteThread.java:355)

  <2019年9月10日上午IST >> [[ACTIVE] ExecuteThread:'0'表示队列:'weblogic.kernel.Default(自我调整)'> <> <> <9d65409c-86b2-4355-81a4 -6aee55503056-00000008> <1568091067887> <[严重性值:64] [rid:0] [partition-id:0] [partition-name:DOMAIN]>

0 个答案:

没有答案