Pages

Wednesday, August 15, 2012

Integrating weblogic with Tibco

Many a times we face issues configuring Foreign JMS server in Weblogic which connects to other JMS providers like IBM MQ, Tibco, Sonic MQ, JBoss etc.

So let us see how we can configure one successfully with Tibco EMS.

I am using Windows 7 and installed Tibco at the default location " C:\tibco\ "

We would configure a Connection Factory and a Queue in Tibco while Foreign JMS server in Weblogic with basic configurations.

First of all we would have to start Tibco EMS server by excecuting the file " tibemsd.exe " found in " C:\tibco\ems\bin " directory.





Once the EMS server is started we need to start the Administration tool where we can configure queues , topics , users , groups etc.

Excecute the file " tibemsadmin.exe " found in " C:\tibco\ems\bin "  directory.




Now from the Administration tool we need to connect to the EMS server using the connect command.
By default the Login name is admin and password is nothing , so just hit enter.
Default port is 7222.




Now let us create a connection factory.
Syntax :
create factory      <name> <type> [<properties>]

Where,
type could be " generic, topic, queue, xageneric, xatopic or xaqueue "

Example :
create factory tibcoConnectionFactory queue url=tcp://localhost:7222



Let us create a Queue
Syntax :
create queue        <name> [<properties>]

Example :
create queue tibcoQueue


So we have created a Connection Factory and a Queue.

We can view the Connnection factory and Queue using the show command  as below :




These are the basic configuration that we have to configure at Tibco , Now let us configure resources on weblogic.

On the weblogic side we need to configure a Foreign JMS server :



Once we have create ForeignJMS server, we need to modify two things,
1. JNDI Initial Context Factory
2. JNDI Connection URL

Modify the JNDI Initial Context Factory to " com.tibco.tibjms.naming.TibjmsInitialContextFactory "
While change the JNDI Connection URL to tcp://<ip-address of tibco>:<port of tibco>





We need to map the local destination JNDI in weblogic with the remote destination JNDI in tibco.
So create a destination and provide a local jndi name , this is not the physical destination , it is just used for mapping. While for the remote JNDI name provide the correct queue jndi name as we created in tibco.




Similar to the destination , we need to configure local and remote connection factories.



We are done with our configurations , now let us send some messages and check if we are able to receive it.

To do so let us use the sample java QueueSend and QueueReceive programs provided by Weblogic.

Modify the QueueSend program to send message to the Tibco Queue(tibcoQueue) and modify the QueueReceive program to receive it from the weblogic Queue(weblogicQueue) .




- Prashant Gaikwad.



Sunday, August 12, 2012

How to find Oracle Weblogic Server Version

Following are two commands by which you can find what all weblogic components are installed :


java -cp WLS_HOME/wlserver_10.3/server/lib/weblogic.jar weblogic.utils.Versions
java -cp WLS_HOME/wlserver_10.3/server/lib/weblogic.jar weblogic.version -verbose

Example :

I.
<BEA_HOME>\user_projects\domains\base_domain>java weblogic.utils.Versions

WebLogic Server 12.1.1.0  Wed Dec 7 08:40:57 PST 2011 1445491  ImplVersion: 12.1.1.0
Oracle WebLogic Server Module Dependencies 12.1 Mon Nov 21 16:41:37 UTC 2011  ImplVersion: 12.1.1.0
Oracle WebLogic Server on JRockit Virtual Edition Module Dependencies 12.1 Fri Oct 21 21:16:45 UTC 2011  ImplVersion: 12.
1.1.0
Oracle Virtual Machine Manager Client implementation ImplVersion: 1.1.0.0
Adapter implementation for Oracle VM 2.2 WS api ImplVersion: 1.1.0.0
WebLogic JSF Feature Module 12.1 Wed Nov 23 03:33:29 EST 2011  ImplVersion: 12.1.1.0
JavaServer Faces API 2.1 Fri Nov 25 06:12:43 PST 2011  ImplVersion: 1.0.0.0_2-1
JavaServer Faces Reference Implementation 2.1.5 Fri Nov 25 06:12:43 PST 2011  ImplVersion: 1.0.0.0_2-1-5
ANTLR Java based compiler generator Client 2.7 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 2.7.7.0
WebLogic Application Descriptors 1.0 Fri Oct 21 16:15:17 PDT 2011  ImplVersion: 1.0.0.0
WebLogic Application Descriptors 1.0 Binding Bundle ImplVersion: 1.0.0.0
WebLogic Descriptors for J2EE 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Descriptors for J2EE 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic Specific Descriptors 2.0 Mon Nov 14 09:17:01 EST 2011  ImplVersion: 2.0.0.0
WebLogic Specific Descriptors 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic Datasource 2.0 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 2.0.0.0
WebLogic Datasource 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic Beangen Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Beangen 2.0 Binding Bundle ImplVersion: 2.0.0.0
WLDF Accessor Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WLDF Accessor 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic Management EventBus Interfaces 1.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.0.0.0
WebLogic Management Core Interfaces Client Capable 3.0 Mon Nov 21 13:21:51 EST 2011  ImplVersion: 3.0.0.0
WebLogic Management Core Interfaces 3.0 Binding Bundle ImplVersion: 3.0.0.0
WebLogic EJBGen Client Capable 2.0 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 2.0.0.0
Apache Byte Code Engineering Library (BCEL) extracted from 5.2.zip from http://jakarta.apache.org/site/downloads/download
s_bcel.cgi with packages renamed from org.apache.bcel to com.bea.core.repackaged.apache.bcel Client 5.2 Sat Nov 19 07:39:
36 MST 2011  ImplVersion: 5.2.3.0
Eclipse Java Development Tools 3.5.4 Sat Nov 19 07:38:37 MST 2011  ImplVersion: 3.5.4.0
Apache commons collections package 3.2 Fri Nov 4 19:59:23 EDT 2011  ImplVersion: 3.2.1
Apache commons lang package 2.6 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.6.0
Apache commons pool package 1.3 Fri Nov 4 19:59:23 EDT 2011  ImplVersion: 1.3.1
Apache commons io 1.4 package 1.0 Fri Nov 4 19:59:23 EDT 2011  ImplVersion: 1.4
Apache commons fileupload 1.2.1 package 1.0 Fri Nov 4 19:59:23 EDT 2011  ImplVersion: 1.2.1
Apache DOM implementation 1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.0.1.0
Apache Logging Support 1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.0.1.0
Apache OpenJPA classes 1.2 Sat Nov 19 21:01:44 EST 2011  ImplVersion: 1.2.1.0_1-1-1-SNAPSHOT
XMLBeans - Apache SVN rev 1102771 2.3 Sat Nov 19 07:38:37 MST 2011  ImplVersion: 2.5.1
BEA Logging Runtime Support Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
BEA Common Security Open SAML 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
BEA OpenSAML 2.0 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
bea-harvester-api2.0 Client Capable 3.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 3.0.0.0
bea-harvester-jmx2.0 Client Capable 3.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 3.0.0.0
bea-harvester-utils Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
bea-mbean-typing-util 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
Javolution 3.7.19 3.7 Fri Nov 4 19:59:23 EDT 2011  ImplVersion: 3.7.19.1
Joda-time 1.2.1 1.2 Fri Nov 4 19:59:23 EDT 2011  ImplVersion: 1.2.1.1
BEA STAX Build Time Support 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
BEA STAX Runtime Time Support Client Capable 2.0 Wed Nov 30 09:17:50 MST 2011  ImplVersion: 2.0.0.0
BEA Generic Annotations Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
BEA Kodo 1.6 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 1.6.0.0_4-2-1
BEA Kodo Integration Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
BEA Kodo Integration 2.0 Binding Bundle ImplVersion: 2.0.0.0
BEA Kodo Integration Tools 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
XML Beans Marshalling (package renamed com.bea) SVN 1102771 2.6 Sat Nov 19 07:38:37 MST 2011  ImplVersion: 2.5.1
WebLogic STAX Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Utils Client Capable 2.0 Sun Nov 27 08:58:15 MST 2011  ImplVersion: 2.0.0.0
Aspect 5.3 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 5.3.2
BEA Apache Commons Logging Repackaged 1.2 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.2.2
Spring Framework  1.3 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 2.5.3
Pitchfork 2.0 Sun Nov 20 17:01:24 EST 2011  ImplVersion: 1.0
${description} 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
CSS i18n 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
CSS xacml 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
SAML2 Utils 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
BEA Common Security Engine Implementation 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
BEA Common Security Engine Interfaces 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
BEA Common Security API 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
BEA Common Security Implementation 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
BEA Common Security JDK Utilities 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
Security Utilities 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
Common Security SAML 2.0 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
Common Security SAML 2.0 Management JavaBeans 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
Security Provider Utilities 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
SAML Utils 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
XACML Utils 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
Security Provider Environment 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
RSA certj 5.3 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 5.3.0.0
Netscape LDAP JDK 1.4 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.4.0.0
Commons Networking Utilty classes 1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.4.1
WebLogic SAAJ 2.0 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 2.0.0.0
Expression Language 2.1 for JSP 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0.0_2-2
JavaServer Pages Standard Tag Library (JSTL) 1.2 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.2.0.2
jaxb-impl.jar taken from JAXB RI 2.2.4 2.0 Fri Oct 21 20:54:48 UTC 2011  ImplVersion: 2.2.4
jaxb-impl.jar taken from JAXB RI 2.2.4 2.0 Fri Oct 21 20:54:50 UTC 2011  ImplVersion: 2.2.4
Glassfish JAXR 1.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.0
resolver.jar taken from JAXWS RI 2.2.5 2.0 Fri Oct 21 20:54:58 UTC 2011  ImplVersion: 2.2.5
jaxws-rt.jar taken from JAXWS RI 2.2.5 2.0 Mon Nov 21 08:46:54 PST 2011  ImplVersion: 2.2.5
Fastinfoset.jar taken from JAXWS RI 2.2.5 2.0 Fri Oct 21 20:55:00 UTC 2011  ImplVersion: 2.2.5
jaxws-rt.jar taken from JAXWS RI 2.2.5 2.0 Mon Nov 21 08:47:04 PST 2011  ImplVersion: 2.2.5
Java.net implementation of MimePull.jar taken from Glassfish JAXWS 2.1.5 2.0 Fri Oct 21 20:55:10 UTC 2011  ImplVersion: 1
.5
policy.jar taken from JAXWS RI 2.2.5 2.0 Fri Oct 21 20:55:05 UTC 2011  ImplVersion: 2.2.5
policy.jar taken from JAXWS RI 2.2.5 2.0 Fri Oct 21 20:55:07 UTC 2011  ImplVersion: 3.1.8
policy.jar taken from JAXWS RI 2.2.5 2.0 Fri Oct 21 20:55:09 UTC 2011  ImplVersion: 3.1.0
Codehaus STaX Interfaces 3.0.1 1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 3.0.1
Woodstox STaX Parser 4.0.5 1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 4.0.5
jaxws-tools.jar taken from JAXWS RI 2.2.5 2.0 Mon Nov 21 08:47:07 PST 2011  ImplVersion: 2.2.5
Java.net Stax Extensions 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.4
Java.net xml stream buffer 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.2
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
${description} 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0
Bare 3rd Party ASM Jar, not repackaged for com.bea 1.1 Sat Nov 19 07:38:37 MST 2011  ImplVersion: 3.1
${description} 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0
${description} 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0
${description} 1.0 Wed Nov 30 16:59:21 MST 2011  ImplVersion: 1.0
Jakarta ORO  1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 2.0.8
Javax Enterprise Activation 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.1
Javax Annotation 1.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.0
Javax Interceptor 1.1 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.1
Javax Enterprise Beans  3.1 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 3.1.0
Java Inject 1.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.0
Java Data Objects 2.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 2.0.2
Java Enterprise Deployment APIs  1.2 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.2.1
Java Enterprise Injection 1.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.0
Java Enterprise Messaging  1.1 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.1.2
Javax Server Pages  Client Capable 2.0 Wed Oct 26 22:02:22 EDT 2011  ImplVersion: 2.2
Java Web Services  2.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 2.0.1
Javax Enterprise Mail 1.1 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.4.2
Java Enterprise Management APIs  1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.0.1
Java Connector  1.6 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.6.0
Java Authorization Contract for Containers 1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.1
JASPIC API JSR-196 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0
Javax Enterprise Servlets  Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 3.0
Javax Transaction APIs  Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.1
Javax Validation 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0
JAXB 2.2 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.2.3
Java XML Registry 1.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.0
Java XML Soap Extensions 1.3 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.3.2.0
Java Stream XML Extensions 1.1 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.1.2.0
JAX-WS APIs 2.2 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.2.0
Java API for XML-based RPC   1.2 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.2.2
Hibernate Validator 4.1 Sat Nov 12 00:31:07 MST 2011  ImplVersion: 4.1.0
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
${description} 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.0
Monfox Dynamic SNMP Agent 1.1 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 4.7.30
Serp bytecode manipulation framework 1.14.5 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 1.14.5.0
WebLogic Apache Classes Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic BeanInfo Caching and Discovery Client Capable 3.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 3.0.0.0
WebLogic Descriptor Client Capable 2.0 Wed Dec 7 08:45:36 PST 2011  ImplVersion: 2.0.0.0
Repackaged ASM-3.2 1.2 Sat Nov 19 07:38:37 MST 2011  ImplVersion: 3.2.0
Repackaged asm-commons-3.2 1.2 Sat Nov 19 07:38:37 MST 2011  ImplVersion: 3.2.0
Repackaged asm-tree-3.2 1.2 Sat Nov 19 07:38:37 MST 2011  ImplVersion: 3.2.0
Repackaged asm-util-3.2 1.2 Sat Nov 19 07:38:37 MST 2011  ImplVersion: 3.2.0
Oracle JFR 1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.0.1.0
WebLogic Diagnostics Core Interfaces Client Capable 3.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 3.0.0.0
WebLogic Diagnostics Logging Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Diagnostics Query Module Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Diagnostics Instrumentor Tool 2.0 Wed Oct 26 15:37:23 PDT 2011  ImplVersion: 2.0.0.0
WebLogic Diagnostics Instrumentor Config Tool 2.0 Sun Nov 27 08:58:15 MST 2011  ImplVersion: 2.0.0.0
WebLogic Diagnostics JRockit Flight Recorder Interfaces Client Capable 2.0 Wed Oct 26 15:59:07 PDT 2011  ImplVersion: 2.0
.0.0
Diagnostics Notifications Module Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
BEA Logging Runtime Support Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic i18n Runtime Support Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic i18n Build Support Client Capable 2.0 Sun Nov 27 08:58:15 MST 2011  ImplVersion: 2.0.0.0
WebLogic I18N tools Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Management JMX Interfaces 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Security Provider Generation Tool 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Security Provider Generation Tool Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Messaging Kernel Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Resource Pool Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Socket Muxer API Client Capable 2.0 Mon Nov 14 16:19:58 PST 2011  ImplVersion: 2.0.0.0
WebLogic RMI Client Capable 2.0 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 2.0.0.0
Common Security WebLogic Server Integration Support  1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
Server Lifecycle Interfaces Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Store Client Capable 2.0 Fri Nov 11 08:06:24 EST 2011  ImplVersion: 2.0.0.0
WebLogic STORE GXA Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Store Admin Tool Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic JDBC Store Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic JTA implementation Client Capable 3.0 Fri Nov 4 10:10:15 MDT 2011  ImplVersion: 3.0.0.0
WebLogic Utils 2.0 Sun Nov 27 08:58:15 MST 2011  ImplVersion: 2.0.0.0
Agent Utililities 2.0 Thu Nov 10 12:42:33 PST 2011  ImplVersion: 2.0.0.0
WebLogic Utility Classloader implementations Client Capable 3.0 Wed Nov 2 00:15:04 MDT 2011  ImplVersion: 3.0.0.0
WebLogic java compiler utils package Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Utils for working with Expressions Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Utils for Dynamically Generated Class Wrappers Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0
.0.0
WebLogic Timers Client Capable 2.0 Tue Nov 22 15:36:00 PST 2011  ImplVersion: 2.0.0.0
WebLogic Work Manager Client Capable 2.0 Thu Nov 3 13:23:34 EDT 2011  ImplVersion: 2.0.0.0
WebLogic Workarea Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic XML XPath Implementation Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
Weblogic Tuxedo Connector Core Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Security 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
Weblogic Server Java Authentication Helper Classes Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
Weblogic Server Message Digest Utilities Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
Weblogic Server Authenticated Subject Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
Weblogic Server Authenticated Subject Client Capable 1.7 Wed Nov 23 07:41:13 MST 2011  ImplVersion: 1.7.0.0
PrintingSecurityManager - PSM 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic security ssl classes 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Nodemanager Plugin Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
nodemanager module for managed processes 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic JMS Pool Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
Contains compiled schema type from WLS 9.0 for WLP compatibility 1.3 Thu Nov 10 10:53:00 EST 2011  ImplVersion: 1.3.1.0
WebLogic Http Pub/Sub Module Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic WebApp Container Public API Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
Class Redefinition Project 2.0 Thu Nov 10 13:01:16 PST 2011  ImplVersion: 2.0.0.0
Class Redefinition Project Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
Class Redefinition Project 2.0 Binding Bundle ImplVersion: 2.0.0.0
The weblogic application archive module 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0.0
Commonj SDO 1.0 Fri Nov 4 19:59:23 EDT 2011  ImplVersion: 1.0
WebLogic Coherence Descriptor 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Coherence Descriptor 2.0 Binding Bundle ImplVersion: 2.0.0.0
This module contains all message catalogs 1.3 Wed Nov 30 09:17:50 MST 2011  ImplVersion: 1.3.0.0
WebLogic WebService Public API's 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic EclipseLink Integration 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic SCA Client 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic RAC Module UCP Client Capable 2.0 Thu Nov 3 09:36:37 PDT 2011  ImplVersion: 2.0.0.0
Common Google Utils 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0.0_0-6
Compiler Assisted Localization 0.0.7.2 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 0.0.7.2.0
The Javassist Core API 1.0.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0.0_3-14
JBoss Interceptor Core 1.0.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0.0_2-0-0
JBoss Interceptor SPI 1.0.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0.0_2-0-0
SLF API 1.6.1 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.6.1.0
SLF Extension 1.6.1 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.6.1.0
SLF JDK14 1.6.1 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.6.1.0
Weld API package 1.0 Mon Nov 21 16:31:12 UTC 2011  ImplVersion: 1.0.0.0_1-1-3.SP1
Weld Core package 1.0 Mon Nov 21 16:31:12 UTC 2011  ImplVersion: 1.0.0.0_1-1-3.SP1
Weld SPI package 1.0 Mon Nov 21 16:31:12 UTC 2011  ImplVersion: 1.0.0.0_1-1-3.SP1
Dependency Injection API Client Capable 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0.0
Dependency Injection Integration Utils Client Capable 1.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 1.0.0.0
Dependency Injection Weld Implementation Client Capable 1.0 Thu Dec 1 14:28:08 MST 2011  ImplVersion: 1.0.0.0
EasyMock mock objects 2.2 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.2
JDBC ImplVersion: 11.2.0.3.0
Oracle Universal Connection Pool ImplVersion: 11.2.0.3.0
FMW Generic Token 1.0.0.0 ImplVersion: 1.0.0.0


II.
<BEA_HOME>\user_projects\domains\base_domain>java weblogic.version -verbose

WebLogic Server 12.1.1.0  Wed Dec 7 08:40:57 PST 2011 1445491  ImplVersion: 12.1.1.0
Oracle WebLogic Server Module Dependencies 12.1 Mon Nov 21 16:41:37 UTC 2011  ImplVersion: 12.1.1.0
Oracle WebLogic Server on JRockit Virtual Edition Module Dependencies 12.1 Fri Oct 21 21:16:45 UTC 2011  ImplVersion: 12.
1.1.0
Oracle Virtual Machine Manager Client implementation ImplVersion: 1.1.0.0
WebLogic JSF Feature Module 12.1 Wed Nov 23 03:33:29 EST 2011  ImplVersion: 12.1.1.0
WebLogic Application Descriptors 1.0 Fri Oct 21 16:15:17 PDT 2011  ImplVersion: 1.0.0.0
WebLogic Application Descriptors 1.0 Binding Bundle ImplVersion: 1.0.0.0
WebLogic Descriptors for J2EE 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Descriptors for J2EE 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic Specific Descriptors 2.0 Mon Nov 14 09:17:01 EST 2011  ImplVersion: 2.0.0.0
WebLogic Specific Descriptors 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic Datasource 2.0 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 2.0.0.0
WebLogic Datasource 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic Beangen Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Beangen 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic Management EventBus Interfaces 1.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 1.0.0.0
WebLogic Management Core Interfaces Client Capable 3.0 Mon Nov 21 13:21:51 EST 2011  ImplVersion: 3.0.0.0
WebLogic Management Core Interfaces 3.0 Binding Bundle ImplVersion: 3.0.0.0
WebLogic EJBGen Client Capable 2.0 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 2.0.0.0
WebLogic STAX Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Utils Client Capable 2.0 Sun Nov 27 08:58:15 MST 2011  ImplVersion: 2.0.0.0
WebLogic SAAJ 2.0 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 2.0.0.0
WebLogic Apache Classes Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic BeanInfo Caching and Discovery Client Capable 3.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 3.0.0.0
WebLogic Descriptor Client Capable 2.0 Wed Dec 7 08:45:36 PST 2011  ImplVersion: 2.0.0.0
Oracle JFR 1.0 Fri Nov 4 19:42:39 EDT 2011  ImplVersion: 1.0.1.0
WebLogic Diagnostics Core Interfaces Client Capable 3.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 3.0.0.0
WebLogic Diagnostics Logging Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Diagnostics Query Module Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Diagnostics Instrumentor Tool 2.0 Wed Oct 26 15:37:23 PDT 2011  ImplVersion: 2.0.0.0
WebLogic Diagnostics Instrumentor Config Tool 2.0 Sun Nov 27 08:58:15 MST 2011  ImplVersion: 2.0.0.0
WebLogic Diagnostics JRockit Flight Recorder Interfaces Client Capable 2.0 Wed Oct 26 15:59:07 PDT 2011  ImplVersion: 2.0
.0.0
WebLogic i18n Runtime Support Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic i18n Build Support Client Capable 2.0 Sun Nov 27 08:58:15 MST 2011  ImplVersion: 2.0.0.0
WebLogic I18N tools Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Management JMX Interfaces 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Security Provider Generation Tool 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Security Provider Generation Tool Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Messaging Kernel Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Resource Pool Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Socket Muxer API Client Capable 2.0 Mon Nov 14 16:19:58 PST 2011  ImplVersion: 2.0.0.0
WebLogic RMI Client Capable 2.0 Sun Nov 27 09:22:32 MST 2011  ImplVersion: 2.0.0.0
WebLogic Store Client Capable 2.0 Fri Nov 11 08:06:24 EST 2011  ImplVersion: 2.0.0.0
WebLogic STORE GXA Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Store Admin Tool Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic JDBC Store Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic JTA implementation Client Capable 3.0 Fri Nov 4 10:10:15 MDT 2011  ImplVersion: 3.0.0.0
WebLogic Utils 2.0 Sun Nov 27 08:58:15 MST 2011  ImplVersion: 2.0.0.0
WebLogic Utility Classloader implementations Client Capable 3.0 Wed Nov 2 00:15:04 MDT 2011  ImplVersion: 3.0.0.0
WebLogic java compiler utils package Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Utils for working with Expressions Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Utils for Dynamically Generated Class Wrappers Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0
.0.0
WebLogic Timers Client Capable 2.0 Tue Nov 22 15:36:00 PST 2011  ImplVersion: 2.0.0.0
WebLogic Work Manager Client Capable 2.0 Thu Nov 3 13:23:34 EDT 2011  ImplVersion: 2.0.0.0
WebLogic Workarea Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic XML XPath Implementation Client Capable 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Security 1.1 Sat Nov 19 07:57:40 MST 2011  ImplVersion: 6.2.0.0
WebLogic security ssl classes 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Nodemanager Plugin Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic JMS Pool Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Http Pub/Sub Module Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic WebApp Container Public API Client Capable 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Coherence Descriptor 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic Coherence Descriptor 2.0 Binding Bundle ImplVersion: 2.0.0.0
WebLogic WebService Public API's 2.0 Fri Oct 21 20:52:50 UTC 2011  ImplVersion: 2.0.0.0
WebLogic EclipseLink Integration 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic SCA Client 2.0 Fri Oct 21 21:06:43 UTC 2011  ImplVersion: 2.0.0.0
WebLogic RAC Module UCP Client Capable 2.0 Thu Nov 3 09:36:37 PDT 2011  ImplVersion: 2.0.0.0
Oracle Universal Connection Pool ImplVersion: 11.2.0.3.0

SERVICE NAME                    VERSION INFORMATION
============                    ===================
Kernel                          Commonj WorkManager v1.1
TimerService                    Commonj TimerManager v1.1
CorbaService                    CORBA 2.3, IIOP 1.2, RMI-IIOP SFV2, OTS 1.2, CSIv2 Level 0 + Stateful
XMLService                      XML 1.1
Transaction Service             JTA 1.1
JDBCService                     JSR-221, JDBC 4.0
CustomResourceServerService     1.0.0.0
Servlet Container               Servlet 3.0, JSP 2.2
Pre Admin Singleton Services S  1.0
Singleton Services Batch Manag  1.0
Post Admin Singleton Services   1.0
EJB Container                   EJB 3.1
MDBService                      EJB 3.1
EJBTimerService                 EJB 3.1
J2EE Connector                  1.6
JMS Service                     JMS 1.1

- Prashant Gaikwad.

Debug Flags in Weblogic

Following Debug flags will help you debug different issues in Oracle Weblogic Server :

Java Messaging Services

Messaging Kernel
-Dweblogic.debug.DebugMessagingKernel=true

MDB connectivity
-Dweblogic.debug.DebugEjbMdbConnection=true

JMS Wrappers
-Dweblogic.debug.DebugJMSWrappers=true

JMS SAF
Sending side:
-Dweblogic.debug.DebugJMSSAF=true
-Dweblogic.debug.DebugJMSMessagePath=true

Receiving side:
-Dweblogic.debug.DebugJMSBackEnd=true
-Dweblogic.debug.DebugJMSFrontEnd=true
-Dweblogic.debug.DebugJMSMessagePath=true

JMS Distributed Destinations
-Dweblogic.debug.DebugJMSCommon=true
-Dweblogic.debug.DebugJMSDistTopic=true
-Dweblogic.debug.DebugJMSMessagePath=true

JMS Boot
-Dweblogic.debug.DebugJMSBoot=true
-Dweblogic.debug.DebugMessagingKernelBoot=true
-Dweblogic.debug.DebugStoreIOLogicalBoot=true

JMS store
Logical IO:
-Dweblogic.debug.DebugJMSStoreIOLogical=true
-Dweblogic.debug.DebugJMSStoreIOLogicalBoot=true

Physical IO:
-Dweblogic.debug.DebugStoreIOPhysical=true
-Dweblogic.debug.DebugStoreIOPhysicalVerbose=true

Store XA:
-Dweblogic.debug.DebugStoreXA=true
-Dweblogic.debug.DebugStoreXAVerbose=true

JMS CDS
-Dweblogic.debug.DebugJMSCDS=true

JMS Backend
-Dweblogic.debug.DebugJMSBackEnd=true

JMS Frontend
-Dweblogic.debug.DebugJMSFrontEnd=true

JMS Dispatcher
-Dweblogic.debug.DebugJMSDispatcher=true

Messaging Bridge :
-Dweblogic.debug.DebugMessagingBridgeRuntime=true
-Dweblogic.debug.DebugMessagingBridgeRuntimeVerbose=true
-Dweblogic.debug.DebugMessagingBridgeStartup=true

Clustering

-Dweblogic.diagnostics.debug.DebugLogger.DISABLED=false & one or all of the following
-Dweblogic.debug.DebugClusterAnnouncements=true
-Dweblogic.debug.DebugCluster=true
-Dweblogic.debug.DebugClusterFragments=true
-Dweblogic.debug.DebugJTAMigration=true
-Dweblogic.debug.DebugAsyncQueue=true
-Dweblogic.debug.DebugReplication=true
-Dweblogic.debug.DebugReplicationDetails=true
-Dweblogic.debug.DebugServerMigration=true
-Dweblogic.debug.DebugSingletonServices=true
-Dweblogic.debug.DebugConsensusLeasing=true
-Dweblogic.debug.DebugUnicastMessaging=true
-Dweblogic.cluster.leasing.ClusterFormation=true
-Dweblogic.cluster.leasing.ClusterGroupView=true
-Dweblogic.cluster.leasing.ClusterLeader=true
-Dweblogic.cluster.leasing.ClusterLeaderService=true
-Dweblogic.cluster.leasing.ClusterMember=true
-Dweblogic.cluster.leasing.ClusterMessaging=true
-Dweblogic.cluster.leasing.LeaseClient=true
-Dweblogic.cluster.leasing.LeaseServer=true
-Dweblogic.cluster.leasing.LeaseView=true
-Dweblogic.cluster.leasing.MachineState=true
-Dweblogic.cluster.leasing.DiscoveryService=true
-Dweblogic.cluster.leasing.DisconnectMonitor=true
-Dweblogic.cluster.leasing.MessageEndPoint=true
-Dweblogic.cluster.leasing.MessageSender=true
-Dweblogic.cluster.leasing.SRMResult=true
-Dweblogic.cluster.leasing.FailureDetector=true
-Dweblogic.cluster.leasing.SRMService

RMI & IIOP

-Dweblogic.diagnostics.debug.DebugLogger.DISABLED=false & one or all of the following
-Dweblogic.debug.DebugCorbaClientHttp=true
-Dweblogic.debug.DebugCorbaClientIIOP=true
-Dweblogic.debug.DebugIIOPNaming=true
-Dweblogic.iiop.naming=true
-Dweblogic.debug.DebugIIOPOTS=true
-Dweblogic.iiop.ots=true
-Dweblogic.debug.DebugIIOPTransport=true
-Dweblogic.iiop.transport=true
-Dweblogic.debug.DebugIIOPTunneling=true
-Dweblogic.iiop.http.tunnelLogin=true
-Dweblogic.iiop.http.tunnelRecv=true
-Dweblogic.iiop.http.tunnelSend=true
-Dweblogic.debug.client.dgc=true, to enable debug for dgc
-Dweblogic.rmi.extensions.server.ServerHelper.DebugExportObject=true
-Dweblogic.debug.DebugDGCEnrollment=true
-Dweblogic.debug.ForceGCEachDGCPeriod=true
-Dweblogic.debug.LogDGCStatistics=true
-Dweblogic.debug.DebugMessaging=true
-Dweblogic.debug.DebugGenericMethodDescriptor=true
-Dweblogic.debug.DebugIIOPDetail=true
-Dweblogic.debug.DebugIIOPMarshal=true
-Dweblogic.debug.DebugIIOPTransport=true
-Dweblogic.debug.DebugIIOPSecurity=true
-Dweblogic.debug.DebugIIOPStartup=true
-Dweblogic.debug.DebugIIOPRepalcer=true
-Dweblogic.debug.DebugIIOPConnection=true
-Dweblogic.debug.DebugIIOPDetail=true
-Dweblogic.debug.DebugIIOPDetail=true
-Dweblogic.iiop.marshal=true
-Dweblogic.iiop.transport=true
-Dweblogic.iiop.security=true
-Dweblogic.iiop.startup=true
-Dweblogic.iiop.replacer=true
-Dweblogic.iiop.connection=true

Deployment debugs

-Dweblogic.debug.DebugDeployment=true
-Dweblogic.debug.DebugDeploymentServiceInternal=true
-Dweblogic.debug.DebugDeploymentServiceTransport=true
-Dweblogic.debug.DebugDeploymentServiceTransportHttp=true
-Dweblogic.debug.DebugDeploymentServiceStatusUpdates=true
If you have problem in edit lock, system resource deployment or configuration updates, you may also turn on configure debug flag:
-Dweblogic.debug.DebugConfigurationEdit=true


HTTP Debugs

-Dweblogic.debug.DebugURLResolution=true
-Dweblogic.debug.DebugHttp=true
-Dweblogic.debug.httpd=true
-Dweblogic.debug.httpd.log=true
-Dweblogic.debug.httpd.servlet=true

JTA

-Dweblogic.debug.DebugJTAPropagate=true
-Dweblogic.debug.DebugJTAGateway=true
-Dweblogic.debug.DebugJTAXA=true
-Dweblogic.debug.DebugJTA2PC=true
-Dweblogic.debug.DebugJTAJDBC=true
-Dweblogic.debug.DebugJDBCSQL=true

JNDI

-Dweblogic.debug.DebugJNDI =true
-Dweblogic.debug.DebugJNDIResolution =true
-Dweblogic.debug.DebugJNDIFactories =true
-Dweblogic.debug.DebugJNDIAppVersion =true

Workmanager

-Dweblogic.workmanager=true
-Dweblogic.StuckThreadHandling=true
-Dweblogic.IncrementAdvisor=true
-Dweblogic.MinThreadsConstraint=true
-Dweblogic.responsetimerequestclass=true
-Dweblogic.workmanagerservice=true

Server Life Cycle

-Dweblogic.slc=true
-Dweblogic.slcruntime=true
-Dweblogic.debug.DebugServerLifeCycle=true

Classloaders

-Dweblogic.utils.classloaders.GenericClassLoader.Verbose=true
-Dweblogic.utils.classloaders.ChangeAwareClassLoader.Verbose=true
-Dweblogic.utils.classloaders.ClasspathClassFinder=true
-Dweblogic.utils.classloaders.DefaultFilteringClassLoader.Verbose=true
-Dweblogic.utils.classloaders.FilteringClassLoader.Verbose=true
-Dweblogic.utils.classloaders.FilteringClassLoader.ResourceDump=true
-Dweblogic.utils.classloaders.URLClassFinder.Verbose=true

WebService

-Dweblogic.wsee.verbose=*

Security

SAML:
-Dweblogic.debug.DebugSecuritySAMLService=true
-Dweblogic.debug.DebugSecuritySAMLCredMap=true
-Dweblogic.debug.DebugSecuritySAMLAtn=true
-Dweblogic.debug.DebugSecuritySAMLLib=true
-Dweblogic.debug.DebugSecuritySAML2Service=true
-Dweblogic.debug.DebugSecuritySAML2CredMap=true
-Dweblogic.debug.DebugSecuritySAML2Atn=true
-Dweblogic.debug.DebugSecuritySAML2Lib=true
-Dweblogic.debug.DebugSecurityCredMap=true

WebService Security
-Dweblogic.xml.crypto.wss.debug=true
-Dweblogic.xml.crypto.wss.verbose=true
-Dweblogic.xml.crypto.keyinfo.debug=true
-Dweblogic.xml.crypto.keyinfo.verbose=true
-Dweblogic.xml.crypto.dsig.debug=true
-Dweblogic.xml.crypto.dsig.verbose=true
-Dweblogic.xml.crypto.encrypt.debug=true
-Dweblogic.xml.crypto.encrypt.verbose=true

You can also apply these debugs from the Weblogic Server console by navigating through the following path :
Environments ---> Servers ---> ServerName ---> Debug

These is also a small utility named "DebugScopeViewer" which provides information about the debug flags :

java weblogic.diagnostics.debug.DebugScopeViewer




- Prashant Gaikwad.

Message Driven Bean ( MDB )

Deploying a Message Driven Bean ( MDB ) on Oracle Weblogic Server


Let us deploy a simple MDB on Weblogic Server 12.1.1.0 ( 12 C ) , send few messages and lets see how MDB consumes them.

1. Create a managed server.


2. Create a File Store.


3. Create a JMS Store and associate the above File store with it.


4. Create a System Module.


5. Create a Connection Factory and a Queue.


6. Deploy a simple MDB.


7. Use a simple QueueSend.java program to send messages to this MDB.


In the above image we see that the Message Total is 3 as we have sent 3 messages.

The QueueSend.java code is provided along with the Oracle Weblogic Server , Once you install weblogic , the code would be found in "<WL_HOME>\samples\server\examples\src\examples\jms\queue\" directory.


- Prashant Gaikwad.