在我的项目中,我使用的是Oracle标识和访问管理-12.2.1.3.0。我安装了weblogic(fmw_12.2.1.3.0_infrastructure.jar)、Oracle SOA Suite 12c(fmw_12.2.1.3.0_soa_quickstart.jar)、Oracle Identity Governance(OIM12c)12.2.1.3.0(fmw_12.2.1.3.0_idm.jar)。为模式创建执行了RCU并进行了weblogic域配置。
节点管理器、weblogic服务器和soa_server1正在顺利启动,但当我启动oim_server1时,我遇到了异常-
<Dec 15, 2017 6:13:41,431 PM IST> <Info> <oracle.iam.OIMPostConfigManager> <BEA-000000> < task failed :ENCRYPT_CONFIGURATION>
<Dec 15, 2017 6:13:41,433 PM IST> <Error> <oracle.iam.OIMPostConfigManager> <BEA-000000> <Task failed.::ENCRYPT_CONFIGURATION>
<Dec 15, 2017 6:13:41,433 PM IST> <Error> <oracle.iam.OIMPostConfigManager> <BEA-000000> <Task failed.::ENCRYPT_CONFIGURATION>
<Dec 15, 2017 6:13:42,000 PM IST> <Info> <oracle.iam.OIMPostConfigManager> <BEA-000000> <updating feature:ENCRYPT_CONFIGURATIONwith state :FAILEDwith executionTimeNot Applicable>
<Dec 15, 2017 6:13:42,046 PM IST> <Error> <oracle.iam.OIMPostConfigManager> <BEA-000000> <Shutting down the BootStrap Process. Please fix the problem and start the OIM Managed server again to complete OIM BootStrap. OR, If you want to skip the feature which has failed, mark the feature as complete using sql 'update oimbootstate set state='COMPLETE' where featurename='FAILED_FEATURE_NAME' and start the Managed Server again. In the latter case, you will have to manually perform the task being done by the failed feature. Refer to the Install documentations for the same>
<Dec 15, 2017 6:13:42,046 PM IST> <Error> <oracle.iam.OIMPostConfigManager> <BEA-000000> <Shutting down the BootStrap Process. Please fix the problem and start the OIM Managed server again to complete OIM BootStrap. OR, If you want to skip the feature which has failed, mark the feature as complete using sql 'update oimbootstate set state='COMPLETE' where featurename='FAILED_FEATURE_NAME' and start the Managed Server again. In the latter case, you will have to manually perform the task being done by the failed feature. Refer to the Install documentations for the same>
java.lang.Exception: Exception occured while encrypting the configuration
at oracle.iam.OIMPostConfigManager.config.util.EncryptConfigurationAndDB.encryptConfiguration(EncryptConfigurationAndDB.java:181)
at oracle.iam.OIMPostConfigManager.config.OIMConfigManager.encryptConfiguration(OIMConfigManager.java:5319)
at oracle.iam.OIMPostConfigManager.config.OIMConfigManager.executeAndRegisterTask(OIMConfigManager.java:1634)
at oracle.iam.OIMPostConfigManager.config.OIMConfigManager.configureOIM(OIMConfigManager.java:1556)
at oracle.iam.OIMPostConfigManager.config.OIMConfigManager.doExecute(OIMConfigManager.java:1175)
at oracle.iam.OIMPostConfigManager.appListener.BootStrapListener.preStart(BootStrapListener.java:128)
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.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.run(BaseLifecycleFlow.java:240)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
at weblogic.application.internal.ApplicationContextImpl$WLSSecurityProvider.invokePrivilegedAction(ApplicationContextImpl.java:1594)
at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:201)
at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:245)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:729)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:241)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:66)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:166)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:41)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:193)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:31)
at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:741)
at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:749)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:363)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:232)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:219)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:133)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
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 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.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:212)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:235)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
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$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:786)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670)
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:644)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)
Caused by: java.lang.Exception: Exception occurred during generation of keystores.
at oracle.iam.OIMPostConfigManager.config.util.EncryptConfigurationAndDB.encryptConfiguration(EncryptConfigurationAndDB.java:161)
... 66 more`enter code here`
我正在分别使用命令startmanagedweblogic.cmd soa_server1和startmanagedweblogic.cmd oim_server1启动soa_server1和oim_server1。
我终于找到了这个问题的答案:
通过运行以下命令,尝试检查是否有/app/oracle/product/ofm/user_projects/domains/iam_domain/config/fmwconfig/default-keystore.jks
的密码
$JAVA_HOME/bin/keytool -list -keystore /app/oracle/product/ofm/user_projects/domains/IAM_domain/config/fmwconfig/default-keystore.jks -storepass PASSWORD_OF_THE_DEFAULT_KEYSTORE
如果显示了密钥库条目,那么至少可以确保密钥库没有被损坏或篡改。由于您的密码是正确的,在凭据存储中,密码可能不正确。
如果密码不正确,您将收到:
keytool error: java.io.IOException:` Keystore was tampered with, or password was incorrect
因为您不知道default-keystore.jks的密码;备份该文件,删除它,并在与orakey同名和别名的相同位置创建新文件
$JAVA_HOME/bin/keytool -genkeypair -keyalg RSA -alias orakey -keypass <NEWPASS> -keystore default-keystore.jks -storepass <NEWPASS> -validity 3600
我在Spring-MVC+JPA上有应用。我建立战争并尝试在Tomcat上开始。 DataConfig: app.properties为: 因此,tomcat日志中会出现错误消息:
严重:启动筛选器springSecurityFilterChain org.SpringFramework.Beans.Factory.NoSuchBeanDefinitionException:否 名为“Spring SecurityFilterChain”的bean在org.springframework.beans.factory.support.defaultlistablebeanfac
我使用的是客户端的依赖版本,与我在Spring Boot Admin Server中使用的版本相同 是什么引起了这个问题?
我正在尝试编写Spring应用程序,我有这个代码,但是当使用Tomcat 8运行这个代码时,出现了这个错误,我不知道错误的根本原因是什么,请帮助 错误: 网状物xml: WebSecurityConfig.xml
在启动 Websphere liberty 服务器时注意到以下异常。如何删除它?感谢任何帮助。我们同时安装了javaee7配置文件和webProfile-6.0功能。EAR 应用程序有一个使用 jee6.0 / “3.0” web的 WAR 文件.xml