HEAP

Heap dump


kill -3 [PID]                                          PID means process id

Increase Heap Size

backup set setDomainEnv.sh

 we can start editing  by below command
in linux vi  setDomainEnv.sh
---------------------------------------------------------
diff setDomainEnv.sh setDomainEnv.sh_Bala
-------------------------------------------------------------
edit /Xmx /Xms values like below by find
-------------------
/Xmx512m it will show where it is to replace. this is the differed content between  the original and backup file.

Maximum  3 Gb for the heap size.

-Xms1024m -Xmx1024m  -XX:MaxPermSize=512m this is one example to set min and max values and MaxPermSize respectively.

Xms ----------------min heap memory
Xmx ----------------max heap memory
--------------------------------------the below data is changed under sun java in the document .

<       WLS_MEM_ARGS_64BIT="-Xms512m -Xmx1024m"            ..............64BIT Processor
---
>       WLS_MEM_ARGS_64BIT="-Xms256m -Xmx512m"
218c218
<       WLS_MEM_ARGS_32BIT="-Xms256m -Xmx1024m"          ......................32BIT Processor
---
>       WLS_MEM_ARGS_32BIT="-Xms256m -Xmx512m"
255c255
< MEM_MAX_PERM_SIZE_64BIT="-XX:MaxPermSize=512m"
---
> MEM_MAX_PERM_SIZE_64BIT="-XX:MaxPermSize=256m"

Heap dump

Example

heap dump

USING jstack

jstack <pid>  >>"export to file"
example
jstack 11978 >>p.out

to view thread dump  file content
cat p.out

Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.191-b12 mixed mode):

"Attach Listener" #55 daemon prio=9 os_prio=0 tid=0x00007f5194001000 nid=0x2f73 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"[STANDBY] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'" #54 daemon prio=5 os_prio=0 tid=0x00007f51602af800 nid=0x2f19 in Object.wait() [0x00007f5136100000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x00000000daee9398> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"MTUTimer" #52 daemon prio=5 os_prio=0 tid=0x00007f51703a9000 nid=0x2f18 in Object.wait() [0x00007f5137919000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.util.TimerThread.mainLoop(Timer.java:552)
        - locked <0x00000000d6f107b8> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:505)

"[STANDBY] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'" #51 daemon prio=5 os_prio=0 tid=0x00007f5160349000 nid=0x2f17 in Object.wait() [0x00007f5138fff000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000083f8e870> (a weblogic.work.ExecuteThread)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000083f8e870> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"[STANDBY] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'" #50 daemon prio=5 os_prio=0 tid=0x00007f5160347800 nid=0x2f16 in Object.wait() [0x00007f5139100000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000083f8f2d8> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"[STANDBY] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'" #49 daemon prio=5 os_prio=0 tid=0x00007f5160343800 nid=0x2f15 in Object.wait() [0x00007f5139201000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000083f8fd68> (a weblogic.work.ExecuteThread)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000083f8fd68> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"[STANDBY] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'" #48 daemon prio=5 os_prio=0 tid=0x00007f5160341800 nid=0x2f14 in Object.wait() [0x00007f5139302000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000083f907d0> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'" #47 daemon prio=5 os_prio=0 tid=0x00007f5160340000 nid=0x2f13 in Object.wait() [0x00007f5139403000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000083f91238> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" #46 daemon prio=5 os_prio=0 tid=0x00007f516033e800 nid=0x2f12 in Object.wait() [0x00007f5139504000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000083f91d08> (a weblogic.work.ExecuteThread)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000083f91d08> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"weblogic.GCMonitor" #45 daemon prio=5 os_prio=0 tid=0x00007f516c184800 nid=0x2f11 in Object.wait() [0x00007f513b6fd000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
        - locked <0x0000000083f92900> (a java.lang.ref.ReferenceQueue$Lock)
        at weblogic.platform.GCMonitorThread.waitForNotification(GCMonitorThread.java:86)
        at weblogic.platform.GCMonitorThread.run(GCMonitorThread.java:62)

"Thread-21" #44 prio=5 os_prio=0 tid=0x00007f51701c5800 nid=0x2f10 waiting on condition [0x00007f51981c5000]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x00000000832c79a0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
        at weblogic.utils.concurrent.JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89)
        at weblogic.store.internal.PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:841)
        at weblogic.store.internal.PersistentStoreImpl.synchronousFlush(PersistentStoreImpl.java:1241)
        at weblogic.store.internal.PersistentStoreImpl.run(PersistentStoreImpl.java:1233)
        at java.lang.Thread.run(Thread.java:748)

"DoSManager" #43 daemon prio=6 os_prio=0 tid=0x00007f513c003000 nid=0x2f07 waiting on condition [0x00007f513bbfe000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at com.octetstring.vde.DoSManager.run(DoSManager.java:433)

"VDE Replication Thread" #41 daemon prio=5 os_prio=0 tid=0x00007f5164117000 nid=0x2f05 in Object.wait() [0x00007f51982c6000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at com.octetstring.vde.replication.Replication.wait30sec(Replication.java:389)
        - locked <0x0000000081853370> (a com.octetstring.vde.replication.Replication)
        at com.octetstring.vde.replication.Replication.run(Replication.java:355)

"Thread-19" #40 prio=5 os_prio=0 tid=0x00007f5170195800 nid=0x2f04 waiting on condition [0x00007f51983c7000]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x0000000082419420> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
        at weblogic.utils.concurrent.JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89)
        at weblogic.store.internal.PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:841)
        at weblogic.store.internal.PersistentStoreImpl.synchronousFlush(PersistentStoreImpl.java:1241)
        at weblogic.store.internal.PersistentStoreImpl.run(PersistentStoreImpl.java:1233)
        at java.lang.Thread.run(Thread.java:748)

"VDE Transaction Processor Thread" #39 daemon prio=2 os_prio=0 tid=0x00007f516410b000 nid=0x2f03 in Object.wait() [0x00007f51988cc000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x000000008235b878> (a com.octetstring.vde.backend.standard.TransactionProcessor)
        at java.lang.Object.wait(Object.java:502)
        at com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(TransactionProcessor.java:429)
        - locked <0x000000008235b878> (a com.octetstring.vde.backend.standard.TransactionProcessor)
        at com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionProcessor.java:216)

"weblogic.socket.ServerListenThread" #35 daemon prio=5 os_prio=0 tid=0x00007f516c0d6800 nid=0x2f02 runnable [0x00007f5198bcd000]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
        - locked <0x0000000082531af8> (a sun.nio.ch.Util$3)
        - locked <0x0000000082531ae8> (a java.util.Collections$UnmodifiableSet)
        - locked <0x00000000825319d0> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101)
        at weblogic.server.channels.ServerListenThread.selectFrom(ServerListenThread.java:241)
        at weblogic.server.channels.ServerListenThread.processSockets(ServerListenThread.java:137)
        at weblogic.server.channels.ServerListenThread.run(ServerListenThread.java:114)

"[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'" #34 daemon prio=5 os_prio=0 tid=0x00007f5158001000 nid=0x2f01 in Object.wait() [0x00007f5198ece000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000082532d38> (a weblogic.work.ExecuteThread)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000082532d38> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'" #32 daemon prio=5 os_prio=0 tid=0x00007f516c092000 nid=0x2f00 runnable [0x00007f5198fcf000]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
        - locked <0x00000000824559c8> (a sun.nio.ch.Util$3)
        - locked <0x00000000824559b8> (a java.util.Collections$UnmodifiableSet)
        - locked <0x0000000082455890> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101)
        at weblogic.socket.NIOSocketMuxer.selectFrom(NIOSocketMuxer.java:653)
        at weblogic.socket.NIOSocketMuxer.processSockets(NIOSocketMuxer.java:560)
        at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:30)
        at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:43)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:119)

"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" #31 daemon prio=5 os_prio=0 tid=0x00007f516c08b000 nid=0x2eff runnable [0x00007f51990d0000]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
        - locked <0x00000000824575b0> (a sun.nio.ch.Util$3)
        - locked <0x00000000824575a0> (a java.util.Collections$UnmodifiableSet)
        - locked <0x0000000082457488> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101)
        at weblogic.socket.NIOSocketMuxer.selectFrom(NIOSocketMuxer.java:653)
        at weblogic.socket.NIOSocketMuxer.processSockets(NIOSocketMuxer.java:560)
        at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:30)
        at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:43)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:119)

"ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" #30 daemon prio=5 os_prio=0 tid=0x00007f516c089800 nid=0x2efe runnable [0x00007f51991d1000]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
        - locked <0x0000000082459198> (a sun.nio.ch.Util$3)
        - locked <0x0000000082459188> (a java.util.Collections$UnmodifiableSet)
        - locked <0x0000000082459070> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101)
        at weblogic.socket.NIOSocketMuxer.selectFrom(NIOSocketMuxer.java:653)
        at weblogic.socket.NIOSocketMuxer.processSockets(NIOSocketMuxer.java:560)
        at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:30)
        at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:43)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:119)

"ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" #29 daemon prio=5 os_prio=0 tid=0x00007f516c08d800 nid=0x2efd runnable [0x00007f51a6067000]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
        - locked <0x000000008245ad80> (a sun.nio.ch.Util$3)
        - locked <0x000000008245ad70> (a java.util.Collections$UnmodifiableSet)
        - locked <0x000000008245ac58> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101)
        at weblogic.socket.NIOSocketMuxer.selectFrom(NIOSocketMuxer.java:653)
        at weblogic.socket.NIOSocketMuxer.processSockets(NIOSocketMuxer.java:560)
        at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:30)
        at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:43)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:119)

"[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" #28 daemon prio=5 os_prio=0 tid=0x00007f51600cd800 nid=0x2efc in Object.wait() [0x00007f51a5f66000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000082502e60> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" #27 daemon prio=5 os_prio=0 tid=0x00007f51600cc800 nid=0x2efb in Object.wait() [0x00007f51a5b64000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x00000000825194c0> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" #26 daemon prio=5 os_prio=0 tid=0x00007f5160002000 nid=0x2efa in Object.wait() [0x00007f51a5c65000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x000000008251aa50> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"weblogic.timers.TimerThread" #24 daemon prio=9 os_prio=0 tid=0x00007f51786d0800 nid=0x2ef8 in Object.wait() [0x00007f51996d2000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at weblogic.timers.internal.TimerThread.doWait(TimerThread.java:115)
        - locked <0x000000008168e628> (a java.lang.Object)
        at weblogic.timers.internal.TimerThread.access$000(TimerThread.java:21)
        at weblogic.timers.internal.TimerThread$Thread.run(TimerThread.java:291)

"weblogic.time.TimeEventGenerator" #23 daemon prio=9 os_prio=0 tid=0x00007f51786bf800 nid=0x2ef7 in Object.wait() [0x00007f51997d3000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:286)
        - locked <0x00000000813f7d40> (a weblogic.time.common.internal.TimeTable)
        at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:121)
        at java.lang.Thread.run(Thread.java:748)

"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" #22 daemon prio=5 os_prio=0 tid=0x00007f51786a7000 nid=0x2ef6 in Object.wait() [0x00007f51998d4000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)
        - locked <0x0000000081451d70> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

"Timer-2" #21 daemon prio=5 os_prio=0 tid=0x00007f51786a2800 nid=0x2ef5 in Object.wait() [0x00007f51a41b6000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.util.TimerThread.mainLoop(Timer.java:552)
        - locked <0x000000008168f588> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:505)

"Timer-1" #20 daemon prio=5 os_prio=0 tid=0x00007f516c01d800 nid=0x2ef4 in Object.wait() [0x00007f51a5a5b000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000080033290> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:502)
        at java.util.TimerThread.mainLoop(Timer.java:526)
        - locked <0x0000000080033290> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:505)

"Timer-0" #13 daemon prio=5 os_prio=0 tid=0x00007f51d60f9800 nid=0x2eed in Object.wait() [0x00007f51a6168000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000080656330> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:502)
        at java.util.TimerThread.mainLoop(Timer.java:526)
        - locked <0x0000000080656330> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:505)

"Service Thread" #10 daemon prio=9 os_prio=0 tid=0x00007f51d5e18000 nid=0x2eea runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C1 CompilerThread2" #9 daemon prio=9 os_prio=0 tid=0x00007f51d5dd2800 nid=0x2ee9 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" #8 daemon prio=9 os_prio=0 tid=0x00007f51d5dd0800 nid=0x2ee8 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #7 daemon prio=9 os_prio=0 tid=0x00007f51d5dce800 nid=0x2ee7 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007f51d5d96800 nid=0x2ee5 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f51d414c800 nid=0x2eda in Object.wait() [0x00007f51a7ffe000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000080857ac8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
        - locked <0x0000000080857ac8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)

"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f51d414a000 nid=0x2ed9 in Object.wait() [0x00007f51c41f0000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000080857d50> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:502)
        at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
        - locked <0x0000000080857d50> (a java.lang.ref.Reference$Lock)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

"main" #1 prio=5 os_prio=0 tid=0x00007f51d400b000 nid=0x2ecd in Object.wait() [0x00007f51dcacf000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x000000008000d458> (a weblogic.t3.srvr.T3Srvr)
        at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:1065)
        - locked <0x000000008000d458> (a weblogic.t3.srvr.T3Srvr)
        at weblogic.t3.srvr.T3ServerFuture.get(T3ServerFuture.java:79)
        at weblogic.t3.srvr.T3ServerFuture.get(T3ServerFuture.java:61)
        at weblogic.t3.srvr.T3ServerFuture.get(T3ServerFuture.java:15)
        at weblogic.Server.main(Server.java:140)

"VM Thread" os_prio=0 tid=0x00007f51d4140800 nid=0x2ed7 runnable

"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00007f51d4020000 nid=0x2ecf runnable

"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00007f51d4022000 nid=0x2ed0 runnable

"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00007f51d4024000 nid=0x2ed1 runnable

"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00007f51d4025800 nid=0x2ed2 runnable

"VM Periodic Task Thread" os_prio=0 tid=0x00007f51d5e53000 nid=0x2eeb waiting on condition

JNI global references: 248

Thread dump


To obtain a thread dump using jstack, run the following command:
jstack -l <pid>

You can output consecutive thread dumps to a file by using the console output redirect/append directive:
jstack -l <pid> >> threaddumps.log

CSR file generation


/home/sv-wl10
[sv-wl10 inddlvtwlmas01.srisohan.net~]$
$ openssl req -new -newkey rsa:2048 -nodes -keyout  inddlvtwlmas01.srisohan.net.key
-out inddlvtwlmas01.srisohan.net.key
-out inddlvtwlmas01.srisohan.net.csr

Explanation


openssl req = certificate request generating utility
-new = generates a new certificate request
-newkey = creates a new certificate request and a new private key
rsa:2048 = generates an RSA key 2048 bits in size
-nodes = if a private key is created it will not be encrypted
-keyout = the filename to write the newly created private key to
-key = specifies the file to read the private key from
-out = specifies the output filename.key
-out = specifies the output filename.csr

pack and unpack:


/apps/oracle/weblogic10.3.6/weblogic10.3.6/wlserver_10.3/common/bin

./pack.sh


-domain=/apps/oracle/weblogic10.3.6/user_projects/domain/raghu_domain
-template=/apps/oracle/domainpacks/raghu_domain.jar
-template_name=remote_managed   -managed=true

./pack.sh


=>command creates a template (a .jar archive file) that contains a snapshot of either an entire WebLogic domain or a subset of a WebLogic domain.

-domain=domain:-
=>The full or relative path for the WebLogic domain from which the template is to be created.

-template=template:-
=>The full or relative path and file name of the template to be created. The template filename must include the .jar extension.
-template_name=remote_managed


 -managed=true | false
=>Specifies whether the template is to be used to create Managed Servers on remote machines. The default is false.When this parameter is set to true, a Managed Server template is created that contains a minimal set of files, including SerializedSystemIni.dat and nm_password.properties. It also includes a domain.properties file that is unique to the Managed Server template.
Go to Middle ware home  in other machines.
/apps/oracle/weblogic12/  

./unpack.sh
-domain=/apps/oracle/weblogic1036/user_projects/domain/raghu_domain
-template=/apps/oracle/domainpacks/raghu_domain.jar

./unpack.sh


=>unpack command creates a full WebLogic domain or a subset of a domain used for a Managed Server domain directory on a remote machine.
=>unpack only with a template that is compatible with your current installation.
=>When you use the unpack command with a domain template, it creates a WebLogic domain containing all of the application and resource files defined in the template. It also creates necessary start scripts, and certain security and configuration files.
-domain=/domains/raghu_domain = domain path:-
=>The full or relative path of the WebLogic domain to be created.

-template=/apps/oracle/domainpacks/raghu_domain.jar:-
=>The full or relative path and filename of the template from which the WebLogic domain is to be created.

Delete previous log files:


find /path/to/files/ -type f -name '*.jpg' -mtime +30 -exec rm {} \;

Explanation


path/to files = where your files are located
* = wildcard
-type = file type
f = stand's for files
-name = limiting *.jpg means ending with all .jpg files OK
-mtime = how many days the files older then will be listed
+30 = files older then 30 days
-exec = executes a command
rm = is the command to remove
{} = gets the file list of all *.jpg files OK
\; = closes the command

Comments

Popular posts from this blog

Bsu

linux

Domain