Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, May 29, 2019

Adop fs_clone fails with OutOfMemoryError: Java Heap Space Error

Exact Error:

Exception in thread “Thread-1” java.lang.OutOfMemoryError: GC overhead limit exceeded

Solution:

$export CONFIG_JVM_ARGS=”-Xms1024m -Xmx2048m”

$echo $CONFIG_JVM_ARGS
-Xms1024m -Xmx2048m

re-run went fine.

adop phase=fs_clone force=Yes

TNS: Lost Contact ORA-12547

Triggering following error when connect using Sql*Plus

ERROR:
$sqlplus  "/as sysdba"
SQL*Plus: Release 11.1.0.7.0 – Production on Wed May 21 12:46:06 2019
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact

CAUSE:

1) to kernel parameters settings
2) Incorrect permissions on the ORACLE executable
3) Insufficient ulimit setting for stack
4) $ORACLE_HOME/rdbms/lib/config.o is 0 bytes
5) Oracle binaries have not been linked correctly

SOLUTION:

1) Please check the notes below that provide the required settings for kernel parameters
Note 169706.1 Oracle Database on AIX,HP-UX,Linux,MacOSX,Solaris,Tru64

2) Please check permissions by running:

$ cd $ORACLE_HOME/bin
$ ls -l oracle
The output should show the correct permission which is:

-rwsr-s–x 1 oracle dba

If not, then please execute the following to correct the permissions:
$ cd $ORACLE_HOME/bin
$ chmod 6751 oracle
$ ls -l oracle

3) Check the current ulimit setting for stack:

ulimit -a

Check the install guide for your specific platform and version of Oracle and set the stack appropriately.

4) Check to ensure the following two files are not 0 bytes:

$ORACLE_HOME/bin/oracle
$ORACLE_HOME/rdbms/lib/config.o

If yes, rename the following file:

$ cd $ORACLE_HOME/rdbms/lib
$ mv config.o config.o.bad

Then, relink the oracle binary:
$ relink oracle

5) Check the alert log for any errors (ORA-00020: maximum number of processes) and solve.

select * from v$resource_limit and check maximum utilization and limit values.

RESOURCE_NAME      MAX_UTILIZATION LIMIT_VALUE
————-           ————————– ————————–
processes      350                350
sessions      380                380

6) If the above does not resolve I suggest that you shutdown the database and listener and then “relink all”

Please refer the ORACLE SUPPORT DOCUMENT ID 422173.1

Deploy an Application using WebLogic Server Administration Console:

1.Login to the administrative console with the administrative credential:
http://host_name:7001/console/

2.Click the Lock&Edit button in the Change Center section to set the server to edit mode.

Want to prevail other user from modifying the my session while i am working on it so i will lock it.

3.Click the Deployments link in the Domain Structure section.

4.In the Summary of Deployments section, click the Install button. The Install Application Assistant opens.
5.Click the upload your file(s) link.

6.Click Next to upload the file to the Oracle WebLogic Server server.

7.Click the radio button next to the ABC.ear file, and Next to continue the deployment.

8.Accept the default value to install this deployment as an application and click Next.

What type of application it is:
install this deployment as an application>> If installing war file, ear file

install this deployment as a Library>> If we deploy ".jar file" so it like king of api or its kind of services

9.Select deployment target.(on which managed server wanted to deploy.

10.Accept all other default values and click Finish to start the deployment process.

Here will be all configuration related information:

1. If wanted we can change the name of the application.
2.What kind of security module wanted to use, DDA only, custom role, and policies, advance etc.
3.Security which can be updated later on.
4.How should this source file made accessible.
5. Plan accessibility.

Now Start the Deployment which is in prepared state, Go to deployments, click on control, click ‘Start’ button. Select ‘Servicing all requests’. Click Yes to continue.

Now the Deployment state comes to ACTIVE status.