OAM : WLST commands reference

Objective:

To manage OAM related components, such as authorization providers, identity asserters, and SSO providers

Access Manager WLST Commands

Continue reading

Advertisements

OAM : Error while starting servers – Failed to start Service “Cluster” (ServiceState=SERVICE_STOPPED, STATE_JOINING)

Problem :

Error while starting OAM servers in clustered environment. Below error has been logged while starting up the servers.

(thread=Cluster, member=n/a): This member is not authorized to join the cluster. Rejected by Member(Id=1, Timestamp=2017-06-29 12:53:04.123, Address=192.168.24.12:9095, MachineId=1901, Location=site:lda,machine:OAMHOST01,process:916, Role=WeblogicServer).> 
(thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Error while starting cluster: java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)

Cause:
All the nodes must have a valid and identical Well Known Address (WKA) list. An empty WKA list will prevent the nodes from forming a cluster. Continue reading

Unable to start managed server using Nodemanager – SecurityProvider service class name for OAMIDAsserter is not specified.

Problem:

Error “SecurityProvider service class name for OAMIDAsserter is not specified” while starting managed server from weblogic admin console. Node manager is up and running.

Below has been logged in managed server log
Continue reading

Default password for DemoIdentity.jks and DemoTrust.jks

The following are the passwords and locations for DemoIdentity.jks and DemoTrust.jks

Property Value
Trust store location MW_HOME/wlserver_10.3/ server/lib/DemoTrust.jks
Trust store password DemoTrustKeyStorePassPhrase
Key store location MW_HOME/wlserver_10.3/ server/lib/DemoIdentity.jks
Key store password DemoIdentityKeyStorePassPhrase
Private key password DemoIdentityPassPhrase

OAM : Error while starting cluster: (Wrapped) java.io.IOException: Keystore was tampered with, or password was incorrect

Symptom

Below error is logged in Adminserver log. In OAM environment, oam_admin will be failed state.

     (thread=Configuration Store Observer, member=n/a): Error while starting cluster: (Wrapped) java.io.IOException: Keystore was tampered with, or password was incorrect
        at com.tangosol.util.Base.ensureRuntimeException(Base.java:290)
.
.
.
        at java.util.TimerThread.run(Timer.java:505)
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:772)
.
.
        ... 45 more
Caused by: java.security.UnrecoverableKeyException: Password verification failed
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:770)
        ... 49 more
>

Continue reading

Patch weblogic using command-line utility BSU

To apply patch to weblogic we can use command-line utility “bsu”.

Download weblogic patch and extract to location utils/bsu/cache_dir (/u05/oracle/middleware/utils/bsu/cache_dir)

In my-case MW_HOME=/u05/oracle/middleware/ & WL_HOME=/u05/oracle/middleware/wlserver_10.3

If bsu utility is slow, we can tune it by increasing MEM_ARGS in bsu.sh script as below

#!/bin/sh

JAVA_HOME="/data/oracle/product/fmw/java"

#MEM_ARGS="-Xms256m -Xmx512m"
MEM_ARGS="-Xms1024m -Xmx2048m"

"$JAVA_HOME/bin/java" ${MEM_ARGS} -jar patch-client.jar $*

Continue reading

Change “Console Context Path” in weblogic

If you have more than one weblogic domain and wanted to access all consoles via OHS. Follow this to achieve the same.To modify weblogic Admin console context-path from /console to /myCustomizedName

To specify the context path that you use to access the Administration Console: Continue reading