Knowledge Base
Knowledge Base
How To's
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How to Obtain Ingestion Classpaths Used by Hangman in Infoworks
Copy Markdown
Open in ChatGPT
Open in Claude
Issue
Obtaining ingestion classpath used/being used by Hangman in Infoworks.
Solution
The classpath used by a Hangman is required to debug the class not found exceptions and other classpaths issues.
When a job is executed, Infoworks uses an internal job executor, Hangman, which will source the iw_jobs_classpath in the conf.properties file in the $IW_HOME/conf/ folder.
Following are the steps for Hangman to obtain the classpath when the job is running:
- Modify the classpath setting in conf.properties, save and exit the file.
- Ensure no job is running. Verify the job queue in the Admin page.
- Navigate to the $IW_HOME/bin directory.
- Source the env file using the following command:
source env.sh
- Stop the Hangman services using the following command:
./stop.sh hangman
- Start the Hangman services using the following command:
./start.sh hangman
- Verify that the Hangman services are running using following command:
./status.sh
- Login to the Infoworks ADE and run the job.
- Navigate to the $IW_HOME/logs/hangman directory and tail the Hangman logs using the following command:
tail -f hangman.log
- Hangman log prints the respective jars/classpath picked/sourced by the Hangman for the respective job which is being executed.
- To share the logs, run the following command:
tail -f 150 hangman.log > /home/username/hangman_logs_150_lines.log
Applicable Versions
- v2.3.x,v2.4.x,2.5.x
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
For more details, refer to our Knowledge Base and Best Practices!
For help, contact our support team!
(C) 2015-2022 Infoworks.io, Inc. and Confidential
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message