FreeKB - IBM WebSphere managesdk -listEnabledProfileAll command (Java SDK)
IBM WebSphere - managesdk -listEnabledProfileAll command (Java SDK)

SDK stands for software development kit. Before you update a dmgr, node agent, or application server to use a certain version of Java SDK, you must first install the version of Java that you want to use.

The managesdk.bat (Windows) or managesdk.sh (Linux) command with the -listEnabledProfileAll option will list the version of Java SDK being used by the profile, node, and servers. 

${WAS_INSTALL_ROOT}/bin/managesdk.sh -listEnabledProfileAll

CWSDK1004I: Profile Profile01 :
CWSDK1006I: PROFILE_COMMAND_SDK = 1.7_32
CWSDK1008I: Node Node01 SDK name: 1.7_32
CWSDK1009I: Server Server01 SDK name: 1.8_32
CWSDK1009I: Server Server02 SDK name: 1.8_32
CWSDK1001I: Successfully performed the requested managesdk task.

 

If there are two or more profiles on the server, the -profileName option can be used to limit the output to a certain profile.

${WAS_INSTALL_ROOT}/bin/managesdk.sh -listEnabledProfileAll -profileName Profile01

 

The managesdk -enableProfile command can be used to update a profile, node, and servers to use a certain version of Java SDK, and the managesdk -setNewProfileDefault command can be used to update a profile, node, and servers to use a certain version of Java SDK by default. 


This could also be done using the WebSphere admin console

node agent

  1. In the dmgr web console, select System administration > Node agents.
  2. Select a node agent.
  3. Select the Java SDKs.
  4. To update the node agent, select one of the available Java SDKs and select Make Default.
  5. Select Save.
  6. Synchronize the node.
  7. Restart the node for this change to take effect.

 

application server

  1. In the dmgr web console, select Server > Server Types > WebSphere application servers.
  2. Select an applicaton server.
  3. Select the Java SDKs.
  4. To update the application server, select one of the available Java SDKs and select Make Default.
  5. Select Save.
  6. Synchronize the node.
  7. Restart the application server for this change to take effect.


Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter cb454 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |