我们正在尝试使用现有的weblogic 12c域之一,而且它的DataSource密码已过期。 由于AdminServer没有正确响应,我也尝试重新启动AdminServer,现在我已经更改了数据库密码,并希望设置启动AdminServer的新密码,但我无法启动AdminServer,它的失败抱怨密码已过期。 (如果我让管理服务器保持运行并设置新密码,我本可以解决这个问题)
我可以看到DataSources的目标是Admin Server,我想如果我从AdminServer取消DS,我可以正确启动AdminServer。因此我从config.xml中删除了AdminServer作为目标,并尝试启动Admin,但它仍然失败抱怨密码已过期。 Config缓存在任何地方,看起来我是Admin仍在使用旧的配置文件?顺便说一句,我也尝试删除tmp文件夹。
另外,我尝试加密新密码并放置JDBC配置文件,可能我加密的方式是错误的。这些是我用来加密的步骤 1.离线连接到WLST(因为Admin未启动) 2.阅读域名 3.为新密码调用加密功能 4.打印加密密码
有什么不对吗?感谢任何解决此问题的建议。
错误就是这样开始,
Jun 22, 2015 4:38:04 PM oracle.security.jps.JpsStartup start
INFO: Jps initializing.
Jun 22, 2015 4:38:07 PM org.hibernate.validator.util.Version <clinit>
INFO: Hibernate Validator 12.1.3.0.0
Jun 22, 2015 4:38:07 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
[EL Severe]: ejb: 2015-06-22 16:38:11.173--ServerSession(143991231)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
Jun 22, 2015 4:38:11 PM oracle.security.jps.internal.common.config.AbstractSecurityStore getSecurityStoreVersion
WARNING: Unable to get the Version from Store returning the default oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.processJPAException(JpsDBDataManager.java:2180)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.init(JpsDBDataManager.java:1028)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.jpsObjectBaseQuery(JpsDBDataManager.java:3089)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.queryBaseObjects(JpsDBDataManager.java:5761)
at oracle.security.jps.internal.common.config.AbstractSecurityStore.getSecurityStoreVersion(AbstractSecurityStore.java:211)
at oracle.security.jps.internal.common.config.AbstractSecurityStore.getSecurityStoreVersion(AbstractSecurityStore.java:195)
at oracle.security.jps.internal.common.config.AbstractSecurityStore.<init>(AbstractSecurityStore.java:99)
at oracle.security.jps.internal.credstore.AbstractCredentialStore.<init>(AbstractCredentialStore.java:104)
at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore.<init>(LdapCredentialStore.java:130)
at oracle.security.jps.internal.credstore.ldap.LdapCredentialStoreProvider.getInstance(LdapCredentialStoreProvider.java:235)
at oracle.security.jps.internal.credstore.rdbms.DbmsCredentialStoreProvider.getInstance(DbmsCredentialStoreProvider.java:101)
at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.createContextInternal(ServiceContextManagerImpl.java:432)
感谢。
答案 0 :(得分:0)
首先备份域内的完整配置文件夹。看起来你正在域内使用rdbms策略存储。所以在config.xml中检查security-realm标签,你将能够找到使用新加密的加密密码更改密码和管理服务器应该启动。