Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

IBM Exam C9510-401 Topic 4 Question 62 Discussion

Actual exam question for IBM's C9510-401 exam
Question #: 62
Topic #: 4
[All C9510-401 Questions]

A system administrator has created a wsadmin script with several steps to install and configure an application and some resources in a WebSphere Application Server process. The script executed but the application was not installed successfully. The administrator suspects that the script has problems.

How can the administrator test and debug the script?

Show Suggested Answer Hide Answer
Suggested Answer: C

The High Performance Extensible Logging (HPEL) facility writes to the log and trace repositories in a binary format. You can view, query and filter the repository using the LogViewer command.

logviewer.sh -monitor -includeLoggers Connection

-monitor [integer]Specifies that you want the logViewer to continuously monitor the repository and output new log record entries as they are created. You can provide an optional integer argument after this parameter to specify how often you want the LogViewer tool to query the repository for new records. By default the logViewer queries the repository for new records every 5 seconds. When used with other filtering options, only those new records that match the filter criteria are displayed.

References: https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/rtrb_logviewer.html


Contribute your Thoughts:

Coleen
18 hours ago
Executing the script with the --conntype NONE option and monitoring the log file could be useful, but I'm not sure if it will provide enough information to debug the script effectively.
upvoted 0 times
...
Dalene
6 days ago
The Validate option from the context menu seems like the easiest way to test the script. It should give me a good starting point to identify any issues.
upvoted 0 times
...
Alisha
7 days ago
I prefer option B, executing the script with the --conntype NONE option and monitoring the log file. It's more straightforward for me.
upvoted 0 times
...
Tandra
8 days ago
I agree with Owen, using WebSphere Application Server Developer Tools for Eclipse in the debug perspective seems like the most efficient method.
upvoted 0 times
...
Owen
12 days ago
I think option C is the best way to test and debug the script.
upvoted 0 times
...

Save Cancel