|
In WebSphere 2.0, there is no mechnism specific to the product for
specifying JVM system properties. However, you should be able to use the
SystemDefault.properties file to specify the JVM system properties which
turn on JDBC tracing. From the information center:
System property configuration
Java system properties determine the environment in which the Java programs
run. They are
similar to system values or environment variables in OS/400. A number of
properties are set
when the Java virtual machine starts. You can choose to use the system property
default
values or you can specify your own set of default property values by doing
either of these
steps:
1.Provide a file in /QIBM/UserData/Java400, named SystemDefault.properties.
The
property values that you specify in this file override the system defaults
that IBM
provides. This file sets the default system properties for all Java
virtual machines that
run on your AS/400 system.
2.Or, place a SystemDefault.properties file in your own user.home path. This
file and the
properties that it contains override those in
/QIBM/UserData/Java400/SystemDefault.properties. This file sets the
default system
properties for all Java virtual machines that run for you.
For your case, if you just want to affect the WebSphere 2.0 jobs (which run
under QTMHHTTP userid), you would create file SystemDefault.properties in
directory /home/qtmhhttp. Note: This will affect all WebSphere 2.0 HTTP
server instances though. Always be sure to remove or comment out the
properties (# indicates comment) once you no longer need them.
The contents of the file would be:
jdbc.db2.cli.trace=<level>
jdbc.db2.cli.trace.config=file://<fully_qualified_dir>/file.ext
where <level> is 1 or 2 or 3 or 4
and <fully_qualified_dir> would be something like
/home/your_userid/jdbctrc.txt.
E.g.
jdbc.db2.cli.trace=3
jdbc.db2.cli.trace.config=file:///home/fstewart/jdbctrace.txt
Frances Stewart
Java II and Applications Enablement
External: (507) 253-2795
Tie-line: 8-553-2795
IBM Rochester
Fred Kulack/Rochester/IBM@IBMUS@midrange.com on 09/26/2000 03:23:18 PM
Please respond to JAVA400-L@midrange.com
Sent by: owner-java400-l@midrange.com
To: JAVA400-L@midrange.com
cc:
Subject: Re: Call Level Interface error
Ah nuts. Sorry...
I thought you were running websphere 3.0. For websphere 3.0, the websphere
gui itself provides a place for command line options.
I'm not sure how you do it on websphere 2.0.
Anyone on this list know how to set standard Java system properties for
Websphere 2.0?
i.e. the kind you typically specify with -D from a java command line.
"Do you believe that my being stronger or faster has anything
to do with my muscles in this place?" ... "Free your mind."
Laurence Fishburne as Morpheus in 'The Matrix'.
Fred A. Kulack - AS/400e Java and Java DB2 access, Jdbc, JTA, etc...
IBM in Rochester, MN (Phone: 507.253.5982 T/L 553-5982)
mailto:kulack@us.ibm.com Personal: mailto:kulack@bresnanlink.net
AOL Instant Messenger: Home:FKulack Work:FKulackWrk
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.