简体   繁体   中英

JVM args in Websphere Application Server

I need to see all the JVM args that go to my websphere app server. Is it logged somewhere. Note: I dont wish to change any JVM args but just see what JVM args were used by the server to startup.

Like in Weblogic we have Server.out which has all the JVM startup parameters, so what would be for Websphere.

You can view the JVM args via Administration Console. The path is:

Servers > Server Types > WebSphere application servers > server_name

Then, under Server Infrastructure click

Java and process management > Process definition > Java virtual machine

The JVM entries can also be found in server.xml as tag

jvmEntries

The path of server.xml is:

C:\\Program Files\\IBM\\WebSphere\\AppServer\\profiles\\profile_name\\config\\cells\\cell_name\\nodes\\node_name\\servers\\server_name\\server.xml

The full JVM arguments are not logged by default. You can deduce them by looking at the Java virtual machine settings in the admin console. Some other ideas:

  1. You can create a server script with bin/startServer.bat -script server.bat , which will show the full command-line used to start the process.
  2. If you add the -Xdump:java:events=vmstart generic JVM argument, then a javacore will be created every time the server starts, and the javacore will contain a 1CICMDLINE with the full command-line for the server process (which will include the -Xdump option).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM