Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
jstack -l <pid> > <file-path> where pid: is the Process Id of the application, whose thread dump should be captured
file-path: is the file path where thread dump will be written in to.
Example: jstack -l 37320 > /opt/tmp/threadDump.txt
After taking a thread dump, the following error is seen.
at org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.resolve(XSDSchemaDirectiveImpl.java:360)
at org.eclipse.xsd.impl.XSDImportImpl.importSchema(XSDImportImpl.java:420)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaImpl.java:2250)
Issues with the DNS Configuration.
If you cURL the URL e.g: http://www.xxxxx.com/SharedServices/ExceptionXSD where xxxxx is the company name and following details are your actual xsd locations.
from Windows you will get a response immediately, but the same from a Linux machine may take time to get a response. To address this issue add the following entry in the /etc/hosts file: 127.0.0.1 <company name>
Alternatively, you can also use the below properties in appnode.ini file:
sun.net.client.defaultConnectTimeout=20 (miliseconds)
sun.net.client.defaultReadTimeout=20
These are network properties, also please find below explanation for the same.
These properties specify the default connect and read timeout (response) for the protocol handler used by java.net.URLConnection.
sun.net.client.defaultConnectTimeout specifies the timeout (in milliseconds) to establish the connection to the host. For example, for HTTP connections it is the timeout when establishing the connection to the HTTP server.
sun.net.client.defaultReadTimeout specifies the timeout (in milliseconds) when reading from input stream when a connection is established to a resource