• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

WebLogic

How to Rename the Default JSESSIONID in WebLogic

by admin

JSESSIONID is the default name of the cookie used by WebLogic Server web applications. It can be changed to another string in weblogic.xml. The format of JSESSIONID is: SessionId!PrimaryServer JVM Hash!SecondaryServer JVMHash Other than this you don’t see any other details. Consider a scenario with two servers (SERVER-NAME1, SERVER-NAME2) in a cluster. When you enable […]

Filed Under: oracle, WebLogic

how to check classpath in weblogic console

by admin

The CLASSPATH value specifies the classpath for the weblogic_sp.jar, weblogic.jar, and in case you are using PointBase, the client and server JAR files for PointBase should also be included in the classpath. CLASSPATH – It contains the paths of class files which are stored. For example: CLASSPATH=”C:\Program Files\Java\jdk1.7.0_51\jre\lib\rt.jar” PATH: It contains the path for the […]

Filed Under: oracle, WebLogic

XA and NON-XA

by admin

You have two choices about the type of DataSource, XADataSource or non-XADataSource. See the following differences. An XA transaction can be defined as a global transaction because it can work on multiple resources. Unlike the XA transaction, a non-XA transaction always works on one resource. An XA transaction works on a transaction manager that coordinates […]

Filed Under: oracle, WebLogic

What is Thread Dump in WebLogic

by admin

The thread dump is a well-known feature of the Java Virtual Machine. It is a snapshot of the JVM that helps the WebLogic administrator analyze which Java method the Java threads were executing in at the exact moment the snapshot was taken. As in the rest of the book, the JVM used in this recipe […]

Filed Under: oracle, WebLogic

How Do You Read the JMS File Store .DAT file

by admin

Usually, the JMS file store created will be with .DAT extension and is not in human readable format. You will have to use the weblogic.store.Admin utility to extract the content of file store into an XML file to read it. Follow the steps outlined below and ensure managed servers are stopped before proceeding. 1. Run […]

Filed Under: oracle, WebLogic

How to Set Timeout for WebLogic Web Service Client (JAX-WS and JAX-RPC)

by admin

The below options are for timeout only for JAX-WS Web Service clients generated from clientgen: import javax.xml.ws.BindingProvider; import javax.xml.ws.handler.MessageContext; import com.sun.xml.ws.developer.JAXWSProperties; import com.sun.xml.ws.client.BindingProviderProperties; /* The following classes are inside import com.sun.xml.ws.developer.JAXWSProperties; import com.sun.xml.ws.client.BindingProviderProperties; %WLSINSTALLATION%\modules\glassfish.jaxws.rt_1.1.0.0_2-1-4.jar */ Map requestContext = ((BindingProvider)port).getRequestContext(); requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, “http://<hostname.domain>/HelloWorldImpl/HelloWorldService”); requestContext.put(JAXWSProperties.CONNECT_TIMEOUT, 300); requestContext.put(BindingProviderProperties.REQUEST_TIMEOUT, 300); The below options are for timeout only for JAX-RPC Web […]

Filed Under: oracle, WebLogic

How do stubs work in a WebLogic Server cluster?

by admin

When you create a domain with multiple Managed Servers, all those servers function independently of each other. A cluster, on the other hand, is a group of WebLogic Server instances that work as a single instance from the point of view of a client. The reason you use a cluster is to increase scalability and […]

Filed Under: oracle, WebLogic

How to Check Oracle WebLogic Server Version

by admin

Question: How can one find out which version and edition of WebLogic Server are being used? There are several ways to find out which version of WebLogic Server you are using: 1. The lower left-hand corner of the WebLogic admin console will print out the version: 2. The WebLogic admin server standard out log file […]

Filed Under: WebLogic

What are the .lok files used in WebLogic

by admin

Question: There are several files with a .lok extension in the WebLogic Server (WLS) domain directory. What are these files used for? There are config.lok, EmbeddedLDAP.lok and XXXserver.lok files which are used by the admin server and managed server. Another lock file named edit.lok is used for the admin server only. Why are .lok files […]

Filed Under: oracle, WebLogic

How to Remove or delete a Weblogic Server (WLS) Domain

by admin

Question: What are the steps that need to be performed to delete or remove a WebLogic Server (WLS) domain? Step 1 To delete a WLS domain, the only requirement is to remove the domain directory DOMAIN_HOME. DOMAIN_HOME by default would be at ORACLE_HOME/user_projects/domains/DOMAIN_NAME (where ORACLE_HOME is the WLS installation directory and DOMAIN_NAME is the name […]

Filed Under: CentOS/RHEL, oracle, WebLogic

Next Page »

Primary Sidebar

Recent Posts

  • Chezmoi: A multi-machine dotfile manager, written in Go
  • cheat: Create and view interactive cheat sheets on the command-line
  • chars: Display names and codes for various ASCII and Unicode characters and code points
  • chafa: Image printing in the terminal

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright