head	1.10;
access;
symbols;
locks
	nobody:1.10; strict;
comment	@# @;


1.10
date	99.10.12.00.20.52;	author nobody;	state Exp;
branches;
next	1.9;

1.9
date	99.09.30.08.35.13;	author nobody;	state Exp;
branches;
next	1.8;

1.8
date	99.09.30.08.34.01;	author nobody;	state Exp;
branches;
next	1.7;

1.7
date	99.09.30.08.32.41;	author nobody;	state Exp;
branches;
next	1.6;

1.6
date	99.09.30.08.29.57;	author nobody;	state Exp;
branches;
next	1.5;

1.5
date	99.09.30.08.26.31;	author nobody;	state Exp;
branches;
next	1.4;

1.4
date	99.09.30.08.22.38;	author nobody;	state Exp;
branches;
next	1.3;

1.3
date	99.09.30.08.16.05;	author nobody;	state Exp;
branches;
next	1.2;

1.2
date	99.09.30.08.15.33;	author nobody;	state Exp;
branches;
next	1.1;

1.1
date	99.09.30.08.15.09;	author nobody;	state Exp;
branches;
next	;


desc
@null
@


1.10
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 119
IDependOn-Set: 2
IDependOn-Set: 312
IDependOn-Set: 315
IDependOn-Set: 325
LastModifiedSecs: 938680512
Parent: 119
SequenceNumber: 7
Title: Running Apache JServ Under the OptimizeIt Profiling Tool
Part: 0
Author-Set: noel.mcnulty@@bt.com
HideAttributions: 1
LastModifiedSecs: 938680512
Type: monospaced
Lines: 51
Here are the instructions I have prepared for running Apache JServ under the 
OptimizeIt Java profiling tool on Solaris. (These instructions assume you are 
using the JDK 1.1.*).

To profile our servlet code we have to:

a/ Start the Apache webserver _without_ automatically starting the Apache JServ
servlet engine.
b/ Start the OptimizeIt auditor, supplying the servlet engine start-up info as 
a parameter. The auditor will then run Apache JServ and our servlets, feeding 
the generated profiling information to a port on the machine (1470 by default).
c/ Start the OptimizeIt viewer GUI.
d/ Attach to the machine and port our profiling data is being served on (i.e. 
(machineName):1470).
e/ Start to execute the servlets via your web broswer(s) and view the profiling
output.

To do the above:

a/ Edit httpd.conf
   Change the directive ApJServManual to read 'on'.
   (As webserver user)
   Run 'apachectl start' to start Apache only.
b/ (As webserver user)
   Run 'jservstart.sh' (see below) to start Apache JServ running under 
   OptimizeIt.
   You should see this message:

       OptimizeIt 2.0 audit system. (c) 1997,1998 Intuitive Systems Inc.
       Port is 1470

c/ Open another xterm.
   Set your DISPLAY environmental variable correctly.
   Run the OptimizeIt start-up script supplied by Intuitive Systems.
   ('/export/home/OptimizeIt/Optimizeit')
d/ Select Program|Attach|(machineName):1470.


jservstart.sh
=============
#!/bin/sh
# Launch jserv in manual mode.
jserv=/export/home/apache/lib/Apache-JServ.jar
jsdk=/export/home/apache/lib/jsdk.jar
oracle=/export/home/apache/lib/classes111.zip
optit=/export/home/OptimizeIt/lib/optit.jar
props=/export/home/apache/config/jserv.properties
log=/export/home/apache/log/jserv.log
classes=$CLASSPATH:$jsdk:$jserv:$oracle:$optit
java -ms100M -mx300M -noclassgc -Djava.compiler=NONE -classpath $classes
intuitive.audit.Audit org.apache.jserv.JServ $props &> $log
EndPart: 0
@


1.9
log
@null
@
text
@d6 1
@


1.8
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938680441
d8 1
a8 1
SequenceNumber: 6
d13 1
a13 1
LastModifiedSecs: 938680441
d29 1
a29 1
<machineName>:1470).
d51 1
a51 1
d/ Select Program|Attach|<machineName>:1470.
@


1.7
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938680360
d8 1
a8 1
SequenceNumber: 5
d13 1
a13 1
LastModifiedSecs: 938680360
d15 4
a18 2
Lines: 47
Here are the instructions I have prepared for running Apache JServ under the OptimizeIt Java profiling tool on Solaris. (These instructions assume you are using the JDK 1.1.*).
d22 5
a26 4
a/ Start the Apache webserver _without_ automatically starting the Apache JServ servlet engine.
b/ Start the OptimizeIt auditor, supplying the servlet engine start-up info as a parameter. The auditor will then run Apache JServ and our servlets,
feeding the generated profiling information to a port on the machine (1470
by default).
d28 4
a31 4
d/ Attach to the machine and port our profiling data is being served on
(i.e. <machineName>:1470).
e/ Start to execute the servlets via your web broswer(s) and view the
profiling output.
d40 2
a41 1
   Run 'jservstart.sh' (see below) to start Apache JServ running under OptimizeIt.
@


1.6
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938680197
d8 1
a8 1
SequenceNumber: 4
d13 1
a13 1
LastModifiedSecs: 938680197
d15 2
a16 3
Lines: 50
Here are the instructions I have prepared for running Apache JServ under
the OptimizeIt Java profiling tool on Solaris. (These instructions assume you are using the JDK 1.1.*).
d20 2
a21 4
a/ Start the Apache webserver _without_ automatically starting the Apache
JServ servlet engine.
b/ Start the OptimizeIt auditor, supplying the servlet engine start-up info
as a parameter. The auditor will then run Apache JServ and our servlets,
d35 26
a60 26
   Run 'apachectl start' to start Apache only.<br>
b/ (As webserver user)<br>
   Run 'jservstart.sh' (see below) to start Apache JServ running under OptimizeIt.<br>
   You should see this message:<br>

       OptimizeIt 2.0 audit system. (c) 1997,1998 Intuitive Systems Inc.<br>
       Port is 1470<br>

c/ Open another xterm.<br>
   Set your DISPLAY environmental variable correctly.<br>
   Run the OptimizeIt start-up script supplied by Intuitive Systems.<br>
   ('/export/home/OptimizeIt/Optimizeit')<br>
d/ Select Program|Attach|<machineName>:1470.<br>


jservstart.sh<br>
=============<br>
#!/bin/sh<br>
# Launch jserv in manual mode.<br>
jserv=/export/home/apache/lib/Apache-JServ.jar<br>
jsdk=/export/home/apache/lib/jsdk.jar<br>
oracle=/export/home/apache/lib/classes111.zip<br>
optit=/export/home/OptimizeIt/lib/optit.jar<br>
props=/export/home/apache/config/jserv.properties<br>
log=/export/home/apache/log/jserv.log<br>
classes=$CLASSPATH:$jsdk:$jserv:$oracle:$optit<br>
d62 1
a62 1
intuitive.audit.Audit org.apache.jserv.JServ $props &> $log<br>
@


1.5
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938679990
d8 1
a8 1
SequenceNumber: 3
d13 2
a14 1
LastModifiedSecs: 938679990
d17 1
a17 1
the OptimizeIt Java profiling tool on Solaris. (These instructions assume you are using the JDK 1.1.*).<br>
d19 1
a19 1
To profile our servlet code we have to:<br>
d22 1
a22 1
JServ servlet engine.<br>
d26 2
a27 2
by default).<br>
c/ Start the OptimizeIt viewer GUI.<br>
d29 1
a29 1
(i.e. <machineName>:1470).<br>
d31 1
a31 1
profiling output.<br>
d33 1
a33 1
To do the above:<br>
d35 3
a37 3
a/ Edit httpd.conf<br>
   Change the directive ApJServManual to read 'on'.<br>
   (As webserver user)<br>
@


1.4
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938679758
d8 1
a8 1
SequenceNumber: 2
d13 2
a14 2
LastModifiedSecs: 938679758
Lines: 51
d16 1
a16 1
the OptimizeIt Java profiling tool on Solaris. (These instructions assume you are using the JDK 1.1.*).
d18 1
a18 1
To profile our servlet code we have to:
d21 1
a21 1
JServ servlet engine.
d25 2
a26 2
by default).
c/ Start the OptimizeIt viewer GUI.
d28 1
a28 1
(i.e. <machineName>:1470).
d30 1
a30 1
profiling output.
d32 1
a32 1
To do the above:
d34 29
a62 30
a/ Edit httpd.conf
   Change the directive ApJServManual to read 'on'.
   (As webserver user)
   Run 'apachectl start' to start Apache only.
b/ (As webserver user)
   Run 'jservstart.sh' (see below) to start Apache JServ running under
OptimizeIt.
   You should see this message:

       OptimizeIt 2.0 audit system. (c) 1997,1998 Intuitive Systems Inc.
       Port is 1470

c/ Open another xterm.
   Set your DISPLAY environmental variable correctly.
   Run the OptimizeIt start-up script supplied by Intuitive Systems.
   ('/export/home/OptimizeIt/Optimizeit')
d/ Select Program|Attach|<machineName>:1470.


jservstart.sh
=============
#!/bin/sh
# Launch jserv in manual mode.
jserv=/export/home/apache/lib/Apache-JServ.jar
jsdk=/export/home/apache/lib/jsdk.jar
oracle=/export/home/apache/lib/classes111.zip
optit=/export/home/OptimizeIt/lib/optit.jar
props=/export/home/apache/config/jserv.properties
log=/export/home/apache/log/jserv.log
classes=$CLASSPATH:$jsdk:$jserv:$oracle:$optit
d64 1
a64 1
intuitive.audit.Audit org.apache.jserv.JServ $props &> $log
@


1.3
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938679364
d8 1
a8 1
SequenceNumber: 1
d10 57
@


1.2
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 938679308
d8 2
a9 2
SequenceNumber: 0
Title: New Item
@


1.1
log
@null
@
text
@d4 1
@
