dbTalk Databases Forums  

Tracing a forms session on the apps server

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Tracing a forms session on the apps server in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
papalphaus@yahoo.com
 
Posts: n/a

Default Tracing a forms session on the apps server - 08-14-2007 , 01:17 PM






Can someone provide me with idiot proof instructions on how to do a
trace on a froms session?
My environment is:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production


Reply With Quote
  #2  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: Tracing a forms session on the apps server - 08-14-2007 , 01:40 PM






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

papalphaus (AT) yahoo (DOT) com wrote:
Quote:
Can someone provide me with idiot proof instructions on how to do a
trace on a froms session?
My environment is:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production

Exactly WHAT would you like to trace?
- - network
- - database transactions
- - forms server

Metalink has quite extensive how-to's on all subjects
- --
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFGwfcSLw8L4IAs830RArToAKCEBzCw5Slhp1XuBjrDEv XGRryRUQCfQ5vO
feu4MiBJkPLkxfrtPrXn4aE=
=eqfS
-----END PGP SIGNATURE-----


Reply With Quote
  #3  
Old   
DA Morgan
 
Posts: n/a

Default Re: Tracing a forms session on the apps server - 08-14-2007 , 03:53 PM



papalphaus (AT) yahoo (DOT) com wrote:
Quote:
Can someone provide me with idiot proof instructions on how to do a
trace on a froms session?
My environment is:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
Idiot proof is impossible.

Usable by a person of average intelligence sure.

SQL>conn / as sysdba
SQL>@c:\oracle\product\ora10\rdbms\admin\dbmssupp. sql
SQL>GRANT execute ON dbms_support TO schema_owner;
SQL>CREATE PUBLIC SYNONYM dbms_support FOR dbms_support;

SELECT DISTINCT sid FROM gv$mystat;
SELECT SYS_CONTEXT('USERENV', 'SID') FROM dual;
SELECT dbms_support.mysid FROM dual;

DECLARE
s gv$session.sid%TYPE;
r gv$session.serial#%TYPE;
w BOOLEAN := TRUE;
b BOOLEAN := TRUE;
BEGIN
SELECT sid, serial#
INTO s, r
FROM gv$session
WHERE username = 'UWCLASS';

dbms_support.start_trace_in_session(s, r, w, b);
END;
/

DECLARE
s gv$session.sid%TYPE;
BEGIN
SELECT sid
INTO s
FROM gv$session
WHERE username = 'UWCLASS';

dbms_support.stop_trace_in_session(s, NULL);
END;
/

From:
http://www.psoug.org/reference/dbms_support.html

The above assumes a username of UWCLASS. An idiot, of course,
might use a different schema or fat finger in a schema name.

HTH
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.