Installing on WebLogic Server

Similar documents
Contents Prerequisites... 5 Installing Contract Management Web Services... 11

Contents Configuring P Creating the WebLogic Environment for P6... 7

Oracle Endeca Information Discovery Integrator

JDeveloper. Read Lotus Notes Data via URL Part 4

WebLogic Domain Setup and Configuration. Oracle WebLogic

Contents Configuring P6 and P6 Professional Cloud Connect... 5 Creating the WebLogic Environment for P6... 7

Configuring Weblogic Server 12c Oracle FLEXCUBE Universal Banking Release [December] [2016]

Configuring Weblogic Server Oracle FLEXCUBE Universal Banking Release [September] [2013] Part No. E

Contents Preparing for Upgrade... 5 Upgrading to Primavera Contract Management 14.2, Business Intelligence Publisher Edition... 13

Contents Preparing for Upgrade... 5 Upgrading to Primavera Contract Management 14.2, Business Intelligence Publisher Edition... 13

Contents at a Glance. vii

Chapter 2 WEBLOGIC SERVER DOMAINS. SYS-ED/ Computer Education Techniques, Inc.

Windows Server Installation Guide. Lavastorm Analytics Engine

Oracle FGL Application Setup Oracle FLEXCUBE Universal Banking Release 12.0 [May] [2012]

Process Commander Installation Guide

OAM 2FA Value-Added Module (VAM) Deployment Guide

FUSION REGISTRY COMMUNITY EDITION SETUP GUIDE VERSION 9. Setup Guide. This guide explains how to install and configure the Fusion Registry.

PegaRULES Process Commmander Installation Guide

P6 EPPM WebLogic Configuration Guide

VMware vfabric AppInsight Installation Guide

Course: JBoss Training: JBoss AS 7 and JBoss EAP 6 Administration and Clustering Training

ELCM Application Setup Oracle FLEXCUBE Universal Banking Release [May] [2011]

Oracle WebLogic Server

Diplomado Certificación

Setting up Property File Oracle FLEXCUBE Universal Banking Version 12.0 [May] [2012]

Oracle WebLogic Server 12c: Administration I

Performance Tuning ScrumWorks Pro Server

Webcenter Application Performance Tuning guide

JBOSS AS 7 AND JBOSS EAP 6 ADMINISTRATION AND CLUSTERING (4 Days)

Policy Manager for IBM WebSphere DataPower 7.2: Configuration Guide

Oracle Tuxedo System and Application Monitor (TSAM)


Deployment Scenario: WebSphere Portal Mashup integration and page builder

Contents Preparing for Installation... 5 Installing Contract Management on an Application Server... 14

Ellucian Recruiter Integrating Recruiter with Banner. Recruiter Release 3.1 Banner Student Release September 27, 2013

Resource Creation on WebLogic Application Server Oracle FLEXCUBE Universal Banking Release [September] [2013] Part No.

IBM Maximo Anywhere Version 7 Release 6. Planning, installation, and deployment IBM

Oracle FLEXCUBE Direct Banking

Oracle Cloud Getting Started with Remote Data Connector for Oracle Analytics Cloud

Oracle Enterprise Manager. 1 Before You Install. System Monitoring Plug-in for Oracle Unified Directory User's Guide Release 1.0

Contents About the P6 EPPM Post Installation Administrator's Guide P6 Setup Tasks... 13

AquaLogic BPM Enterprise Configuration Guide

Deploying the rmireg.war file in BEA WebLogic for Windows

Copyright 2016, Oracle and/or its affiliates. All rights reserved.

CA Output Management Web Viewer

Oracle Fusion Middleware

Contents About the P6 EPPM Post Installation Administrator's Guide P6 Setup Tasks... 13

HP IDOL Site Admin. Software Version: Installation Guide

Tuning Performance of Oracle WebLogic Server 12c (12.2.1)

Setting up Property File Oracle FLEXCUBE Universal Banking Version [May] [2011]

Contents Installation Tasks... 5 Upgrading the P6 Adapter For More Information Legal Notices... 17

Perceptive Nolij Web. Technical Specifications. Version: 6.8.x

Contents Configuring P6 EPPM Web Services... 5 Creating the WebLogic Environment for P6 EPPM Web Services... 7

Inside WebSphere Application Server

Administration Manual

Version 11 Release 0 May 31, IBM Contact Optimization Installation Guide IBM

Contents Installation Tasks... 5 Upgrading the P6 Adapter Preface Legal Notices... 17

Perceptive DataTransfer

Contents Prerequisites... 5 Installing Contract Management on an Application Server Configuring WebLogic for Oracle Databases...

Perceptive Connect. Installation and Setup Guide. Beta version: Compatible with ImageNow, versions 6.6.x and 6.7.x

Run Syncope in real environments

INSTALLING AND DEPLOYING ADOBE EXPERIENCE MANAGER FORMS ON JEE FOR WEBLOGIC

Perceptive DataTransfer

Release 12 Java Infrastructure. Brian Bent April 17, 2008

X100 ARCHITECTURE REFERENCES:

Server Installation Guide

Just Get It Written: Deploying Applications to WebLogic Server Using JDeveloper and WLS Console Hands on Practice

TIBCO Jaspersoft running in AWS accessing a back office Oracle database via JDBC with Progress DataDirect Cloud.

Creating Domain Templates Using the Domain Template Builder 11g Release 1 (10.3.6)

Version 6.x Deployment Note. Performance Tuning Guide

Chesar Frequently Asked Questions (FAQs) Part A - Technical questions. Chesar. Frequently Asked Questions (FAQs) Part A Technical questions

Kony MobileFabric. Sync Windows Installation - Manual - WebSphere. On-Premises. Release 7.2. Document Relevance and Accuracy

CO Oracle WebLogic Server 12c. Administration II. Summary. Introduction. Prerequisites. Target Audience. Course Content.

Hyperion Shared Services TM. Readme. Release Service Pack 1 ( )

Workspace Administrator Help File

Setting Up the Server

Migrating to the P8 5.2 Component Manager Framework

Central Administration Console Installation and User's Guide

1Z Oracle WebLogic Server 12c - Administration I Exam Summary Syllabus Questions

BEAWebLogic Server. Introduction to BEA WebLogic Server and BEA WebLogic Express

Cisco Unified Serviceability

BEA WebLogic. Server. MedRec Clustering Tutorial

Release Date September 30, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

Oracle Fusion Middleware

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

Perceptive Nolij Web. Technical Specifications. Version:

Contents Overview... 5 Downloading Primavera Gateway... 5 Primavera Gateway On-Premises Installation Prerequisites... 6

Workload Control Center Performance Tuning

Administration Manual

Creating WebLogic Domains Using the Configuration Wizard 12c (12.1.3)

Envinsa INSTALL GUIDE. Version 4.1. For WebLogic Application Servers

RSA Identity Governance and Lifecycle Collector Data Sheet for Zendesk

8.0 Help for Community Managers Release Notes System Requirements Administering Jive for Office... 6

BEAWebLogic. Platform. Release Notes

Installing and Configuring Apache Storm

Copyright Copyright 2005, 2010, Oracle and/or its affiliates. All rights reserved. The Programs (which include both the software and documentation) co

Payments Weblogic JMS Configuration Oracle FLEXCUBE Payments Release [May] [2017]

VMware vfabric Data Director Installation Guide

Deltek Time & Expense with Employee Self Service Version New Installation for Microsoft SQL Sever

xpression Documentum Edition Installation Guide Version 3.5

Transcription:

155 Chapter 11 Installing on WebLogic Server This chapter provides instructions for performing a new installation of TIBCO Collaborative Information Manager on WebLogic Application Server in a non-clustered environment. Topics Prerequisites, page 156 Configuring CIM for Weblogic Application Server, page 157 Installing the Application on WebLogic Application Server Manually, page 158 Setting up Security, page 162 Troubleshooting WebLogic Application Server Problems, page 163 Tuning the Performance of the WebLogic Application Server, page 164

156 Chapter 11 Installing on WebLogic Server Prerequisites Create the required queue managers (refer Chapter 7, Configuring Java Messaging Server, section Configuring WebSphere MQ) and configure the database (refer Chapter 5, Configuring Oracle Database, or Chapter 6, Configuring DB2 Database).

Configuring CIM for Weblogic Application Server 157 Configuring CIM for Weblogic Application Server Specify Properties Using the Configurator Set the following properties using the Configurator: Application Server > Application Server Name Application Server > JNDI Naming Service URL Security Provider > Encryption Provider Application Server > JNDI Context Factory

158 Chapter 11 Installing on WebLogic Server Installing the Application on WebLogic Application Server Manually Using the Domain Configuration Wizard, create a WebLogic domain. Configuring the Server Logging into Admin Console 1. Start the WebLogic application server. 2. Verify that an instance of WebLogic is running by logging into the admin console (use the username and password you provided during domain creation). You need to click the Lock & Edit button in the panel on the left before you can make any configuration changes. 3. Go to Domain->Configuration->JTA tab. Set the JTA timeout to 36000. 4. Click Save. Setting up JDBC Drivers for Oracle - WebLogic Configuring the Connection Pool 1. In the left pane, click Services > JDBC > Data Sources. Click the New button to create a new JDBC datasource. 2. Provide a name for the JDBC Data Source. Note: The name and JNDI name should be ecmdatasource. 3. Select Database Type as Oracle and database driver as Oracle Driver (Thin) versions 9.0.1, 9.2.0, 10. 4. Click Next. Click Next on the following screen. 5. Enter Database Name, Host Name, Port, Database User Name and Password. 6. Click Next. 7. Click Test Configuration. Click Next. 8. You are prompted to select targets to deploy your new jdbc source. Select the Server and click Finish.

Installing the Application on WebLogic Application Server Manually 159 9. In the left pane, click Services > JDBC > Data Sources > ecmdatasource > Configuration tab > Connection pool tab. 10. Expand advanced at the bottom of the screen. 11. Set Inactive Connection Timeout = 7200 Set Maximum Waiting for Connection = 10 Select the Test Connections on Reserve check box. Select Ignore In-Use Connections and Remove Infected Connections Enabled. 12. Click Save. For WebLogic 10, copy the following files (from MQ_HOME\lib\external) to \bea10\user_projects\domains\<domain name>\lib. serializer.jar xalan.jar Deploying the Application 1. Ensure that the WebLogic Server is running. 2. Edit the startweblogic.sh or startweblogic.cmd located under $BEA_HOME/user_projects/domains/<domain_name>/bin to add the following lines (marked in bold). java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Dweblogic.management.username=${WLS_USER} -Dweblogic.management.pa ssword=${wls_pw} -Dweblogic.ProductionModeEnabled=${STARTMODE} -DMQ_HOME=${MQ_HOME} -DMQ_CONFIG_FILE="${MQ_HOME}/config/ConfigValues.xml" -DMQ_COMMON_DIR=${MQ_COMMON_DIR} -DOS=HP-UX -DORACLE_HOME=${ORACLE_HOME} -DNODE_ID=Member1 -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processo r.transformerfactoryimpl -DMQ_LOG=${MQ_LOG} -DTNS_ADMIN=${ORACLE_HOME}/network/admin -DPATH=${MQ_HOME}/bin:${WL_HOME}/server/bin:${WL_HOME}/common/bin: ${ORACLE_HOME}/bin:/usr/bin -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" weblogic.server You also need add the following JVM arguments related to Tangosol caching (since CIM uses Tangosol by default): -Dtangosol.coherence.cacheconfig=${MQ_HOME}/config/coherence-clie t-cache-config.xml

160 Chapter 11 Installing on WebLogic Server -Dtangosol.coherence.override=${MQ_HOME}/config/tangosol-coherence -override.xml -Dtangosol.coherence.log=${MQ_LOG}/tangosol.log -Dtangosol.coherence.wka1=<<MachineName/ip address>> -Dtangosol.coherence.ttl=0 3. The CLASSPATH set in the Weblogic startup script must include the location of the jar files. To do this: a. Set up an environment variable TIBEMSDIR: set TIBEMSDIR=<path for EMS installation> For example: set TIBEMSDIR=C:\tibco\ems\clients\java b. Include the following in the CLASSPATH variable. Windows: %TIBEMSDIR%\tibjms.jar;%TIBEMSDIR%\tibjmsapps.jar;%TIBEMSDIR %\tibrvjms.jar;%tibemsdir%\tibjmsadmin.jar;%mq_home%\lib\ext ernal\xbean.jar;%mq_home%\lib\external\jsr173_1.0_api.jar";% CLASSPATH% UNIX: $TIBEMSDIR/tibjms.jar;$TIBEMSDIR/tibjmsapps.jar;$TIBEMSDIR/t ibrvjms.jar;$tibemsdir/tibjmsadmin.jar;$mq_home/lib/external /xbean.jar:$mq_home/lib/external/jsr173_1.0_api.jar:$classpa TH $./ start startweblogic.sh or startweblogic.cmd 4. Launch the WebLogic Server Console (for example: http://localhost:7001/console) 5. Log into the Console. 6. In the left pane, select Deployments. 7. Click Install under Deployments in the right pane. 8. Browse to the location of the ECM.ear file. 9. Select ECM.ear and click Next. 10. Choose targeting style as "Install this deployment as an application". Click Next. Click Finish.

Installing the Application on WebLogic Application Server Manually 161 11. You should see a "Success" message. Ensure that you click the Activate Changes button on the left to activate all your changes. Under Deployments, select the application and click Start -> Start Servicing all requests. 12. Test the Application by logging into it: http://<ip address>:<port>/eml/login The default values are as follows. Default company name: Tibcocim User: tadmin Password: euc!1d

162 Chapter 11 Installing on WebLogic Server Setting up Security Setting up SSL SSL needs to be setup in order to access the application through a browser over the HTTPS protocol. The following steps are required to setup SSL: 1. Log into the WebLogic Server Console. 2. Select Environment > Servers > <<Server name>>. 3. Select the General tab. 4. Scroll down and select the SSL Listen Port Enabled check box. 5. Specify the port number where the SSL port will be listening. The default port number is 7002. 6. Clear the Listen Port Enabled check box (to disable the HTTP protocol). 7. Select the Keystores and SSL tabs and ensure that you are using the default settings. 8. Logout of the console and restart the server. You also need to change the JNDI Provider URL to Https://localhost:<<Port>> using the Configurator.

Troubleshooting WebLogic Application Server Problems 163 Troubleshooting WebLogic Application Server Problems Login page is not shown after installation Issue: The Login Page is not shown and error.log shows the following error: 2005-04-12 23:07:37,063 [ExecuteThread: '7' for queue: 'weblogic.kernel.default'] ERROR com.martquest.eml.login.loginservlet - SQL-8204: MqDebuggableStatement constructor failed to prepare statement 2005-04-12 23:07:37,066 [ExecuteThread: '7' for queue: 'weblogic.kernel.default'] ERROR com.martquest.eml.login.loginservlet - Failed to redirect to Url :Login Solution: Check for JDBC driver. It should be (oracle.jdbc.driver.oracledriver) 404 Page Not Found Issue: You get the 404 Page Not Found error when using the Apache 2.0 Plug-in for the WebLogic Sever. Solution: Check PathTrim property within weblogic.conf. It has to be null, otherwise it will trim the /eml part from the URL. Check the httpd.conf file for the <IfModule mod_weblogic.c> section. The path given within the include statement for weblogic.conf is relative to the Apache20 directory.

164 Chapter 11 Installing on WebLogic Server Tuning the Performance of the WebLogic Application Server To improve performance, make some or all of the changes recommended below. Java Options Here are the recommended values for the Java-related performance tuning options. Table 11 Summary of Java-related Performance Tuning Options for Weblogic Option Description Default Value Recommended Value for CIM -Xms Sets the minimum Java heap. 3MB 1024MB -Xmx Sets the maximum Java heap. 64MB 1024MB -server Sets the JVM to server mode. Yes -XX:MaxPermS ize Sets the maximum permanent memory size to control garbage collection behavior. 256MB 256MB -XX:NewSize -XX:MaxNewSi ze These options configure a large heap for the young generation (which can be collected in parallel), taking advantage of the large memory system. It helps prevent short lived objects from being prematurely promoted to the old generation, where garbage collection is more expensive. 256MB 256MB -Xss Reduces the default maximum thread stack size, which allows more of the process' virtual memory address space to be used by the Java heap. 512KB 128k -XX:+UsePara llelgc Selects the parallel garbage collector for the new generation of the Java heap. Here is an example of all the recommended Java options: java -server -Xms1024m -Xmx1024m -Xss128k -XX:MaxPermSize=256m -XX:+UseParallelGC

Tuning the Performance of the WebLogic Application Server 165 Modifying Heap Settings To ensure that you get all the memory you need, and to ensure optimal memory allocation, assign minimum and maximum heap settings as follows: Set the minimum (-Xms) and maximum (-Xmx) to 1024MB so that no outofmemory exceptions happen when the operating system does not have sufficient memory. This is assuming a minimum of 2GB memory is available on your machine. Update the $WEBLOGIC_HOME/bin/run.sh for the following: JAVA_OPTS="$JAVA_OPTS -Xms1024m -Xmx1024m Where: -Xms1024m: Configures minimum Java heap. Default is 3m. -Xmx1024m: Configures maximum Java heap. Default is 64m. JVM Tuning The following tuning is recommended for optimal performance of JVM. You can change the JVM settings as follows: For JVM settings on 64 bit non Windows environments, refer Chapter 9, Installing on WebSphere Application Server, section JVM Tuning. Permanent Memory Size if using Sun JVM Set the maximum permanent memory size to control garbage collection behavior. The minimum recommended size is 256 MB which is adequate for most usage. The maximum recommended value is 512 MB. Ensure that you have adequate free RAM available before changing this value, as this memory must be available in addition to the maximum heap size allocated. Update the $WEBLOGIC_HOME/bin/run.sh for the following: JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=256M This option specifies the size of the Permanent Generation. PermGen is where your defined classes go. The default value is 64MB.

166 Chapter 11 Installing on WebLogic Server Stacksize on Linux On Linux, a thread is like a process and the JVM asks the operating system to fetch the default stacksize for each of the threads. The Default value for Stacksize is quite large (512KB) and hence limits the number of threads that can be created, therefore can result in an OutOfMemoryError exceptions. To override the default, use the -Xss128k option where N is an heuristic value such that you do not run into StackOverFlow exceptions. This option reduces the default maximum thread stack size, which allows more of the process' virtual memory address space to be used by the Java heap. JAVA_OPTS="$JAVA_OPTS -Xss128k Changing Connection Pool Settings Using Automated Scripts Keep the name as is for both connection pool and datasource, and set Initial =max number of connections. (recommended value = 25). Use the jdbc.max.capacity property from the default.properties file to set this. Using UI (Manually) 1. Verify that an instance of WebLogic Server is running. 2. Launch the WebLogic Server Console (http://<machinename>:<7001>/console) 3. Login to the console with username weblogic and password weblogic. 4. On the left hand navigation, click Services > JDBC > Connection Pools > Configure a new JDBC Connection Pool. 5. Select Database Type as Oracle s Driver (Thin) Versions: 9.0.1, 9.2.0, 10. 6. Click Continue. 7. Specify Name as ecmdbpool, enter the Database Name, Host Name, Database User Name, Password, and Confirm Password. 8. Click Continue. 9. Test Driver Configuration (screen with success). 10. Create and deploy. 11. On the left hand side, click Services > JDBC > Connection Pools > ecmdbpool > Configuration > Connections Advanced options (SHOW) > Inactive Connection Timeout = 7200, Maximum Connections Made

Tuning the Performance of the WebLogic Application Server 167 Unavailable = 10 check Test Reserved Connections and Test Released Connections.

168 Chapter 11 Installing on WebLogic Server