|Applies To||Affected Versions: 4.X|
|Issue||After sucessfully installing the ITIM Agent for use with ACM, the ITIM Handler needs to parse XML properties. In order for it to parse the XML properties it has to reference: http://java.sun.com/dtd/properties.dtd|
One method to confirm that the configuration can sucessfully connect to the java website for that parsing to suceed, is as follows, understanding that the ITIM node in this case is java.sun.com.
Ensuring Access to java site:
Note for this test and the ITIM config to work, you must ensure access to http://java.sun.com/dtd/properties.dtd
On the appliance
1 Add an entry to /etc/hosts, that references the java.sun.com site, for local loopback.
2. Deploy the /dtd/properties.dtd on the jboss server. Do this by browsing (from another system that has internet access) to
http://java.sun.com/dtd/properties.dtd and get the contents of properties.dtd. Save it to a file named properties.dtd. Create a dtd folder off the web server root and copy the properties.dtd file there.
3. Make sure port 80 and 8445 are open in the firewall
Testing ability to parse required xml:
Once this is done, do the following:
1. Run this command:
telnet java.sun.com 80
2. Then input these lines:
GET /dtd/properties.dtd HTTP/1.1
The expected output would be the contents of the properties.dtd, and this is returned:
<!-- DTD for properties -->
<!ELEMENT properties ( comment?, entry* ) >
<!ATTLIST properties version CDATA #FIXED "1.0">
<!ELEMENT comment (#PCDATA) >
<!ELEMENT entry (#PCDATA) >
<!ATTLIST entry key CDATA #REQUIRED>
As an example with a system that can almost ALWAYS be accessed, test this method by accessing Google.
This should return the Google index.html page:
telnet www.google.com 80
GET /index.html HTTP/1.1
HTTP/1.1 200 OK
Note that work is currently underway to remove the handler's dependency on the access to http://java.sun.com/dtd/properties.dtd, however until this is implemented in the product, this access is required.