Reputation: 686
I wanted to add the following JVM arguments to get more detailed logs in IBM WebSphere 6
-Djavax.net.debug=all
Should I add it to the genericJvmArguments
or the debugArgs
option.
More specifically should I just edit the server.xml
or use admin console.
Upvotes: 0
Views: 3005
Reputation: 5333
I suggest you use the admin console rather than edit the server.xml
.
In the admin console you will:
Servers > Application Servers > ServerName > Server Infrastructure: Java and Process Management > Process Definition > Java Virtual Machine > Custom Properties > New
javax.net.debug
and as a value you will use true
(In all examples I have seen when configuring WebSphere you should use the value true
but Java documentation use the value all
instead. More about it in this IBM technoteNow if you prefer to do it in your server.xml anyway, you would set it in genericJvmArguments
as described in this IBM technote
On another note, WebSphere Application Server v6 and v6.1 has reached their end of support a long time ago. You should really look into upgrading to a more current version.
Upvotes: 5