WCP 페이지 소스 보기에서 모듈버전 안나오게 하기

View Comments

webcener.ear --> spaces.war 안에 web.xml에 아래 파라미터를 추가 한후

webcenter.ear 재배치



  
    Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.   
    oracle.adf.view.rich.versionString.HIDDEN
    true
  




관련 페이지

https://blogs.oracle.com/speaks/entry/suppress_adf_version_number_in

https://docs.oracle.com/cd/E28280_01/web.1111/b31973/ap_config.htm#CBDBFGHF

Comments (+add yours?)

Tracbacks (+view to the desc.)

webcenter 도메인에 webcenter_년도_NN_webcenter_metrics.dat 파일 생성

View Comments

WebCenter Portal이 실행되는 domain  폴더에 

webcenter_2013_NN_webcenter_metrics.dat.같은 파일이 지속적으로 생성 된다 

default가 생성 되게 되어 있다


이와 같은 파일이 생성되지 않게 하기 위해서는 portal 인스턴스 스타트 스크립트의 JVM 옵션을 추가해 주어야 한다


-DenableMetricCollection=false


오라클 공식 문서에도 언급이 되어있었으나 오타가 있어 테스트를 하여 올립니다

아래는 오라클 공식문서 내용 입니다.

How To Remove Metrics .Dat Files In WebCenter Domain Home (Doc ID 1605100.1)

In this Document

Goal

Solution

References


Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Goal
There are many metrics .dat files located in the WebCenter domain home directory (/oracle/Middleware/user_projects/domains/base_domain) that look like:
webcenter_2013_NN_webcenter_metrics.dat.
What are these files for, and is it harmful to remove these metrics files?
How to stop them from being created?
How to store them in a different location?
 
Solution
These metrics .dat files are used for internal usage metrics only. They have limited usage for diagnosis. While it's preferable to keep them, there should be no harm to the application to disable collection of the files via jvm startup parameter, then delete the files:
JVM parameter -D enableMetricCollection-false (true is set by default)
1. Once disabled, restart the managed server.  This should stop the files from being created.
2. Before making changes, it would be advisable to make a backup of the files.

3. At this point the files can be deleted.


There is currently no configuration to store the files in an alternate location.  The following enhancement request (ER) is being considered for this:












Comments (+add yours?)

Tracbacks (+view to the desc.)

OVD 결과 SQL Quary 에 Upper함수 제거 방법

View Comments

A사 플젝에서 나온 사례

libOVD를 사용할때 

adapter_template_usergroup1.xml

adapter_template_usergroup2=xml

를 사용하여 WCP 동기화를 구성시 


SELECT DISTINCT 
PT_VUSER_GROUP.EX_USER_CLASS, 
PT_VUSER_GROUP.CLASS_NAME, 
PT_VUSER_GROUP.LOGIN_ID 
FROM EP_PORTLET.PT_VUSER_GROUP -- 뷰(INNER JOIN으로 변경 고려) 
WHERE (UPPER (PT_VUSER_GROUP.EX_USER_CLASS) = UPPER ( '03')) -- 컬럼의 함수사용으로 인한 풀 스캔 이므로 좌변의 UPPER 제거 고려 
ORDER BY PT_VUSER_GROUP.EX_USER_CLASS; 

위와같이 결과 쿼리에 UPPER함수가 자동으로 붙어 index를 못탈경우가 생긴다

오라클 답변은 아래와 같다

Enabling (selecting) the Enable Case Insensitive Search option makes the search case insensitive for case insensitive LDAP attributes, such as uid. Oracle Virtual Directory uses UPPER in the SQL query when Enable Case Insensitive Search is enabled. If the database cannot maintain functional indexes, such as for Oracle TimesTen or MySQL databases, then you should disable the Enable Case Insensitive Search option. When the Enable Case Insensitive Search is disabled, Oracle Virtual Directory performs case sensitive searches and does not use UPPER in the SQL query. The default value for Enable Case Insensitive Search is Enable. 

Reference: 

OVD Admin guide: http://docs.oracle.com/cd/E36909_01/admin.1111/e10046/basic_adapters.htm  


 useCaseInsensitiveSearch 항목을 true로 하여 WAS 재기동(admin포함) 하면 된다

default는 false 이다




<?xml version = '1.0' encoding = 'UTF-8'?>

<adapters xmlns="http://www.octetstring.com/schemas/Adapters" xmlns:ns2="http://xmlns.oracle.com/iam/management/ovd/config/plugins" version="0" schvers="303">

   <ldap id="DefaultAuthenticator" version="0">

      <root>ou=myrealm,dc=PortalDomain</root>

      <active>true</active>

      <serverType>WLS_OVD</serverType>

      <routing>

         <critical>true</critical>

         <priority>50</priority>

         <inclusionFilter/>

         <exclusionFilter/>

         <plugin/>

         <retrieve/>

         <store/>

         <visible>Yes</visible>

         <levels>-1</levels>

         <bind>true</bind>

         <bind-adapters/>

         <views/>

         <dnpattern/>

      </routing>

      <ns2:pluginChains>

         <ns2:plugins>

            <ns2:plugin>

               <ns2:name>DMSMetrics</ns2:name>

               <ns2:class>oracle.ods.virtualization.engine.chain.plugins.DMSMetrics.MonitorPerformance</ns2:class>

               <ns2:initParams/>

            </ns2:plugin>

            <ns2:plugin>

               <ns2:name>NestedGroupMembership</ns2:name>

               <ns2:class>oracle.ods.virtualization.engine.chain.plugins.groupmembership.NestedGroupMembership</ns2:class>

               <ns2:initParams>

                  <param name="nestedlevels" value="0" xmlns="http://xmlns.oracle.com/iam/management/ovd/config/plugins"/>

                  <param name="usersearchbase" value="ou=people,ou=myrealm,dc=PortalDomain" xmlns="http://xmlns.oracle.com/iam/management/ovd/config/plugins"/>

                  <param name="groupsearchbase" value="ou=groups,ou=myrealm,dc=PortalDomain" xmlns="http://xmlns.oracle.com/iam/management/ovd/config/plugins"/>

                  <param name="groupsearchfilter" value="(objectclass=groupOfUniqueNames)" xmlns="http://xmlns.oracle.com/iam/management/ovd/config/plugins"/>

                  <param name="groupmemberattribute" value="uniquemember" xmlns="http://xmlns.oracle.com/iam/management/ovd/config/plugins"/>

               </ns2:initParams>

            </ns2:plugin>

            <ns2:plugin>

               <ns2:name>DynamicGroup</ns2:name>

               <ns2:class>oracle.ods.virtualization.engine.chain.plugins.DynamicGroups.DynamicGroups</ns2:class>

               <ns2:initParams>

                  <ns2:param name="globalsearch" value="false"/>

                  <ns2:param name="transformdn" value="true"/>

                  <ns2:param name="usersearchbase" value="ou=myrealm,dc=PortalDomain"/>

               </ns2:initParams>

            </ns2:plugin>

         </ns2:plugins>

         <ns2:default>

            <ns2:plugin name="DMSMetrics"/>

            <ns2:plugin name="NestedGroupMembership"/>

            <ns2:plugin name="DynamicGroup"/>

         </ns2:default>

         <ns2:get/>

         <ns2:add/>

         <ns2:modify/>

         <ns2:delete/>

         <ns2:bind/>

         <ns2:rename/>

      </ns2:pluginChains>

      <hosts>

         <host port="-1" percentage="100" readonly="false">%HOST%</host>

      </hosts>

      <remoteBase>ou=myrealm,dc=PortalDomain</remoteBase>

      <secure>false</secure>

      <failover>true</failover>

      <passCredentials>Always</passCredentials>

      <binddn>%DN%</binddn>

      <bindpass>%PASSWORD%</bindpass>

      <dnAttributeList>

         <attribute>uniquemember</attribute>

         <attribute>manager</attribute>

         <attribute>secretary</attribute>

         <attribute>owner</attribute>

         <attribute>wlsmemberof</attribute>

      </dnAttributeList>

      <pageSize>0</pageSize>

      <referals>false</referals>

      <heartBeatInterval>60</heartBeatInterval>

      <timeout>120000</timeout>

      <maxPoolSize>100</maxPoolSize>

      <maxPoolWait>1000</maxPoolWait>

      <maxPoolChecks>10</maxPoolChecks>

      <quickFail>false</quickFail>

      <escapeSlashes>true</escapeSlashes>

      <kerberos>false</kerberos>

      <useDNS>No</useDNS>

      <ssl>

         <protocols/>

         <cipherSuites/>

      </ssl>

      <socketOptions>

         <reuseAddress>false</reuseAddress>

         <keepAlive>false</keepAlive>

         <tcpNoDelay>true</tcpNoDelay>

         <readTimeout>180000</readTimeout>

      </socketOptions>

   </ldap>

   <dataBase id="userGroupAdapter1" version="0">

      <root>cn=users,dc=aig,dc=co,dc=kr</root>

      <active>true</active>

      <serverType>directoryType</serverType>

      <routing>

         <critical>true</critical>

         <priority>50</priority>

         <inclusionFilter/>

         <exclusionFilter/>

         <plugin/>

         <retrieve/>

         <store/>

         <visible>Yes</visible>

         <levels>-1</levels>

         <bind>true</bind>

         <bind-adapters/>

         <views/>

         <dnpattern/>

      </routing>

      <pluginChains xmlns="http://xmlns.oracle.com/iam/management/ovd/config/plugins">

         <plugins>

            <plugin>

               <name>DBGUID</name>

               <class>oracle.ods.virtualization.engine.chain.plugins.dbguid.DBGuidPlugin</class>

               <initParams>

                  <param name="guidAttribute" value="orclguid"/>

               </initParams>

            </plugin>

         </plugins>

         <default>

            <plugin name="DBGUID"/>

         </default>

         <add/>

         <bind/>

         <delete/>

         <get/>

         <modify/>

         <rename/>

      </pluginChains>

      <driver>oracle.jdbc.driver.OracleDriver</driver>

      <url>datasource://jdbc/portletPrefs</url>

      <user>%USER%</user>

      <password>%PASSWORD%</password>

      <ignoreObjectClassOnModify>false</ignoreObjectClassOnModify>

      <includeInheritedObjectClasses>true</includeInheritedObjectClasses>

      <maxConnections>20</maxConnections>

      <mapping>

         <joins/>

         <objectClass name="person" rdn="cn">

            <attribute ldap="cn" table="PT_VUSERS" field="LOGIN_ID" type=""/>

            <attribute ldap="uid" table="PT_VUSERS" field="LOGIN_ID" type=""/>

            <attribute ldap="usernameattr" table="PT_VUSERS" field="NAME" type=""/>

            <attribute ldap="loginid" table="PT_VUSERS" field="LOGIN_ID" type=""/>

            <attribute ldap="description" table="PT_VUSERS" field="NAME" type=""/>

            <attribute ldap="orclguid" table="PT_VUSERS" field="LOGIN_ID" type=""/>

            <attribute ldap="pt_id" table="PT_VUSERS" field="LOGIN_ID" type=""/>

            <attribute ldap="pt_name" table="PT_VUSERS" field="NAME" type=""/>

            <attribute ldap="pt_deptid" table="PT_VUSERS" field="DEPT_CD" type=""/>

            <attribute ldap="pt_deptname" table="PT_VUSERS" field="DEPT_NM" type=""/>

            <attribute ldap="pt_userclass" table="PT_VUSERS" field="EX_USER_CLASS" type=""/>

         </objectClass>

      </mapping>

      <useCaseInsensitiveSearch>true</useCaseInsensitiveSearch>

      <connectionWaitTimeout>10</connectionWaitTimeout>

      <oracleNetConnectTimeout>0</oracleNetConnectTimeout>

      <validateConnection>false</validateConnection>

   </dataBase>

   <dataBase id="userGroupAdapter2" version="0">

      <root>cn=users,dc=aig,dc=co,dc=kr</root>

      <active>true</active>

      <serverType>directoryType</serverType>

      <routing>

         <critical>true</critical>

         <priority>50</priority>

         <inclusionFilter/>

         <exclusionFilter/>

         <plugin/>

         <retrieve/>

         <store/>

         <visible>Yes</visible>

         <levels>-1</levels>

         <bind>true</bind>

         <bind-adapters/>

         <views/>

         <dnpattern/>

      </routing>

      <pluginChains xmlns="http://xmlns.oracle.com/iam/management/ovd/config/plugins">

         <plugins>

            <plugin>

               <name>VirtualAttribute</name>

               <class>oracle.ods.virtualization.engine.chain.plugins.virtualattr.VirtualAttributePlugin</class>

               <initParams>

                  <param name="ReplaceAttribute" value="uniquemember={cn=%uniquemember%,cn=users,dc=XXX,dc=co,dc=kr}"/>

               </initParams>

            </plugin>

         </plugins>

         <default>

            <plugin name="VirtualAttribute"/>

         </default>

         <add/>

         <bind/>

         <delete/>

         <get/>

         <modify/>

         <rename/>

      </pluginChains>

      <driver>oracle.jdbc.driver.OracleDriver</driver>

      <url>datasource://jdbc/portletPrefs</url>

      <user>%USER%</user>

      <password>%PASSWORD%</password>

      <ignoreObjectClassOnModify>false</ignoreObjectClassOnModify>

      <includeInheritedObjectClasses>true</includeInheritedObjectClasses>

      <maxConnections>20</maxConnections>

      <mapping>

         <joins/>

         <objectClass name="groupofuniquenames" rdn="cn">

            <attribute ldap="cn" table="PT_VUSER_GROUP" field="EX_USER_CLASS" type=""/>

            <attribute ldap="description" table="PT_VUSER_GROUP" field="CLASS_NAME" type=""/>

            <attribute ldap="uniquemember" table="PT_VUSER_GROUP" field="LOGIN_ID" type=""/>

         </objectClass>

      </mapping>

      <useCaseInsensitiveSearch>true</useCaseInsensitiveSearch>

      <connectionWaitTimeout>10</connectionWaitTimeout>

      <oracleNetConnectTimeout>0</oracleNetConnectTimeout>

      <validateConnection>false</validateConnection>

   </dataBase>

</adapters>







Comments (+add yours?)

Tracbacks (+view to the desc.)

WCP Deploy Weblogic Datasource 암호변경 후 오류 발생하면서 Start안될때

View Comments

WCP가 deploy 된 Weblogic에서 OPSS관련 데이터 소스의 변경 시 Weblogic이 정상 기동 안될때가 있다

[EL Severe]: 2015-07-21 18:45:29.918--ServerSession(1775396835)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DatabaseException

Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied


Error Code: 1017

7월 21, 2015 6:45:29 오후 oracle.security.jps.internal.credstore.ldap.LdapCredentialStore init

WARNING: 인증서 저장소 인스턴스를 생성할 수 없습니다. 이유: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: 정책 저장소에 내부 오류가 발생했습니다.

<2015. 7. 21 오후 6시 45분 29초 KST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01055: 인증서 저장소 인스턴스를 생성할 수 없습니다. 이유: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: 정책 저장소에 내부 오류가 발생했습니다.> 

<2015. 7. 21 오후 6시 45분 29초 KST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01055: 인증서 저장소 인스턴스를 생성할 수 없습니다. 이유: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: 정책 저장소에 내부 오류가 발생했습니다.

weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01055: 인증서 저장소 인스턴스를 생성할 수 없습니다. 이유: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: 정책 저장소에 내부 오류가 발생했습니다.

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)

at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888)

at weblogic.security.SecurityService.start(SecurityService.java:141)

at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Caused By: oracle.security.jps.JpsRuntimeException: JPS-01055: 인증서 저장소 인스턴스를 생성할 수 없습니다. 이유: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: 정책 저장소에 내부 오류가 발생했습니다.

at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:173)

at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:390)

at java.lang.J9VMInternals.newInstanceImpl(Native Method)

at java.lang.Class.newInstance(Class.java:1882)

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)

at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888)

at weblogic.security.SecurityService.start(SecurityService.java:141)

at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Caused By: oracle.security.jps.JpsException: JPS-01055: 인증서 저장소 인스턴스를 생성할 수 없습니다. 이유: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: 정책 저장소에 내부 오류가 발생했습니다.

at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:3018)

at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3305)

at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:170)

at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:390)

at java.lang.J9VMInternals.newInstanceImpl(Native Method)

at java.lang.Class.newInstance(Class.java:1882)

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)

at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888)

at weblogic.security.SecurityService.start(SecurityService.java:141)

at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Caused By: oracle.security.jps.service.credstore.CredStoreException: JPS-01055: 인증서 저장소 인스턴스를 생성할 수 없습니다. 이유: oracle.security.jps.service.policystore.PolicyStoreConnectivityException: JPS-10000: 정책 저장소에 내부 오류가 발생했습니다.

at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore.init(LdapCredentialStore.java:129)

at oracle.security.jps.internal.credstore.ldap.LdapCredentialStore.<init>(LdapCredentialStore.java:120)

at oracle.security.jps.internal.credstore.ldap.LdapCredentialStoreProvider.getInstance(LdapCredentialStoreProvider.java:135)

at oracle.security.jps.internal.credstore.rdbms.DbmsCredentialStoreProvider.getInstance(DbmsCredentialStoreProvider.java:68)

at oracle.security.jps.internal.credstore.rdbms.DbmsCredentialStoreProvider.getInstance(DbmsCredentialStoreProvider.java:46)

at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)

at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)

at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)

at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)

at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)

at oracle.security.jps.internal.policystore.PolicyUtil$3.run(PolicyUtil.java:2990)

at oracle.security.jps.internal.policystore.PolicyUtil$3.run(PolicyUtil.java:2984)

at java.security.AccessController.doPrivileged(AccessController.java:333)

at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2984)

at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3305)

at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:170)

at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:390)

at java.lang.J9VMInternals.newInstanceImpl(Native Method)

at java.lang.Class.newInstance(Class.java:1882)

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)

at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888)

at weblogic.security.SecurityService.start(SecurityService.java:141)

at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

<2015. 7. 21 오후 6시 45분 29초 KST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> 

<2015. 7. 21 오후 6시 45분 29초 KST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 

<2015. 7. 21 오후 6시 45분 29초 KST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 

<2015. 7. 21 오후 6시 45분 29초 KST> <Info> <WebLogicServer> <BEA-000236> <Stopping execute threads.> 



위와 같은 오류가 발생 했을경우
WLST를 실행 시켜 bootstrapCredential 을 업데이트 하거나 신규 생성을 해주어야 한다

아래 와 같이 진행 한다

1. Stop all the servers
2. Change the password of the opss schema in the Database
---------------------How to Change the password using the modifyBootStrapCredential -----------------------------------------------------------------------------------------
3.Run the modifyBootStrapCredential
    3.1 Run WLST inside Middlware/oracle_common/bin location, /opt/Oracle/Middleware/oracle_common/common/bin>wlst.sh.
    3.2 Run modifyBootStrapCredential
    3.3 For  Example: modifyBootStrapCredential(jpsConfigFile='<YOUR_DOMAIN>_jps-config.xml', username='<xxxx>_OPSS', password='newpassword')
    3.4  If the  modifyBootStrapCredential  sucessfull,  Go to step 4.(No need to run the  "addBootStrapCredential"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
    If the  modifyBootStrapCredential command fails, then run the following addBootStrapCredential
 
 
-------------------------How to Change the password using the addBootStrapCredential------------------------------------------------------------------------------------------
3. Run the  /opt/Oracle/Middleware/oracle_common/common/bin>wlst.sh.
       3.1 Check for the following in the  jps-config.xml
<propertySet name="props.db.1">
            <property name="jdbc.url" value="jdbc:oracle:thin:@xxxxxxx:1521/orcl.xxxxxxx"/>
            <property name="oracle.security.jps.farm.name" value="cn=IAM"/>
            <property name="server.type" value="DB_ORACLE"/>
            <property name="oracle.security.jps.ldap.root.name" value="cn=jpsroot"/>
            <property name="jdbc.driver" value="oracle.jdbc.OracleDriver"/>
            <property name="bootstrap.security.principal.map" value="BOOTSTRAP_JPS"/>
            <property name="bootstrap.security.principal.key" value="bootstrap_lXY2hl3Vv6sZ3/C5S+WNsCrKNXg="/>
            <property name="datasource.jndi.name" value="jdbc/OPSSDBDS"/>
            <property name="oracle.security.jps.db.useDSAdminMapKey" value="true"/>
        </propertySet>
 
       mapname is the >> bootstrap.security.principal.map = "BOOTSTRAP_JPS"
        keyname is the new keyname  for example= "bootstrap_abcxyz"
    3.2  addBootStrapCredential(jpsConfigFile='./jps-config.xml', map='BOOTSTRAP_JPS', key='bootstrap_abcxyz', username='XXX_OPSS', password='NewopssSchemaPassword"')
 
     3.3. Modify the props.db.1  in the jps-cofnig.xml

     FROM
         <property name="bootstrap.security.principal.key" value="bootstrap_lXY2hl3Vv6sZ3/C5S+WNsCrKNXg="/>
     TO
          <property name="bootstrap.security.principal.key" value="bootstrap_abcxyz"/>

      3.4   So your final  props.db.1 in the jps-config.xml
<propertySet name="props.db.1">
            <property name="jdbc.url" value="jdbc:oracle:thin:@xxxxxxx:1521/orcl.xxxxxxx"/>
            <property name="oracle.security.jps.farm.name" value="cn=IAM"/>
            <property name="server.type" value="DB_ORACLE"/>
            <property name="oracle.security.jps.ldap.root.name" value="cn=jpsroot"/>
            <property name="jdbc.driver" value="oracle.jdbc.OracleDriver"/>
            <property name="bootstrap.security.principal.map" value="BOOTSTRAP_JPS"/>
            <property name="bootstrap.security.principal.key" value="bootstrap_abcxyz"/>
            <property name="datasource.jndi.name" value="jdbc/OPSSDBDS"/>
            <property name="oracle.security.jps.db.useDSAdminMapKey" value="true"/>
        </propertySet>
     3.5 Save the jps-config.xml.
     3.6. Go to step 4
     4.   Restart the admin Server
    



Comments (+add yours?)

Tracbacks (+view to the desc.)

WCP 설치 후 Admin이 등록되어 있지 않을시 EM 등록

View Comments

WCP 첫 설치 후 관리페이지로 접근 할 사용자가 없을시

기본적으로는 Weblogic 계정이 등록 된다

Weblogic 계정으로 사용하지 않을시 

EM에서 Admin사용자를 등록해 준다


EM에서 Webcenter Admin등록.pptx



Comments (+add yours?)

Tracbacks (+view to the desc.)

Newer Entries Older Entries