Thursday, 3 November 2011

Configuration: I-Planet as a proxy with Weblogic server


 

Configuration: I-Planet as a proxy with Weblogic server

Steps To Configure WLS Plug-in in IPlanet Web Server

1. Install SunOne Web-Server.
2. Install WLS with the Plugin Option enabled.This option installs WLS with all the plugins files required for supported web-servers.
3. Refer BEA_HOME\weblogic92\server\plugin for plugin files.




4. Navigate to appropriate OS and copy the IPlanet plug-in files.


5. Plug-in file for (IPlanet)Sun Server is proxy61.dll
6.Paste the proxy61.dll file in Sun Server’s plugin\lib folder(SUNHOME\WebServer6.1\plugins\lib).


7. The next is to edit the magnus.conf and obj.conf files of Sun Server and make entry for WLS plug-in(SUNHOME \WebServer6.1\https-beatest\config).




8. The entries that should be made in magnus.conf file are:

(1)A LoadModule entry in Loadmodule specification.

Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="C:/Sun/WebServer6.1/plugins/lib/proxy61.dll"
Init fn="wl_init"



2) Object specification in obj.conf for cluster environment.



Service fn="wl_proxy" WebLogicCluster="127.0.0.1:7003,127.0.0.1:7005" Debug="ALL" WLLogFile="proxy1.log"

127.0.0.1:7003,127.0.0.1:7005 is the cluster addresses to which the sun server redirects the request. The application is deployed on this cluster.



3) Object specification in module configuration for single server.



Service fn="wl_proxy"
WebLogicHost=127.0.0.1
WebLogicPort=7001
WLLogFile="proxy1.log"

9. After completing these specification start the Sun server.
10. Start the WLS admin server and all managed servers participating in the cluster.
11. Open the browser and type the request URL to the application deployed in the cluster

Some JRMC Commands


Some JRMC commands

JRMC commands and their outputs:

Command:
jrcmd 864 print_class_summary


Output:
*****class java/security/cert/CertificateParsingException
****class java/security/SignatureException
****class java/security/DigestException
****class java/security/NoSuchProviderException
****class java/security/NoSuchAlgorithmException
***class javax/naming/NamingException
****class javax/naming/CommunicationException
****class javax/naming/NameAlreadyBoundException
****class javax/naming/NamingSecurityException
*****class javax/naming/NoPermissionException
****class javax/naming/NameNotFoundException
*****class weblogic/jndi/internal/AdminModeAccessException
****class javax/naming/ConfigurationException
****class javax/naming/InvalidNameException
***class java/lang/InterruptedException
*****class java/rmi/server/ExportException
****class javax/management/remote/JMXProviderException
****class java/nio/charset/CharacterCodingException
****class java/io/EOFException
****class java/util/zip/ZipException
****class java/io/FileNotFoundException
*****class weblogic/utils/jars/JarFileUtils$PathLengthException
****class java/net/UnknownHostException
****class java/net/MalformedURLException
****class java/io/UnsupportedEncodingException
***class java/lang/IllegalAccessException
***class java/lang/ClassNotFoundException
***class java/security/PrivilegedActionException
***class java/lang/NoSuchFieldException
***class java/lang/reflect/InvocationTargetException
***class java/lang/RuntimeException
****class org/apache/commons/beanutils/ConversionException
****class org/apache/beehive/netui/util/config/ConfigInitializationException
****class org/apache/commons/logging/LogConfigurationException
****class javax/xml/rpc/soap/SOAPFaultException
****class javax/xml/rpc/JAXRPCException
****class org/apache/commons/beanutils/ConversionException
****class org/apache/beehive/netui/util/config/ConfigInitializationException
****class java/lang/annotation/IncompleteAnnotationException
****class weblogic/xml/schema/binding/util/ClassUtil$ClassUtilException
****class com/sun/org/apache/xerces/internal/impl/xpath/regex/ParseException
****class org/apache/commons/logging/LogConfigurationException
****class javax/ejb/EJBException
****class org/apache/oro/text/MalformedCachePatternException
*****class org/apache/oro/text/perl/MalformedPerl5PatternException
****class weblogic/wsee/deploy/WSEEServletEndpointException
****class weblogic/cluster/migration/MigrationException
****class weblogic/rmi/extensions/NotImplementedException
****class sun/security/util/PendingException
****class com/bea/common/engine/SecurityServiceRuntimeException
*****class com/bea/common/engine/InvalidParameterException
*****class com/sun/org/apache/xerces/internal/xni/parser/XMLParseException
*****class com/sun/org/apache/xerces/internal/xni/parser/XMLConfigurationExcepti
on
****class com/bea/xml/XmlRuntimeException
*****class com/bea/xml/SchemaTypeLoaderException
****class com/bea/xbean/regex/ParseException
****class com/bea/xbean/values/XmlValueDisconnectedException
****class weblogic/utils/NestedRuntimeException
*****class weblogic/security/providers/authentication/LDAPAtnDelegateException
*****class weblogic/security/SecurityInitializationException
*****class weblogic/ldap/EmbeddedLDAPException
*****class weblogic/security/internal/encryption/EncryptionServiceException
***class javax/xml/parsers/FactoryFinder$ConfigurationError
***class weblogic/utils/NestedError
****class weblogic/management/configuration/ConfigurationError
****class weblogic/utils/AssertionError
***class sun/management/AgentConfigurationError
***class bea/jrockit/management/server/Main$AgentError
***class java/lang/AssertionError
***class java/lang/VirtualMachineError
****class java/lang/UnknownError
****class java/lang/InternalError
****class java/lang/OutOfMemoryError
****class java/lang/StackOverflowError
*class java/lang/Thread
**class weblogic/deploy/api/spi/deploy/WebLogicDeploymentManagerImpl$1
**class weblogic/platform/GCMonitorThread
**class com/octetstring/vde/DoSManager
**class com/octetstring/vde/frontend/LDAP
**class com/octetstring/vde/backend/standard/TransactionProcessor
**class com/octetstring/vde/util/TimedActivityThread
**class com/octetstring/vde/LDAPServer
**class weblogic/timers/internal/TimerThread$Thread
**class weblogic/t3/srvr/T3Srvr$2
**class weblogic/kernel/AuditableThread
***class weblogic/server/channels/ServerThread
***class weblogic/kernel/ExecuteThread
****class weblogic/kernel/ServerExecuteThread
***class weblogic/work/ExecuteThread
**class weblogic/t3/srvr/ShutdownOnExitThread
**class java/util/TimerThread
**class java/util/logging/LogManager$Cleaner
**class java/lang/ref/Reference$ReferenceHandler
*class jrockit/vm/RNI
*class jrockit/vm/Reflect
*class jrockit/vm/VM
**class jrockit/vm/Locks
*class jrockit/vm/AccessController
*class java/lang/reflect/AccessibleObject
**class java/lang/reflect/Constructor
**class java/lang/reflect/Field
**class java/lang/reflect/Method
*class java/lang/String
*class [Z
*class [S
*class [D
*class [F
*class [J
*class [I
*class [C
*class [B
*class java/lang/Class
^^^^^^ Class Summary Information ends here ^^^^^^

Command:

jrcmd 864 print_object_summary increaseonly=true
864:

Output
--------- Detailed Heap Statistics: ---------
36.4% 10151k 125390 +10151k [C
11.2% 3119k 133108 +3119k java/lang/String
4.7% 1304k 11928 +1304k java/lang/Class
4.4% 1215k 2722 +1215k [B
3.4% 946k 10371 +946k [Ljava/util/HashMap$Entry;
3.2% 889k 37944 +889k java/util/HashMap$Entry
2.5% 701k 9127 +701k [Ljava/lang/Object;
1.8% 512k 16401 +512k java/util/TreeMap$Entry
1.6% 439k 23655 +439k [Lcom/bea/staxb/buildtime/internal/bts/JavaTypeName;

1.5% 410k 13138 +410k java/util/LinkedHashMap$Entry
1.5% 409k 7479 +409k com/bea/staxb/buildtime/internal/bts/QNameProperty
1.4% 387k 16512 +387k java/util/Hashtable$Entry
1.4% 382k 8155 +382k java/util/HashMap
1.3% 367k 23536 +367k com/bea/staxb/buildtime/internal/bts/MethodName
1.2% 339k 14505 +339k javax/xml/namespace/QName
1.1% 308k 13173 +308k com/bea/staxb/buildtime/internal/bts/JavaTypeName
1.0% 283k 1197 +283k [I
0.9% 256k 2875 +256k [Ljava/util/Hashtable$Entry;
0.8% 211k 2704 +211k com/bea/staxb/runtime/internal/ByNameRuntimeBindingType$ElementQNameProperty
0.7% 206k 5539 +206k [Ljava/lang/String;
0.7% 194k 2492 +194k java/lang/reflect/Method
0.7% 183k 5860 +183k java/lang/ref/SoftReference
0.5% 144k 6171 +144k java/lang/ref/WeakReference
27856kB total ---

--------- End of Detailed Heap Statistics ---

Command:

jrcmd 864 print_threads

Output:


===== FULL THREAD DUMP ===============
Thu Jan 28 01:41:58 2010
BEA JRockit(R) R27.2.0-131-78843-1.5.0_10-20070320-1457-windows-ia32

"Main Thread" id=1 idx=0x4 tid=236 prio=5 alive, in native, waiting
-- Waiting for notification on: weblogic/t3/srvr/T3Srvr@0x0ABAF240[fat lock]
at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/Object.wait(Object.java:474)
at weblogic/t3/srvr/T3Srvr.waitForDeath(T3Srvr.java:730)
^-- Lock released while waiting: weblogic/t3/srvr/T3Srvr@0x0ABAF240[fat lock]
at weblogic/t3/srvr/T3Srvr.run(T3Srvr.java:380)
at weblogic/Server.main(Server.java:67)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace

"(Signal Handler)" id=2 idx=0x8 tid=1872 prio=5 alive, in native, daemon

"(Code Generation Thread 1)" id=3 idx=0xc tid=2956 prio=5 alive, in native, native
_waiting, daemon

"(Code Optimization Thread 1)" id=4 idx=0x10 tid=2880 prio=5 alive, in native, nat
ive_waiting, daemon

"(GC Main Thread)" id=5 idx=0x14 tid=2064 prio=5 alive, in native, daemon

"(GC Worker Thread 1)" id=? idx=0x18 tid=1136 prio=5 alive, in native, native_wait
ing, daemon

"(GC Worker Thread 2)" id=? idx=0x1c tid=2056 prio=5 alive, in native, native_wait
ing, daemon

"(VM Periodic Task)" id=6 idx=0x20 tid=3284 prio=10 alive, in native, daemon

"(Attach Listener)" id=7 idx=0x24 tid=2392 prio=5 alive, in native, daemon

"Finalizer" id=8 idx=0x28 tid=2368 prio=8 alive, in native, native_waiting, daemon

at jrockit/memory/Finalizer.getPendingFinalizee(Z)Ljava/lang/Object;(Native Me
thod)
at jrockit/memory/Finalizer.access$100(Z)Ljava/lang/Object;(Unknown Source)
at jrockit/memory/Finalizer$4.run()V(Unknown Source)
at java/lang/Thread.run(Thread.java:595)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace

"Reference Handler" id=9 idx=0x2c tid=2312 prio=10 alive, in native, native_waitin
g, daemon
at java/lang/ref/Reference.getPending()Ljava/lang/ref/Reference;(Native Method
)
at java/lang/ref/Reference.access$000()Ljava/lang/ref/Reference;(Unknown Sourc
e)
at java/lang/ref/Reference$ReferenceHandler.run()V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace

"(Sensor Event Thread)" id=10 idx=0x30 tid=2952 prio=5 alive, in native, daemon
----------
===== END OF THREAD DUMP ===============

Command:
>jrcmd 864 verbosity set=memory,memdbg,codegen,opt,sampling filename="output.log"
864:

Output
Current logstatus:
jrockit : level=WARN, decorations=101, sanity=NONE
memory (gc) : level=INFO, decorations=101, sanity=NONE
nursery (yc) : level=WARN, decorations=101, sanity=NONE
model : level=WARN, decorations=101, sanity=NONE
devirtual : level=WARN, decorations=101, sanity=NONE
codegen (code) : level=INFO, decorations=101, sanity=NONE
native (jni) : level=WARN, decorations=101, sanity=NONE
thread : level=WARN, decorations=101, sanity=NONE
opt : level=INFO, decorations=101, sanity=NONE
load (lib) : level=WARN, decorations=101, sanity=NONE
ssa : level=WARN, decorations=101, sanity=NONE
constprop : level=WARN, decorations=101, sanity=NONE
inline : level=WARN, decorations=101, sanity=NONE
preprocess : level=WARN, decorations=101, sanity=NONE
jvmpi : level=WARN, decorations=101, sanity=NONE
memdbg : level=INFO, decorations=101, sanity=NONE
jvmtidbg : level=WARN, decorations=101, sanity=NONE
sampling (hotspot) : level=INFO, decorations=101, sanity=NONE
cpuinfo : level=WARN, decorations=101, sanity=NONE
cpuid : level=WARN, decorations=101, sanity=NONE
sym : level=WARN, decorations=101, sanity=NONE
codegc : level=WARN, decorations=101, sanity=NONE
classgc : level=WARN, decorations=101, sanity=NONE
errorsim (esim) : level=WARN, decorations=101, sanity=NONE
memprof (mp) : level=WARN, decorations=101, sanity=NONE
jvmti : level=WARN, decorations=101, sanity=NONE
gcpause : level=WARN, decorations=101, sanity=NONE
gcreport : level=WARN, decorations=101, sanity=NONE
finalizer : level=WARN, decorations=101, sanity=NONE
jripc : level=WARN, decorations=101, sanity=NONE
memleak : level=WARN, decorations=101, sanity=NONE
compaction : level=WARN, decorations=101, sanity=NONE
dpgo : level=WARN, decorations=101, sanity=NONE
license : level=WARN, decorations=101, sanity=NONE
tasks : level=WARN, decorations=101, sanity=NONE
exceptions : level=WARN, decorations=141, sanity=NONE
stackoverflow : level=WARN, decorations=141, sanity=NONE
sysgc (systemgc) : level=WARN, decorations=101, sanity=NONE
locks : level=WARN, decorations=101, sanity=NONE
strcmp : level=WARN, decorations=101, sanity=NONE
bca : level=WARN, decorations=101, sanity=NONE
ir : level=WARN, decorations=101, sanity=NONE
starttime : level=WARN, decorations=101, sanity=NONE
largepages : level=WARN, decorations=101, sanity=NONE
mgmnt (management) : level=WARN, decorations=101, sanity=NONE
jmm : level=WARN, decorations=101, sanity=NONE
perf : level=WARN, decorations=101, sanity=NONE
attach : level=WARN, decorations=101, sanity=NONE
referents (verboserefs) : level=WARN, decorations=101, sanity=NONE
class : level=WARN, decorations=101, sanity=NONE
intrinsics (intrinsic) : level=WARN, decorations=101, sanity=NONE
verify (verifier) : level=WARN, decorations=101, sanity=NONE
jra : level=WARN, decorations=101, sanity=NONE
timing : level=WARN, decorations=101, sanity=NONE

Command:

>jrcmd 864 timestamp
864:

Output:
==== Timestamp ==== uptime: 0 days, 00:17:34 time: Thu Jan 28 01:46:22 2010

Command:

>jrcmd 864 print_memusage
864:
[JRockit] memtrace is collecting data...
[JRockit] *** 0th memory utilization report
(all numbers are in kbytes)
Total mapped ;;;;;;; 733268
; Total in-use ;;;;;; 415560
;; executable ;;;;; 11572
;;; java code ;;;; 5952; 51.4%
;;;; used ;;; 5626; 94.5%
;; shared modules (exec+ro+rw) ;;;;; 14168
;; guards ;;;;; 544
;; readonly ;;;;; 2536
;; rw-memory ;;;;; 398312
;;; Java-heap ;;;; 262144; 65.8%
;;; Stacks ;;;; 4008; 1.0%
;;; Native-memory ;;;; 132159; 33.2%
;;;; java-heap-overhead ;;; 10155
;;;; codegen memory ;;; 1088
;;;; classes ;;; 56320; 42.6%
;;;;; method bytecode ;; 6374
;;;;; method structs ;; 6889 (#146974)
;;;;; constantpool ;; 23334
;;;;; classblock ;; 2185
;;;;; class ;; 3703 (#11938)
;;;;; other classdata ;; 8443
;;;;; overhead ;; 442
;;;; threads ;;; 20; 0.0%
;;;; malloc:ed memory ;;; 29814; 22.6%
;;;;; codeinfo ;; 1306
;;;;; codeinfotrees ;; 492
;;;;; exceptiontables ;; 170
;;;;; metainfo/livemaptable ;; 5894
;;;;; codeblock structs ;; 2
;;;;; constants ;; 10
;;;;; livemap global tables ;; 1027
;;;;; callprof cache ;; 0
;;;;; paraminfo ;; 116 (#1622)
;;;;; strings ;; 10863 (#185955)
;;;;; strings(jstring) ;; 0
;;;;; typegraph ;; 2871
;;;;; interface implementor list ;; 283
;;;;; thread contexts ;; 25
;;;;; jar/zip memory ;; 9862
;;;;; native handle memory ;; 21
;;;; unaccounted for memory ;;; 34781; 26.3%;1.17
---------------------!!!

Command:
>jrcmd 864 heap_diagnostics

Output:
======== BEGIN OF HEAPDIAGNOSTIC =========================



Invoked from diagnosticcommand



Total memory in system: 8377249792 bytes

Available physical memory in system: 1293717504 bytes

-Xmx (maximal heap size) is 4294967296 bytes

Heapsize: 4294967296 bytes

Free heap-memory: 3712605608 bytes



mmStartCompaction = 0x2b1e042b0000, mmEndCompaction = 0x2b1e082b0018





Memory layout:

00010000-003d0000 rwxp 00010000 00:00 0

00400000-00412000 r-xp 00000000 fd:04 1287492                            /opt/jrmc-3.1.0-1.5.0/bin/java

00420000-004e0000 rwxp 00420000 00:00 0

00511000-00513000 rwxp 00011000 fd:04 1287492                            /opt/jrmc-3.1.0-1.5.0/bin/java

00520000-07d60000 rwxp 00520000 00:00 0

07d7a000-0f9a5000 rwxp 07d7a000 00:00 0

0f9b0000-15ff0000 rwxp 0f9b0000 00:00 0

4005b000-4005d000 rwxp 4005b000 00:00 0

4005d000-40060000 ---p 4005d000 00:00 0

40060000-4009f000 rwxp 40060000 00:00 0

4009f000-400a2000 ---p 4009f000 00:00 0



--------- Detailed Heap Statistics: ---------

21.5% 72399k   637351     +0k [C

8.6% 29000k   281013     +0k [Ljava/lang/Object;

6.5% 21797k   697514     +0k java/lang/String

5.1% 17145k    31500    -59k [B

4.1% 13697k    87524     +0k [Ljava/util/HashMap$Entry;

2.7% 9274k    65950     +0k java/lang/reflect/Method

2.4% 8101k   207404     +0k java/util/HashMap$Entry

2.0% 6778k   173542     +0k com/bea/common/security/xacml/attr/StringAttribute

2.0% 6629k    33943     +0k java/lang/Class





    337244kB total ---



--------- End of Detailed Heap Statistics ---

----- Reference Objects statistics separated per class -----

   Total Reach Act PrevAct Null

   ----- ----- --- ------- ----

Finalizers:

       5     2   3       0    0 Total for all Finalizers

       2     1   1       0    0 => java/net/SocksSocketImpl

       1     0   1       0    0 => weblogic/socket/WeblogicSocket

       1     1   0       0    0 => java/net/SocketInputStream

       1     0   1       0    0 => java/net/SocketOutputStream

----- End of Reference Objects statistics -----

------------------- Printing heap ---------------------

"o"/"p" = 1k normal/pinned objects

"O"/"P" = 50k normal/pinned objects

"."/"/" = <1k normal/pinned objects (fragmentation)

" "/"_" = 1k/50k free space

-------------------------------------------------------

//////o///o/p/oo/OOOoooooooooooooooooooooo/OOooooo      0x2b1dfe2f7c70

ooooooooo/OOOOOOooooooooooo/Oooooooooooooooooooooo      0x2b1dfe357b98

ooooooooooooo..        OOOOOOOoooooooooooooo./oooo      0x2b1dfe3b7ac0

oooooooooooooooooooooooo/OOooooooooooooooooooooooo      0x2b1dfe3dbce0

oooooooooooooooooooo/oooooooooooooooo/OOOOOooooooo      0x2b1dfe423d38

oooooooooooooooooooooooooooo.   OOOooooooooooooooo      0x2b1dfe453ec0

ooooooooooooooooooooooooooo//.....................      0x2b1dfe460210

..............................Ooooooooooo/OOOOoooo      0x2b1dfe4a8268











the available commands are:



kill_rmp_server

start_rmp_server

kill_management_server

start_management_server

checkjrarecording

stopjrarecording

startjrarecording

print_object_summary

memleakserver

print_class_summary

print_codegenlist

run_optfile

dump_codelayout

dump_codelist

dump_codemap

print_utf8pool

print_properties

print_threads

datadump_request

runsystemgc

runfinalization

heap_diagnostics

oom_diagnostics

print_exceptions

version

timestamp

command_line

sanity

verbosity

set_filename

help

print_memusage
Reference Links:
http://www.oracle.com/technology/products/jrockit/pdf/missioncontrol_whitepaper_june08.pdf
http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/ctrlbreakhndlr.html

Troubleshooting HTTP Session Replication failure issues



Troubleshooting: HTTP Session Replication Failure Issues
One of the major advantage of weblogic server is 'HTTP session replication'. Sometimes, HTTP session states are not replicated from the primary server to the secondary server. This is the most common issue which is observed.

Symptoms:
  1. The application using HTTP session does not function as designed and you see a loss of session data.
  2. You might be asked to re-log into the application even when the session has still not timed out.
  3. You see errors and warnings related to HTTP session failures in the server's log file.
  4. The request is not failed over to another server properly.
There are several reasons as to why session replication fails. We will look at ways to diagnose the issue, possible reasons for it, and the ways to address them.
Types of HTTP Session Replication
There are five different implementations of session persistence:
  • Memory (single-server, non-replicated): When you use memory-based storage, all session information is stored in memory and is lost when you stop and restart WebLogic Server.
  • File system persistence: Session information is stored in a file under the PersistentStoreDir specified.
  • JDBC persistence: Session information is stored in a database table.
  • Cookie-based session persistence: Session information is stored in a cookie.
  • In-memory replication (across a cluster): Session data is copied from one server instance to another into memory.
Usually observed causes session not getting replicated:

1) All application objects are not serialized
2) Session is not set using set.attribute()
3) Network issue causing the managed server to move out of the cluster.
4) Weblogic server hang resulting to non-responsiveness to replicated session
5) Issue at the webserver end.

Diagnosing the Issue
Consider a scenario with two servers (MyServer-1, MyServer-2) in a cluster. When you enable the debug flags (see the "Enable the Debug Flags to Track Session Replication Failures"section), you will see the messages below when a request from a client is sent the very first time.
On MyServer-1:
<000000>

<000000>

This logging message means that the primary server is MyServer-1 and a secondary has been created on MyServer-2. A message like the one shown below will be logged on MyServer-2 to confirm that.
ExecuteThread: '1' for queue: 'Replication'> <>
<000000>
####

<> <000000>

If you check the JSESSIONID it looks like:
JSESSIONID=1E9Xwn7nLYfOsc1obgRZIwW5s72an7HPPvSD7iaWHMXzpHga5cQj
!-1587343083!-1587348922
JSESSIONID is the default name of the cookie, which could be changed to anything in weblogic.xml. The format of JSESSIONID is
SessionId!PrimaryServer JVM Hash!SecondaryServer JVMHash
Every time data is changed (either set/get or removed) in the session you'll see the logging message.
On MyServer-1:
<000000>

On MyServer-2:
####
<> <000000>

If for any reason session replication fails, you will see the message below in the MyServer-1 log:
<000000>

<000000>

And, the JSESSIONID would appear as
JSESSIONID=1E9Xwn7nLYfOsc1obgRZIwW5s72an7HPPvSD7iaWHMXzpHga5cQj!-1587343083!NONE
The secondary server hash would become NONE
Enable the Debug Flags to Track Session Replication Failures
You can enable the flags DebugCluster, DebugClusterAnnouncements, DebugFailOver, DebugReplication, and DebugReplicationDetails.

Creating Coherence Server in WebLogic


Creating Coherence Server in WebLogic

Coherence servers (also known as Coherence data nodes) are stand-alone cache servers, dedicated JVM instances responsible for maintaining and managing cached data.
To create a Coherence server in an existing domain:
  1. If you have not already done so, in the Change Centre of the Administration Console, click Lock & Edit
  2. In the left pane of the Console, expand Environment and select Coherence Servers.
  3. In the Coherence Servers table, click New.
  4. On the Coherence Server Properties page:
              a). Enter the name of the server in the Name field.
The server name is not used as part of the URL for applications that are deployed on the server. It is for your identification purposes only. The server name displays in the Administration Console, and if you use WebLogic Server command-line utilities or APIs, you use this name to identify the server.
              b). Select an existing Machine (WebLogic Server host computer name on which this server is meant to run) from the drop-down list.
In order to use Node Manager to start this Coherence server, you must assign the server to a machine and you configure the machine for the Node Manager.
              c). Optional. In Cluster, enter the system-level Coherence cluster resource associated with this server.
              d). Optional. In Unicast Listen Address, enter the IP address for the cluster unicast listener. This attribute may be used to override the value of the referenced Coherence cluster.
              e). Optional. In Unicast Listen Port, enter the port for the cluster unicast listener.
              f). Optional. Use the Unicast Port Auto Adjust check box to specify whether the unicast port will be automatically incremented if the port cannot be bound because it is already in use
           5. Click Finish.
                 The new server appears in the Summary of Coherence Servers table.
6. To activate these changes, in the Change Centre of the Administration Console, click Activate Changes.
Not all changes take effect immediately—some require a restart

About DMZ


What is DMZ?
Ans: In a network, the hosts most vulnerable to attack are those that provide services to users outside of the LAN, such as e-mail, web and DNS servers. Because of the increased potential of these hosts being compromised, they are placed into their own subnetwork in order to protect the rest of the network if an intruder was to succeed. Hosts in the DMZ have limited connectivity to specific hosts in the internal network, though communication with other hosts in the DMZ and to the external network is allowed. This allows hosts in the DMZ to provide services to both the internal and external network, while an intervening firewall controls the traffic between the DMZ servers and the internal network clients.
 what all can be deployed within DMZ?
Ans: Generally, any service that is being provided to users in an external network could be placed in the DMZ. The most common of these services are web servers, mail servers, ftp servers, VoIP servers and DNS servers. In some situations, additional steps need to be taken to be able to provide secure services.