User Experience
R24 AMR | Min(s) read

Setting up Weblogic Server

This topic includes the detailed procedure to install, configure, and run the Weblogic server. This also includes the installation procedure for the supporting system files such as, TAFJJEE_EAR, TAFJSpoolerPlugins.rar, TemnKafka.rar, tb-server.war, and transact-explorer-wa.war.

To set up a Weblogic server,

  1. Download the WebLogic server from the below URL. https://www.oracle.com/in/middleware/technologies/fusionmiddleware-downloads.html

  2. To set Java home, run the below command in the command prompt as administrator.
    set JAVA_HOME= C:\jdk-11.0.13_windows-x64_bin\jdk-11.0.13
    set PATH=%JAVA_HOME%\bin;%PATH%
  3. Run the setup using the below command:
    cd C:\Weblogic\fmw_12.2.1.4.0_wls_lite_Disk1_1of1 java -jar fmw_12.2.1.4.0_wls_lite_generic.jar
    					
  4. The Weblogic server setup application appears.

  5. Click Next on the Welcome and Auto Update screens. The Installation Location screen appears.
  6. Verify the Oracle Home location and click Next. The Weblogic server application installs in this location. The Installation Type screen appears.
  7. Select Weblogic Server and click Next. The Pre-requisite Checks screen appears.
  8. After the check completes, click Next. The Installation Summary screen appears.
  9. Check the installation summary and click Install.
  10. After successful installation, click Next. The Installation Complete screen appears.
  11. Click Finish to complete the installation.
  12. You have now successfully installed the Weblogic server.

Configuring Weblogic Server

After successful installation, the setup prompts you to configure the Weblogic server.

To create a domain and configure the server,

  1. Select Create a new domain, verify the below defaulted path and click Next. The Templates screen appears.
    C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain

  2. Select Create Domain Using Product Templates and select Basic Weblogic Server Domain [Wlserver] in the Available Template section. The Administrator Account screen appears.
  3. Provide the name and password and click Next. The Domain Mode and JDK screen appears.
  4. Select Development as domain mode and Oracle HotSpot as JDK. The Advanced Configuration page appears.
  5. Select Administration Server and click Next. The Administration Server appears.
  6. Provide the below details and click Next. The Configuration Summary screen appears.
    • Server Name
    • Listen Address
    • Listen Port

  7. Verify the configuration details and click Create. The Configuration Progress screen appears.
  8. After successful completion, click Next. The End of Configuration screen appears.
  9. Click Finish to complete the configuration setup.
  10. The Weblogic server is successfully configured.

Running Weblogic Server

To run the Weblogic server,

  1. Navigate to C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain and open the command prompt.
  2. Start the server using startWebLogic.cmd command.

  3. Launch http://localhost:7001/console and log into Weblogic using your credentials.
  4. After successful login, the application navigates to the home page of the Weblogic Server Administration Console.

  5. Open the setDomainEnv.bat file under C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin in edit mode.
  6. Add the below commands after the 188 line number.
    set TAFJ_HOME=C:\\utp\\UTP-DEV-RET-2023.05.08-01-1271-saf-retailsuite-developer-s08\\Temenos\\TAFJ
    set T24_HOME=C:\\utp\\UTP-DEV-RET-2023.05.08-01-1271-saf-retailsuite-developer- s08\\Temenos\\jboss\\modules\\com\\temenos\\t24\\main\\t24lib
    set EXT_PRE_CLASSPATH=%TAFJ_HOME%\\lib\\antlr.jar
    set TAFJ_T24_CLASSPATH=%TAFJ_HOME%\\lib\\log4j-api.jar;%TAFJ_HOME%\\lib\\log4j- core.jar;%TAFJ_HOME%\\lib\\TemenosSecurity.jar;%TAFJ_HOME%\\lib\\TAFJCommon.jar;%TAFJ_HOME%\\lib\
    \TAFJCache.jar;%TAFJ_HOME%\\lib\\cache- api.jar;%TAFJ_HOME%\\lib\\TAFJCompiler.jar;%TAFJ_HOME%\\lib\\TAFJCore.jar;%TAFJ_HOME%\\lib\\TAFJClie nt.jar;%TAFJ_HOME%\\lib\\TAFJLocking.jar;%TAFJ_HOME%\\lib\\TAFJLogging.jar;%TAFJ_HOME%\lib\TAFJDBI mport.jar;%TAFJ_HOME%\lib\jansi.jar;%TAFJ_HOME%\\lib\\TAFJVersion.jar;%TAFJ_HOME%\\lib\\TAFJConfigur ation.jar;%TAFJ_HOME%\\ext\\TAFJBASIC.jar;%TAFJ_HOME%\\ext\\tComponentFramework.jar;%TAFJ_HOME
    %\\ext\\caching\*;%TAFJ_HOME%\\ext\*;%TAFJ_HOME%\\libMonitor\*
    set TAFJ_T24_CLASSPATH=%TAFJ_T24_CLASSPATH%;%TAFJ_HOME%\\dbdrivers\\h2-1.3.161\\h2-1.3.161.jar set TAFJ_T24_CLASSPATH=%TAFJ_T24_CLASSPATH%;%T24_HOME%\*
    set EXT_POST_CLASSPATH=%TAFJ_T24_CLASSPATH%
    
    set  CLASSPATH=%CLASSPATH%;%EXT_PRE_CLASSPATH%;%EXT_POST_CLASSPATH%
  7. >@REM TAFJ memory settings
    set USER_MEM_ARGS=-Xms4096m -Xmx8192m

    Comment out the below GOD mode properties as it is for UXPB.

    -Dtafj.home=C:/utp/UTP-DEV-RET-2023.05.08-01-1271-saf-retailsuite-developer- s08/Temenos/TAFJ -Dfile.encoding=UTF-8 -DBRP_HOME=C:/utp/UTP-DEV-RET-2023.05.08-01- 1271-saf-retailsuite-developer-s08/Temenos - DedgeSystemPropertyUpdaters=com.temenos.connect.system.GODSystemTestProperties - Dbrowser.options.jms.connectionFactoryLookup=jms/ConnectionFactory - Dbrowser.options.jms.cacheResetEventQueue=jms/t24IFSignalEventQueue
  8. Navigate to the T24Setup.py file under C:\Dev\TAFJ\appserver\weblogic and comment the [#execfile('createNode.py')] line.
  9. Launch the h2 server (launch-h2.bat) from the utp area.
  10. After starting the server, open command prompt from the C:\utp\UTP- DEV-RET-2023.05.08-01-1271-saf-retailsuite-developer- s08\Temenos\TAFJ\appserver\weblogic path and type set MW_HOME= C:\Oracle\Middleware\Oracle_Home.
  11. Run the T24Setup.cmd command.

  12. If you encounter any error, check the Weblogic console and ensure that the data sources are available.

    If T24Setup.cmd does not run successfully, tafj is not configured in Weblogic. In that case, you can run TAFJ in jboss and TE wars (transact-explorer-wa and tb-server ) in weblogic. transact- explorer-wa and tb-server war should be installed in Weblogic console.

  13. Create the below highlighted users in the default Realm.
  14. You have now successfully run the web logic server and created the users.

Click the following tabs for more information on installing each of the supporting system file.

Installing TAFJJEE_EAR

To install the TAFJJEE_EAR file,

  1. On the Install Application Assistant screen, validate the path and current location, select the TAFJJEE_EAR.ear file and click Next.

  2. Select Install this deployment as an application and click Next.
  3. Select AdminServer in Available targets for TAFJJEE_EAR and click Next.
  4. Select the Security Model and click Finish.
  5. You have now successfully installed TAFJJEE_EAR.

Installing TAFJSpoolerPlugins.rar

To install the TAFJSpoolerPlugins.rar file

  1. On the Install Application Assistance, validate the path and current location, select TAFJSpoolerPlugins, and click Next.
  2. Select Choose Installation Type as Install this deployment as an application.
  3. Select Deployment targets as AdminServer.
  4. Enter the deployment name and select the source accessibility.
  5. Select the additional configuration and click Finish.
  6. You have successfully installed TAFJSpoolerPlugin.

    You have now successfully installed TAFJSpoolerPlugins.rar.

Installing TemnKafka.rar

To install the TemnKafka.rar file,

  1. On the Install Application Assistance section, validate the path and current location, select TemnKafka.rar, and click Next.
  2. Follow Step 2 to Step 5 of Installing TAFJJEE_EAR.
  3. You have successfully installed TemnKafka.war.

Installing tb-server.war

To install tb-server.war,

  1. In the weblogic.xml file, add the below lines.
    <container-descriptor>
    <prefer-web-inf-classes>false</prefer-web-inf-classes>
    <prefer-application-packages>
    <package-name>javax.ws.rs.*</package-name>
    <package-name>javassist.*</package-name>
    <package-name>org.aopalliance.*</package-name>
    <package-name>jersey.repackaged.*</package-name>
    <package-name>org.glassfish.jersey.server.spi.*</package-name>
    <package-name>com.sun.research.ws.wadl.*</package-name>
    <package-name>org.glassfish.hk2.*</package-name>
    <package-name>org.jvnet.hk2.*</package-name>
    <package-name>weblogic.jaxrs.api.client.*</package-name>
    <package-name>weblogic.jaxrs.internal.api.client.*</package-name>
    <package-name>weblogic.jaxrs.server.internal.*</package-name>
    <package-name>weblogic.jaxrs.client.internal.*</package-name>
    <package-name>weblogic.jaxrs.dispatch.*</package-name>
    <package-name>weblogic.jaxrs.monitoring.util.*</package-name>
    <package-name>org.codehaus.jackson.*</package-name>
    <package-name>com.fasterxml.jackson.*</package-name>
    </prefer-application-packages>
    </container-descriptor>
  2. On the Install Application Assistance section, validate the path and current location, select tb-server.war, and click Next.
  3. Follow Steps 2 to Step 5 of Installing TAFJJEE_EAR.
  4. You have now successfully installed tb-server.war.

Installing transact-explorer-wa.war

To install transact-explorer-wa.war,

  1. In the web.xml file, add the below line above the webapp tag.
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
  2. On the Install Application Assistance section, validate the path and current location, select tb-server.war, and click Next.
  3. Follow Steps 2 to Step 5 of Installing TAFJJEE_EAR.
  4. You have now successfully installed transact-explorer-wa.war.

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 2:04:48 PM IST