The CLM Server is basically a headless OSGi application. Developers may need to find which bundles got deployed and their state. One of the easiest way to achieve this is to start the CLM Server with OSGi console. The OSGi console provides various command line options to deal with bundles.One can install new bundles, check and modify the status of loaded bundles and services using this OSGi console.
Modifying web.xml
1. Open the file <CLM-Server-Install-Location>\server\tomcat\webapps\jts\WEB-INF\web.xml
2. Uncomment the following lines
<!--
<init-param>
<param-name>commandline</param-name>
<param-value>-console</param-value>
</init-param>
-->
by deleting the XML comment markers <!-- and -->
3. Save the file.
4. Launch the server by launching the
server.startup.bat
Once the Tomcat server is started is will look as if there is no console like one in the image below
However, pressing and Enter key shall reveal the OSGi prompt
Type the help command to view the possible commands available how to use them. This OSGi console is linked to the CLM Server application and one can query and work with the related bundles.
Tags: 
tip
howto
tomcat
osgi
console