06.05.2013 Views

The eG Installation Guide - eG Innovations

The eG Installation Guide - eG Innovations

The eG Installation Guide - eG Innovations

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Installing and Configuring on Unix<br />

e. Next, edit the startscript.xml file in the \user_projects\domains\base_domain\init-info<br />

directory (on WebLogic ver. 10.3) to configure the location of the log file which should store<br />

the GC output. For this purpose, look for the entry in<br />

the file. Once you locate this entry, you will find that another operand value parameter<br />

appears below it, but this parameter is left blank by default. Fill up this blank by specifying<br />

the full path to the log file in which the GC output is to be stored, as indicated by Figure<br />

2.56.<br />

f. Finally, save the file<br />

2.15.5.2 Enabling JDBC Connection Monitoring on the WebLogic<br />

Server 9 (and above)<br />

<strong>The</strong> <strong>eG</strong> agent executes a JdbcStatus test on the WebLogic server to report key metrics pertaining to<br />

the JDBC connections to the server. In order to extract the JDBC-specific measures from the WebLogic<br />

server, <strong>eG</strong> uses a public domain utility named P6Spy. Follow the steps given below to configure P6Spy<br />

for the WebLogic server.<br />

<strong>The</strong> \lib directory (in Unix, this will be /opt/egurkha/lib) contains a file named<br />

p6spy.jar. Copy this jar file to the directory \user_projects\domains\base_domain\lib (on<br />

WebLogic 10.3), where is the directory in which BEA WebLogic is installed.<br />

Similarly, copy the spy.properties file in the /lib directory (in Unix, this will be<br />

/opt/egurkha/lib), to the \user_projects\domains\base_domain\ directory<br />

(on WebLogic 10.3). Here, is the domain name specified during the BEA<br />

WebLogic install.<br />

Modify the realdriver line in the spy.properties file to reflect your wrapped database driver. An<br />

example of a modified realdriver line follows:<br />

realdriver=weblogic.jdbc.oci.Driver<br />

In a Windows installation of WebLogic, add ;.\lib\ext\p6spy.jar;.\config\\ to the<br />

classpath in the startWebLogic.cmd file , which resides in the<br />

\user_projects\domains\base_domain\ directory (on WebLogic 10.3).<br />

In a Unix installation of WebLogic, add :./lib/ext/p6spy.jar:./config/ to the classpath in<br />

the startWebLogic.sh file, which resides in the /wlserver6.1/config/ (in<br />

WebLogic 8.1, this will be the /weblogic81/samples/domains/<br />

directory).<br />

Do not include any trailing spaces after the new line. This adds p6spy.jar and spy.properties to<br />

the classpath.<br />

Modify WebLogic Server to use the P6Spy driver. Either modify config.xml (which resides in the<br />

\user_projects\domains\base_domain\ directory on WebLogic ver. 10.3)<br />

directly or complete the following steps:<br />

Start WebLogic Server by running startWebLogic.cmd.<br />

Start the Administration Console tool by navigating to http:/<br />

:7501/console.<br />

103

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!